diff --git a/go.mod b/go.mod
index 9ddb965c..b27245bb 100644
--- a/go.mod
+++ b/go.mod
@@ -13,7 +13,7 @@ require (
github.com/onsi/gomega v1.33.1
github.com/packer-community/winrmcp v0.0.0-20221126162354-6e900dd2c68f
github.com/pkg/errors v0.9.1
- github.com/vmware/govmomi v0.37.3
+ github.com/vmware/govmomi v0.38.0
golang.org/x/sys v0.21.0
)
@@ -30,7 +30,7 @@ require (
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/gofrs/uuid v4.4.0+incompatible // indirect
github.com/google/go-cmp v0.6.0 // indirect
- github.com/google/pprof v0.0.0-20240618054019-d3b898a103f8 // indirect
+ github.com/google/pprof v0.0.0-20240625030939-27f56978b8b0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
diff --git a/go.sum b/go.sum
index f2cc68b9..b01434f7 100644
--- a/go.sum
+++ b/go.sum
@@ -47,8 +47,8 @@ github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
-github.com/google/pprof v0.0.0-20240618054019-d3b898a103f8 h1:ASJ/LAqdCHOyMYI+dwNxn7Rd8FscNkMyTr1KZU1JI/M=
-github.com/google/pprof v0.0.0-20240618054019-d3b898a103f8/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo=
+github.com/google/pprof v0.0.0-20240625030939-27f56978b8b0 h1:e+8XbKB6IMn8A4OAyZccO4pYfB3s7bt6azNIPE7AnPg=
+github.com/google/pprof v0.0.0-20240625030939-27f56978b8b0/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo=
github.com/google/subcommands v1.2.0 h1:vWQspBTo2nEqTUFita5/KeEWlUL8kQObDFbub/EN9oE=
github.com/google/subcommands v1.2.0/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
@@ -123,8 +123,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/tidwall/transform v0.0.0-20201103190739-32f242e2dbde h1:AMNpJRc7P+GTwVbl8DkK2I9I8BBUzNiHuH/tlxrpan0=
github.com/tidwall/transform v0.0.0-20201103190739-32f242e2dbde/go.mod h1:MvrEmduDUz4ST5pGZ7CABCnOU5f3ZiOAZzT6b1A6nX8=
-github.com/vmware/govmomi v0.37.3 h1:L2y2Ba09tYiZwdPtdF64Ox9QZeJ8vlCUGcAF9SdODn4=
-github.com/vmware/govmomi v0.37.3/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
+github.com/vmware/govmomi v0.38.0 h1:UvQpLAOjDpO0JUxoPCXnEzOlEa/9kejO6K58qOFr6cM=
+github.com/vmware/govmomi v0.38.0/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
diff --git a/vendor/github.com/vmware/govmomi/govc/device/cdrom/insert.go b/vendor/github.com/vmware/govmomi/govc/device/cdrom/insert.go
index 73f3ce68..dc38a603 100644
--- a/vendor/github.com/vmware/govmomi/govc/device/cdrom/insert.go
+++ b/vendor/github.com/vmware/govmomi/govc/device/cdrom/insert.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2014-2016 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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
+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,
@@ -64,7 +64,8 @@ func (cmd *insert) Description() string {
If device is not specified, the first CD-ROM device is used.
Examples:
- govc device.cdrom.insert -vm vm-1 -device cdrom-3000 images/boot.iso`
+ govc device.cdrom.insert -vm vm-1 -device cdrom-3000 images/boot.iso
+ govc device.cdrom.insert -vm vm-1 library:/boot/linux/ubuntu.iso # Content Library ISO`
}
func (cmd *insert) Run(ctx context.Context, f *flag.FlagSet) error {
@@ -87,7 +88,7 @@ func (cmd *insert) Run(ctx context.Context, f *flag.FlagSet) error {
return err
}
- iso, err := cmd.DatastorePath(f.Arg(0))
+ iso, err := cmd.FileBacking(ctx, f.Arg(0), false)
if err != nil {
return err
}
diff --git a/vendor/github.com/vmware/govmomi/govc/flags/datastore.go b/vendor/github.com/vmware/govmomi/govc/flags/datastore.go
index 8030a6e0..7ca7c1a7 100644
--- a/vendor/github.com/vmware/govmomi/govc/flags/datastore.go
+++ b/vendor/github.com/vmware/govmomi/govc/flags/datastore.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2014-2016 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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
+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,
@@ -20,9 +20,12 @@ import (
"context"
"flag"
"fmt"
+ "net/url"
"os"
"github.com/vmware/govmomi/object"
+ "github.com/vmware/govmomi/vapi/library"
+ "github.com/vmware/govmomi/vapi/library/finder"
"github.com/vmware/govmomi/vim25/types"
)
@@ -148,3 +151,59 @@ func (f *DatastoreFlag) Stat(ctx context.Context, file string) (types.BaseFileIn
return ds.Stat(ctx, file)
}
+
+func (f *DatastoreFlag) libraryPath(ctx context.Context, p string) (string, error) {
+ vc, err := f.Client()
+ if err != nil {
+ return "", err
+ }
+
+ rc, err := f.RestClient()
+ if err != nil {
+ return "", err
+ }
+
+ m := library.NewManager(rc)
+
+ r, err := finder.NewFinder(m).Find(ctx, p)
+ if err != nil {
+ return "", err
+ }
+
+ if len(r) != 1 {
+ return "", fmt.Errorf("%s: %d found", p, len(r))
+ }
+
+ return finder.NewPathFinder(m, vc).Path(ctx, r[0])
+}
+
+// FileBacking converts the given file path for use as VirtualDeviceFileBackingInfo.FileName.
+func (f *DatastoreFlag) FileBacking(ctx context.Context, file string, stat bool) (string, error) {
+ u, err := url.Parse(file)
+ if err != nil {
+ return "", err
+ }
+
+ switch u.Scheme {
+ case "library":
+ return f.libraryPath(ctx, u.Path)
+ case "ds":
+ // datastore url, e.g. ds:///vmfs/volumes/$uuid/...
+ return file, nil
+ }
+
+ var p object.DatastorePath
+ if p.FromString(file) {
+ // datastore is specified
+ return file, nil
+ }
+
+ if stat {
+ // Verify ISO exists
+ if _, err := f.Stat(ctx, file); err != nil {
+ return "", err
+ }
+ }
+
+ return f.DatastorePath(file)
+}
diff --git a/vendor/github.com/vmware/govmomi/govc/importx/spec.go b/vendor/github.com/vmware/govmomi/govc/importx/spec.go
index 09763e2b..acb1729f 100644
--- a/vendor/github.com/vmware/govmomi/govc/importx/spec.go
+++ b/vendor/github.com/vmware/govmomi/govc/importx/spec.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2015-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2015-2024 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.
@@ -31,28 +31,11 @@ import (
)
var (
- allDiskProvisioningOptions = []string{
- string(types.OvfCreateImportSpecParamsDiskProvisioningTypeFlat),
- string(types.OvfCreateImportSpecParamsDiskProvisioningTypeMonolithicSparse),
- string(types.OvfCreateImportSpecParamsDiskProvisioningTypeMonolithicFlat),
- string(types.OvfCreateImportSpecParamsDiskProvisioningTypeTwoGbMaxExtentSparse),
- string(types.OvfCreateImportSpecParamsDiskProvisioningTypeTwoGbMaxExtentFlat),
- string(types.OvfCreateImportSpecParamsDiskProvisioningTypeThin),
- string(types.OvfCreateImportSpecParamsDiskProvisioningTypeThick),
- string(types.OvfCreateImportSpecParamsDiskProvisioningTypeSeSparse),
- string(types.OvfCreateImportSpecParamsDiskProvisioningTypeEagerZeroedThick),
- string(types.OvfCreateImportSpecParamsDiskProvisioningTypeSparse),
- }
- allIPAllocationPolicyOptions = []string{
- string(types.VAppIPAssignmentInfoIpAllocationPolicyDhcpPolicy),
- string(types.VAppIPAssignmentInfoIpAllocationPolicyTransientPolicy),
- string(types.VAppIPAssignmentInfoIpAllocationPolicyFixedPolicy),
- string(types.VAppIPAssignmentInfoIpAllocationPolicyFixedAllocatedPolicy),
- }
- allIPProtocolOptions = []string{
- string(types.VAppIPAssignmentInfoProtocolsIPv4),
- string(types.VAppIPAssignmentInfoProtocolsIPv6),
- }
+ allDiskProvisioningOptions = types.OvfCreateImportSpecParamsDiskProvisioningType("").Strings()
+
+ allIPAllocationPolicyOptions = types.VAppIPAssignmentInfoIpAllocationPolicy("").Strings()
+
+ allIPProtocolOptions = types.VAppIPAssignmentInfoProtocols("").Strings()
)
type spec struct {
diff --git a/vendor/github.com/vmware/govmomi/govc/object/collect.go b/vendor/github.com/vmware/govmomi/govc/object/collect.go
index 0689d3da..6a2e5b23 100644
--- a/vendor/github.com/vmware/govmomi/govc/object/collect.go
+++ b/vendor/github.com/vmware/govmomi/govc/object/collect.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2017-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2017-2024 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.
@@ -18,6 +18,7 @@ package object
import (
"context"
+ "encoding/base64"
"encoding/json"
"flag"
"fmt"
@@ -111,8 +112,8 @@ Examples:
govc object.collect -R create-filter-request.xml -O # convert filter to Go code
govc object.collect -s vm/my-vm summary.runtime.host | xargs govc ls -L # inventory path of VM's host
govc object.collect -dump -o "network/VM Network" # output Managed Object structure as Go code
- govc object.collect -json $vm config | \ # use -json + jq to search array elements
- jq -r '.[] | select(.val.hardware.device[].macAddress == "00:0c:29:0c:73:c0") | .val.name'`, atable)
+ govc object.collect -json -s $vm config | \ # use -json + jq to search array elements
+ jq -r 'select(.hardware.device[].macAddress == "00:50:56:99:c4:27") | .name'`, atable)
}
var stringer = reflect.TypeOf((*fmt.Stringer)(nil)).Elem()
@@ -123,11 +124,11 @@ type change struct {
}
func (pc *change) MarshalJSON() ([]byte, error) {
- if len(pc.cmd.kind) == 0 {
+ if len(pc.cmd.kind) == 0 && !pc.cmd.simple {
return json.Marshal(pc.Update.ChangeSet)
}
- return json.Marshal(pc.Update)
+ return json.Marshal(pc.Dump())
}
func (pc *change) output(name string, rval reflect.Value, rtype reflect.Type) {
@@ -154,6 +155,15 @@ func (pc *change) output(name string, rval reflect.Value, rtype reflect.Type) {
etype := rtype.Elem()
+ if etype.Kind() == reflect.Uint8 {
+ if v, ok := rval.Interface().(types.ByteSlice); ok {
+ s = base64.StdEncoding.EncodeToString(v) // ArrayOfByte
+ } else {
+ s = fmt.Sprintf("%x", rval.Interface().([]byte)) // ArrayOfBase64Binary
+ }
+ break
+ }
+
if etype.Kind() != reflect.Interface && etype.Kind() != reflect.Struct || etype.Implements(stringer) {
var val []string
@@ -416,7 +426,7 @@ func (cmd *collect) Run(ctx context.Context, f *flag.FlagSet) error {
}
res, err := p.RetrieveProperties(ctx, req)
if err != nil {
- return nil
+ return err
}
content := res.Returnval
if len(content) != 1 {
diff --git a/vendor/github.com/vmware/govmomi/govc/object/save.go b/vendor/github.com/vmware/govmomi/govc/object/save.go
index 796b5490..b6f40358 100644
--- a/vendor/github.com/vmware/govmomi/govc/object/save.go
+++ b/vendor/github.com/vmware/govmomi/govc/object/save.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2019-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2019-2024 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.
@@ -147,11 +147,20 @@ func saveHostNetworkSystem(ctx context.Context, c *vim25.Client, ref types.Manag
return []saveMethod{{"QueryNetworkHint", res}}, nil
}
+func saveHostSystem(ctx context.Context, c *vim25.Client, ref types.ManagedObjectReference) ([]saveMethod, error) {
+ res, err := methods.QueryTpmAttestationReport(ctx, c, &types.QueryTpmAttestationReport{This: ref})
+ if err != nil {
+ return nil, err
+ }
+ return []saveMethod{{"QueryTpmAttestationReport", res}}, nil
+}
+
// saveObjects maps object types to functions that can save data that isn't available via the PropertyCollector
var saveObjects = map[string]func(context.Context, *vim25.Client, types.ManagedObjectReference) ([]saveMethod, error){
"VmwareDistributedVirtualSwitch": saveDVS,
"EnvironmentBrowser": saveEnvironmentBrowser,
"HostNetworkSystem": saveHostNetworkSystem,
+ "HostSystem": saveHostSystem,
}
func isNotConnected(err error) bool {
@@ -191,7 +200,7 @@ func (cmd *save) save(content []types.ObjectContent) error {
return err
}
dir := filepath.Join(cmd.dir, ref)
- if err = os.Mkdir(dir, 0755); err != nil {
+ if err = os.MkdirAll(dir, 0755); err != nil {
return err
}
for _, obj := range objs {
@@ -327,6 +336,9 @@ func (cmd *save) Run(ctx context.Context, f *flag.FlagSet) error {
&types.SelectionSpec{
Name: "hostVirtualNicManagerTraversalSpec",
},
+ &types.SelectionSpec{
+ Name: "hostCertificateManagerTraversalSpec",
+ },
&types.SelectionSpec{
Name: "entityTraversalSpec",
},
@@ -360,6 +372,13 @@ func (cmd *save) Run(ctx context.Context, f *flag.FlagSet) error {
Type: "HostSystem",
Path: "configManager.virtualNicManager",
},
+ &types.TraversalSpec{
+ SelectionSpec: types.SelectionSpec{
+ Name: "hostCertificateManagerTraversalSpec",
+ },
+ Type: "HostSystem",
+ Path: "configManager.certificateManager",
+ },
&types.TraversalSpec{
SelectionSpec: types.SelectionSpec{
Name: "hostDatastoreSystemTraversalSpec",
@@ -382,6 +401,7 @@ func (cmd *save) Run(ctx context.Context, f *flag.FlagSet) error {
{Type: "HostDatastoreSystem", All: all},
{Type: "HostNetworkSystem", All: all},
{Type: "HostVirtualNicManager", All: all},
+ {Type: "HostCertificateManager", All: all},
{Type: "ManagedEntity", All: all},
{Type: "Task", All: all},
},
diff --git a/vendor/github.com/vmware/govmomi/govc/vm/change.go b/vendor/github.com/vmware/govmomi/govc/vm/change.go
index c1be6ccd..a5a73b53 100644
--- a/vendor/github.com/vmware/govmomi/govc/vm/change.go
+++ b/vendor/github.com/vmware/govmomi/govc/vm/change.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2015-2017 VMware, Inc. All Rights Reserved.
+Copyright (c) 2015-2024 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
+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,
@@ -84,11 +84,7 @@ func init() {
cli.Register("vm.change", &change{})
}
-var latencyLevels = []string{
- string(types.LatencySensitivitySensitivityLevelLow),
- string(types.LatencySensitivitySensitivityLevelNormal),
- string(types.LatencySensitivitySensitivityLevelHigh),
-}
+var latencyLevels = types.LatencySensitivitySensitivityLevel("").Strings()
// setLatency validates latency level if set
func (cmd *change) setLatency() error {
@@ -106,11 +102,7 @@ func (cmd *change) setLatency() error {
return fmt.Errorf("latency must be one of: %s", strings.Join(latencyLevels, "|"))
}
-var hwUpgradePolicies = []string{
- string(types.ScheduledHardwareUpgradeInfoHardwareUpgradePolicyOnSoftPowerOff),
- string(types.ScheduledHardwareUpgradeInfoHardwareUpgradePolicyNever),
- string(types.ScheduledHardwareUpgradeInfoHardwareUpgradePolicyAlways),
-}
+var hwUpgradePolicies = types.ScheduledHardwareUpgradeInfoHardwareUpgradePolicy("").Strings()
// setHwUpgradePolicy validates hwUpgradePolicy if set
func (cmd *change) setHwUpgradePolicy() error {
diff --git a/vendor/github.com/vmware/govmomi/govc/vm/create.go b/vendor/github.com/vmware/govmomi/govc/vm/create.go
index bfae8d67..46c3a57d 100644
--- a/vendor/github.com/vmware/govmomi/govc/vm/create.go
+++ b/vendor/github.com/vmware/govmomi/govc/vm/create.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2014-2016 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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
+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,
@@ -20,8 +20,11 @@ import (
"context"
"flag"
"fmt"
+ "io"
"strings"
+ "text/tabwriter"
+ "github.com/vmware/govmomi/find"
"github.com/vmware/govmomi/govc/cli"
"github.com/vmware/govmomi/govc/flags"
"github.com/vmware/govmomi/object"
@@ -33,10 +36,8 @@ import (
)
var (
- FirmwareTypes = []string{
- string(types.GuestOsDescriptorFirmwareTypeBios),
- string(types.GuestOsDescriptorFirmwareTypeEfi),
- }
+ FirmwareTypes = types.GuestOsDescriptorFirmwareType("").Strings()
+
FirmwareUsage = fmt.Sprintf("Firmware type [%s]", strings.Join(FirmwareTypes, "|"))
)
@@ -62,10 +63,11 @@ type create struct {
annotation string
firmware string
version string
+ place bool
+ profile string
iso string
isoDatastoreFlag *flags.DatastoreFlag
- isoDatastore *object.Datastore
disk string
diskDatastoreFlag *flags.DatastoreFlag
@@ -125,8 +127,11 @@ func (cmd *create) Register(ctx context.Context, f *flag.FlagSet) {
f.BoolVar(&cmd.force, "force", false, "Create VM if vmx already exists")
f.StringVar(&cmd.controller, "disk.controller", "scsi", "Disk controller type")
f.StringVar(&cmd.annotation, "annotation", "", "VM description")
-
f.StringVar(&cmd.firmware, "firmware", FirmwareTypes[0], FirmwareUsage)
+ f.StringVar(&cmd.profile, "profile", "", "Storage profile name or ID")
+ if cli.ShowUnreleased() {
+ f.BoolVar(&cmd.place, "place", false, "Place VM without creating")
+ }
esxiVersions := types.GetESXiVersions()
esxiVersionStrings := make([]string, len(esxiVersions))
@@ -197,6 +202,7 @@ https://code.vmware.com/apis/358/vsphere/doc/vim.vm.GuestOsDescriptor.GuestOsIde
Examples:
govc vm.create -on=false vm-name
+ govc vm.create -iso library:/boot/linux/ubuntu.iso vm-name # Content Library ISO
govc vm.create -cluster cluster1 vm-name # use compute cluster placement
govc vm.create -datastore-cluster dscluster vm-name # use datastore cluster placement
govc vm.create -m 2048 -c 2 -g freebsd64Guest -net.adapter vmxnet3 -disk.controller pvscsi vm-name`
@@ -269,15 +275,11 @@ func (cmd *create) Run(ctx context.Context, f *flag.FlagSet) error {
// Verify ISO exists
if cmd.iso != "" {
- _, err = cmd.isoDatastoreFlag.Stat(ctx, cmd.iso)
- if err != nil {
- return err
- }
-
- cmd.isoDatastore, err = cmd.isoDatastoreFlag.Datastore()
+ iso, err := cmd.isoDatastoreFlag.FileBacking(ctx, cmd.iso, true)
if err != nil {
return err
}
+ cmd.iso = iso
}
// Verify disk exists
@@ -305,7 +307,9 @@ func (cmd *create) Run(ctx context.Context, f *flag.FlagSet) error {
if err != nil {
return err
}
-
+ if cmd.place {
+ return nil
+ }
info, err := task.WaitForResult(ctx, nil)
if err != nil {
return err
@@ -328,6 +332,61 @@ func (cmd *create) Run(ctx context.Context, f *flag.FlagSet) error {
return nil
}
+type place struct {
+ Spec types.PlacementSpec `json:"spec"`
+ Recommendations []types.ClusterRecommendation `json:"recommendations"`
+
+ ctx context.Context
+ cmd *create
+}
+
+func (p *place) Dump() interface{} {
+ return p.Recommendations
+}
+
+func (p *place) action(w io.Writer, r types.ClusterRecommendation, a *types.PlacementAction) error {
+ spec := a.RelocateSpec
+ if spec == nil {
+ return nil
+ }
+
+ fields := []struct {
+ name string
+ moid *types.ManagedObjectReference
+ }{
+ {"Target", r.Target},
+ {" Folder", spec.Folder},
+ {" Datastore", spec.Datastore},
+ {" Pool", spec.Pool},
+ {" Host", spec.Host},
+ }
+
+ for _, f := range fields {
+ if f.moid == nil {
+ continue
+ }
+ path, err := find.InventoryPath(p.ctx, p.cmd.Client, *f.moid)
+ if err != nil {
+ return err
+ }
+ fmt.Fprintf(w, "%s:\t%s\n", f.name, path)
+ }
+
+ return nil
+}
+
+func (p *place) Write(w io.Writer) error {
+ tw := tabwriter.NewWriter(w, 2, 0, 2, ' ', 0)
+
+ for _, r := range p.Recommendations {
+ for _, a := range r.Action {
+ p.action(tw, r, a.(*types.PlacementAction))
+ }
+ }
+
+ return tw.Flush()
+}
+
func (cmd *create) createVM(ctx context.Context) (*object.Task, error) {
var devices object.VirtualDeviceList
var err error
@@ -352,6 +411,24 @@ func (cmd *create) createVM(ctx context.Context) (*object.Task, error) {
Version: cmd.version,
}
+ if cmd.profile != "" {
+ c, err := cmd.PbmClient()
+ if err != nil {
+ return nil, err
+ }
+ m, err := c.ProfileMap(ctx)
+ if err != nil {
+ return nil, err
+ }
+ p, ok := m.Name[cmd.profile]
+ if !ok {
+ return nil, fmt.Errorf("profile %q not found", cmd.profile)
+ }
+ spec.VmProfile = []types.BaseVirtualMachineProfileSpec{&types.VirtualMachineDefinedProfileSpec{
+ ProfileId: p.GetPbmProfile().ProfileId.UniqueId,
+ }}
+ }
+
devices, err = cmd.addStorage(nil)
if err != nil {
return nil, err
@@ -390,6 +467,9 @@ func (cmd *create) createVM(ctx context.Context) (*object.Task, error) {
}
recs := result.Recommendations
+ if cmd.place {
+ return nil, cmd.WriteResult(&place{pspec, recs, ctx, cmd})
+ }
if len(recs) == 0 {
return nil, fmt.Errorf("no cluster recommendations")
}
@@ -507,7 +587,7 @@ func (cmd *create) addStorage(devices object.VirtualDeviceList) (object.VirtualD
return nil, err
}
- cdrom = devices.InsertIso(cdrom, cmd.isoDatastore.Path(cmd.iso))
+ cdrom = devices.InsertIso(cdrom, cmd.iso)
devices = append(devices, cdrom)
}
diff --git a/vendor/github.com/vmware/govmomi/govc/vm/customize.go b/vendor/github.com/vmware/govmomi/govc/vm/customize.go
index 356ab6f2..e7f0e4b6 100644
--- a/vendor/github.com/vmware/govmomi/govc/vm/customize.go
+++ b/vendor/github.com/vmware/govmomi/govc/vm/customize.go
@@ -45,6 +45,8 @@ type customize struct {
dnsserver flags.StringList
dnssuffix flags.StringList
kind string
+ username string
+ org string
}
func init() {
@@ -75,6 +77,8 @@ func (cmd *customize) Register(ctx context.Context, f *flag.FlagSet) {
f.Var(&cmd.dnssuffix, "dns-suffix", "DNS suffix list")
cmd.dnssuffix = nil
f.StringVar(&cmd.kind, "type", "Linux", "Customization type if spec NAME is not specified (Linux|Windows)")
+ f.StringVar(&cmd.username, "username", "", "Windows only : full name of the end user in firstname lastname format")
+ f.StringVar(&cmd.org, "org", "", "Windows only : name of the org that owns the VM")
}
func (cmd *customize) Usage() string {
@@ -211,12 +215,12 @@ func (cmd *customize) Run(ctx context.Context, f *flag.FlagSet) error {
sysprep, isWindows := spec.Identity.(*types.CustomizationSysprep)
linprep, _ := spec.Identity.(*types.CustomizationLinuxPrep)
- if cmd.domain != "" {
- if isWindows {
- sysprep.Identification.JoinDomain = cmd.domain
- } else {
- linprep.Domain = cmd.domain
- }
+ if isWindows {
+ sysprep.Identification.JoinDomain = cmd.domain
+ sysprep.UserData.FullName = cmd.username
+ sysprep.UserData.OrgName = cmd.org
+ } else {
+ linprep.Domain = cmd.domain
}
if len(cmd.dnsserver) != 0 {
diff --git a/vendor/github.com/vmware/govmomi/internal/version/version.go b/vendor/github.com/vmware/govmomi/internal/version/version.go
index 51ca9c45..f1e0f3d0 100644
--- a/vendor/github.com/vmware/govmomi/internal/version/version.go
+++ b/vendor/github.com/vmware/govmomi/internal/version/version.go
@@ -21,5 +21,5 @@ const (
ClientName = "govmomi"
// ClientVersion is the version of this SDK
- ClientVersion = "0.37.3"
+ ClientVersion = "0.38.0"
)
diff --git a/vendor/github.com/vmware/govmomi/object/host_certificate_info.go b/vendor/github.com/vmware/govmomi/object/host_certificate_info.go
index 1a3a7fab..0d56e7e7 100644
--- a/vendor/github.com/vmware/govmomi/object/host_certificate_info.go
+++ b/vendor/github.com/vmware/govmomi/object/host_certificate_info.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2016-2024 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,6 +21,8 @@ import (
"crypto/x509"
"crypto/x509/pkix"
"encoding/asn1"
+ "encoding/pem"
+ "errors"
"fmt"
"io"
"net/url"
@@ -66,6 +68,18 @@ func (info *HostCertificateInfo) FromCertificate(cert *x509.Certificate) *HostCe
return info
}
+func (info *HostCertificateInfo) FromPEM(cert []byte) (*HostCertificateInfo, error) {
+ block, _ := pem.Decode(cert)
+ if block == nil {
+ return nil, errors.New("failed to pem.Decode cert")
+ }
+ x, err := x509.ParseCertificate(block.Bytes)
+ if err != nil {
+ return nil, err
+ }
+ return info.FromCertificate(x), nil
+}
+
// FromURL connects to the given URL.Host via tls.Dial with the given tls.Config and populates the HostCertificateInfo
// via tls.ConnectionState. If the certificate was verified with the given tls.Config, the Err field will be nil.
// Otherwise, Err will be set to the x509.UnknownAuthorityError or x509.HostnameError.
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 ddf1d8c5..30787e7a 100644
--- a/vendor/github.com/vmware/govmomi/object/host_certificate_manager.go
+++ b/vendor/github.com/vmware/govmomi/object/host_certificate_manager.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2016 VMware, Inc. All Rights Reserved.
+Copyright (c) 2016-2024 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
+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,
@@ -23,6 +23,7 @@ import (
"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"
)
@@ -117,7 +118,13 @@ func (m HostCertificateManager) InstallServerCertificate(ctx context.Context, ce
Req: &types.Refresh{This: m.Reference()},
}
- return m.Client().RoundTrip(ctx, &body, &body)
+ err = m.Client().RoundTrip(ctx, &body, &body)
+ if err != nil && soap.IsSoapFault(err) {
+ if _, ok := soap.ToSoapFault(err).VimFault().(types.MethodNotFound); ok {
+ return nil
+ }
+ }
+ return err
}
// ListCACertificateRevocationLists returns the SSL CRLs of Certificate Authorities that are trusted by the host system.
diff --git a/vendor/github.com/vmware/govmomi/object/option_value_list.go b/vendor/github.com/vmware/govmomi/object/option_value_list.go
new file mode 100644
index 00000000..9f91253c
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/object/option_value_list.go
@@ -0,0 +1,206 @@
+/*
+Copyright (c) 2024-2024 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 (
+ "fmt"
+ "reflect"
+
+ "github.com/vmware/govmomi/vim25/types"
+)
+
+// OptionValueList simplifies manipulation of properties that are arrays of
+// types.BaseOptionValue, such as ExtraConfig.
+type OptionValueList []types.BaseOptionValue
+
+// OptionValueListFromMap returns a new OptionValueList object from the provided
+// map.
+func OptionValueListFromMap[T any](in map[string]T) OptionValueList {
+ if len(in) == 0 {
+ return nil
+ }
+ var (
+ i int
+ out = make(OptionValueList, len(in))
+ )
+ for k, v := range in {
+ out[i] = &types.OptionValue{Key: k, Value: v}
+ i++
+ }
+ return out
+}
+
+// Get returns the value if exists, otherwise nil is returned. The second return
+// value is a flag indicating whether the value exists or nil was the actual
+// value.
+func (ov OptionValueList) Get(key string) (any, bool) {
+ if ov == nil {
+ return nil, false
+ }
+ for i := range ov {
+ if optVal := ov[i].GetOptionValue(); optVal != nil {
+ if optVal.Key == key {
+ return optVal.Value, true
+ }
+ }
+ }
+ return nil, false
+}
+
+// GetString returns the value as a string if the value exists.
+func (ov OptionValueList) GetString(key string) (string, bool) {
+ if ov == nil {
+ return "", false
+ }
+ for i := range ov {
+ if optVal := ov[i].GetOptionValue(); optVal != nil {
+ if optVal.Key == key {
+ return getOptionValueAsString(optVal.Value), true
+ }
+ }
+ }
+ return "", false
+}
+
+// Additions returns a diff that includes only the elements from the provided
+// list that do not already exist.
+func (ov OptionValueList) Additions(in ...types.BaseOptionValue) OptionValueList {
+ return ov.diff(in, true)
+}
+
+// Diff returns a diff that includes the elements from the provided list that do
+// not already exist or have different values.
+func (ov OptionValueList) Diff(in ...types.BaseOptionValue) OptionValueList {
+ return ov.diff(in, false)
+}
+
+func (ov OptionValueList) diff(in OptionValueList, addOnly bool) OptionValueList {
+ if ov == nil && in == nil {
+ return nil
+ }
+ var (
+ out OptionValueList
+ leftOptVals = ov.Map()
+ )
+ for i := range in {
+ if rightOptVal := in[i].GetOptionValue(); rightOptVal != nil {
+ k, v := rightOptVal.Key, rightOptVal.Value
+ if ov == nil {
+ out = append(out, &types.OptionValue{Key: k, Value: v})
+ } else if leftOptVal, ok := leftOptVals[k]; !ok {
+ out = append(out, &types.OptionValue{Key: k, Value: v})
+ } else if !addOnly && v != leftOptVal {
+ out = append(out, &types.OptionValue{Key: k, Value: v})
+ }
+ }
+ }
+ if len(out) == 0 {
+ return nil
+ }
+ return out
+}
+
+// Join combines this list with the provided one and returns the result, joining
+// the two lists on their shared keys.
+// Please note, Join(left, right) means the values from right will be appended
+// to left, without overwriting any values that have shared keys. To overwrite
+// the shared keys in left from right, use Join(right, left) instead.
+func (ov OptionValueList) Join(in ...types.BaseOptionValue) OptionValueList {
+ var (
+ out OptionValueList
+ outKeys map[string]struct{}
+ )
+
+ // Init the out slice from the left side.
+ if len(ov) > 0 {
+ outKeys = map[string]struct{}{}
+ for i := range ov {
+ if optVal := ov[i].GetOptionValue(); optVal != nil {
+ kv := &types.OptionValue{Key: optVal.Key, Value: optVal.Value}
+ out = append(out, kv)
+ outKeys[optVal.Key] = struct{}{}
+ }
+ }
+ }
+
+ // Join the values from the right side.
+ for i := range in {
+ if rightOptVal := in[i].GetOptionValue(); rightOptVal != nil {
+ k, v := rightOptVal.Key, rightOptVal.Value
+ if _, ok := outKeys[k]; !ok {
+ out = append(out, &types.OptionValue{Key: k, Value: v})
+ }
+ }
+ }
+
+ if len(out) == 0 {
+ return nil
+ }
+
+ return out
+}
+
+// Map returns the list of option values as a map. A nil value is returned if
+// the list is empty.
+func (ov OptionValueList) Map() map[string]any {
+ if len(ov) == 0 {
+ return nil
+ }
+ out := map[string]any{}
+ for i := range ov {
+ if optVal := ov[i].GetOptionValue(); optVal != nil {
+ out[optVal.Key] = optVal.Value
+ }
+ }
+ if len(out) == 0 {
+ return nil
+ }
+ return out
+}
+
+// StringMap returns the list of option values as a map where the values are
+// strings. A nil value is returned if the list is empty.
+func (ov OptionValueList) StringMap() map[string]string {
+ if len(ov) == 0 {
+ return nil
+ }
+ out := map[string]string{}
+ for i := range ov {
+ if optVal := ov[i].GetOptionValue(); optVal != nil {
+ out[optVal.Key] = getOptionValueAsString(optVal.Value)
+ }
+ }
+ if len(out) == 0 {
+ return nil
+ }
+ return out
+}
+
+func getOptionValueAsString(val any) string {
+ switch tval := val.(type) {
+ case string:
+ return tval
+ default:
+ if rv := reflect.ValueOf(val); rv.Kind() == reflect.Pointer {
+ if rv.IsNil() {
+ return ""
+ }
+ return fmt.Sprintf("%v", rv.Elem().Interface())
+ }
+ return fmt.Sprintf("%v", tval)
+ }
+}
diff --git a/vendor/github.com/vmware/govmomi/pbm/methods/methods.go b/vendor/github.com/vmware/govmomi/pbm/methods/methods.go
index 032c15c5..d7298dfc 100644
--- a/vendor/github.com/vmware/govmomi/pbm/methods/methods.go
+++ b/vendor/github.com/vmware/govmomi/pbm/methods/methods.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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.
diff --git a/vendor/github.com/vmware/govmomi/pbm/pbm_util.go b/vendor/github.com/vmware/govmomi/pbm/pbm_util.go
index d773b8db..5dcd1457 100644
--- a/vendor/github.com/vmware/govmomi/pbm/pbm_util.go
+++ b/vendor/github.com/vmware/govmomi/pbm/pbm_util.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2017 VMware, Inc. All Rights Reserved.
+Copyright (c) 2017-2024 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
+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,
@@ -17,11 +17,17 @@ limitations under the License.
package pbm
import (
+ "context"
"fmt"
"strconv"
"strings"
"github.com/vmware/govmomi/pbm/types"
+ "github.com/vmware/govmomi/property"
+ "github.com/vmware/govmomi/view"
+ "github.com/vmware/govmomi/vim25"
+ "github.com/vmware/govmomi/vim25/mo"
+ vim "github.com/vmware/govmomi/vim25/types"
)
// A struct to capture pbm create spec details.
@@ -146,3 +152,100 @@ func verifyPropertyValueIsBoolean(propertyValue string, dataType string) (bool,
}
return val, nil
}
+
+// ProfileMap contains a map of storage profiles by name.
+type ProfileMap struct {
+ Name map[string]types.BasePbmProfile
+ Profile []types.BasePbmProfile
+}
+
+// ProfileMap builds a map of storage profiles by name.
+func (c *Client) ProfileMap(ctx context.Context, uid ...string) (*ProfileMap, error) {
+ m := &ProfileMap{Name: make(map[string]types.BasePbmProfile)}
+
+ rtype := types.PbmProfileResourceType{
+ ResourceType: string(types.PbmProfileResourceTypeEnumSTORAGE),
+ }
+
+ category := types.PbmProfileCategoryEnumREQUIREMENT
+
+ var ids []types.PbmProfileId
+ if len(uid) == 0 {
+ var err error
+ ids, err = c.QueryProfile(ctx, rtype, string(category))
+ if err != nil {
+ return nil, err
+ }
+ } else {
+ ids = make([]types.PbmProfileId, len(uid))
+ for i, id := range uid {
+ ids[i].UniqueId = id
+ }
+ }
+
+ profiles, err := c.RetrieveContent(ctx, ids)
+ if err != nil {
+ return nil, err
+ }
+ m.Profile = profiles
+
+ for _, p := range profiles {
+ base := p.GetPbmProfile()
+ m.Name[base.Name] = p
+ m.Name[base.ProfileId.UniqueId] = p
+ }
+
+ return m, nil
+}
+
+// DatastoreMap contains a map of Datastore by name.
+type DatastoreMap struct {
+ Name map[string]string
+ PlacementHub []types.PbmPlacementHub
+}
+
+// DatastoreMap returns a map of Datastore by name.
+// The root reference can be a ClusterComputeResource or Folder.
+func (c *Client) DatastoreMap(ctx context.Context, vc *vim25.Client, root vim.ManagedObjectReference) (*DatastoreMap, error) {
+ m := &DatastoreMap{Name: make(map[string]string)}
+
+ prop := []string{"name"}
+ var content []vim.ObjectContent
+
+ if root.Type == "ClusterComputeResource" {
+ pc := property.DefaultCollector(vc)
+ var cluster mo.ClusterComputeResource
+
+ if err := pc.RetrieveOne(ctx, root, []string{"datastore"}, &cluster); err != nil {
+ return nil, err
+ }
+
+ if err := pc.Retrieve(ctx, cluster.Datastore, prop, &content); err != nil {
+ return nil, err
+ }
+ } else {
+ kind := []string{"Datastore"}
+ m := view.NewManager(vc)
+
+ v, err := m.CreateContainerView(ctx, root, kind, true)
+ if err != nil {
+ return nil, err
+ }
+
+ err = v.Retrieve(ctx, kind, prop, &content)
+ _ = v.Destroy(ctx)
+ if err != nil {
+ return nil, err
+ }
+ }
+
+ for _, item := range content {
+ m.PlacementHub = append(m.PlacementHub, types.PbmPlacementHub{
+ HubType: item.Obj.Type,
+ HubId: item.Obj.Value,
+ })
+ m.Name[item.Obj.Value] = item.PropSet[0].Val.(string)
+ }
+
+ return m, nil
+}
diff --git a/vendor/github.com/vmware/govmomi/pbm/types/enum.go b/vendor/github.com/vmware/govmomi/pbm/types/enum.go
index be05cfd2..992bcfdc 100644
--- a/vendor/github.com/vmware/govmomi/pbm/types/enum.go
+++ b/vendor/github.com/vmware/govmomi/pbm/types/enum.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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.
@@ -33,6 +33,18 @@ const (
PbmAssociateAndApplyPolicyStatusPolicyStatusInvalid = PbmAssociateAndApplyPolicyStatusPolicyStatus("invalid")
)
+func (e PbmAssociateAndApplyPolicyStatusPolicyStatus) Values() []PbmAssociateAndApplyPolicyStatusPolicyStatus {
+ return []PbmAssociateAndApplyPolicyStatusPolicyStatus{
+ PbmAssociateAndApplyPolicyStatusPolicyStatusSuccess,
+ PbmAssociateAndApplyPolicyStatusPolicyStatusFailed,
+ PbmAssociateAndApplyPolicyStatusPolicyStatusInvalid,
+ }
+}
+
+func (e PbmAssociateAndApplyPolicyStatusPolicyStatus) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmAssociateAndApplyPolicyStatusPolicyStatus", reflect.TypeOf((*PbmAssociateAndApplyPolicyStatusPolicyStatus)(nil)).Elem())
}
@@ -58,6 +70,17 @@ const (
PbmBuiltinGenericTypeVMW_SET = PbmBuiltinGenericType("VMW_SET")
)
+func (e PbmBuiltinGenericType) Values() []PbmBuiltinGenericType {
+ return []PbmBuiltinGenericType{
+ PbmBuiltinGenericTypeVMW_RANGE,
+ PbmBuiltinGenericTypeVMW_SET,
+ }
+}
+
+func (e PbmBuiltinGenericType) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmBuiltinGenericType", reflect.TypeOf((*PbmBuiltinGenericType)(nil)).Elem())
}
@@ -80,9 +103,9 @@ const (
// Unsigned long value.
//
// This datatype supports the following constraint values.
- // - Single value
- // - Full or partial range of values (`PbmCapabilityRange`)
- // - Discrete set of values (`PbmCapabilityDiscreteSet`)
+ // - Single value
+ // - Full or partial range of values (`PbmCapabilityRange`)
+ // - Discrete set of values (`PbmCapabilityDiscreteSet`)
PbmBuiltinTypeXSD_LONG = PbmBuiltinType("XSD_LONG")
// Datatype not supported.
PbmBuiltinTypeXSD_SHORT = PbmBuiltinType("XSD_SHORT")
@@ -93,9 +116,9 @@ const (
// Integer value.
//
// This datatype supports the following constraint values.
- // - Single value
- // - Full or partial range of values (`PbmCapabilityRange`)
- // - Discrete set of values (`PbmCapabilityDiscreteSet`)
+ // - Single value
+ // - Full or partial range of values (`PbmCapabilityRange`)
+ // - Discrete set of values (`PbmCapabilityDiscreteSet`)
PbmBuiltinTypeXSD_INT = PbmBuiltinType("XSD_INT")
// String value.
//
@@ -108,9 +131,9 @@ const (
//
// This datatype supports the following
// constraint values.
- // - Single value
- // - Full or partial range of values (`PbmCapabilityRange`)
- // - Discrete set of values (`PbmCapabilityDiscreteSet`)
+ // - Single value
+ // - Full or partial range of values (`PbmCapabilityRange`)
+ // - Discrete set of values (`PbmCapabilityDiscreteSet`)
PbmBuiltinTypeXSD_DOUBLE = PbmBuiltinType("XSD_DOUBLE")
// Date and time value.
PbmBuiltinTypeXSD_DATETIME = PbmBuiltinType("XSD_DATETIME")
@@ -118,13 +141,32 @@ const (
//
// This datatype supports
// the following constraint values.
- // - Single value
- // - Full or partial range of values (`PbmCapabilityRange`)
- // - Discrete set of values (`PbmCapabilityDiscreteSet`)
+ // - Single value
+ // - Full or partial range of values (`PbmCapabilityRange`)
+ // - Discrete set of values (`PbmCapabilityDiscreteSet`)
PbmBuiltinTypeVMW_TIMESPAN = PbmBuiltinType("VMW_TIMESPAN")
PbmBuiltinTypeVMW_POLICY = PbmBuiltinType("VMW_POLICY")
)
+func (e PbmBuiltinType) Values() []PbmBuiltinType {
+ return []PbmBuiltinType{
+ PbmBuiltinTypeXSD_LONG,
+ PbmBuiltinTypeXSD_SHORT,
+ PbmBuiltinTypeXSD_INTEGER,
+ PbmBuiltinTypeXSD_INT,
+ PbmBuiltinTypeXSD_STRING,
+ PbmBuiltinTypeXSD_BOOLEAN,
+ PbmBuiltinTypeXSD_DOUBLE,
+ PbmBuiltinTypeXSD_DATETIME,
+ PbmBuiltinTypeVMW_TIMESPAN,
+ PbmBuiltinTypeVMW_POLICY,
+ }
+}
+
+func (e PbmBuiltinType) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmBuiltinType", reflect.TypeOf((*PbmBuiltinType)(nil)).Elem())
}
@@ -139,6 +181,16 @@ const (
PbmCapabilityOperatorNOT = PbmCapabilityOperator("NOT")
)
+func (e PbmCapabilityOperator) Values() []PbmCapabilityOperator {
+ return []PbmCapabilityOperator{
+ PbmCapabilityOperatorNOT,
+ }
+}
+
+func (e PbmCapabilityOperator) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmCapabilityOperator", reflect.TypeOf((*PbmCapabilityOperator)(nil)).Elem())
}
@@ -167,6 +219,22 @@ const (
PbmCapabilityTimeUnitTypeYEARS = PbmCapabilityTimeUnitType("YEARS")
)
+func (e PbmCapabilityTimeUnitType) Values() []PbmCapabilityTimeUnitType {
+ return []PbmCapabilityTimeUnitType{
+ PbmCapabilityTimeUnitTypeSECONDS,
+ PbmCapabilityTimeUnitTypeMINUTES,
+ PbmCapabilityTimeUnitTypeHOURS,
+ PbmCapabilityTimeUnitTypeDAYS,
+ PbmCapabilityTimeUnitTypeWEEKS,
+ PbmCapabilityTimeUnitTypeMONTHS,
+ PbmCapabilityTimeUnitTypeYEARS,
+ }
+}
+
+func (e PbmCapabilityTimeUnitType) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmCapabilityTimeUnitType", reflect.TypeOf((*PbmCapabilityTimeUnitType)(nil)).Elem())
}
@@ -188,6 +256,18 @@ const (
PbmComplianceResultComplianceTaskStatusFailed = PbmComplianceResultComplianceTaskStatus("failed")
)
+func (e PbmComplianceResultComplianceTaskStatus) Values() []PbmComplianceResultComplianceTaskStatus {
+ return []PbmComplianceResultComplianceTaskStatus{
+ PbmComplianceResultComplianceTaskStatusInProgress,
+ PbmComplianceResultComplianceTaskStatusSuccess,
+ PbmComplianceResultComplianceTaskStatusFailed,
+ }
+}
+
+func (e PbmComplianceResultComplianceTaskStatus) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmComplianceResultComplianceTaskStatus", reflect.TypeOf((*PbmComplianceResultComplianceTaskStatus)(nil)).Elem())
}
@@ -221,6 +301,20 @@ const (
PbmComplianceStatusOutOfDate = PbmComplianceStatus("outOfDate")
)
+func (e PbmComplianceStatus) Values() []PbmComplianceStatus {
+ return []PbmComplianceStatus{
+ PbmComplianceStatusCompliant,
+ PbmComplianceStatusNonCompliant,
+ PbmComplianceStatusUnknown,
+ PbmComplianceStatusNotApplicable,
+ PbmComplianceStatusOutOfDate,
+ }
+}
+
+func (e PbmComplianceStatus) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmComplianceStatus", reflect.TypeOf((*PbmComplianceStatus)(nil)).Elem())
}
@@ -236,6 +330,17 @@ const (
PbmDebugManagerKeystoreNameTRUSTED_ROOTS = PbmDebugManagerKeystoreName("TRUSTED_ROOTS")
)
+func (e PbmDebugManagerKeystoreName) Values() []PbmDebugManagerKeystoreName {
+ return []PbmDebugManagerKeystoreName{
+ PbmDebugManagerKeystoreNameSMS,
+ PbmDebugManagerKeystoreNameTRUSTED_ROOTS,
+ }
+}
+
+func (e PbmDebugManagerKeystoreName) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmDebugManagerKeystoreName", reflect.TypeOf((*PbmDebugManagerKeystoreName)(nil)).Elem())
}
@@ -267,6 +372,19 @@ const (
PbmHealthStatusForEntityUnknown = PbmHealthStatusForEntity("unknown")
)
+func (e PbmHealthStatusForEntity) Values() []PbmHealthStatusForEntity {
+ return []PbmHealthStatusForEntity{
+ PbmHealthStatusForEntityRed,
+ PbmHealthStatusForEntityYellow,
+ PbmHealthStatusForEntityGreen,
+ PbmHealthStatusForEntityUnknown,
+ }
+}
+
+func (e PbmHealthStatusForEntity) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmHealthStatusForEntity", reflect.TypeOf((*PbmHealthStatusForEntity)(nil)).Elem())
}
@@ -288,6 +406,22 @@ const (
PbmIofilterInfoFilterTypeDATASTOREIOCONTROL = PbmIofilterInfoFilterType("DATASTOREIOCONTROL")
)
+func (e PbmIofilterInfoFilterType) Values() []PbmIofilterInfoFilterType {
+ return []PbmIofilterInfoFilterType{
+ PbmIofilterInfoFilterTypeINSPECTION,
+ PbmIofilterInfoFilterTypeCOMPRESSION,
+ PbmIofilterInfoFilterTypeENCRYPTION,
+ PbmIofilterInfoFilterTypeREPLICATION,
+ PbmIofilterInfoFilterTypeCACHE,
+ PbmIofilterInfoFilterTypeDATAPROVIDER,
+ PbmIofilterInfoFilterTypeDATASTOREIOCONTROL,
+ }
+}
+
+func (e PbmIofilterInfoFilterType) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmIofilterInfoFilterType", reflect.TypeOf((*PbmIofilterInfoFilterType)(nil)).Elem())
}
@@ -305,8 +439,28 @@ const (
PbmLineOfServiceInfoLineOfServiceEnumDATA_PROVIDER = PbmLineOfServiceInfoLineOfServiceEnum("DATA_PROVIDER")
PbmLineOfServiceInfoLineOfServiceEnumDATASTORE_IO_CONTROL = PbmLineOfServiceInfoLineOfServiceEnum("DATASTORE_IO_CONTROL")
PbmLineOfServiceInfoLineOfServiceEnumDATA_PROTECTION = PbmLineOfServiceInfoLineOfServiceEnum("DATA_PROTECTION")
+ PbmLineOfServiceInfoLineOfServiceEnumSTRETCHED_CLUSTER = PbmLineOfServiceInfoLineOfServiceEnum("STRETCHED_CLUSTER")
)
+func (e PbmLineOfServiceInfoLineOfServiceEnum) Values() []PbmLineOfServiceInfoLineOfServiceEnum {
+ return []PbmLineOfServiceInfoLineOfServiceEnum{
+ PbmLineOfServiceInfoLineOfServiceEnumINSPECTION,
+ PbmLineOfServiceInfoLineOfServiceEnumCOMPRESSION,
+ PbmLineOfServiceInfoLineOfServiceEnumENCRYPTION,
+ PbmLineOfServiceInfoLineOfServiceEnumREPLICATION,
+ PbmLineOfServiceInfoLineOfServiceEnumCACHING,
+ PbmLineOfServiceInfoLineOfServiceEnumPERSISTENCE,
+ PbmLineOfServiceInfoLineOfServiceEnumDATA_PROVIDER,
+ PbmLineOfServiceInfoLineOfServiceEnumDATASTORE_IO_CONTROL,
+ PbmLineOfServiceInfoLineOfServiceEnumDATA_PROTECTION,
+ PbmLineOfServiceInfoLineOfServiceEnumSTRETCHED_CLUSTER,
+ }
+}
+
+func (e PbmLineOfServiceInfoLineOfServiceEnum) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmLineOfServiceInfoLineOfServiceEnum", reflect.TypeOf((*PbmLineOfServiceInfoLineOfServiceEnum)(nil)).Elem())
}
@@ -334,6 +488,23 @@ const (
PbmLoggingConfigurationComponentVmomi = PbmLoggingConfigurationComponent("vmomi")
)
+func (e PbmLoggingConfigurationComponent) Values() []PbmLoggingConfigurationComponent {
+ return []PbmLoggingConfigurationComponent{
+ PbmLoggingConfigurationComponentPbm,
+ PbmLoggingConfigurationComponentVslm,
+ PbmLoggingConfigurationComponentSms,
+ PbmLoggingConfigurationComponentSpbm,
+ PbmLoggingConfigurationComponentSps,
+ PbmLoggingConfigurationComponentHttpclient_header,
+ PbmLoggingConfigurationComponentHttpclient_content,
+ PbmLoggingConfigurationComponentVmomi,
+ }
+}
+
+func (e PbmLoggingConfigurationComponent) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmLoggingConfigurationComponent", reflect.TypeOf((*PbmLoggingConfigurationComponent)(nil)).Elem())
}
@@ -351,6 +522,18 @@ const (
PbmLoggingConfigurationLogLevelTRACE = PbmLoggingConfigurationLogLevel("TRACE")
)
+func (e PbmLoggingConfigurationLogLevel) Values() []PbmLoggingConfigurationLogLevel {
+ return []PbmLoggingConfigurationLogLevel{
+ PbmLoggingConfigurationLogLevelINFO,
+ PbmLoggingConfigurationLogLevelDEBUG,
+ PbmLoggingConfigurationLogLevelTRACE,
+ }
+}
+
+func (e PbmLoggingConfigurationLogLevel) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmLoggingConfigurationLogLevel", reflect.TypeOf((*PbmLoggingConfigurationLogLevel)(nil)).Elem())
}
@@ -384,6 +567,23 @@ const (
PbmObjectTypeUnknown = PbmObjectType("unknown")
)
+func (e PbmObjectType) Values() []PbmObjectType {
+ return []PbmObjectType{
+ PbmObjectTypeVirtualMachine,
+ PbmObjectTypeVirtualMachineAndDisks,
+ PbmObjectTypeVirtualDiskId,
+ PbmObjectTypeVirtualDiskUUID,
+ PbmObjectTypeDatastore,
+ PbmObjectTypeVsanObjectId,
+ PbmObjectTypeFileShareId,
+ PbmObjectTypeUnknown,
+ }
+}
+
+func (e PbmObjectType) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmObjectType", reflect.TypeOf((*PbmObjectType)(nil)).Elem())
}
@@ -405,6 +605,20 @@ const (
PbmOperationCLONE = PbmOperation("CLONE")
)
+func (e PbmOperation) Values() []PbmOperation {
+ return []PbmOperation{
+ PbmOperationCREATE,
+ PbmOperationREGISTER,
+ PbmOperationRECONFIGURE,
+ PbmOperationMIGRATE,
+ PbmOperationCLONE,
+ }
+}
+
+func (e PbmOperation) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmOperation", reflect.TypeOf((*PbmOperation)(nil)).Elem())
}
@@ -428,6 +642,18 @@ const (
PbmPolicyAssociationVolumeAllocationTypeConserveSpaceWhenPossible = PbmPolicyAssociationVolumeAllocationType("ConserveSpaceWhenPossible")
)
+func (e PbmPolicyAssociationVolumeAllocationType) Values() []PbmPolicyAssociationVolumeAllocationType {
+ return []PbmPolicyAssociationVolumeAllocationType{
+ PbmPolicyAssociationVolumeAllocationTypeFullyInitialized,
+ PbmPolicyAssociationVolumeAllocationTypeReserveSpace,
+ PbmPolicyAssociationVolumeAllocationTypeConserveSpaceWhenPossible,
+ }
+}
+
+func (e PbmPolicyAssociationVolumeAllocationType) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmPolicyAssociationVolumeAllocationType", reflect.TypeOf((*PbmPolicyAssociationVolumeAllocationType)(nil)).Elem())
}
@@ -459,6 +685,18 @@ const (
PbmProfileCategoryEnumDATA_SERVICE_POLICY = PbmProfileCategoryEnum("DATA_SERVICE_POLICY")
)
+func (e PbmProfileCategoryEnum) Values() []PbmProfileCategoryEnum {
+ return []PbmProfileCategoryEnum{
+ PbmProfileCategoryEnumREQUIREMENT,
+ PbmProfileCategoryEnumRESOURCE,
+ PbmProfileCategoryEnumDATA_SERVICE_POLICY,
+ }
+}
+
+func (e PbmProfileCategoryEnum) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmProfileCategoryEnum", reflect.TypeOf((*PbmProfileCategoryEnum)(nil)).Elem())
}
@@ -474,6 +712,16 @@ const (
PbmProfileResourceTypeEnumSTORAGE = PbmProfileResourceTypeEnum("STORAGE")
)
+func (e PbmProfileResourceTypeEnum) Values() []PbmProfileResourceTypeEnum {
+ return []PbmProfileResourceTypeEnum{
+ PbmProfileResourceTypeEnumSTORAGE,
+ }
+}
+
+func (e PbmProfileResourceTypeEnum) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmProfileResourceTypeEnum", reflect.TypeOf((*PbmProfileResourceTypeEnum)(nil)).Elem())
}
@@ -496,6 +744,20 @@ const (
PbmSystemCreatedProfileTypeVsanMaxDefaultProfile = PbmSystemCreatedProfileType("VsanMaxDefaultProfile")
)
+func (e PbmSystemCreatedProfileType) Values() []PbmSystemCreatedProfileType {
+ return []PbmSystemCreatedProfileType{
+ PbmSystemCreatedProfileTypeVsanDefaultProfile,
+ PbmSystemCreatedProfileTypeVVolDefaultProfile,
+ PbmSystemCreatedProfileTypePmemDefaultProfile,
+ PbmSystemCreatedProfileTypeVmcManagementProfile,
+ PbmSystemCreatedProfileTypeVsanMaxDefaultProfile,
+ }
+}
+
+func (e PbmSystemCreatedProfileType) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmSystemCreatedProfileType", reflect.TypeOf((*PbmSystemCreatedProfileType)(nil)).Elem())
}
@@ -515,6 +777,19 @@ const (
PbmVmOperationCLONE = PbmVmOperation("CLONE")
)
+func (e PbmVmOperation) Values() []PbmVmOperation {
+ return []PbmVmOperation{
+ PbmVmOperationCREATE,
+ PbmVmOperationRECONFIGURE,
+ PbmVmOperationMIGRATE,
+ PbmVmOperationCLONE,
+ }
+}
+
+func (e PbmVmOperation) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmVmOperation", reflect.TypeOf((*PbmVmOperation)(nil)).Elem())
}
@@ -535,6 +810,18 @@ const (
PbmVvolTypeSwap = PbmVvolType("Swap")
)
+func (e PbmVvolType) Values() []PbmVvolType {
+ return []PbmVvolType{
+ PbmVvolTypeConfig,
+ PbmVvolTypeData,
+ PbmVvolTypeSwap,
+ }
+}
+
+func (e PbmVvolType) Strings() []string {
+ return types.EnumValuesAsStrings(e.Values())
+}
+
func init() {
types.Add("pbm:PbmVvolType", reflect.TypeOf((*PbmVvolType)(nil)).Elem())
}
diff --git a/vendor/github.com/vmware/govmomi/pbm/types/if.go b/vendor/github.com/vmware/govmomi/pbm/types/if.go
index 4008dfff..3301d21e 100644
--- a/vendor/github.com/vmware/govmomi/pbm/types/if.go
+++ b/vendor/github.com/vmware/govmomi/pbm/types/if.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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.
diff --git a/vendor/github.com/vmware/govmomi/pbm/types/types.go b/vendor/github.com/vmware/govmomi/pbm/types/types.go
index 4c6f72ca..5bd9598f 100644
--- a/vendor/github.com/vmware/govmomi/pbm/types/types.go
+++ b/vendor/github.com/vmware/govmomi/pbm/types/types.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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.
@@ -24,6 +24,8 @@ import (
)
// A boxed array of `PbmCapabilityConstraintInstance`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCapabilityConstraintInstance struct {
PbmCapabilityConstraintInstance []PbmCapabilityConstraintInstance `xml:"PbmCapabilityConstraintInstance,omitempty" json:"_value"`
}
@@ -33,6 +35,8 @@ func init() {
}
// A boxed array of `PbmCapabilityInstance`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCapabilityInstance struct {
PbmCapabilityInstance []PbmCapabilityInstance `xml:"PbmCapabilityInstance,omitempty" json:"_value"`
}
@@ -42,6 +46,8 @@ func init() {
}
// A boxed array of `PbmCapabilityMetadata`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCapabilityMetadata struct {
PbmCapabilityMetadata []PbmCapabilityMetadata `xml:"PbmCapabilityMetadata,omitempty" json:"_value"`
}
@@ -51,6 +57,8 @@ func init() {
}
// A boxed array of `PbmCapabilityMetadataPerCategory`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCapabilityMetadataPerCategory struct {
PbmCapabilityMetadataPerCategory []PbmCapabilityMetadataPerCategory `xml:"PbmCapabilityMetadataPerCategory,omitempty" json:"_value"`
}
@@ -60,6 +68,8 @@ func init() {
}
// A boxed array of `PbmCapabilityPropertyInstance`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCapabilityPropertyInstance struct {
PbmCapabilityPropertyInstance []PbmCapabilityPropertyInstance `xml:"PbmCapabilityPropertyInstance,omitempty" json:"_value"`
}
@@ -69,6 +79,8 @@ func init() {
}
// A boxed array of `PbmCapabilityPropertyMetadata`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCapabilityPropertyMetadata struct {
PbmCapabilityPropertyMetadata []PbmCapabilityPropertyMetadata `xml:"PbmCapabilityPropertyMetadata,omitempty" json:"_value"`
}
@@ -78,6 +90,8 @@ func init() {
}
// A boxed array of `PbmCapabilitySchema`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCapabilitySchema struct {
PbmCapabilitySchema []PbmCapabilitySchema `xml:"PbmCapabilitySchema,omitempty" json:"_value"`
}
@@ -87,6 +101,8 @@ func init() {
}
// A boxed array of `PbmCapabilitySubProfile`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCapabilitySubProfile struct {
PbmCapabilitySubProfile []PbmCapabilitySubProfile `xml:"PbmCapabilitySubProfile,omitempty" json:"_value"`
}
@@ -96,6 +112,8 @@ func init() {
}
// A boxed array of `PbmCapabilityVendorNamespaceInfo`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCapabilityVendorNamespaceInfo struct {
PbmCapabilityVendorNamespaceInfo []PbmCapabilityVendorNamespaceInfo `xml:"PbmCapabilityVendorNamespaceInfo,omitempty" json:"_value"`
}
@@ -105,6 +123,8 @@ func init() {
}
// A boxed array of `PbmCapabilityVendorResourceTypeInfo`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCapabilityVendorResourceTypeInfo struct {
PbmCapabilityVendorResourceTypeInfo []PbmCapabilityVendorResourceTypeInfo `xml:"PbmCapabilityVendorResourceTypeInfo,omitempty" json:"_value"`
}
@@ -114,6 +134,8 @@ func init() {
}
// A boxed array of `PbmCompliancePolicyStatus`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmCompliancePolicyStatus struct {
PbmCompliancePolicyStatus []PbmCompliancePolicyStatus `xml:"PbmCompliancePolicyStatus,omitempty" json:"_value"`
}
@@ -123,6 +145,8 @@ func init() {
}
// A boxed array of `PbmComplianceResult`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmComplianceResult struct {
PbmComplianceResult []PbmComplianceResult `xml:"PbmComplianceResult,omitempty" json:"_value"`
}
@@ -132,6 +156,8 @@ func init() {
}
// A boxed array of `PbmDatastoreSpaceStatistics`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmDatastoreSpaceStatistics struct {
PbmDatastoreSpaceStatistics []PbmDatastoreSpaceStatistics `xml:"PbmDatastoreSpaceStatistics,omitempty" json:"_value"`
}
@@ -141,6 +167,8 @@ func init() {
}
// A boxed array of `PbmDefaultProfileInfo`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmDefaultProfileInfo struct {
PbmDefaultProfileInfo []PbmDefaultProfileInfo `xml:"PbmDefaultProfileInfo,omitempty" json:"_value"`
}
@@ -150,6 +178,8 @@ func init() {
}
// A boxed array of `PbmFaultNoPermissionEntityPrivileges`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmFaultNoPermissionEntityPrivileges struct {
PbmFaultNoPermissionEntityPrivileges []PbmFaultNoPermissionEntityPrivileges `xml:"PbmFaultNoPermissionEntityPrivileges,omitempty" json:"_value"`
}
@@ -159,6 +189,8 @@ func init() {
}
// A boxed array of `PbmLoggingConfiguration`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmLoggingConfiguration struct {
PbmLoggingConfiguration []PbmLoggingConfiguration `xml:"PbmLoggingConfiguration,omitempty" json:"_value"`
}
@@ -168,6 +200,8 @@ func init() {
}
// A boxed array of `PbmPlacementCompatibilityResult`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmPlacementCompatibilityResult struct {
PbmPlacementCompatibilityResult []PbmPlacementCompatibilityResult `xml:"PbmPlacementCompatibilityResult,omitempty" json:"_value"`
}
@@ -177,6 +211,8 @@ func init() {
}
// A boxed array of `PbmPlacementHub`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmPlacementHub struct {
PbmPlacementHub []PbmPlacementHub `xml:"PbmPlacementHub,omitempty" json:"_value"`
}
@@ -186,6 +222,8 @@ func init() {
}
// A boxed array of `PbmPlacementMatchingResources`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmPlacementMatchingResources struct {
PbmPlacementMatchingResources []BasePbmPlacementMatchingResources `xml:"PbmPlacementMatchingResources,omitempty,typeattr" json:"_value"`
}
@@ -195,6 +233,8 @@ func init() {
}
// A boxed array of `PbmPlacementRequirement`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmPlacementRequirement struct {
PbmPlacementRequirement []BasePbmPlacementRequirement `xml:"PbmPlacementRequirement,omitempty,typeattr" json:"_value"`
}
@@ -204,6 +244,8 @@ func init() {
}
// A boxed array of `PbmPlacementResourceUtilization`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmPlacementResourceUtilization struct {
PbmPlacementResourceUtilization []PbmPlacementResourceUtilization `xml:"PbmPlacementResourceUtilization,omitempty" json:"_value"`
}
@@ -213,6 +255,8 @@ func init() {
}
// A boxed array of `PbmProfile`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmProfile struct {
PbmProfile []BasePbmProfile `xml:"PbmProfile,omitempty,typeattr" json:"_value"`
}
@@ -222,6 +266,8 @@ func init() {
}
// A boxed array of `PbmProfileId`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmProfileId struct {
PbmProfileId []PbmProfileId `xml:"PbmProfileId,omitempty" json:"_value"`
}
@@ -231,6 +277,8 @@ func init() {
}
// A boxed array of `PbmProfileOperationOutcome`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmProfileOperationOutcome struct {
PbmProfileOperationOutcome []PbmProfileOperationOutcome `xml:"PbmProfileOperationOutcome,omitempty" json:"_value"`
}
@@ -240,6 +288,8 @@ func init() {
}
// A boxed array of `PbmProfileResourceType`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmProfileResourceType struct {
PbmProfileResourceType []PbmProfileResourceType `xml:"PbmProfileResourceType,omitempty" json:"_value"`
}
@@ -249,6 +299,8 @@ func init() {
}
// A boxed array of `PbmProfileType`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmProfileType struct {
PbmProfileType []PbmProfileType `xml:"PbmProfileType,omitempty" json:"_value"`
}
@@ -258,6 +310,8 @@ func init() {
}
// A boxed array of `PbmQueryProfileResult`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmQueryProfileResult struct {
PbmQueryProfileResult []PbmQueryProfileResult `xml:"PbmQueryProfileResult,omitempty" json:"_value"`
}
@@ -267,6 +321,8 @@ func init() {
}
// A boxed array of `PbmQueryReplicationGroupResult`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmQueryReplicationGroupResult struct {
PbmQueryReplicationGroupResult []PbmQueryReplicationGroupResult `xml:"PbmQueryReplicationGroupResult,omitempty" json:"_value"`
}
@@ -276,6 +332,8 @@ func init() {
}
// A boxed array of `PbmRollupComplianceResult`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmRollupComplianceResult struct {
PbmRollupComplianceResult []PbmRollupComplianceResult `xml:"PbmRollupComplianceResult,omitempty" json:"_value"`
}
@@ -285,6 +343,8 @@ func init() {
}
// A boxed array of `PbmServerObjectRef`. To be used in `Any` placeholders.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type ArrayOfPbmServerObjectRef struct {
PbmServerObjectRef []PbmServerObjectRef `xml:"PbmServerObjectRef,omitempty" json:"_value"`
}
@@ -340,6 +400,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmAssignDefaultRequirementProfile`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmAssignDefaultRequirementProfileRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// The profile that needs to be made default profile.
@@ -544,6 +606,7 @@ func init() {
types.Add("pbm:PbmCapabilityMetadataPerCategory", reflect.TypeOf((*PbmCapabilityMetadataPerCategory)(nil)).Elem())
}
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityMetadataUniqueId struct {
types.DynamicData
@@ -601,23 +664,22 @@ type PbmCapabilityProfile struct {
// The profileCategory
// is a string value that corresponds to one of the
// `PbmProfileCategoryEnum_enum` values.
- // - REQUIREMENT profile - Defines the storage constraints applied
- // to virtual machine placement. Requirements are defined by
- // the user and can be associated with virtual machines and virtual
- // disks. During provisioning, you can use a requirements profile
- // for compliance and placement checking to support
- // selection and configuration of resources.
- // - RESOURCE profile - Specifies system-defined storage capabilities.
- // You cannot modify a resource profile. You cannot associate a resource
- // profile with vSphere entities, use it during provisioning, or target
- // entities for resource selection or configuration.
- // This type of profile gives the user visibility into the capabilities
- // supported by the storage provider.
- //
- // DATA\_SERVICE\_POLICY - Indicates a data service policy that can
- // be embedded into another storage policy. Policies of this type can't
- // be assigned to Virtual Machines or Virtual Disks. This policy cannot
- // be used for compliance checking.
+ // - REQUIREMENT profile - Defines the storage constraints applied
+ // to virtual machine placement. Requirements are defined by
+ // the user and can be associated with virtual machines and virtual
+ // disks. During provisioning, you can use a requirements profile
+ // for compliance and placement checking to support
+ // selection and configuration of resources.
+ // - RESOURCE profile - Specifies system-defined storage capabilities.
+ // You cannot modify a resource profile. You cannot associate a resource
+ // profile with vSphere entities, use it during provisioning, or target
+ // entities for resource selection or configuration.
+ // This type of profile gives the user visibility into the capabilities
+ // supported by the storage provider.
+ // - DATA\_SERVICE\_POLICY - Indicates a data service policy that can
+ // be embedded into another storage policy. Policies of this type can't
+ // be assigned to Virtual Machines or Virtual Disks. This policy cannot
+ // be used for compliance checking.
ProfileCategory string `xml:"profileCategory" json:"profileCategory"`
// Type of the target resource to which the capability information applies.
//
@@ -764,9 +826,9 @@ type PbmCapabilityPropertyInstance struct {
//
// You must specify the value.
// A property value is one value or a collection of values.
- // - A single property value is expressed as a scalar value.
- // - A collection of values is expressed as a `PbmCapabilityDiscreteSet`
- // or a `PbmCapabilityRange` of values.
+ // - A single property value is expressed as a scalar value.
+ // - A collection of values is expressed as a `PbmCapabilityDiscreteSet`
+ // or a `PbmCapabilityRange` of values.
//
// The datatype of each value must be one of the
// `PbmBuiltinType_enum` datatypes.
@@ -799,23 +861,23 @@ type PbmCapabilityPropertyMetadata struct {
// (`PbmCapabilityPropertyInstance*.*PbmCapabilityPropertyInstance.id`).
Id string `xml:"id" json:"id"`
// Property name and description.
- // - The summary.label
property
- // (`PbmExtendedElementDescription.label`)
- // contains property 'name' in server locale.
- // - The summary.summary
property
- // (`PbmExtendedElementDescription.summary`)
- // contains property 'description' in server locale.
- // - The summary.messageCatalogKeyPrefix
property
- // (`PbmExtendedElementDescription.messageCatalogKeyPrefix`)
- // contains unique prefix for this property within given message catalog.
- // Prefix format: <capability\_unique\_identifier.<property\_id
- // capability\_unique\_identifier -- string representation of
- // `PbmCapabilityMetadataUniqueId` which globally identifies given
- // capability metadata definition uniquely.
- // property\_id -- 'id' of this property `PbmCapabilityPropertyMetadata.id`
- // Eg www.emc.com.storage.Recovery.Recovery\_site
- // www.emc.com.storage.Recovery.RPO
- // www.emc.com.storage.Recovery.RTO
+ // - The summary.label
property
+ // (`PbmExtendedElementDescription.label`)
+ // contains property 'name' in server locale.
+ // - The summary.summary
property
+ // (`PbmExtendedElementDescription.summary`)
+ // contains property 'description' in server locale.
+ // - The summary.messageCatalogKeyPrefix
property
+ // (`PbmExtendedElementDescription.messageCatalogKeyPrefix`)
+ // contains unique prefix for this property within given message catalog.
+ // Prefix format: <capability\_unique\_identifier>.<property\_id>
+ // capability\_unique\_identifier -- string representation of
+ // `PbmCapabilityMetadataUniqueId` which globally identifies given
+ // capability metadata definition uniquely.
+ // property\_id -- 'id' of this property `PbmCapabilityPropertyMetadata.id`
+ // Eg www.emc.com.storage.Recovery.Recovery\_site
+ // www.emc.com.storage.Recovery.RPO
+ // www.emc.com.storage.Recovery.RTO
Summary PbmExtendedElementDescription `xml:"summary" json:"summary"`
// Indicates whether incorporating given capability is mandatory during creation of
// profile.
@@ -826,11 +888,11 @@ type PbmCapabilityPropertyMetadata struct {
// (`PbmCapabilityPropertyInstance*.*PbmCapabilityPropertyInstance.value`)
// is specified as a builtin datatype and may also specify the interpretation of a
// collection of values of that datatype.
- // - `PbmCapabilityPropertyMetadata.type*.*PbmCapabilityTypeInfo.typeName`
- // specifies the `PbmBuiltinType_enum`.
- // - `PbmCapabilityPropertyMetadata.type*.*PbmCapabilityGenericTypeInfo.genericTypeName`
- // indicates how a collection of values of the specified datatype will be interpreted
- // (`PbmBuiltinGenericType_enum`).
+ // - `PbmCapabilityPropertyMetadata.type*.*PbmCapabilityTypeInfo.typeName`
+ // specifies the `PbmBuiltinType_enum`.
+ // - `PbmCapabilityPropertyMetadata.type*.*PbmCapabilityGenericTypeInfo.genericTypeName`
+ // indicates how a collection of values of the specified datatype will be interpreted
+ // (`PbmBuiltinGenericType_enum`).
Type BasePbmCapabilityTypeInfo `xml:"type,omitempty,typeattr" json:"type,omitempty"`
// Default value, if any, that the property will assume when not
// constrained by requirements.
@@ -861,14 +923,14 @@ type PbmCapabilityPropertyMetadata struct {
// different types across capability profiles. This value, if specified,
// specifies the expected kind of constraint used in requirement profiles.
// Considerations for using this information:
- // - This is only a hint; any properly formed constraint
- // (see `PbmCapabilityPropertyInstance.value`)
- // is still valid for a requirement profile.
- // - If VMW\_SET is hinted, then a single value matching the property metadata type is
- // also an expected form of constraint, as the latter is an allowed convenience
- // for expressing a single-member set.
- // - If this hint is not specified, then the authoring system may default to a form of
- // constraint determined by its own criteria.
+ // - This is only a hint; any properly formed constraint
+ // (see `PbmCapabilityPropertyInstance.value`)
+ // is still valid for a requirement profile.
+ // - If VMW\_SET is hinted, then a single value matching the property metadata type is
+ // also an expected form of constraint, as the latter is an allowed convenience
+ // for expressing a single-member set.
+ // - If this hint is not specified, then the authoring system may default to a form of
+ // constraint determined by its own criteria.
RequirementsTypeHint string `xml:"requirementsTypeHint,omitempty" json:"requirementsTypeHint,omitempty"`
}
@@ -938,16 +1000,16 @@ type PbmCapabilitySchemaVendorInfo struct {
VendorUuid string `xml:"vendorUuid" json:"vendorUuid"`
// Captures name and description information about the vendor/owner of
// the schema.
- // - The summary.label
property
- // (`PbmExtendedElementDescription.label`)
- // contains vendor name information in server locale.
- // - The summary.summary
property
- // (`PbmExtendedElementDescription.summary`)
- // contains vendor description string in server locale.
- // - The summary.messageCatalogKeyPrefix
property
- // (`PbmExtendedElementDescription.messageCatalogKeyPrefix`)
- // contains unique prefix for the vendor information within given message
- // catalog.
+ // - The summary.label
property
+ // (`PbmExtendedElementDescription.label`)
+ // contains vendor name information in server locale.
+ // - The summary.summary
property
+ // (`PbmExtendedElementDescription.summary`)
+ // contains vendor description string in server locale.
+ // - The summary.messageCatalogKeyPrefix
property
+ // (`PbmExtendedElementDescription.messageCatalogKeyPrefix`)
+ // contains unique prefix for the vendor information within given message
+ // catalog.
Info PbmExtendedElementDescription `xml:"info" json:"info"`
}
@@ -1062,6 +1124,7 @@ func init() {
types.Add("pbm:PbmCapabilityTypeInfo", reflect.TypeOf((*PbmCapabilityTypeInfo)(nil)).Elem())
}
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityVendorNamespaceInfo struct {
types.DynamicData
@@ -1073,6 +1136,7 @@ func init() {
types.Add("pbm:PbmCapabilityVendorNamespaceInfo", reflect.TypeOf((*PbmCapabilityVendorNamespaceInfo)(nil)).Elem())
}
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityVendorResourceTypeInfo struct {
types.DynamicData
@@ -1081,7 +1145,7 @@ type PbmCapabilityVendorResourceTypeInfo struct {
//
// Must match one of the values for enum `PbmProfileResourceTypeEnum_enum`
ResourceType string `xml:"resourceType" json:"resourceType"`
- // List of all vendorInfo -- namespaceInfo tuples that are registered for
+ // List of all vendorInfo <--> namespaceInfo tuples that are registered for
// given resource type
VendorNamespaceInfo []PbmCapabilityVendorNamespaceInfo `xml:"vendorNamespaceInfo" json:"vendorNamespaceInfo"`
}
@@ -1097,6 +1161,8 @@ func init() {
}
// The parameters of `PbmPlacementSolver.PbmCheckCompatibility`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCheckCompatibilityRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Candidate list of hubs, either datastores or storage pods or a
@@ -1123,6 +1189,8 @@ func init() {
}
// The parameters of `PbmPlacementSolver.PbmCheckCompatibilityWithSpec`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCheckCompatibilityWithSpecRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Candidate list of hubs, either datastores or storage pods
@@ -1148,6 +1216,8 @@ func init() {
}
// The parameters of `PbmComplianceManager.PbmCheckCompliance`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCheckComplianceRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// One or more references to storage entities.
@@ -1155,16 +1225,16 @@ type PbmCheckComplianceRequestType struct {
// A maximum of 1000 virtual machines and/or virtual disks can be specified
// in a call. The results of calling the checkCompliance API with
// more than a 1000 entities is undefined.
- // - If the list of entities also contains datastores, the Server
- // will ignore the datastores.
- // - If the list contains valid and invalid entities, the Server ignores
- // the invalid entities and returns results for the valid entities.
- // Invalid entities are entities that are not in the vCenter inventory.
- // - If the list contains only datastores, the method throws
- // an InvalidArgument
fault.
- // - If the list contains virtual machines and disks and the entities
- // are invalid or have been deleted by the time of the request, the method
- // throws an InvalidArgument
fault.
+ // - If the list of entities also contains datastores, the Server
+ // will ignore the datastores.
+ // - If the list contains valid and invalid entities, the Server ignores
+ // the invalid entities and returns results for the valid entities.
+ // Invalid entities are entities that are not in the vCenter inventory.
+ // - If the list contains only datastores, the method throws
+ // an InvalidArgument
fault.
+ // - If the list contains virtual machines and disks and the entities
+ // are invalid or have been deleted by the time of the request, the method
+ // throws an InvalidArgument
fault.
//
// If an entity does not have an associated storage profile, the entity
// is removed from the list.
@@ -1189,6 +1259,8 @@ func init() {
}
// The parameters of `PbmPlacementSolver.PbmCheckRequirements`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCheckRequirementsRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Candidate list of hubs, either datastores or storage pods
@@ -1226,6 +1298,8 @@ func init() {
}
// The parameters of `PbmComplianceManager.PbmCheckRollupCompliance`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCheckRollupComplianceRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// One or more references to virtual machines.
@@ -1394,6 +1468,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmCreate`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCreateRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Capability-based profile specification.
@@ -1527,6 +1603,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmDelete`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmDeleteRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Array of profile identifiers.
@@ -1562,6 +1640,7 @@ func init() {
types.Add("pbm:PbmDuplicateNameFault", reflect.TypeOf((*PbmDuplicateNameFault)(nil)).Elem())
}
+// This structure may be used only with operations rendered under `/pbm`.
type PbmExtendedElementDescription struct {
types.DynamicData
@@ -1580,7 +1659,7 @@ type PbmExtendedElementDescription struct {
// will be provided by #messageArg.
// Both summary and label in ElementDescription will have a corresponding
// entry in the message catalog with the keys
- // .summary and .label
+ // <messageCatalogKeyPrefix>.summary and <messageCatalogKeyPrefix>.label
// respectively.
// ElementDescription.summary and ElementDescription.label will contain
// the strings in server locale.
@@ -1644,6 +1723,7 @@ func init() {
types.Add("pbm:PbmFaultNoPermission", reflect.TypeOf((*PbmFaultNoPermission)(nil)).Elem())
}
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFaultNoPermissionEntityPrivileges struct {
types.DynamicData
@@ -1688,6 +1768,7 @@ func init() {
types.Add("pbm:PbmFaultNotFoundFault", reflect.TypeOf((*PbmFaultNotFoundFault)(nil)).Elem())
}
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFaultProfileStorageFault struct {
PbmFault
}
@@ -1709,6 +1790,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmFetchCapabilityMetadata`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFetchCapabilityMetadataRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Type of profile resource. The Server supports the "STORAGE" resource
@@ -1738,6 +1821,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmFetchCapabilitySchema`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFetchCapabilitySchemaRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Unique identifier for the vendor/owner of capability metadata.
@@ -1768,19 +1853,21 @@ func init() {
}
// The parameters of `PbmComplianceManager.PbmFetchComplianceResult`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFetchComplianceResultRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// One or more references to storage entities.
// A maximum of 1000 virtual machines and/or virtual disks can be specified
// in a call. The results of calling the fetchComplianceResult API with
// more than a 1000 entities is undefined.
- // - If the list of entities also contains datastores, the Server
- // will ignore the datastores.
- // - If the list contains valid and invalid entities, the Server ignores
- // the invalid entities and returns results for the valid entities.
- // Invalid entities are entities that are not in the vCenter inventory.
- // - If the list contains only datastores, the method throws
- // an InvalidArgument
fault.
+ // - If the list of entities also contains datastores, the Server
+ // will ignore the datastores.
+ // - If the list contains valid and invalid entities, the Server ignores
+ // the invalid entities and returns results for the valid entities.
+ // Invalid entities are entities that are not in the vCenter inventory.
+ // - If the list contains only datastores, the method throws
+ // an InvalidArgument
fault.
Entities []PbmServerObjectRef `xml:"entities" json:"entities"`
// Not used. if specified, the Server ignores the value.
// The Server uses the profiles associated with the specified entities.
@@ -1839,6 +1926,8 @@ func init() {
}
// The parameters of `PbmComplianceManager.PbmFetchRollupComplianceResult`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFetchRollupComplianceResultRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// One or more virtual machines.
@@ -1863,6 +1952,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmFetchVendorInfo`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFetchVendorInfoRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Specifies the resource type. The Server supports the STORAGE resource
@@ -1886,6 +1977,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmFindApplicableDefaultProfile`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFindApplicableDefaultProfileRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Datastores for which the default profile is found out. Note that
@@ -1965,6 +2058,7 @@ func init() {
types.Add("pbm:PbmLineOfServiceInfo", reflect.TypeOf((*PbmLineOfServiceInfo)(nil)).Elem())
}
+// This structure may be used only with operations rendered under `/pbm`.
type PbmLoggingConfiguration struct {
types.DynamicData
@@ -2318,6 +2412,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmQueryAssociatedEntities`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryAssociatedEntitiesRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Storage policy array.
@@ -2339,6 +2435,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmQueryAssociatedEntity`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryAssociatedEntityRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Profile identifier.
@@ -2365,6 +2463,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmQueryAssociatedProfile`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryAssociatedProfileRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Reference to a virtual machine, virtual disk, or datastore.
@@ -2386,6 +2486,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmQueryAssociatedProfiles`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryAssociatedProfilesRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Array of server object references.
@@ -2407,6 +2509,8 @@ func init() {
}
// The parameters of `PbmComplianceManager.PbmQueryByRollupComplianceStatus`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryByRollupComplianceStatusRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// `PbmComplianceStatus_enum`
@@ -2428,6 +2532,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmQueryDefaultRequirementProfile`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryDefaultRequirementProfileRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Placement hub (i.e. datastore).
@@ -2449,6 +2555,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmQueryDefaultRequirementProfiles`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryDefaultRequirementProfilesRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// The datastores for which the default profiles are requested. For
@@ -2472,6 +2580,8 @@ func init() {
}
// The parameters of `PbmPlacementSolver.PbmQueryMatchingHub`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryMatchingHubRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Candidate list of hubs, either datastores or storage pods or a
@@ -2497,6 +2607,8 @@ func init() {
}
// The parameters of `PbmPlacementSolver.PbmQueryMatchingHubWithSpec`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryMatchingHubWithSpecRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Candidate list of hubs, either datastores or storage
@@ -2522,6 +2634,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmQueryProfile`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryProfileRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Type of resource. You can specify only STORAGE.
@@ -2593,6 +2707,8 @@ func init() {
}
// The parameters of `PbmReplicationManager.PbmQueryReplicationGroups`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryReplicationGroupsRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Array of server object references. Valid types are
@@ -2618,6 +2734,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmQuerySpaceStatsForStorageContainer`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQuerySpaceStatsForStorageContainerRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Entity for which space statistics are being requested i.e datastore.
@@ -2643,6 +2761,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmResetDefaultRequirementProfile`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmResetDefaultRequirementProfileRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Profile to reset.
@@ -2706,6 +2826,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmRetrieveContent`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmRetrieveContentRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Array of storage profile identifiers.
@@ -2767,16 +2889,16 @@ type PbmRollupComplianceResult struct {
//
// The overall compliance status is determined by the following rules, applied in the order
// listed:
- // - If all the entities are compliant
, the overall status is
- // compliant
.
- // - Else if any entity's status is outOfDate
, the overall status is
- // outOfDate
.
- // - Else if any entity's status is nonCompliant
, the overall status is
- // nonCompliant
.
- // - Else if any entity's status is unknown
, the overall status is
- // unknown
.
- // - Else if any entity's status is notApplicable
, the overall status is
- // notApplicable
.
+ // - If all the entities are compliant
, the overall status is
+ // compliant
.
+ // - Else if any entity's status is outOfDate
, the overall status is
+ // outOfDate
.
+ // - Else if any entity's status is nonCompliant
, the overall status is
+ // nonCompliant
.
+ // - Else if any entity's status is unknown
, the overall status is
+ // unknown
.
+ // - Else if any entity's status is notApplicable
, the overall status is
+ // notApplicable
.
OverallComplianceStatus string `xml:"overallComplianceStatus" json:"overallComplianceStatus"`
// Overall compliance task status of the virtual machine and its virtual
// disks.
@@ -2831,7 +2953,6 @@ type PbmServerObjectRef struct {
// The value of key
depends
// on the objectType
.
//
- //
//
// `*PbmObjectType** | *`key value** |
// virtualMachine | _virtual-machine-MOR_ |
@@ -2896,6 +3017,8 @@ func init() {
}
// The parameters of `PbmProfileProfileManager.PbmUpdate`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmUpdateRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
// Profile identifier.
diff --git a/vendor/github.com/vmware/govmomi/vapi/internal/internal.go b/vendor/github.com/vmware/govmomi/vapi/internal/internal.go
index 2872f380..5931fd4a 100644
--- a/vendor/github.com/vmware/govmomi/vapi/internal/internal.go
+++ b/vendor/github.com/vmware/govmomi/vapi/internal/internal.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2018-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2018-2024 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.
@@ -31,6 +31,7 @@ const (
LibraryItemFileData = "/com/vmware/cis/data"
LibraryItemPath = "/com/vmware/content/library/item"
LibraryItemFilePath = "/com/vmware/content/library/item/file"
+ LibraryItemStoragePath = "/com/vmware/content/library/item/storage"
LibraryItemUpdateSession = "/com/vmware/content/library/item/update-session"
LibraryItemUpdateSessionFile = "/com/vmware/content/library/item/updatesession/file"
LibraryItemDownloadSession = "/com/vmware/content/library/item/download-session"
diff --git a/vendor/github.com/vmware/govmomi/vapi/library/finder/path.go b/vendor/github.com/vmware/govmomi/vapi/library/finder/path.go
new file mode 100644
index 00000000..213e1ebd
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/vapi/library/finder/path.go
@@ -0,0 +1,132 @@
+/*
+Copyright (c) 2024-2024 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 finder
+
+import (
+ "context"
+ "fmt"
+ "net/url"
+ "path"
+
+ "github.com/vmware/govmomi/object"
+ "github.com/vmware/govmomi/vapi/library"
+ "github.com/vmware/govmomi/vim25"
+ "github.com/vmware/govmomi/vim25/types"
+)
+
+// PathFinder is used to find the Datastore path of a library.Library, library.Item or library.File.
+type PathFinder struct {
+ m *library.Manager
+ c *vim25.Client
+ cache map[string]string
+}
+
+// NewPathFinder creates a new PathFinder instance.
+func NewPathFinder(m *library.Manager, c *vim25.Client) *PathFinder {
+ return &PathFinder{
+ m: m,
+ c: c,
+ cache: make(map[string]string),
+ }
+}
+
+// Path returns the absolute datastore path for a Library, Item or File.
+// The cache is used by DatastoreName().
+func (f *PathFinder) Path(ctx context.Context, r FindResult) (string, error) {
+ switch l := r.GetResult().(type) {
+ case library.Library:
+ id := ""
+ if len(l.Storage) != 0 {
+ var err error
+ id, err = f.datastoreName(ctx, l.Storage[0].DatastoreID)
+ if err != nil {
+ return "", err
+ }
+ }
+ return fmt.Sprintf("[%s] contentlib-%s", id, l.ID), nil
+ case library.Item:
+ p, err := f.Path(ctx, r.GetParent())
+ if err != nil {
+ return "", err
+ }
+ return fmt.Sprintf("%s/%s", p, l.ID), nil
+ case library.File:
+ return f.getFileItemPath(ctx, r)
+ default:
+ return "", fmt.Errorf("unsupported type=%T", l)
+ }
+}
+
+// getFileItemPath returns the absolute datastore path for a library.File
+func (f *PathFinder) getFileItemPath(ctx context.Context, r FindResult) (string, error) {
+ name := r.GetName()
+
+ dir, err := f.Path(ctx, r.GetParent())
+ if err != nil {
+ return "", err
+ }
+
+ p := path.Join(dir, name)
+
+ lib := r.GetParent().GetParent().GetResult().(library.Library)
+ if len(lib.Storage) == 0 {
+ return p, nil
+ }
+
+ // storage file name includes a uuid, for example:
+ // "ubuntu-14.04.6-server-amd64.iso" -> "ubuntu-14.04.6-server-amd64_0653e3f3-b4f4-41fb-9b72-c4102450e3dc.iso"
+ s, err := f.m.GetLibraryItemStorage(ctx, r.GetParent().GetID(), name)
+ if err != nil {
+ return p, err
+ }
+ // Currently there can only be 1 storage URI
+ if len(s) == 0 {
+ return p, nil
+ }
+
+ uris := s[0].StorageURIs
+ if len(uris) == 0 {
+ return p, nil
+ }
+ u, err := url.Parse(uris[0])
+ if err != nil {
+ return p, err
+ }
+
+ return path.Join(dir, path.Base(u.Path)), nil
+}
+
+// datastoreName returns the Datastore.Name for the given id.
+func (f *PathFinder) datastoreName(ctx context.Context, id string) (string, error) {
+ if name, ok := f.cache[id]; ok {
+ return name, nil
+ }
+
+ obj := types.ManagedObjectReference{
+ Type: "Datastore",
+ Value: id,
+ }
+
+ ds := object.NewDatastore(f.c, obj)
+ name, err := ds.ObjectName(ctx)
+ if err != nil {
+ return "", err
+ }
+
+ f.cache[id] = name
+ return name, nil
+}
diff --git a/vendor/github.com/vmware/govmomi/vapi/library/library.go b/vendor/github.com/vmware/govmomi/vapi/library/library.go
index c296a62a..14846493 100644
--- a/vendor/github.com/vmware/govmomi/vapi/library/library.go
+++ b/vendor/github.com/vmware/govmomi/vapi/library/library.go
@@ -28,27 +28,28 @@ import (
"github.com/vmware/govmomi/vapi/rest"
)
-// StorageBackings for Content Libraries
-type StorageBackings struct {
+// StorageBacking defines a storage location where content in a library will be stored.
+type StorageBacking struct {
DatastoreID string `json:"datastore_id,omitempty"`
Type string `json:"type,omitempty"`
+ StorageURI string `json:"storage_uri,omitempty"`
}
// Library provides methods to create, read, update, delete, and enumerate libraries.
type Library struct {
- CreationTime *time.Time `json:"creation_time,omitempty"`
- Description *string `json:"description,omitempty"`
- ID string `json:"id,omitempty"`
- LastModifiedTime *time.Time `json:"last_modified_time,omitempty"`
- LastSyncTime *time.Time `json:"last_sync_time,omitempty"`
- Name string `json:"name,omitempty"`
- Storage []StorageBackings `json:"storage_backings,omitempty"`
- Type string `json:"type,omitempty"`
- Version string `json:"version,omitempty"`
- Subscription *Subscription `json:"subscription_info,omitempty"`
- Publication *Publication `json:"publish_info,omitempty"`
- SecurityPolicyID string `json:"security_policy_id,omitempty"`
- UnsetSecurityPolicyID bool `json:"unset_security_policy_id,omitempty"`
+ CreationTime *time.Time `json:"creation_time,omitempty"`
+ Description *string `json:"description,omitempty"`
+ ID string `json:"id,omitempty"`
+ LastModifiedTime *time.Time `json:"last_modified_time,omitempty"`
+ LastSyncTime *time.Time `json:"last_sync_time,omitempty"`
+ Name string `json:"name,omitempty"`
+ Storage []StorageBacking `json:"storage_backings,omitempty"`
+ Type string `json:"type,omitempty"`
+ Version string `json:"version,omitempty"`
+ Subscription *Subscription `json:"subscription_info,omitempty"`
+ Publication *Publication `json:"publish_info,omitempty"`
+ SecurityPolicyID string `json:"security_policy_id,omitempty"`
+ UnsetSecurityPolicyID bool `json:"unset_security_policy_id,omitempty"`
}
// Subscription info
diff --git a/vendor/github.com/vmware/govmomi/vapi/library/library_item_storage.go b/vendor/github.com/vmware/govmomi/vapi/library/library_item_storage.go
new file mode 100644
index 00000000..4e9fe915
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/vapi/library/library_item_storage.go
@@ -0,0 +1,53 @@
+/*
+Copyright (c) 2024-2024 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 library
+
+import (
+ "context"
+ "net/http"
+
+ "github.com/vmware/govmomi/vapi/internal"
+)
+
+// Storage is an expanded form of library.File that includes details about the
+// storage backing for a file in a library item
+type Storage struct {
+ Checksum Checksum `json:"checksum_info,omitempty"`
+ StorageBacking StorageBacking `json:"storage_backing"`
+ StorageURIs []string `json:"storage_uris"`
+ Name string `json:"name"`
+ Size int64 `json:"size"`
+ Cached bool `json:"cached"`
+ Version string `json:"version"`
+}
+
+// ListLibraryItemStorage returns a list of all the storage for a library item.
+func (c *Manager) ListLibraryItemStorage(ctx context.Context, id string) ([]Storage, error) {
+ url := c.Resource(internal.LibraryItemStoragePath).WithParam("library_item_id", id)
+ var res []Storage
+ return res, c.Do(ctx, url.Request(http.MethodGet), &res)
+}
+
+// GetLibraryItemStorage returns the storage for a specific file in a library item.
+func (c *Manager) GetLibraryItemStorage(ctx context.Context, id, fileName string) ([]Storage, error) {
+ url := c.Resource(internal.LibraryItemStoragePath).WithID(id).WithAction("get")
+ spec := struct {
+ Name string `json:"file_name"`
+ }{fileName}
+ var res []Storage
+ return res, c.Do(ctx, url.Request(http.MethodPost, spec), &res)
+}
diff --git a/vendor/github.com/vmware/govmomi/vim25/client.go b/vendor/github.com/vmware/govmomi/vim25/client.go
index 7349183a..3daaf131 100644
--- a/vendor/github.com/vmware/govmomi/vim25/client.go
+++ b/vendor/github.com/vmware/govmomi/vim25/client.go
@@ -28,7 +28,7 @@ import (
const (
Namespace = "vim25"
- Version = "8.0.2.0"
+ Version = "8.0.3.0"
Path = "/sdk"
)
diff --git a/vendor/github.com/vmware/govmomi/vim25/methods/methods.go b/vendor/github.com/vmware/govmomi/vim25/methods/methods.go
index 15b05f8a..2bc99d21 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-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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.
@@ -2543,6 +2543,26 @@ func CreateCollectorForTasks(ctx context.Context, r soap.RoundTripper, req *type
return resBody.Res, nil
}
+type CreateCollectorWithInfoFilterForTasksBody struct {
+ Req *types.CreateCollectorWithInfoFilterForTasks `xml:"urn:vim25 CreateCollectorWithInfoFilterForTasks,omitempty"`
+ Res *types.CreateCollectorWithInfoFilterForTasksResponse `xml:"CreateCollectorWithInfoFilterForTasksResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CreateCollectorWithInfoFilterForTasksBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CreateCollectorWithInfoFilterForTasks(ctx context.Context, r soap.RoundTripper, req *types.CreateCollectorWithInfoFilterForTasks) (*types.CreateCollectorWithInfoFilterForTasksResponse, error) {
+ var reqBody, resBody CreateCollectorWithInfoFilterForTasksBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type CreateContainerViewBody struct {
Req *types.CreateContainerView `xml:"urn:vim25 CreateContainerView,omitempty"`
Res *types.CreateContainerViewResponse `xml:"CreateContainerViewResponse,omitempty"`
@@ -6883,6 +6903,26 @@ func HostProfileResetValidationState(ctx context.Context, r soap.RoundTripper, r
return resBody.Res, nil
}
+type HostQueryVirtualDiskUuidBody struct {
+ Req *types.HostQueryVirtualDiskUuid `xml:"urn:vim25 HostQueryVirtualDiskUuid,omitempty"`
+ Res *types.HostQueryVirtualDiskUuidResponse `xml:"HostQueryVirtualDiskUuidResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostQueryVirtualDiskUuidBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostQueryVirtualDiskUuid(ctx context.Context, r soap.RoundTripper, req *types.HostQueryVirtualDiskUuid) (*types.HostQueryVirtualDiskUuidResponse, error) {
+ var reqBody, resBody HostQueryVirtualDiskUuidBody
+
+ 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:"HostReconcileDatastoreInventory_TaskResponse,omitempty"`
@@ -7123,6 +7163,26 @@ func HostSetVStorageObjectControlFlags(ctx context.Context, r soap.RoundTripper,
return resBody.Res, nil
}
+type HostSetVirtualDiskUuid_TaskBody struct {
+ Req *types.HostSetVirtualDiskUuid_Task `xml:"urn:vim25 HostSetVirtualDiskUuid_Task,omitempty"`
+ Res *types.HostSetVirtualDiskUuid_TaskResponse `xml:"HostSetVirtualDiskUuid_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostSetVirtualDiskUuid_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostSetVirtualDiskUuid_Task(ctx context.Context, r soap.RoundTripper, req *types.HostSetVirtualDiskUuid_Task) (*types.HostSetVirtualDiskUuid_TaskResponse, error) {
+ var reqBody, resBody HostSetVirtualDiskUuid_TaskBody
+
+ 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:"HostSpecGetUpdatedHostsResponse,omitempty"`
@@ -8963,6 +9023,26 @@ func MoveVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.M
return resBody.Res, nil
}
+type NotifyAffectedServicesBody struct {
+ Req *types.NotifyAffectedServices `xml:"urn:vim25 NotifyAffectedServices,omitempty"`
+ Res *types.NotifyAffectedServicesResponse `xml:"NotifyAffectedServicesResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *NotifyAffectedServicesBody) Fault() *soap.Fault { return b.Fault_ }
+
+func NotifyAffectedServices(ctx context.Context, r soap.RoundTripper, req *types.NotifyAffectedServices) (*types.NotifyAffectedServicesResponse, error) {
+ var reqBody, resBody NotifyAffectedServicesBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type OpenInventoryViewFolderBody struct {
Req *types.OpenInventoryViewFolder `xml:"urn:vim25 OpenInventoryViewFolder,omitempty"`
Res *types.OpenInventoryViewFolderResponse `xml:"OpenInventoryViewFolderResponse,omitempty"`
@@ -9323,6 +9403,26 @@ func PromoteDisks_Task(ctx context.Context, r soap.RoundTripper, req *types.Prom
return resBody.Res, nil
}
+type ProvisionServerPrivateKeyBody struct {
+ Req *types.ProvisionServerPrivateKey `xml:"urn:vim25 ProvisionServerPrivateKey,omitempty"`
+ Res *types.ProvisionServerPrivateKeyResponse `xml:"ProvisionServerPrivateKeyResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ProvisionServerPrivateKeyBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ProvisionServerPrivateKey(ctx context.Context, r soap.RoundTripper, req *types.ProvisionServerPrivateKey) (*types.ProvisionServerPrivateKeyResponse, error) {
+ var reqBody, resBody ProvisionServerPrivateKeyBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type PutUsbScanCodesBody struct {
Req *types.PutUsbScanCodes `xml:"urn:vim25 PutUsbScanCodes,omitempty"`
Res *types.PutUsbScanCodesResponse `xml:"PutUsbScanCodesResponse,omitempty"`
@@ -11523,6 +11623,26 @@ func QueryVirtualDiskUuid(ctx context.Context, r soap.RoundTripper, req *types.Q
return resBody.Res, nil
}
+type QueryVirtualDiskUuidExBody struct {
+ Req *types.QueryVirtualDiskUuidEx `xml:"urn:vim25 QueryVirtualDiskUuidEx,omitempty"`
+ Res *types.QueryVirtualDiskUuidExResponse `xml:"QueryVirtualDiskUuidExResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *QueryVirtualDiskUuidExBody) Fault() *soap.Fault { return b.Fault_ }
+
+func QueryVirtualDiskUuidEx(ctx context.Context, r soap.RoundTripper, req *types.QueryVirtualDiskUuidEx) (*types.QueryVirtualDiskUuidExResponse, error) {
+ var reqBody, resBody QueryVirtualDiskUuidExBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type QueryVmfsConfigOptionBody struct {
Req *types.QueryVmfsConfigOption `xml:"urn:vim25 QueryVmfsConfigOption,omitempty"`
Res *types.QueryVmfsConfigOptionResponse `xml:"QueryVmfsConfigOptionResponse,omitempty"`
@@ -15763,6 +15883,26 @@ func SetVirtualDiskUuid(ctx context.Context, r soap.RoundTripper, req *types.Set
return resBody.Res, nil
}
+type SetVirtualDiskUuidEx_TaskBody struct {
+ Req *types.SetVirtualDiskUuidEx_Task `xml:"urn:vim25 SetVirtualDiskUuidEx_Task,omitempty"`
+ Res *types.SetVirtualDiskUuidEx_TaskResponse `xml:"SetVirtualDiskUuidEx_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *SetVirtualDiskUuidEx_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func SetVirtualDiskUuidEx_Task(ctx context.Context, r soap.RoundTripper, req *types.SetVirtualDiskUuidEx_Task) (*types.SetVirtualDiskUuidEx_TaskResponse, error) {
+ var reqBody, resBody SetVirtualDiskUuidEx_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ShrinkVirtualDisk_TaskBody struct {
Req *types.ShrinkVirtualDisk_Task `xml:"urn:vim25 ShrinkVirtualDisk_Task,omitempty"`
Res *types.ShrinkVirtualDisk_TaskResponse `xml:"ShrinkVirtualDisk_TaskResponse,omitempty"`
@@ -18943,6 +19083,26 @@ func SetCustomValue(ctx context.Context, r soap.RoundTripper, req *types.SetCust
return resBody.Res, nil
}
+type StartDpuFailoverBody struct {
+ Req *types.StartDpuFailover `xml:"urn:vim25 startDpuFailover,omitempty"`
+ Res *types.StartDpuFailoverResponse `xml:"startDpuFailoverResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *StartDpuFailoverBody) Fault() *soap.Fault { return b.Fault_ }
+
+func StartDpuFailover(ctx context.Context, r soap.RoundTripper, req *types.StartDpuFailover) (*types.StartDpuFailoverResponse, error) {
+ var reqBody, resBody StartDpuFailoverBody
+
+ 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"`
diff --git a/vendor/github.com/vmware/govmomi/vim25/mo/mo.go b/vendor/github.com/vmware/govmomi/vim25/mo/mo.go
index 91a042c1..5b91ae47 100644
--- a/vendor/github.com/vmware/govmomi/vim25/mo/mo.go
+++ b/vendor/github.com/vmware/govmomi/vim25/mo/mo.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2014-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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
+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,
@@ -210,7 +210,7 @@ type CustomizationSpecManager struct {
Self types.ManagedObjectReference `json:"self"`
Info []types.CustomizationSpecInfo `json:"info"`
- EncryptionKey []byte `json:"encryptionKey"`
+ EncryptionKey types.ByteSlice `json:"encryptionKey"`
}
func (m CustomizationSpecManager) 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 9f2b3248..66a8a978 100644
--- a/vendor/github.com/vmware/govmomi/vim25/mo/retrieve.go
+++ b/vendor/github.com/vmware/govmomi/vim25/mo/retrieve.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2014-2015 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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
+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,
@@ -75,16 +75,19 @@ func ApplyPropertyChange(obj Reference, changes []types.PropertyChange) {
v := reflect.ValueOf(obj)
for _, p := range changes {
- rv, ok := t.props[p.Name]
+ var field Field
+ if !field.FromString(p.Name) {
+ panic(p.Name + ": invalid property path")
+ }
+
+ rv, ok := t.props[field.Path]
if !ok {
- // For now, skip unknown properties allowing PC updates to be triggered
- // for partial updates (e.g. extensionList["my.extension"]).
- // Ultimately we should support partial updates by assigning the value
- // reflectively in assignValue.
- continue
+ panic(field.Path + ": property not found")
}
- assignValue(v, rv, reflect.ValueOf(p.Val))
+ if field.Key == nil { // Key is only used for notifications
+ assignValue(v, rv, reflect.ValueOf(p.Val))
+ }
}
}
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 3b1ccce2..21f59291 100644
--- a/vendor/github.com/vmware/govmomi/vim25/mo/type_info.go
+++ b/vendor/github.com/vmware/govmomi/vim25/mo/type_info.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2014 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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
+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,
@@ -20,6 +20,7 @@ import (
"fmt"
"reflect"
"regexp"
+ "strconv"
"strings"
"sync"
@@ -34,6 +35,9 @@ type typeInfo struct {
// Map property names to field indices.
props map[string][]int
+
+ // Use base type for interface indices.
+ base bool
}
var typeInfoLock sync.RWMutex
@@ -62,12 +66,22 @@ func typeInfoForType(tname string) *typeInfo {
return ti
}
-func newTypeInfo(typ reflect.Type) *typeInfo {
+func baseType(ftyp reflect.Type) reflect.Type {
+ base := strings.TrimPrefix(ftyp.Name(), "Base")
+ if kind, ok := types.TypeFunc()(base); ok {
+ return kind
+ }
+ return ftyp
+}
+
+func newTypeInfo(typ reflect.Type, base ...bool) *typeInfo {
t := typeInfo{
typ: typ,
props: make(map[string][]int),
}
-
+ if len(base) == 1 {
+ t.base = base[0]
+ }
t.build(typ, "", []int{})
return &t
@@ -155,6 +169,15 @@ func (t *typeInfo) build(typ reflect.Type, fn string, fi []int) {
if ftyp.Kind() == reflect.Struct {
t.build(ftyp, fnc, fic)
}
+
+ // Indexed property path may traverse into array element fields.
+ // When interface, use the base type to index fields.
+ // For example, BaseVirtualDevice:
+ // config.hardware.device[4000].deviceInfo.label
+ if t.base && ftyp.Kind() == reflect.Interface {
+ base := baseType(ftyp)
+ t.build(base, fnc, fic)
+ }
}
}
@@ -164,7 +187,14 @@ var nilValue reflect.Value
// 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.
-func assignValue(val reflect.Value, fi []int, pv reflect.Value) {
+func assignValue(val reflect.Value, fi []int, pv reflect.Value, field ...string) {
+ // Indexed property path can only use base types
+ if val.Kind() == reflect.Interface {
+ base := baseType(val.Type())
+ val.Set(reflect.New(base))
+ val = val.Elem()
+ }
+
// Create new value if necessary.
if val.Kind() == reflect.Ptr {
if val.IsNil() {
@@ -230,6 +260,43 @@ func assignValue(val reflect.Value, fi []int, pv reflect.Value) {
rv.Set(pv)
} else if rt.ConvertibleTo(pt) {
rv.Set(pv.Convert(rt))
+ } else if rt.Kind() == reflect.Slice {
+ // Indexed array value
+ path := field[0]
+ isInterface := rt.Elem().Kind() == reflect.Interface
+
+ if len(path) == 0 {
+ // Append item (pv) directly to the array, converting to pointer if interface
+ if isInterface {
+ npv := reflect.New(pt)
+ npv.Elem().Set(pv)
+ pv = npv
+ pt = pv.Type()
+ }
+ } else {
+ // Construct item to be appended to the array, setting field within to value of pv
+ var item reflect.Value
+ if isInterface {
+ base := baseType(rt.Elem())
+ item = reflect.New(base)
+ } else {
+ item = reflect.New(rt.Elem())
+ }
+
+ field := newTypeInfo(item.Type(), true)
+ if ix, ok := field.props[path]; ok {
+ assignValue(item, ix, pv)
+ }
+
+ if rt.Elem().Kind() == reflect.Struct {
+ pv = item.Elem()
+ } else {
+ pv = item
+ }
+ pt = pv.Type()
+ }
+
+ rv.Set(reflect.Append(rv, pv))
} else {
panic(fmt.Sprintf("cannot assign %q (%s) to %q (%s)", rt.Name(), rt.Kind(), pt.Name(), pt.Kind()))
}
@@ -237,7 +304,7 @@ func assignValue(val reflect.Value, fi []int, pv reflect.Value) {
return
}
- assignValue(rv, fi, pv)
+ assignValue(rv, fi, pv, field...)
}
var arrayOfRegexp = regexp.MustCompile("ArrayOf(.*)$")
@@ -250,11 +317,14 @@ func (t *typeInfo) LoadFromObjectContent(o types.ObjectContent) (reflect.Value,
assignValue(v, t.self, reflect.ValueOf(o.Obj))
for _, p := range o.PropSet {
- rv, ok := t.props[p.Name]
+ var field Field
+ field.FromString(p.Name)
+
+ rv, ok := t.props[field.Path]
if !ok {
continue
}
- assignValue(v, rv, reflect.ValueOf(p.Val))
+ assignValue(v, rv, reflect.ValueOf(p.Val), field.Item)
}
return v, nil
@@ -264,3 +334,70 @@ func IsManagedObjectType(kind string) bool {
_, ok := t[kind]
return ok
}
+
+// Field of a ManagedObject in string form.
+type Field struct {
+ Path string
+ Key any
+ Item string
+}
+
+func (f *Field) String() string {
+ if f.Key == nil {
+ return f.Path
+ }
+
+ var key, item string
+
+ switch f.Key.(type) {
+ case string:
+ key = fmt.Sprintf("%q", f.Key)
+ default:
+ key = fmt.Sprintf("%d", f.Key)
+ }
+
+ if f.Item != "" {
+ item = "." + f.Item
+ }
+
+ return fmt.Sprintf("%s[%s]%s", f.Path, key, item)
+}
+
+func (f *Field) FromString(spec string) bool {
+ s := strings.SplitN(spec, "[", 2)
+ f.Path = s[0]
+ f.Key = nil
+ f.Item = ""
+ if len(s) == 1 {
+ return true
+ }
+
+ parts := strings.SplitN(s[1], "]", 2)
+
+ if len(parts) != 2 {
+ return false
+ }
+
+ ix := strings.Trim(parts[0], `"`)
+
+ if ix == parts[0] {
+ v, err := strconv.ParseInt(ix, 0, 32)
+ if err != nil {
+ return false
+ }
+ f.Key = int32(v)
+ } else {
+ f.Key = ix
+ }
+
+ if parts[1] == "" {
+ return true
+ }
+
+ if parts[1][0] != '.' {
+ return false
+ }
+ f.Item = parts[1][1:]
+
+ return true
+}
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/byte_slice.go b/vendor/github.com/vmware/govmomi/vim25/types/byte_slice.go
new file mode 100644
index 00000000..a19a0bb2
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/vim25/types/byte_slice.go
@@ -0,0 +1,67 @@
+/*
+Copyright (c) 2024-2024 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 (
+ "fmt"
+ "io"
+ "math"
+ "strconv"
+
+ "github.com/vmware/govmomi/vim25/xml"
+)
+
+// ByteSlice implements vCenter compatibile xml encoding and decoding for a byte slice.
+// vCenter encodes each byte of the array in its own xml element, whereas
+// Go encodes the entire byte array in a single xml element.
+type ByteSlice []byte
+
+// MarshalXML implements xml.Marshaler
+func (b ByteSlice) MarshalXML(e *xml.Encoder, field xml.StartElement) error {
+ start := xml.StartElement{
+ Name: field.Name,
+ }
+ for i := range b {
+ if err := e.EncodeElement(b[i], start); err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// UnmarshalXML implements xml.Unmarshaler
+func (b *ByteSlice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
+ for {
+ t, err := d.Token()
+ if err == io.EOF {
+ break
+ }
+
+ if c, ok := t.(xml.CharData); ok {
+ n, err := strconv.ParseInt(string(c), 10, 16)
+ if err != nil {
+ return err
+ }
+ if n > math.MaxUint8 {
+ return fmt.Errorf("parsing %q: uint8 overflow", start.Name.Local)
+ }
+ *b = append(*b, byte(n))
+ }
+ }
+
+ return nil
+}
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/configspec.go b/vendor/github.com/vmware/govmomi/vim25/types/configspec.go
new file mode 100644
index 00000000..a1c8404c
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/vim25/types/configspec.go
@@ -0,0 +1,609 @@
+/*
+Copyright (c) 2024-2024 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 (
+ "fmt"
+)
+
+// EnsureDisksHaveControllers ensures that all disks in the provided
+// ConfigSpec point to a controller. If no controller exists, LSILogic SCSI
+// controllers are added to the ConfigSpec as necessary for the disks.
+//
+// Please note the following table for the number of controllers of each type
+// that are supported as well as how many disks (per controller) each supports:
+//
+// SATA
+// - controllers 4
+// - disks 30
+//
+// SCSI
+// - controllers 4
+// - disks (non-paravirtual) 16
+// - disks (paravirtual, hardware version <14) 16
+// - disks (paravirtual, hardware version >=14) 256
+//
+// NVME
+// - controllers 4
+// - disks (hardware version <20) 15
+// - disks (hardware version >=21) 255
+func (cs *VirtualMachineConfigSpec) EnsureDisksHaveControllers(
+ existingDevices ...BaseVirtualDevice) error {
+
+ if cs == nil {
+ panic("configSpec is nil")
+ }
+
+ var (
+ disks []*VirtualDisk
+ newDeviceKey int32
+ pciController *VirtualPCIController
+ diskControllers = ensureDiskControllerData{
+ controllerKeys: map[int32]BaseVirtualController{},
+ controllerKeysToAttachedDisks: map[int32]int{},
+ }
+ )
+
+ // Inspect the ConfigSpec
+ for i := range cs.DeviceChange {
+ var (
+ bdc BaseVirtualDeviceConfigSpec
+ bvd BaseVirtualDevice
+ dc *VirtualDeviceConfigSpec
+ d *VirtualDevice
+ )
+
+ if bdc = cs.DeviceChange[i]; bdc == nil {
+ continue
+ }
+
+ if dc = bdc.GetVirtualDeviceConfigSpec(); dc == nil {
+ continue
+ }
+
+ if dc.Operation == VirtualDeviceConfigSpecOperationRemove {
+ // Do not consider devices being removed.
+ continue
+ }
+
+ bvd = dc.Device
+ if bvd == nil {
+ continue
+ }
+
+ if d = bvd.GetVirtualDevice(); d == nil {
+ continue
+ }
+
+ switch tvd := bvd.(type) {
+ case *VirtualPCIController:
+ pciController = tvd
+
+ case
+ // SCSI
+ *ParaVirtualSCSIController,
+ *VirtualBusLogicController,
+ *VirtualLsiLogicController,
+ *VirtualLsiLogicSASController,
+ *VirtualSCSIController,
+
+ // SATA
+ *VirtualSATAController,
+ *VirtualAHCIController,
+
+ // NVME
+ *VirtualNVMEController:
+
+ diskControllers.add(bvd)
+
+ case *VirtualDisk:
+
+ disks = append(disks, tvd)
+
+ if controllerKey := d.ControllerKey; controllerKey != 0 {
+ // If the disk points to a controller key, then increment
+ // the number of devices attached to that controller.
+ //
+ // Please note that at this point it is not yet known if the
+ // controller key is a *valid* controller.
+ diskControllers.attach(controllerKey)
+ }
+ }
+
+ // Keep track of the smallest device key used. Please note, because
+ // device keys in a ConfigSpec are negative numbers, -200 going to be
+ // smaller than -1.
+ if d.Key < newDeviceKey {
+ newDeviceKey = d.Key
+ }
+ }
+
+ if len(disks) == 0 {
+ // If there are no disks, then go ahead and return early.
+ return nil
+ }
+
+ // Categorize any controllers that already exist.
+ for i := range existingDevices {
+ var (
+ d *VirtualDevice
+ bvd = existingDevices[i]
+ )
+
+ if bvd == nil {
+ continue
+ }
+
+ if d = bvd.GetVirtualDevice(); d == nil {
+ continue
+ }
+
+ switch tvd := bvd.(type) {
+ case *VirtualPCIController:
+ pciController = tvd
+ case
+ // SCSI
+ *ParaVirtualSCSIController,
+ *VirtualBusLogicController,
+ *VirtualLsiLogicController,
+ *VirtualLsiLogicSASController,
+ *VirtualSCSIController,
+
+ // SATA
+ *VirtualSATAController,
+ *VirtualAHCIController,
+
+ // NVME
+ *VirtualNVMEController:
+
+ diskControllers.add(bvd)
+
+ case *VirtualDisk:
+ diskControllers.attach(tvd.ControllerKey)
+ }
+ }
+
+ // Decrement the newDeviceKey so the next device has a unique key.
+ newDeviceKey--
+
+ if pciController == nil {
+ // Add a PCI controller if one is not present.
+ pciController = &VirtualPCIController{
+ VirtualController: VirtualController{
+ VirtualDevice: VirtualDevice{
+ Key: newDeviceKey,
+ },
+ },
+ }
+
+ // Decrement the newDeviceKey so the next device has a unique key.
+ newDeviceKey--
+
+ // Add the new PCI controller to the ConfigSpec.
+ cs.DeviceChange = append(
+ cs.DeviceChange,
+ &VirtualDeviceConfigSpec{
+ Operation: VirtualDeviceConfigSpecOperationAdd,
+ Device: pciController,
+ })
+ }
+
+ // Ensure all the recorded controller keys that point to disks are actually
+ // valid controller keys.
+ diskControllers.validateAttachments()
+
+ for i := range disks {
+ disk := disks[i]
+
+ // If the disk already points to a controller then skip to the next
+ // disk.
+ if diskControllers.exists(disk.ControllerKey) {
+ continue
+ }
+
+ // The disk does not point to a controller, so try to locate one.
+ if ensureDiskControllerFind(disk, &diskControllers) {
+ // A controller was located for the disk, so go ahead and skip to
+ // the next disk.
+ continue
+ }
+
+ // No controller was located for the disk, so a controller must be
+ // created.
+ if err := ensureDiskControllerCreate(
+ cs,
+ pciController,
+ newDeviceKey,
+ &diskControllers); err != nil {
+
+ return err
+ }
+
+ // Point the disk to the new controller.
+ disk.ControllerKey = newDeviceKey
+
+ // Add the controller key to the map that tracks how many disks are
+ // attached to a given controller.
+ diskControllers.attach(newDeviceKey)
+
+ // Decrement the newDeviceKey so the next device has a unique key.
+ newDeviceKey--
+ }
+
+ return nil
+}
+
+const (
+ maxSCSIControllers = 4
+ maxSATAControllers = 4
+ maxNVMEControllers = 4
+ maxDisksPerSCSIController = 16
+ maxDisksPerPVSCSIControllerHWVersion14 = 256 // TODO(akutz)
+ maxDisksPerSATAController = 30
+ maxDisksPerNVMEController = 15
+ maxDisksPerNVMEControllerHWVersion21 = 255 // TODO(akutz)
+)
+
+type ensureDiskControllerBusNumbers struct {
+ zero bool
+ one bool
+ two bool
+}
+
+func (d ensureDiskControllerBusNumbers) free() int32 {
+ switch {
+ case !d.zero:
+ return 0
+ case !d.one:
+ return 1
+ case !d.two:
+ return 2
+ default:
+ return 3
+ }
+}
+
+func (d *ensureDiskControllerBusNumbers) set(busNumber int32) {
+ switch busNumber {
+ case 0:
+ d.zero = true
+ case 1:
+ d.one = true
+ case 2:
+ d.two = true
+ }
+}
+
+type ensureDiskControllerData struct {
+ // TODO(akutz) Use the hardware version when calculating the max disks for
+ // a given controller type.
+ // hardwareVersion int
+
+ controllerKeys map[int32]BaseVirtualController
+ controllerKeysToAttachedDisks map[int32]int
+
+ // SCSI
+ scsiBusNumbers ensureDiskControllerBusNumbers
+ pvSCSIControllerKeys []int32
+ busLogicSCSIControllerKeys []int32
+ lsiLogicControllerKeys []int32
+ lsiLogicSASControllerKeys []int32
+ scsiControllerKeys []int32
+
+ // SATA
+ sataBusNumbers ensureDiskControllerBusNumbers
+ sataControllerKeys []int32
+ ahciControllerKeys []int32
+
+ // NVME
+ nvmeBusNumbers ensureDiskControllerBusNumbers
+ nvmeControllerKeys []int32
+}
+
+func (d ensureDiskControllerData) numSCSIControllers() int {
+ return len(d.pvSCSIControllerKeys) +
+ len(d.busLogicSCSIControllerKeys) +
+ len(d.lsiLogicControllerKeys) +
+ len(d.lsiLogicSASControllerKeys) +
+ len(d.scsiControllerKeys)
+}
+
+func (d ensureDiskControllerData) numSATAControllers() int {
+ return len(d.sataControllerKeys) + len(d.ahciControllerKeys)
+}
+
+func (d ensureDiskControllerData) numNVMEControllers() int {
+ return len(d.nvmeControllerKeys)
+}
+
+// validateAttachments ensures the attach numbers are correct by removing any
+// keys from controllerKeysToAttachedDisks that do not also exist in
+// controllerKeys.
+func (d ensureDiskControllerData) validateAttachments() {
+ // Remove any invalid controllers from controllerKeyToNumDiskMap.
+ for key := range d.controllerKeysToAttachedDisks {
+ if _, ok := d.controllerKeys[key]; !ok {
+ delete(d.controllerKeysToAttachedDisks, key)
+ }
+ }
+}
+
+// exists returns true if a controller with the provided key exists.
+func (d ensureDiskControllerData) exists(key int32) bool {
+ return d.controllerKeys[key] != nil
+}
+
+// add records the provided controller in the map that relates keys to
+// controllers as well as appends the key to the list of controllers of that
+// given type.
+func (d *ensureDiskControllerData) add(controller BaseVirtualDevice) {
+
+ // Get the controller's device key.
+ bvc := controller.(BaseVirtualController)
+ key := bvc.GetVirtualController().Key
+ busNumber := bvc.GetVirtualController().BusNumber
+
+ // Record the controller's device key in the controller key map.
+ d.controllerKeys[key] = bvc
+
+ // Record the controller's device key in the list for that type of
+ // controller.
+ switch controller.(type) {
+
+ // SCSI
+ case *ParaVirtualSCSIController:
+ d.pvSCSIControllerKeys = append(d.pvSCSIControllerKeys, key)
+ d.scsiBusNumbers.set(busNumber)
+ case *VirtualBusLogicController:
+ d.busLogicSCSIControllerKeys = append(d.busLogicSCSIControllerKeys, key)
+ d.scsiBusNumbers.set(busNumber)
+ case *VirtualLsiLogicController:
+ d.lsiLogicControllerKeys = append(d.lsiLogicControllerKeys, key)
+ d.scsiBusNumbers.set(busNumber)
+ case *VirtualLsiLogicSASController:
+ d.lsiLogicSASControllerKeys = append(d.lsiLogicSASControllerKeys, key)
+ d.scsiBusNumbers.set(busNumber)
+ case *VirtualSCSIController:
+ d.scsiControllerKeys = append(d.scsiControllerKeys, key)
+ d.scsiBusNumbers.set(busNumber)
+
+ // SATA
+ case *VirtualSATAController:
+ d.sataControllerKeys = append(d.sataControllerKeys, key)
+ d.sataBusNumbers.set(busNumber)
+ case *VirtualAHCIController:
+ d.ahciControllerKeys = append(d.ahciControllerKeys, key)
+ d.sataBusNumbers.set(busNumber)
+
+ // NVME
+ case *VirtualNVMEController:
+ d.nvmeControllerKeys = append(d.nvmeControllerKeys, key)
+ d.nvmeBusNumbers.set(busNumber)
+ }
+}
+
+// attach increments the number of disks attached to the controller identified
+// by the provided controller key.
+func (d *ensureDiskControllerData) attach(controllerKey int32) {
+ d.controllerKeysToAttachedDisks[controllerKey]++
+}
+
+// hasFreeSlot returns whether or not the controller identified by the provided
+// controller key has a free slot to attach a disk.
+//
+// TODO(akutz) Consider the hardware version when calculating these values.
+func (d *ensureDiskControllerData) hasFreeSlot(controllerKey int32) bool {
+
+ var maxDisksForType int
+
+ switch d.controllerKeys[controllerKey].(type) {
+ case
+ // SCSI (paravirtual)
+ *ParaVirtualSCSIController:
+
+ maxDisksForType = maxDisksPerSCSIController
+
+ case
+ // SCSI (non-paravirtual)
+ *VirtualBusLogicController,
+ *VirtualLsiLogicController,
+ *VirtualLsiLogicSASController,
+ *VirtualSCSIController:
+
+ maxDisksForType = maxDisksPerSCSIController
+
+ case
+ // SATA
+ *VirtualSATAController,
+ *VirtualAHCIController:
+
+ maxDisksForType = maxDisksPerSATAController
+
+ case
+ // NVME
+ *VirtualNVMEController:
+
+ maxDisksForType = maxDisksPerNVMEController
+ }
+
+ return d.controllerKeysToAttachedDisks[controllerKey] < maxDisksForType-1
+}
+
+// ensureDiskControllerFind attempts to locate a controller for the provided
+// disk.
+//
+// Please note this function is written to preserve the order in which
+// controllers are located by preferring controller types in the order in which
+// they are listed in this function. This prevents the following situation:
+//
+// - A ConfigSpec has three controllers in the following order: PVSCSI-1,
+// NVME-1, and PVSCSI-2.
+// - The controller PVSCSI-1 is full while NVME-1 and PVSCSI-2 have free
+// slots.
+// - The *desired* behavior is to look at all, possible PVSCSI controllers
+// before moving onto SATA and then finally NVME controllers.
+// - If the function iterated over the device list in list-order, then the
+// NVME-1 controller would be located first.
+// - Instead, this function iterates over each *type* of controller first
+// before moving onto the next type.
+// - This means that even though NVME-1 has free slots, PVSCSI-2 is checked
+// first.
+//
+// The order of preference is as follows:
+//
+// * SCSI
+// - ParaVirtualSCSIController
+// - VirtualBusLogicController
+// - VirtualLsiLogicController
+// - VirtualLsiLogicSASController
+// - VirtualSCSIController
+//
+// * SATA
+// - VirtualSATAController
+// - VirtualAHCIController
+//
+// * NVME
+// - VirtualNVMEController
+func ensureDiskControllerFind(
+ disk *VirtualDisk,
+ diskControllers *ensureDiskControllerData) bool {
+
+ return false ||
+ // SCSI
+ ensureDiskControllerFindWith(
+ disk,
+ diskControllers,
+ diskControllers.pvSCSIControllerKeys) ||
+ ensureDiskControllerFindWith(
+ disk,
+ diskControllers,
+ diskControllers.busLogicSCSIControllerKeys) ||
+ ensureDiskControllerFindWith(
+ disk,
+ diskControllers,
+ diskControllers.lsiLogicControllerKeys) ||
+ ensureDiskControllerFindWith(
+ disk,
+ diskControllers,
+ diskControllers.lsiLogicSASControllerKeys) ||
+ ensureDiskControllerFindWith(
+ disk,
+ diskControllers,
+ diskControllers.scsiControllerKeys) ||
+
+ // SATA
+ ensureDiskControllerFindWith(
+ disk,
+ diskControllers,
+ diskControllers.sataControllerKeys) ||
+ ensureDiskControllerFindWith(
+ disk,
+ diskControllers,
+ diskControllers.ahciControllerKeys) ||
+
+ // NVME
+ ensureDiskControllerFindWith(
+ disk,
+ diskControllers,
+ diskControllers.nvmeControllerKeys)
+}
+
+func ensureDiskControllerFindWith(
+ disk *VirtualDisk,
+ diskControllers *ensureDiskControllerData,
+ controllerKeys []int32) bool {
+
+ for i := range controllerKeys {
+ controllerKey := controllerKeys[i]
+ if diskControllers.hasFreeSlot(controllerKey) {
+ // If the controller has room for another disk, then use this
+ // controller for the current disk.
+ disk.ControllerKey = controllerKey
+ diskControllers.attach(controllerKey)
+ return true
+ }
+ }
+ return false
+}
+
+func ensureDiskControllerCreate(
+ configSpec *VirtualMachineConfigSpec,
+ pciController *VirtualPCIController,
+ newDeviceKey int32,
+ diskControllers *ensureDiskControllerData) error {
+
+ var controller BaseVirtualDevice
+ switch {
+ case diskControllers.numSCSIControllers() < maxSCSIControllers:
+ // Prefer creating a new SCSI controller.
+ controller = &ParaVirtualSCSIController{
+ VirtualSCSIController: VirtualSCSIController{
+ VirtualController: VirtualController{
+ VirtualDevice: VirtualDevice{
+ ControllerKey: pciController.Key,
+ Key: newDeviceKey,
+ },
+ BusNumber: diskControllers.scsiBusNumbers.free(),
+ },
+ HotAddRemove: NewBool(true),
+ SharedBus: VirtualSCSISharingNoSharing,
+ },
+ }
+ case diskControllers.numSATAControllers() < maxSATAControllers:
+ // If there are no more SCSI controllers, create a SATA
+ // controller.
+ controller = &VirtualAHCIController{
+ VirtualSATAController: VirtualSATAController{
+ VirtualController: VirtualController{
+ VirtualDevice: VirtualDevice{
+ ControllerKey: pciController.Key,
+ Key: newDeviceKey,
+ },
+ BusNumber: diskControllers.sataBusNumbers.free(),
+ },
+ },
+ }
+ case diskControllers.numNVMEControllers() < maxNVMEControllers:
+ // If there are no more SATA controllers, create an NVME
+ // controller.
+ controller = &VirtualNVMEController{
+ VirtualController: VirtualController{
+ VirtualDevice: VirtualDevice{
+ ControllerKey: pciController.Key,
+ Key: newDeviceKey,
+ },
+ BusNumber: diskControllers.nvmeBusNumbers.free(),
+ },
+ SharedBus: string(VirtualNVMEControllerSharingNoSharing),
+ }
+ default:
+ return fmt.Errorf("no controllers available")
+ }
+
+ // Add the new controller to the ConfigSpec.
+ configSpec.DeviceChange = append(
+ configSpec.DeviceChange,
+ &VirtualDeviceConfigSpec{
+ Operation: VirtualDeviceConfigSpecOperationAdd,
+ Device: controller,
+ })
+
+ // Record the new controller.
+ diskControllers.add(controller)
+
+ return nil
+}
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/enum.go b/vendor/github.com/vmware/govmomi/vim25/types/enum.go
index c3ca1409..ea07f156 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-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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.
@@ -49,6 +49,24 @@ const (
ActionParameterAlarm = ActionParameter("alarm")
)
+func (e ActionParameter) Values() []ActionParameter {
+ return []ActionParameter{
+ ActionParameterTargetName,
+ ActionParameterAlarmName,
+ ActionParameterOldStatus,
+ ActionParameterNewStatus,
+ ActionParameterTriggeringSummary,
+ ActionParameterDeclaringSummary,
+ ActionParameterEventDescription,
+ ActionParameterTarget,
+ ActionParameterAlarm,
+ }
+}
+
+func (e ActionParameter) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ActionParameter"] = reflect.TypeOf((*ActionParameter)(nil)).Elem()
}
@@ -56,6 +74,7 @@ func init() {
// Pre-defined constants for possible action types.
//
// Virtual Center
+// uses this information to coordinate with the clients.
type ActionType string
const (
@@ -77,16 +96,25 @@ const (
ActionTypeHostInfraUpdateHaV1 = ActionType("HostInfraUpdateHaV1")
)
+func (e ActionType) Values() []ActionType {
+ return []ActionType{
+ ActionTypeMigrationV1,
+ ActionTypeVmPowerV1,
+ ActionTypeHostPowerV1,
+ ActionTypeHostMaintenanceV1,
+ ActionTypeStorageMigrationV1,
+ ActionTypeStoragePlacementV1,
+ ActionTypePlacementV1,
+ ActionTypeHostInfraUpdateHaV1,
+ }
+}
+
+func (e ActionType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ActionType"] = reflect.TypeOf((*ActionType)(nil)).Elem()
- minAPIVersionForType["ActionType"] = "2.5"
- minAPIVersionForEnumValue["ActionType"] = map[string]string{
- "HostMaintenanceV1": "5.0",
- "StorageMigrationV1": "5.0",
- "StoragePlacementV1": "5.0",
- "PlacementV1": "6.0",
- "HostInfraUpdateHaV1": "6.5",
- }
}
// Types of affinities.
@@ -97,6 +125,17 @@ const (
AffinityTypeCpu = AffinityType("cpu")
)
+func (e AffinityType) Values() []AffinityType {
+ return []AffinityType{
+ AffinityTypeMemory,
+ AffinityTypeCpu,
+ }
+}
+
+func (e AffinityType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["AffinityType"] = reflect.TypeOf((*AffinityType)(nil)).Elem()
}
@@ -124,11 +163,29 @@ const (
AgentInstallFailedReasonUnknownInstallerError = AgentInstallFailedReason("UnknownInstallerError")
)
+func (e AgentInstallFailedReason) Values() []AgentInstallFailedReason {
+ return []AgentInstallFailedReason{
+ AgentInstallFailedReasonNotEnoughSpaceOnDevice,
+ AgentInstallFailedReasonPrepareToUpgradeFailed,
+ AgentInstallFailedReasonAgentNotRunning,
+ AgentInstallFailedReasonAgentNotReachable,
+ AgentInstallFailedReasonInstallTimedout,
+ AgentInstallFailedReasonSignatureVerificationFailed,
+ AgentInstallFailedReasonAgentUploadFailed,
+ AgentInstallFailedReasonAgentUploadTimedout,
+ AgentInstallFailedReasonUnknownInstallerError,
+ }
+}
+
+func (e AgentInstallFailedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["AgentInstallFailedReason"] = reflect.TypeOf((*AgentInstallFailedReason)(nil)).Elem()
- minAPIVersionForType["AgentInstallFailedReason"] = "4.0"
}
+// Alarm entity type
type AlarmFilterSpecAlarmTypeByEntity string
const (
@@ -140,14 +197,26 @@ const (
AlarmFilterSpecAlarmTypeByEntityEntityTypeVm = AlarmFilterSpecAlarmTypeByEntity("entityTypeVm")
)
+func (e AlarmFilterSpecAlarmTypeByEntity) Values() []AlarmFilterSpecAlarmTypeByEntity {
+ return []AlarmFilterSpecAlarmTypeByEntity{
+ AlarmFilterSpecAlarmTypeByEntityEntityTypeAll,
+ AlarmFilterSpecAlarmTypeByEntityEntityTypeHost,
+ AlarmFilterSpecAlarmTypeByEntityEntityTypeVm,
+ }
+}
+
+func (e AlarmFilterSpecAlarmTypeByEntity) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["AlarmFilterSpecAlarmTypeByEntity"] = reflect.TypeOf((*AlarmFilterSpecAlarmTypeByEntity)(nil)).Elem()
- minAPIVersionForType["AlarmFilterSpecAlarmTypeByEntity"] = "6.7"
}
// Alarm triggering type.
//
// The main divisions are event triggered and
+// metric- or state-based alarms.
type AlarmFilterSpecAlarmTypeByTrigger string
const (
@@ -159,11 +228,23 @@ const (
AlarmFilterSpecAlarmTypeByTriggerTriggerTypeMetric = AlarmFilterSpecAlarmTypeByTrigger("triggerTypeMetric")
)
+func (e AlarmFilterSpecAlarmTypeByTrigger) Values() []AlarmFilterSpecAlarmTypeByTrigger {
+ return []AlarmFilterSpecAlarmTypeByTrigger{
+ AlarmFilterSpecAlarmTypeByTriggerTriggerTypeAll,
+ AlarmFilterSpecAlarmTypeByTriggerTriggerTypeEvent,
+ AlarmFilterSpecAlarmTypeByTriggerTriggerTypeMetric,
+ }
+}
+
+func (e AlarmFilterSpecAlarmTypeByTrigger) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["AlarmFilterSpecAlarmTypeByTrigger"] = reflect.TypeOf((*AlarmFilterSpecAlarmTypeByTrigger)(nil)).Elem()
- minAPIVersionForType["AlarmFilterSpecAlarmTypeByTrigger"] = "6.7"
}
+// Defines the result status values for a validating answer file.
type AnswerFileValidationInfoStatus string
const (
@@ -175,9 +256,20 @@ const (
AnswerFileValidationInfoStatusFailed_defaults = AnswerFileValidationInfoStatus("failed_defaults")
)
+func (e AnswerFileValidationInfoStatus) Values() []AnswerFileValidationInfoStatus {
+ return []AnswerFileValidationInfoStatus{
+ AnswerFileValidationInfoStatusSuccess,
+ AnswerFileValidationInfoStatusFailed,
+ AnswerFileValidationInfoStatusFailed_defaults,
+ }
+}
+
+func (e AnswerFileValidationInfoStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["AnswerFileValidationInfoStatus"] = reflect.TypeOf((*AnswerFileValidationInfoStatus)(nil)).Elem()
- minAPIVersionForType["AnswerFileValidationInfoStatus"] = "6.7"
}
type ApplyHostProfileConfigurationResultStatus string
@@ -207,9 +299,25 @@ const (
ApplyHostProfileConfigurationResultStatusCanceled = ApplyHostProfileConfigurationResultStatus("canceled")
)
+func (e ApplyHostProfileConfigurationResultStatus) Values() []ApplyHostProfileConfigurationResultStatus {
+ return []ApplyHostProfileConfigurationResultStatus{
+ ApplyHostProfileConfigurationResultStatusSuccess,
+ ApplyHostProfileConfigurationResultStatusFailed,
+ ApplyHostProfileConfigurationResultStatusReboot_failed,
+ ApplyHostProfileConfigurationResultStatusStateless_reboot_failed,
+ ApplyHostProfileConfigurationResultStatusCheck_compliance_failed,
+ ApplyHostProfileConfigurationResultStatusState_not_satisfied,
+ ApplyHostProfileConfigurationResultStatusExit_maintenancemode_failed,
+ ApplyHostProfileConfigurationResultStatusCanceled,
+ }
+}
+
+func (e ApplyHostProfileConfigurationResultStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ApplyHostProfileConfigurationResultStatus"] = reflect.TypeOf((*ApplyHostProfileConfigurationResultStatus)(nil)).Elem()
- minAPIVersionForType["ApplyHostProfileConfigurationResultStatus"] = "6.5"
}
// This list specifies the type of operation being performed on the array.
@@ -228,6 +336,18 @@ const (
ArrayUpdateOperationEdit = ArrayUpdateOperation("edit")
)
+func (e ArrayUpdateOperation) Values() []ArrayUpdateOperation {
+ return []ArrayUpdateOperation{
+ ArrayUpdateOperationAdd,
+ ArrayUpdateOperationRemove,
+ ArrayUpdateOperationEdit,
+ }
+}
+
+func (e ArrayUpdateOperation) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ArrayUpdateOperation"] = reflect.TypeOf((*ArrayUpdateOperation)(nil)).Elem()
}
@@ -260,6 +380,21 @@ const (
AutoStartActionSuspend = AutoStartAction("suspend")
)
+func (e AutoStartAction) Values() []AutoStartAction {
+ return []AutoStartAction{
+ AutoStartActionNone,
+ AutoStartActionSystemDefault,
+ AutoStartActionPowerOn,
+ AutoStartActionPowerOff,
+ AutoStartActionGuestShutdown,
+ AutoStartActionSuspend,
+ }
+}
+
+func (e AutoStartAction) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["AutoStartAction"] = reflect.TypeOf((*AutoStartAction)(nil)).Elem()
}
@@ -288,10 +423,23 @@ const (
AutoStartWaitHeartbeatSettingSystemDefault = AutoStartWaitHeartbeatSetting("systemDefault")
)
+func (e AutoStartWaitHeartbeatSetting) Values() []AutoStartWaitHeartbeatSetting {
+ return []AutoStartWaitHeartbeatSetting{
+ AutoStartWaitHeartbeatSettingYes,
+ AutoStartWaitHeartbeatSettingNo,
+ AutoStartWaitHeartbeatSettingSystemDefault,
+ }
+}
+
+func (e AutoStartWaitHeartbeatSetting) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["AutoStartWaitHeartbeatSetting"] = reflect.TypeOf((*AutoStartWaitHeartbeatSetting)(nil)).Elem()
}
+// Provisioning type constants.
type BaseConfigInfoDiskFileBackingInfoProvisioningType string
const (
@@ -311,11 +459,23 @@ const (
BaseConfigInfoDiskFileBackingInfoProvisioningTypeLazyZeroedThick = BaseConfigInfoDiskFileBackingInfoProvisioningType("lazyZeroedThick")
)
+func (e BaseConfigInfoDiskFileBackingInfoProvisioningType) Values() []BaseConfigInfoDiskFileBackingInfoProvisioningType {
+ return []BaseConfigInfoDiskFileBackingInfoProvisioningType{
+ BaseConfigInfoDiskFileBackingInfoProvisioningTypeThin,
+ BaseConfigInfoDiskFileBackingInfoProvisioningTypeEagerZeroedThick,
+ BaseConfigInfoDiskFileBackingInfoProvisioningTypeLazyZeroedThick,
+ }
+}
+
+func (e BaseConfigInfoDiskFileBackingInfoProvisioningType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["BaseConfigInfoDiskFileBackingInfoProvisioningType"] = reflect.TypeOf((*BaseConfigInfoDiskFileBackingInfoProvisioningType)(nil)).Elem()
- minAPIVersionForType["BaseConfigInfoDiskFileBackingInfoProvisioningType"] = "6.5"
}
+// Enum representing result of batch-APis.
type BatchResultResult string
const (
@@ -323,9 +483,19 @@ const (
BatchResultResultFail = BatchResultResult("fail")
)
+func (e BatchResultResult) Values() []BatchResultResult {
+ return []BatchResultResult{
+ BatchResultResultSuccess,
+ BatchResultResultFail,
+ }
+}
+
+func (e BatchResultResult) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["BatchResultResult"] = reflect.TypeOf((*BatchResultResult)(nil)).Elem()
- minAPIVersionForType["BatchResultResult"] = "6.0"
}
type CannotEnableVmcpForClusterReason string
@@ -335,9 +505,18 @@ const (
CannotEnableVmcpForClusterReasonAPDTimeoutDisabled = CannotEnableVmcpForClusterReason("APDTimeoutDisabled")
)
+func (e CannotEnableVmcpForClusterReason) Values() []CannotEnableVmcpForClusterReason {
+ return []CannotEnableVmcpForClusterReason{
+ CannotEnableVmcpForClusterReasonAPDTimeoutDisabled,
+ }
+}
+
+func (e CannotEnableVmcpForClusterReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["CannotEnableVmcpForClusterReason"] = reflect.TypeOf((*CannotEnableVmcpForClusterReason)(nil)).Elem()
- minAPIVersionForType["CannotEnableVmcpForClusterReason"] = "6.0"
}
type CannotMoveFaultToleranceVmMoveType string
@@ -349,9 +528,19 @@ const (
CannotMoveFaultToleranceVmMoveTypeCluster = CannotMoveFaultToleranceVmMoveType("cluster")
)
+func (e CannotMoveFaultToleranceVmMoveType) Values() []CannotMoveFaultToleranceVmMoveType {
+ return []CannotMoveFaultToleranceVmMoveType{
+ CannotMoveFaultToleranceVmMoveTypeResourcePool,
+ CannotMoveFaultToleranceVmMoveTypeCluster,
+ }
+}
+
+func (e CannotMoveFaultToleranceVmMoveType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["CannotMoveFaultToleranceVmMoveType"] = reflect.TypeOf((*CannotMoveFaultToleranceVmMoveType)(nil)).Elem()
- minAPIVersionForType["CannotMoveFaultToleranceVmMoveType"] = "4.0"
}
type CannotPowerOffVmInClusterOperation string
@@ -367,9 +556,21 @@ const (
CannotPowerOffVmInClusterOperationGuestSuspend = CannotPowerOffVmInClusterOperation("guestSuspend")
)
+func (e CannotPowerOffVmInClusterOperation) Values() []CannotPowerOffVmInClusterOperation {
+ return []CannotPowerOffVmInClusterOperation{
+ CannotPowerOffVmInClusterOperationSuspend,
+ CannotPowerOffVmInClusterOperationPowerOff,
+ CannotPowerOffVmInClusterOperationGuestShutdown,
+ CannotPowerOffVmInClusterOperationGuestSuspend,
+ }
+}
+
+func (e CannotPowerOffVmInClusterOperation) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["CannotPowerOffVmInClusterOperation"] = reflect.TypeOf((*CannotPowerOffVmInClusterOperation)(nil)).Elem()
- minAPIVersionForType["CannotPowerOffVmInClusterOperation"] = "5.0"
}
type CannotUseNetworkReason string
@@ -389,16 +590,27 @@ const (
CannotUseNetworkReasonMismatchedEnsMode = CannotUseNetworkReason("MismatchedEnsMode")
)
+func (e CannotUseNetworkReason) Values() []CannotUseNetworkReason {
+ return []CannotUseNetworkReason{
+ CannotUseNetworkReasonNetworkReservationNotSupported,
+ CannotUseNetworkReasonMismatchedNetworkPolicies,
+ CannotUseNetworkReasonMismatchedDvsVersionOrVendor,
+ CannotUseNetworkReasonVMotionToUnsupportedNetworkType,
+ CannotUseNetworkReasonNetworkUnderMaintenance,
+ CannotUseNetworkReasonMismatchedEnsMode,
+ }
+}
+
+func (e CannotUseNetworkReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["CannotUseNetworkReason"] = reflect.TypeOf((*CannotUseNetworkReason)(nil)).Elem()
- minAPIVersionForType["CannotUseNetworkReason"] = "5.5"
- minAPIVersionForEnumValue["CannotUseNetworkReason"] = map[string]string{
- "NetworkUnderMaintenance": "7.0",
- "MismatchedEnsMode": "7.0",
- }
}
// The types of tests which can requested by any of the methods in either
+// `VirtualMachineCompatibilityChecker` or `VirtualMachineProvisioningChecker`.
type CheckTestType string
const (
@@ -433,18 +645,29 @@ const (
CheckTestTypeNetworkTests = CheckTestType("networkTests")
)
+func (e CheckTestType) Values() []CheckTestType {
+ return []CheckTestType{
+ CheckTestTypeSourceTests,
+ CheckTestTypeHostTests,
+ CheckTestTypeResourcePoolTests,
+ CheckTestTypeDatastoreTests,
+ CheckTestTypeNetworkTests,
+ }
+}
+
+func (e CheckTestType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["CheckTestType"] = reflect.TypeOf((*CheckTestType)(nil)).Elem()
- minAPIVersionForType["CheckTestType"] = "4.0"
- minAPIVersionForEnumValue["CheckTestType"] = map[string]string{
- "networkTests": "5.5",
- }
}
// HCIWorkflowState identifies the state of the cluser from the perspective of HCI
// workflow.
//
// The workflow begins with in\_progress mode and can transition
+// to 'done' or 'invalid', both of which are terminal states.
type ClusterComputeResourceHCIWorkflowState string
const (
@@ -457,9 +680,20 @@ const (
ClusterComputeResourceHCIWorkflowStateInvalid = ClusterComputeResourceHCIWorkflowState("invalid")
)
+func (e ClusterComputeResourceHCIWorkflowState) Values() []ClusterComputeResourceHCIWorkflowState {
+ return []ClusterComputeResourceHCIWorkflowState{
+ ClusterComputeResourceHCIWorkflowStateIn_progress,
+ ClusterComputeResourceHCIWorkflowStateDone,
+ ClusterComputeResourceHCIWorkflowStateInvalid,
+ }
+}
+
+func (e ClusterComputeResourceHCIWorkflowState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterComputeResourceHCIWorkflowState"] = reflect.TypeOf((*ClusterComputeResourceHCIWorkflowState)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceHCIWorkflowState"] = "6.7.1"
}
type ClusterComputeResourceVcsHealthStatus string
@@ -473,6 +707,18 @@ const (
ClusterComputeResourceVcsHealthStatusNonhealthy = ClusterComputeResourceVcsHealthStatus("nonhealthy")
)
+func (e ClusterComputeResourceVcsHealthStatus) Values() []ClusterComputeResourceVcsHealthStatus {
+ return []ClusterComputeResourceVcsHealthStatus{
+ ClusterComputeResourceVcsHealthStatusHealthy,
+ ClusterComputeResourceVcsHealthStatusDegraded,
+ ClusterComputeResourceVcsHealthStatusNonhealthy,
+ }
+}
+
+func (e ClusterComputeResourceVcsHealthStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterComputeResourceVcsHealthStatus"] = reflect.TypeOf((*ClusterComputeResourceVcsHealthStatus)(nil)).Elem()
minAPIVersionForType["ClusterComputeResourceVcsHealthStatus"] = "7.0.1.1"
@@ -487,14 +733,25 @@ const (
ClusterCryptoConfigInfoCryptoModeForceEnable = ClusterCryptoConfigInfoCryptoMode("forceEnable")
)
+func (e ClusterCryptoConfigInfoCryptoMode) Values() []ClusterCryptoConfigInfoCryptoMode {
+ return []ClusterCryptoConfigInfoCryptoMode{
+ ClusterCryptoConfigInfoCryptoModeOnDemand,
+ ClusterCryptoConfigInfoCryptoModeForceEnable,
+ }
+}
+
+func (e ClusterCryptoConfigInfoCryptoMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterCryptoConfigInfoCryptoMode"] = reflect.TypeOf((*ClusterCryptoConfigInfoCryptoMode)(nil)).Elem()
- minAPIVersionForType["ClusterCryptoConfigInfoCryptoMode"] = "7.0"
}
// The `ClusterDasAamNodeStateDasState_enum` enumerated type defines
// values for host HA configuration and runtime state properties
// (`ClusterDasAamNodeState.configState` and
+// `ClusterDasAamNodeState.runtimeState`).
type ClusterDasAamNodeStateDasState string
const (
@@ -522,12 +779,29 @@ const (
ClusterDasAamNodeStateDasStateNodeFailed = ClusterDasAamNodeStateDasState("nodeFailed")
)
+func (e ClusterDasAamNodeStateDasState) Values() []ClusterDasAamNodeStateDasState {
+ return []ClusterDasAamNodeStateDasState{
+ ClusterDasAamNodeStateDasStateUninitialized,
+ ClusterDasAamNodeStateDasStateInitialized,
+ ClusterDasAamNodeStateDasStateConfiguring,
+ ClusterDasAamNodeStateDasStateUnconfiguring,
+ ClusterDasAamNodeStateDasStateRunning,
+ ClusterDasAamNodeStateDasStateError,
+ ClusterDasAamNodeStateDasStateAgentShutdown,
+ ClusterDasAamNodeStateDasStateNodeFailed,
+ }
+}
+
+func (e ClusterDasAamNodeStateDasState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterDasAamNodeStateDasState"] = reflect.TypeOf((*ClusterDasAamNodeStateDasState)(nil)).Elem()
- minAPIVersionForType["ClusterDasAamNodeStateDasState"] = "4.0"
}
// The policy to determine the candidates from which vCenter Server can
+// choose heartbeat datastores.
type ClusterDasConfigInfoHBDatastoreCandidate string
const (
@@ -554,14 +828,26 @@ const (
ClusterDasConfigInfoHBDatastoreCandidateAllFeasibleDsWithUserPreference = ClusterDasConfigInfoHBDatastoreCandidate("allFeasibleDsWithUserPreference")
)
+func (e ClusterDasConfigInfoHBDatastoreCandidate) Values() []ClusterDasConfigInfoHBDatastoreCandidate {
+ return []ClusterDasConfigInfoHBDatastoreCandidate{
+ ClusterDasConfigInfoHBDatastoreCandidateUserSelectedDs,
+ ClusterDasConfigInfoHBDatastoreCandidateAllFeasibleDs,
+ ClusterDasConfigInfoHBDatastoreCandidateAllFeasibleDsWithUserPreference,
+ }
+}
+
+func (e ClusterDasConfigInfoHBDatastoreCandidate) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterDasConfigInfoHBDatastoreCandidate"] = reflect.TypeOf((*ClusterDasConfigInfoHBDatastoreCandidate)(nil)).Elem()
- minAPIVersionForType["ClusterDasConfigInfoHBDatastoreCandidate"] = "5.0"
}
// Possible states of an HA service.
//
// All services support the
+// disabled and enabled states.
type ClusterDasConfigInfoServiceState string
const (
@@ -571,9 +857,19 @@ const (
ClusterDasConfigInfoServiceStateEnabled = ClusterDasConfigInfoServiceState("enabled")
)
+func (e ClusterDasConfigInfoServiceState) Values() []ClusterDasConfigInfoServiceState {
+ return []ClusterDasConfigInfoServiceState{
+ ClusterDasConfigInfoServiceStateDisabled,
+ ClusterDasConfigInfoServiceStateEnabled,
+ }
+}
+
+func (e ClusterDasConfigInfoServiceState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterDasConfigInfoServiceState"] = reflect.TypeOf((*ClusterDasConfigInfoServiceState)(nil)).Elem()
- minAPIVersionForType["ClusterDasConfigInfoServiceState"] = "4.0"
}
// The `ClusterDasConfigInfoVmMonitoringState_enum` enum defines values that indicate
@@ -592,6 +888,7 @@ func init() {
// property.
// - To retrieve the current state of health monitoring for a virtual machine, use the
// ClusterConfigInfoEx.dasVmConfig\[\].dasSettings.vmToolsMonitoringSettings.`ClusterVmToolsMonitoringSettings.vmMonitoring`
+// property.
type ClusterDasConfigInfoVmMonitoringState string
const (
@@ -607,18 +904,29 @@ const (
// property.
ClusterDasConfigInfoVmMonitoringStateVmMonitoringOnly = ClusterDasConfigInfoVmMonitoringState("vmMonitoringOnly")
// HA response to both guest and application heartbeat failure is enabled.
- // - To retrieve the guest heartbeat status, use the
- // `VirtualMachine*.*VirtualMachine.guestHeartbeatStatus`
- // property.
- // - To retrieve the application heartbeat status, use the
- // `GuestInfo*.*GuestInfo.appHeartbeatStatus`
- // property.
+ // - To retrieve the guest heartbeat status, use the
+ // `VirtualMachine*.*VirtualMachine.guestHeartbeatStatus`
+ // property.
+ // - To retrieve the application heartbeat status, use the
+ // `GuestInfo*.*GuestInfo.appHeartbeatStatus`
+ // property.
ClusterDasConfigInfoVmMonitoringStateVmAndAppMonitoring = ClusterDasConfigInfoVmMonitoringState("vmAndAppMonitoring")
)
+func (e ClusterDasConfigInfoVmMonitoringState) Values() []ClusterDasConfigInfoVmMonitoringState {
+ return []ClusterDasConfigInfoVmMonitoringState{
+ ClusterDasConfigInfoVmMonitoringStateVmMonitoringDisabled,
+ ClusterDasConfigInfoVmMonitoringStateVmMonitoringOnly,
+ ClusterDasConfigInfoVmMonitoringStateVmAndAppMonitoring,
+ }
+}
+
+func (e ClusterDasConfigInfoVmMonitoringState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterDasConfigInfoVmMonitoringState"] = reflect.TypeOf((*ClusterDasConfigInfoVmMonitoringState)(nil)).Elem()
- minAPIVersionForType["ClusterDasConfigInfoVmMonitoringState"] = "4.1"
}
// The `ClusterDasFdmAvailabilityState_enum` enumeration describes the
@@ -631,6 +939,7 @@ func init() {
// determined from information reported by the Fault Domain Manager
// running on the host, by a Fault Domain Manager that has been elected
// master, and by vCenter Server. See `ClusterDasFdmHostState`
+// for more information about the vSphere HA architecture.
type ClusterDasFdmAvailabilityState string
const (
@@ -700,15 +1009,15 @@ const (
//
// This
// state is reported in two unlikely situations.
- // - First, it is reported by
- // a master if the host responds to ICMP pings sent by the master over the
- // management network but the FDM on the host cannot be reached by the master.
- // This situation will occur if the FDM is unable to run or exit the
- // uninitialized state.
- // - Second, it is reported by vCenter Server if it cannot connect to a
- // master nor the FDM for the host. This situation would occur if all hosts
- // in the cluster failed but vCenter Server is still running. It may also
- // occur if all FDMs are unable to run or exit the uninitialized state.
+ // - First, it is reported by
+ // a master if the host responds to ICMP pings sent by the master over the
+ // management network but the FDM on the host cannot be reached by the master.
+ // This situation will occur if the FDM is unable to run or exit the
+ // uninitialized state.
+ // - Second, it is reported by vCenter Server if it cannot connect to a
+ // master nor the FDM for the host. This situation would occur if all hosts
+ // in the cluster failed but vCenter Server is still running. It may also
+ // occur if all FDMs are unable to run or exit the uninitialized state.
ClusterDasFdmAvailabilityStateFdmUnreachable = ClusterDasFdmAvailabilityState("fdmUnreachable")
// Config/Reconfig/upgrade operation has failed in first attempt and
// a retry of these operations is scheduled.
@@ -719,9 +1028,28 @@ const (
ClusterDasFdmAvailabilityStateRetry = ClusterDasFdmAvailabilityState("retry")
)
+func (e ClusterDasFdmAvailabilityState) Values() []ClusterDasFdmAvailabilityState {
+ return []ClusterDasFdmAvailabilityState{
+ ClusterDasFdmAvailabilityStateUninitialized,
+ ClusterDasFdmAvailabilityStateElection,
+ ClusterDasFdmAvailabilityStateMaster,
+ ClusterDasFdmAvailabilityStateConnectedToMaster,
+ ClusterDasFdmAvailabilityStateNetworkPartitionedFromMaster,
+ ClusterDasFdmAvailabilityStateNetworkIsolated,
+ ClusterDasFdmAvailabilityStateHostDown,
+ ClusterDasFdmAvailabilityStateInitializationError,
+ ClusterDasFdmAvailabilityStateUninitializationError,
+ ClusterDasFdmAvailabilityStateFdmUnreachable,
+ ClusterDasFdmAvailabilityStateRetry,
+ }
+}
+
+func (e ClusterDasFdmAvailabilityState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterDasFdmAvailabilityState"] = reflect.TypeOf((*ClusterDasFdmAvailabilityState)(nil)).Elem()
- minAPIVersionForType["ClusterDasFdmAvailabilityState"] = "5.0"
minAPIVersionForEnumValue["ClusterDasFdmAvailabilityState"] = map[string]string{
"retry": "8.0.0.0",
}
@@ -765,6 +1093,7 @@ func init() {
//
// If you ensure that your network infrastructure is sufficiently redundant
// and that at least one network path is available at all times, host network
+// isolation should be a rare occurrence.
type ClusterDasVmSettingsIsolationResponse string
const (
@@ -791,12 +1120,21 @@ const (
ClusterDasVmSettingsIsolationResponseClusterIsolationResponse = ClusterDasVmSettingsIsolationResponse("clusterIsolationResponse")
)
+func (e ClusterDasVmSettingsIsolationResponse) Values() []ClusterDasVmSettingsIsolationResponse {
+ return []ClusterDasVmSettingsIsolationResponse{
+ ClusterDasVmSettingsIsolationResponseNone,
+ ClusterDasVmSettingsIsolationResponsePowerOff,
+ ClusterDasVmSettingsIsolationResponseShutdown,
+ ClusterDasVmSettingsIsolationResponseClusterIsolationResponse,
+ }
+}
+
+func (e ClusterDasVmSettingsIsolationResponse) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterDasVmSettingsIsolationResponse"] = reflect.TypeOf((*ClusterDasVmSettingsIsolationResponse)(nil)).Elem()
- minAPIVersionForType["ClusterDasVmSettingsIsolationResponse"] = "2.5"
- minAPIVersionForEnumValue["ClusterDasVmSettingsIsolationResponse"] = map[string]string{
- "shutdown": "2.5u2",
- }
}
// The `ClusterDasVmSettingsRestartPriority_enum` enum defines
@@ -811,6 +1149,7 @@ func init() {
// single virtual machine HA configuration (`ClusterDasVmConfigInfo.dasSettings`).
// All values except for clusterRestartPriority
are valid for
// the cluster-wide default HA configuration for virtual machines
+// (`ClusterDasConfigInfo.defaultVmSettings`).
type ClusterDasVmSettingsRestartPriority string
const (
@@ -841,19 +1180,31 @@ const (
ClusterDasVmSettingsRestartPriorityClusterRestartPriority = ClusterDasVmSettingsRestartPriority("clusterRestartPriority")
)
+func (e ClusterDasVmSettingsRestartPriority) Values() []ClusterDasVmSettingsRestartPriority {
+ return []ClusterDasVmSettingsRestartPriority{
+ ClusterDasVmSettingsRestartPriorityDisabled,
+ ClusterDasVmSettingsRestartPriorityLowest,
+ ClusterDasVmSettingsRestartPriorityLow,
+ ClusterDasVmSettingsRestartPriorityMedium,
+ ClusterDasVmSettingsRestartPriorityHigh,
+ ClusterDasVmSettingsRestartPriorityHighest,
+ ClusterDasVmSettingsRestartPriorityClusterRestartPriority,
+ }
+}
+
+func (e ClusterDasVmSettingsRestartPriority) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterDasVmSettingsRestartPriority"] = reflect.TypeOf((*ClusterDasVmSettingsRestartPriority)(nil)).Elem()
- minAPIVersionForType["ClusterDasVmSettingsRestartPriority"] = "2.5"
- minAPIVersionForEnumValue["ClusterDasVmSettingsRestartPriority"] = map[string]string{
- "lowest": "6.5",
- "highest": "6.5",
- }
}
// Describes the operation type of the action.
//
// enterexitQuarantine suggests
// that the host is only exiting the quarantine state (i.e. not the
+// maintenance mode).
type ClusterHostInfraUpdateHaModeActionOperationType string
const (
@@ -862,9 +1213,20 @@ const (
ClusterHostInfraUpdateHaModeActionOperationTypeEnterMaintenance = ClusterHostInfraUpdateHaModeActionOperationType("enterMaintenance")
)
+func (e ClusterHostInfraUpdateHaModeActionOperationType) Values() []ClusterHostInfraUpdateHaModeActionOperationType {
+ return []ClusterHostInfraUpdateHaModeActionOperationType{
+ ClusterHostInfraUpdateHaModeActionOperationTypeEnterQuarantine,
+ ClusterHostInfraUpdateHaModeActionOperationTypeExitQuarantine,
+ ClusterHostInfraUpdateHaModeActionOperationTypeEnterMaintenance,
+ }
+}
+
+func (e ClusterHostInfraUpdateHaModeActionOperationType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterHostInfraUpdateHaModeActionOperationType"] = reflect.TypeOf((*ClusterHostInfraUpdateHaModeActionOperationType)(nil)).Elem()
- minAPIVersionForType["ClusterHostInfraUpdateHaModeActionOperationType"] = "6.5"
}
type ClusterInfraUpdateHaConfigInfoBehaviorType string
@@ -878,9 +1240,19 @@ const (
ClusterInfraUpdateHaConfigInfoBehaviorTypeAutomated = ClusterInfraUpdateHaConfigInfoBehaviorType("Automated")
)
+func (e ClusterInfraUpdateHaConfigInfoBehaviorType) Values() []ClusterInfraUpdateHaConfigInfoBehaviorType {
+ return []ClusterInfraUpdateHaConfigInfoBehaviorType{
+ ClusterInfraUpdateHaConfigInfoBehaviorTypeManual,
+ ClusterInfraUpdateHaConfigInfoBehaviorTypeAutomated,
+ }
+}
+
+func (e ClusterInfraUpdateHaConfigInfoBehaviorType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterInfraUpdateHaConfigInfoBehaviorType"] = reflect.TypeOf((*ClusterInfraUpdateHaConfigInfoBehaviorType)(nil)).Elem()
- minAPIVersionForType["ClusterInfraUpdateHaConfigInfoBehaviorType"] = "6.5"
}
type ClusterInfraUpdateHaConfigInfoRemediationType string
@@ -894,11 +1266,22 @@ const (
ClusterInfraUpdateHaConfigInfoRemediationTypeMaintenanceMode = ClusterInfraUpdateHaConfigInfoRemediationType("MaintenanceMode")
)
+func (e ClusterInfraUpdateHaConfigInfoRemediationType) Values() []ClusterInfraUpdateHaConfigInfoRemediationType {
+ return []ClusterInfraUpdateHaConfigInfoRemediationType{
+ ClusterInfraUpdateHaConfigInfoRemediationTypeQuarantineMode,
+ ClusterInfraUpdateHaConfigInfoRemediationTypeMaintenanceMode,
+ }
+}
+
+func (e ClusterInfraUpdateHaConfigInfoRemediationType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterInfraUpdateHaConfigInfoRemediationType"] = reflect.TypeOf((*ClusterInfraUpdateHaConfigInfoRemediationType)(nil)).Elem()
- minAPIVersionForType["ClusterInfraUpdateHaConfigInfoRemediationType"] = "6.5"
}
+// Defines the options for a Datacenter::powerOnVm() invocation.
type ClusterPowerOnVmOption string
const (
@@ -925,11 +1308,22 @@ const (
ClusterPowerOnVmOptionReserveResources = ClusterPowerOnVmOption("ReserveResources")
)
+func (e ClusterPowerOnVmOption) Values() []ClusterPowerOnVmOption {
+ return []ClusterPowerOnVmOption{
+ ClusterPowerOnVmOptionOverrideAutomationLevel,
+ ClusterPowerOnVmOptionReserveResources,
+ }
+}
+
+func (e ClusterPowerOnVmOption) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterPowerOnVmOption"] = reflect.TypeOf((*ClusterPowerOnVmOption)(nil)).Elem()
- minAPIVersionForType["ClusterPowerOnVmOption"] = "4.1"
}
+// Type of services for which Profile can be requested for
type ClusterProfileServiceType string
const (
@@ -943,9 +1337,21 @@ const (
ClusterProfileServiceTypeFT = ClusterProfileServiceType("FT")
)
+func (e ClusterProfileServiceType) Values() []ClusterProfileServiceType {
+ return []ClusterProfileServiceType{
+ ClusterProfileServiceTypeDRS,
+ ClusterProfileServiceTypeHA,
+ ClusterProfileServiceTypeDPM,
+ ClusterProfileServiceTypeFT,
+ }
+}
+
+func (e ClusterProfileServiceType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterProfileServiceType"] = reflect.TypeOf((*ClusterProfileServiceType)(nil)).Elem()
- minAPIVersionForType["ClusterProfileServiceType"] = "4.0"
}
type ClusterSystemVMsConfigInfoDeploymentMode string
@@ -957,12 +1363,24 @@ const (
ClusterSystemVMsConfigInfoDeploymentModeABSENT = ClusterSystemVMsConfigInfoDeploymentMode("ABSENT")
)
+func (e ClusterSystemVMsConfigInfoDeploymentMode) Values() []ClusterSystemVMsConfigInfoDeploymentMode {
+ return []ClusterSystemVMsConfigInfoDeploymentMode{
+ ClusterSystemVMsConfigInfoDeploymentModeSYSTEM_MANAGED,
+ ClusterSystemVMsConfigInfoDeploymentModeABSENT,
+ }
+}
+
+func (e ClusterSystemVMsConfigInfoDeploymentMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterSystemVMsConfigInfoDeploymentMode"] = reflect.TypeOf((*ClusterSystemVMsConfigInfoDeploymentMode)(nil)).Elem()
minAPIVersionForType["ClusterSystemVMsConfigInfoDeploymentMode"] = "8.0.2.0"
}
// The VM policy settings that determine the response to
+// storage failures.
type ClusterVmComponentProtectionSettingsStorageVmReaction string
const (
@@ -998,9 +1416,22 @@ const (
ClusterVmComponentProtectionSettingsStorageVmReactionClusterDefault = ClusterVmComponentProtectionSettingsStorageVmReaction("clusterDefault")
)
+func (e ClusterVmComponentProtectionSettingsStorageVmReaction) Values() []ClusterVmComponentProtectionSettingsStorageVmReaction {
+ return []ClusterVmComponentProtectionSettingsStorageVmReaction{
+ ClusterVmComponentProtectionSettingsStorageVmReactionDisabled,
+ ClusterVmComponentProtectionSettingsStorageVmReactionWarning,
+ ClusterVmComponentProtectionSettingsStorageVmReactionRestartConservative,
+ ClusterVmComponentProtectionSettingsStorageVmReactionRestartAggressive,
+ ClusterVmComponentProtectionSettingsStorageVmReactionClusterDefault,
+ }
+}
+
+func (e ClusterVmComponentProtectionSettingsStorageVmReaction) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterVmComponentProtectionSettingsStorageVmReaction"] = reflect.TypeOf((*ClusterVmComponentProtectionSettingsStorageVmReaction)(nil)).Elem()
- minAPIVersionForType["ClusterVmComponentProtectionSettingsStorageVmReaction"] = "6.0"
}
// If an APD condition clears after an APD timeout condition has been declared and before
@@ -1008,6 +1439,7 @@ func init() {
// no longer be operational.
//
// VM Component Protection may be configured to reset the
+// VM (`VirtualMachine.ResetVM_Task`) to restore the service of guest applications.
type ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared string
const (
@@ -1024,11 +1456,23 @@ const (
ClusterVmComponentProtectionSettingsVmReactionOnAPDClearedUseClusterDefault = ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared("useClusterDefault")
)
+func (e ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared) Values() []ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared {
+ return []ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared{
+ ClusterVmComponentProtectionSettingsVmReactionOnAPDClearedNone,
+ ClusterVmComponentProtectionSettingsVmReactionOnAPDClearedReset,
+ ClusterVmComponentProtectionSettingsVmReactionOnAPDClearedUseClusterDefault,
+ }
+}
+
+func (e ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared"] = reflect.TypeOf((*ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared)(nil)).Elem()
- minAPIVersionForType["ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared"] = "6.0"
}
+// Condition for VM's readiness
type ClusterVmReadinessReadyCondition string
const (
@@ -1057,9 +1501,22 @@ const (
ClusterVmReadinessReadyConditionUseClusterDefault = ClusterVmReadinessReadyCondition("useClusterDefault")
)
+func (e ClusterVmReadinessReadyCondition) Values() []ClusterVmReadinessReadyCondition {
+ return []ClusterVmReadinessReadyCondition{
+ ClusterVmReadinessReadyConditionNone,
+ ClusterVmReadinessReadyConditionPoweredOn,
+ ClusterVmReadinessReadyConditionGuestHbStatusGreen,
+ ClusterVmReadinessReadyConditionAppHbStatusGreen,
+ ClusterVmReadinessReadyConditionUseClusterDefault,
+ }
+}
+
+func (e ClusterVmReadinessReadyCondition) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ClusterVmReadinessReadyCondition"] = reflect.TypeOf((*ClusterVmReadinessReadyCondition)(nil)).Elem()
- minAPIVersionForType["ClusterVmReadinessReadyCondition"] = "6.5"
}
type ComplianceResultStatus string
@@ -1075,14 +1532,24 @@ const (
ComplianceResultStatusRunning = ComplianceResultStatus("running")
)
+func (e ComplianceResultStatus) Values() []ComplianceResultStatus {
+ return []ComplianceResultStatus{
+ ComplianceResultStatusCompliant,
+ ComplianceResultStatusNonCompliant,
+ ComplianceResultStatusUnknown,
+ ComplianceResultStatusRunning,
+ }
+}
+
+func (e ComplianceResultStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ComplianceResultStatus"] = reflect.TypeOf((*ComplianceResultStatus)(nil)).Elem()
- minAPIVersionForType["ComplianceResultStatus"] = "4.0"
- minAPIVersionForEnumValue["ComplianceResultStatus"] = map[string]string{
- "running": "6.7",
- }
}
+// The SPBM(Storage Policy Based Management) license state for a host
type ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState string
const (
@@ -1095,11 +1562,23 @@ const (
ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseStateUnknown = ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState("unknown")
)
+func (e ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState) Values() []ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState {
+ return []ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState{
+ ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseStateLicensed,
+ ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseStateUnlicensed,
+ ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseStateUnknown,
+ }
+}
+
+func (e ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState"] = reflect.TypeOf((*ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState)(nil)).Elem()
- minAPIVersionForType["ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState"] = "5.0"
}
+// Config spec operation type.
type ConfigSpecOperation string
const (
@@ -1111,9 +1590,20 @@ const (
ConfigSpecOperationRemove = ConfigSpecOperation("remove")
)
+func (e ConfigSpecOperation) Values() []ConfigSpecOperation {
+ return []ConfigSpecOperation{
+ ConfigSpecOperationAdd,
+ ConfigSpecOperationEdit,
+ ConfigSpecOperationRemove,
+ }
+}
+
+func (e ConfigSpecOperation) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ConfigSpecOperation"] = reflect.TypeOf((*ConfigSpecOperation)(nil)).Elem()
- minAPIVersionForType["ConfigSpecOperation"] = "4.0"
}
type CryptoManagerHostKeyManagementType string
@@ -1124,6 +1614,18 @@ const (
CryptoManagerHostKeyManagementTypeExternal = CryptoManagerHostKeyManagementType("external")
)
+func (e CryptoManagerHostKeyManagementType) Values() []CryptoManagerHostKeyManagementType {
+ return []CryptoManagerHostKeyManagementType{
+ CryptoManagerHostKeyManagementTypeUnknown,
+ CryptoManagerHostKeyManagementTypeInternal,
+ CryptoManagerHostKeyManagementTypeExternal,
+ }
+}
+
+func (e CryptoManagerHostKeyManagementType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["CryptoManagerHostKeyManagementType"] = reflect.TypeOf((*CryptoManagerHostKeyManagementType)(nil)).Elem()
minAPIVersionForType["CryptoManagerHostKeyManagementType"] = "8.0.1.0"
@@ -1144,13 +1646,34 @@ const (
CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateNotActiveOrEnabled = CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason("KeyStateNotActiveOrEnabled")
// Key is managed by Trust Authority
CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateManagedByTrustAuthority = CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason("KeyStateManagedByTrustAuthority")
-)
+ // Key is managed by Native Key Provider
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateManagedByNKP = CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason("KeyStateManagedByNKP")
+ // No permission to access key provider
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonNoPermissionToAccessKeyProvider = CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason("NoPermissionToAccessKeyProvider")
+)
+
+func (e CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason) Values() []CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason {
+ return []CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason{
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateMissingInCache,
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateClusterInvalid,
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateClusterUnreachable,
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateMissingInKMS,
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateNotActiveOrEnabled,
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateManagedByTrustAuthority,
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateManagedByNKP,
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonNoPermissionToAccessKeyProvider,
+ }
+}
+
+func (e CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
func init() {
t["CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason"] = reflect.TypeOf((*CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason)(nil)).Elem()
- minAPIVersionForType["CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason"] = "6.7.2"
minAPIVersionForEnumValue["CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason"] = map[string]string{
- "KeyStateManagedByTrustAuthority": "7.0",
+ "KeyStateManagedByNKP": "8.0.3.0",
+ "NoPermissionToAccessKeyProvider": "8.0.3.0",
}
}
@@ -1167,9 +1690,21 @@ const (
CustomizationFailedReasonCodeWrongMetadataFormat = CustomizationFailedReasonCode("wrongMetadataFormat")
)
+func (e CustomizationFailedReasonCode) Values() []CustomizationFailedReasonCode {
+ return []CustomizationFailedReasonCode{
+ CustomizationFailedReasonCodeUserDefinedScriptDisabled,
+ CustomizationFailedReasonCodeCustomizationDisabled,
+ CustomizationFailedReasonCodeRawDataIsNotSupported,
+ CustomizationFailedReasonCodeWrongMetadataFormat,
+ }
+}
+
+func (e CustomizationFailedReasonCode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["CustomizationFailedReasonCode"] = reflect.TypeOf((*CustomizationFailedReasonCode)(nil)).Elem()
- minAPIVersionForType["CustomizationFailedReasonCode"] = "7.0"
minAPIVersionForEnumValue["CustomizationFailedReasonCode"] = map[string]string{
"customizationDisabled": "7.0.1.0",
"rawDataIsNotSupported": "7.0.3.0",
@@ -1190,6 +1725,17 @@ const (
CustomizationLicenseDataModePerSeat = CustomizationLicenseDataMode("perSeat")
)
+func (e CustomizationLicenseDataMode) Values() []CustomizationLicenseDataMode {
+ return []CustomizationLicenseDataMode{
+ CustomizationLicenseDataModePerServer,
+ CustomizationLicenseDataModePerSeat,
+ }
+}
+
+func (e CustomizationLicenseDataMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["CustomizationLicenseDataMode"] = reflect.TypeOf((*CustomizationLicenseDataMode)(nil)).Elem()
}
@@ -1206,11 +1752,24 @@ const (
CustomizationNetBIOSModeDisableNetBIOS = CustomizationNetBIOSMode("disableNetBIOS")
)
+func (e CustomizationNetBIOSMode) Values() []CustomizationNetBIOSMode {
+ return []CustomizationNetBIOSMode{
+ CustomizationNetBIOSModeEnableNetBIOSViaDhcp,
+ CustomizationNetBIOSModeEnableNetBIOS,
+ CustomizationNetBIOSModeDisableNetBIOS,
+ }
+}
+
+func (e CustomizationNetBIOSMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["CustomizationNetBIOSMode"] = reflect.TypeOf((*CustomizationNetBIOSMode)(nil)).Elem()
}
// A enum constant specifying what should be done to the guest vm after running
+// sysprep.
type CustomizationSysprepRebootOption string
const (
@@ -1232,12 +1791,24 @@ const (
CustomizationSysprepRebootOptionShutdown = CustomizationSysprepRebootOption("shutdown")
)
+func (e CustomizationSysprepRebootOption) Values() []CustomizationSysprepRebootOption {
+ return []CustomizationSysprepRebootOption{
+ CustomizationSysprepRebootOptionReboot,
+ CustomizationSysprepRebootOptionNoreboot,
+ CustomizationSysprepRebootOptionShutdown,
+ }
+}
+
+func (e CustomizationSysprepRebootOption) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["CustomizationSysprepRebootOption"] = reflect.TypeOf((*CustomizationSysprepRebootOption)(nil)).Elem()
- minAPIVersionForType["CustomizationSysprepRebootOption"] = "2.5"
}
// Set of possible values for
+// `DVPortStatus*.*DVPortStatus.vmDirectPathGen2InactiveReasonNetwork`.
type DVPortStatusVmDirectPathGen2InactiveReasonNetwork string
const (
@@ -1259,12 +1830,25 @@ const (
DVPortStatusVmDirectPathGen2InactiveReasonNetworkPortNptDisabledForPort = DVPortStatusVmDirectPathGen2InactiveReasonNetwork("portNptDisabledForPort")
)
+func (e DVPortStatusVmDirectPathGen2InactiveReasonNetwork) Values() []DVPortStatusVmDirectPathGen2InactiveReasonNetwork {
+ return []DVPortStatusVmDirectPathGen2InactiveReasonNetwork{
+ DVPortStatusVmDirectPathGen2InactiveReasonNetworkPortNptIncompatibleDvs,
+ DVPortStatusVmDirectPathGen2InactiveReasonNetworkPortNptNoCompatibleNics,
+ DVPortStatusVmDirectPathGen2InactiveReasonNetworkPortNptNoVirtualFunctionsAvailable,
+ DVPortStatusVmDirectPathGen2InactiveReasonNetworkPortNptDisabledForPort,
+ }
+}
+
+func (e DVPortStatusVmDirectPathGen2InactiveReasonNetwork) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DVPortStatusVmDirectPathGen2InactiveReasonNetwork"] = reflect.TypeOf((*DVPortStatusVmDirectPathGen2InactiveReasonNetwork)(nil)).Elem()
- minAPIVersionForType["DVPortStatusVmDirectPathGen2InactiveReasonNetwork"] = "4.1"
}
// Set of possible values for
+// `DVPortStatus*.*DVPortStatus.vmDirectPathGen2InactiveReasonOther`.
type DVPortStatusVmDirectPathGen2InactiveReasonOther string
const (
@@ -1284,26 +1868,94 @@ const (
DVPortStatusVmDirectPathGen2InactiveReasonOtherPortNptIncompatibleConnectee = DVPortStatusVmDirectPathGen2InactiveReasonOther("portNptIncompatibleConnectee")
)
+func (e DVPortStatusVmDirectPathGen2InactiveReasonOther) Values() []DVPortStatusVmDirectPathGen2InactiveReasonOther {
+ return []DVPortStatusVmDirectPathGen2InactiveReasonOther{
+ DVPortStatusVmDirectPathGen2InactiveReasonOtherPortNptIncompatibleHost,
+ DVPortStatusVmDirectPathGen2InactiveReasonOtherPortNptIncompatibleConnectee,
+ }
+}
+
+func (e DVPortStatusVmDirectPathGen2InactiveReasonOther) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DVPortStatusVmDirectPathGen2InactiveReasonOther"] = reflect.TypeOf((*DVPortStatusVmDirectPathGen2InactiveReasonOther)(nil)).Elem()
- minAPIVersionForType["DVPortStatusVmDirectPathGen2InactiveReasonOther"] = "4.1"
}
-type DVSMacLimitPolicyType string
+type DVSFilterSpecLinkConfig string
const (
- DVSMacLimitPolicyTypeAllow = DVSMacLimitPolicyType("allow")
- DVSMacLimitPolicyTypeDrop = DVSMacLimitPolicyType("drop")
+ // The port link state: blocked.
+ DVSFilterSpecLinkConfigBlocked = DVSFilterSpecLinkConfig("blocked")
+ // The port link state: unblocked.
+ DVSFilterSpecLinkConfigUnblocked = DVSFilterSpecLinkConfig("unblocked")
)
-func init() {
- t["DVSMacLimitPolicyType"] = reflect.TypeOf((*DVSMacLimitPolicyType)(nil)).Elem()
- minAPIVersionForType["DVSMacLimitPolicyType"] = "6.7"
+func (e DVSFilterSpecLinkConfig) Values() []DVSFilterSpecLinkConfig {
+ return []DVSFilterSpecLinkConfig{
+ DVSFilterSpecLinkConfigBlocked,
+ DVSFilterSpecLinkConfigUnblocked,
+ }
}
-type DasConfigFaultDasConfigFaultReason string
+func (e DVSFilterSpecLinkConfig) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
-const (
+func init() {
+ t["DVSFilterSpecLinkConfig"] = reflect.TypeOf((*DVSFilterSpecLinkConfig)(nil)).Elem()
+}
+
+type DVSFilterSpecLinkState string
+
+const (
+ // The port link state: down.
+ DVSFilterSpecLinkStateDown = DVSFilterSpecLinkState("down")
+ // The port link state: up.
+ DVSFilterSpecLinkStateUp = DVSFilterSpecLinkState("up")
+)
+
+func (e DVSFilterSpecLinkState) Values() []DVSFilterSpecLinkState {
+ return []DVSFilterSpecLinkState{
+ DVSFilterSpecLinkStateDown,
+ DVSFilterSpecLinkStateUp,
+ }
+}
+
+func (e DVSFilterSpecLinkState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
+ t["DVSFilterSpecLinkState"] = reflect.TypeOf((*DVSFilterSpecLinkState)(nil)).Elem()
+}
+
+type DVSMacLimitPolicyType string
+
+const (
+ DVSMacLimitPolicyTypeAllow = DVSMacLimitPolicyType("allow")
+ DVSMacLimitPolicyTypeDrop = DVSMacLimitPolicyType("drop")
+)
+
+func (e DVSMacLimitPolicyType) Values() []DVSMacLimitPolicyType {
+ return []DVSMacLimitPolicyType{
+ DVSMacLimitPolicyTypeAllow,
+ DVSMacLimitPolicyTypeDrop,
+ }
+}
+
+func (e DVSMacLimitPolicyType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
+ t["DVSMacLimitPolicyType"] = reflect.TypeOf((*DVSMacLimitPolicyType)(nil)).Elem()
+}
+
+type DasConfigFaultDasConfigFaultReason string
+
+const (
// There is a problem with the host network configuration.
DasConfigFaultDasConfigFaultReasonHostNetworkMisconfiguration = DasConfigFaultDasConfigFaultReason("HostNetworkMisconfiguration")
// There is a problem with the host configuration.
@@ -1330,17 +1982,28 @@ const (
DasConfigFaultDasConfigFaultReasonApplyHAVibsOnClusterFailed = DasConfigFaultDasConfigFaultReason("ApplyHAVibsOnClusterFailed")
)
+func (e DasConfigFaultDasConfigFaultReason) Values() []DasConfigFaultDasConfigFaultReason {
+ return []DasConfigFaultDasConfigFaultReason{
+ DasConfigFaultDasConfigFaultReasonHostNetworkMisconfiguration,
+ DasConfigFaultDasConfigFaultReasonHostMisconfiguration,
+ DasConfigFaultDasConfigFaultReasonInsufficientPrivileges,
+ DasConfigFaultDasConfigFaultReasonNoPrimaryAgentAvailable,
+ DasConfigFaultDasConfigFaultReasonOther,
+ DasConfigFaultDasConfigFaultReasonNoDatastoresConfigured,
+ DasConfigFaultDasConfigFaultReasonCreateConfigVvolFailed,
+ DasConfigFaultDasConfigFaultReasonVSanNotSupportedOnHost,
+ DasConfigFaultDasConfigFaultReasonDasNetworkMisconfiguration,
+ DasConfigFaultDasConfigFaultReasonSetDesiredImageSpecFailed,
+ DasConfigFaultDasConfigFaultReasonApplyHAVibsOnClusterFailed,
+ }
+}
+
+func (e DasConfigFaultDasConfigFaultReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DasConfigFaultDasConfigFaultReason"] = reflect.TypeOf((*DasConfigFaultDasConfigFaultReason)(nil)).Elem()
- minAPIVersionForType["DasConfigFaultDasConfigFaultReason"] = "4.0"
- minAPIVersionForEnumValue["DasConfigFaultDasConfigFaultReason"] = map[string]string{
- "NoDatastoresConfigured": "5.1",
- "CreateConfigVvolFailed": "6.0",
- "VSanNotSupportedOnHost": "5.5",
- "DasNetworkMisconfiguration": "6.0",
- "SetDesiredImageSpecFailed": "7.0",
- "ApplyHAVibsOnClusterFailed": "7.0",
- }
}
// Deprecated as of VI API 2.5, use `ClusterDasVmSettingsRestartPriority_enum`.
@@ -1371,6 +2034,19 @@ const (
DasVmPriorityHigh = DasVmPriority("high")
)
+func (e DasVmPriority) Values() []DasVmPriority {
+ return []DasVmPriority{
+ DasVmPriorityDisabled,
+ DasVmPriorityLow,
+ DasVmPriorityMedium,
+ DasVmPriorityHigh,
+ }
+}
+
+func (e DasVmPriority) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DasVmPriority"] = reflect.TypeOf((*DasVmPriority)(nil)).Elem()
}
@@ -1384,11 +2060,22 @@ const (
DatastoreAccessibleFalse = DatastoreAccessible("False")
)
+func (e DatastoreAccessible) Values() []DatastoreAccessible {
+ return []DatastoreAccessible{
+ DatastoreAccessibleTrue,
+ DatastoreAccessibleFalse,
+ }
+}
+
+func (e DatastoreAccessible) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DatastoreAccessible"] = reflect.TypeOf((*DatastoreAccessible)(nil)).Elem()
- minAPIVersionForType["DatastoreAccessible"] = "4.0"
}
+// Defines the current maintenance mode state of the datastore.
type DatastoreSummaryMaintenanceModeState string
const (
@@ -1403,9 +2090,20 @@ const (
DatastoreSummaryMaintenanceModeStateInMaintenance = DatastoreSummaryMaintenanceModeState("inMaintenance")
)
+func (e DatastoreSummaryMaintenanceModeState) Values() []DatastoreSummaryMaintenanceModeState {
+ return []DatastoreSummaryMaintenanceModeState{
+ DatastoreSummaryMaintenanceModeStateNormal,
+ DatastoreSummaryMaintenanceModeStateEnteringMaintenance,
+ DatastoreSummaryMaintenanceModeStateInMaintenance,
+ }
+}
+
+func (e DatastoreSummaryMaintenanceModeState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DatastoreSummaryMaintenanceModeState"] = reflect.TypeOf((*DatastoreSummaryMaintenanceModeState)(nil)).Elem()
- minAPIVersionForType["DatastoreSummaryMaintenanceModeState"] = "5.0"
}
type DayOfWeek string
@@ -1420,10 +2118,27 @@ const (
DayOfWeekSaturday = DayOfWeek("saturday")
)
+func (e DayOfWeek) Values() []DayOfWeek {
+ return []DayOfWeek{
+ DayOfWeekSunday,
+ DayOfWeekMonday,
+ DayOfWeekTuesday,
+ DayOfWeekWednesday,
+ DayOfWeekThursday,
+ DayOfWeekFriday,
+ DayOfWeekSaturday,
+ }
+}
+
+func (e DayOfWeek) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DayOfWeek"] = reflect.TypeOf((*DayOfWeek)(nil)).Elem()
}
+// Reasons why a virtual device would not be supported on a host.
type DeviceNotSupportedReason string
const (
@@ -1432,11 +2147,28 @@ const (
// The device is supported by the host in general, but not for
// the specific guest OS the virtual machine is using.
DeviceNotSupportedReasonGuest = DeviceNotSupportedReason("guest")
+ // The device is supported by the host and guest OS, but not for
+ // the vSphere Fault Tolerance.
+ DeviceNotSupportedReasonFt = DeviceNotSupportedReason("ft")
)
+func (e DeviceNotSupportedReason) Values() []DeviceNotSupportedReason {
+ return []DeviceNotSupportedReason{
+ DeviceNotSupportedReasonHost,
+ DeviceNotSupportedReasonGuest,
+ DeviceNotSupportedReasonFt,
+ }
+}
+
+func (e DeviceNotSupportedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DeviceNotSupportedReason"] = reflect.TypeOf((*DeviceNotSupportedReason)(nil)).Elem()
- minAPIVersionForType["DeviceNotSupportedReason"] = "2.5"
+ minAPIVersionForEnumValue["DeviceNotSupportedReason"] = map[string]string{
+ "ft": "8.0.3.0",
+ }
}
// The list of Device Protocols.
@@ -1447,6 +2179,17 @@ const (
DeviceProtocolSCSI = DeviceProtocol("SCSI")
)
+func (e DeviceProtocol) Values() []DeviceProtocol {
+ return []DeviceProtocol{
+ DeviceProtocolNVMe,
+ DeviceProtocolSCSI,
+ }
+}
+
+func (e DeviceProtocol) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DeviceProtocol"] = reflect.TypeOf((*DeviceProtocol)(nil)).Elem()
minAPIVersionForType["DeviceProtocol"] = "8.0.1.0"
@@ -1472,11 +2215,24 @@ const (
DiagnosticManagerLogCreatorRecordLog = DiagnosticManagerLogCreator("recordLog")
)
+func (e DiagnosticManagerLogCreator) Values() []DiagnosticManagerLogCreator {
+ return []DiagnosticManagerLogCreator{
+ DiagnosticManagerLogCreatorVpxd,
+ DiagnosticManagerLogCreatorVpxa,
+ DiagnosticManagerLogCreatorHostd,
+ DiagnosticManagerLogCreatorServerd,
+ DiagnosticManagerLogCreatorInstall,
+ DiagnosticManagerLogCreatorVpxClient,
+ DiagnosticManagerLogCreatorRecordLog,
+ }
+}
+
+func (e DiagnosticManagerLogCreator) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DiagnosticManagerLogCreator"] = reflect.TypeOf((*DiagnosticManagerLogCreator)(nil)).Elem()
- minAPIVersionForEnumValue["DiagnosticManagerLogCreator"] = map[string]string{
- "recordLog": "2.5",
- }
}
// Constants for defined formats.
@@ -1489,6 +2245,16 @@ const (
DiagnosticManagerLogFormatPlain = DiagnosticManagerLogFormat("plain")
)
+func (e DiagnosticManagerLogFormat) Values() []DiagnosticManagerLogFormat {
+ return []DiagnosticManagerLogFormat{
+ DiagnosticManagerLogFormatPlain,
+ }
+}
+
+func (e DiagnosticManagerLogFormat) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DiagnosticManagerLogFormat"] = reflect.TypeOf((*DiagnosticManagerLogFormat)(nil)).Elem()
}
@@ -1506,6 +2272,17 @@ const (
DiagnosticPartitionStorageTypeNetworkAttached = DiagnosticPartitionStorageType("networkAttached")
)
+func (e DiagnosticPartitionStorageType) Values() []DiagnosticPartitionStorageType {
+ return []DiagnosticPartitionStorageType{
+ DiagnosticPartitionStorageTypeDirectAttached,
+ DiagnosticPartitionStorageTypeNetworkAttached,
+ }
+}
+
+func (e DiagnosticPartitionStorageType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DiagnosticPartitionStorageType"] = reflect.TypeOf((*DiagnosticPartitionStorageType)(nil)).Elem()
}
@@ -1522,10 +2299,22 @@ const (
DiagnosticPartitionTypeMultiHost = DiagnosticPartitionType("multiHost")
)
+func (e DiagnosticPartitionType) Values() []DiagnosticPartitionType {
+ return []DiagnosticPartitionType{
+ DiagnosticPartitionTypeSingleHost,
+ DiagnosticPartitionTypeMultiHost,
+ }
+}
+
+func (e DiagnosticPartitionType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DiagnosticPartitionType"] = reflect.TypeOf((*DiagnosticPartitionType)(nil)).Elem()
}
+// The disallowed change type.
type DisallowedChangeByServiceDisallowedChange string
const (
@@ -1533,12 +2322,22 @@ const (
DisallowedChangeByServiceDisallowedChangeHotExtendDisk = DisallowedChangeByServiceDisallowedChange("hotExtendDisk")
)
+func (e DisallowedChangeByServiceDisallowedChange) Values() []DisallowedChangeByServiceDisallowedChange {
+ return []DisallowedChangeByServiceDisallowedChange{
+ DisallowedChangeByServiceDisallowedChangeHotExtendDisk,
+ }
+}
+
+func (e DisallowedChangeByServiceDisallowedChange) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DisallowedChangeByServiceDisallowedChange"] = reflect.TypeOf((*DisallowedChangeByServiceDisallowedChange)(nil)).Elem()
- minAPIVersionForType["DisallowedChangeByServiceDisallowedChange"] = "5.0"
}
// The `DistributedVirtualPortgroupBackingType_enum` enum defines
+// the distributed virtual portgroup backing type.
type DistributedVirtualPortgroupBackingType string
const (
@@ -1554,12 +2353,23 @@ const (
DistributedVirtualPortgroupBackingTypeNsx = DistributedVirtualPortgroupBackingType("nsx")
)
+func (e DistributedVirtualPortgroupBackingType) Values() []DistributedVirtualPortgroupBackingType {
+ return []DistributedVirtualPortgroupBackingType{
+ DistributedVirtualPortgroupBackingTypeStandard,
+ DistributedVirtualPortgroupBackingTypeNsx,
+ }
+}
+
+func (e DistributedVirtualPortgroupBackingType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualPortgroupBackingType"] = reflect.TypeOf((*DistributedVirtualPortgroupBackingType)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualPortgroupBackingType"] = "7.0"
}
// The meta tag names recognizable in the
+// `DVPortgroupConfigInfo.portNameFormat` string.
type DistributedVirtualPortgroupMetaTagName string
const (
@@ -1571,9 +2381,20 @@ const (
DistributedVirtualPortgroupMetaTagNamePortIndex = DistributedVirtualPortgroupMetaTagName("portIndex")
)
+func (e DistributedVirtualPortgroupMetaTagName) Values() []DistributedVirtualPortgroupMetaTagName {
+ return []DistributedVirtualPortgroupMetaTagName{
+ DistributedVirtualPortgroupMetaTagNameDvsName,
+ DistributedVirtualPortgroupMetaTagNamePortgroupName,
+ DistributedVirtualPortgroupMetaTagNamePortIndex,
+ }
+}
+
+func (e DistributedVirtualPortgroupMetaTagName) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualPortgroupMetaTagName"] = reflect.TypeOf((*DistributedVirtualPortgroupMetaTagName)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualPortgroupMetaTagName"] = "4.0"
}
// The `DistributedVirtualPortgroupPortgroupType_enum` enum defines
@@ -1582,6 +2403,7 @@ func init() {
//
// Early binding specifies a static set of ports that are created
// when you create the distributed virtual portgroup. An ephemeral portgroup uses dynamic
+// ports that are created when you power on a virtual machine.
type DistributedVirtualPortgroupPortgroupType string
const (
@@ -1589,8 +2411,6 @@ const (
// a `VirtualMachine` when the virtual machine is reconfigured to
// connect to the portgroup.
DistributedVirtualPortgroupPortgroupTypeEarlyBinding = DistributedVirtualPortgroupPortgroupType("earlyBinding")
- //
- //
// Deprecated as of vSphere API 5.0.
//
// A free `DistributedVirtualPort` will be selected and
@@ -1609,11 +2429,23 @@ const (
DistributedVirtualPortgroupPortgroupTypeEphemeral = DistributedVirtualPortgroupPortgroupType("ephemeral")
)
+func (e DistributedVirtualPortgroupPortgroupType) Values() []DistributedVirtualPortgroupPortgroupType {
+ return []DistributedVirtualPortgroupPortgroupType{
+ DistributedVirtualPortgroupPortgroupTypeEarlyBinding,
+ DistributedVirtualPortgroupPortgroupTypeLateBinding,
+ DistributedVirtualPortgroupPortgroupTypeEphemeral,
+ }
+}
+
+func (e DistributedVirtualPortgroupPortgroupType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualPortgroupPortgroupType"] = reflect.TypeOf((*DistributedVirtualPortgroupPortgroupType)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualPortgroupPortgroupType"] = "4.0"
}
+// List of possible host infrastructure traffic classes
type DistributedVirtualSwitchHostInfrastructureTrafficClass string
const (
@@ -1641,16 +2473,35 @@ const (
DistributedVirtualSwitchHostInfrastructureTrafficClassNvmetcp = DistributedVirtualSwitchHostInfrastructureTrafficClass("nvmetcp")
)
+func (e DistributedVirtualSwitchHostInfrastructureTrafficClass) Values() []DistributedVirtualSwitchHostInfrastructureTrafficClass {
+ return []DistributedVirtualSwitchHostInfrastructureTrafficClass{
+ DistributedVirtualSwitchHostInfrastructureTrafficClassManagement,
+ DistributedVirtualSwitchHostInfrastructureTrafficClassFaultTolerance,
+ DistributedVirtualSwitchHostInfrastructureTrafficClassVmotion,
+ DistributedVirtualSwitchHostInfrastructureTrafficClassVirtualMachine,
+ DistributedVirtualSwitchHostInfrastructureTrafficClassISCSI,
+ DistributedVirtualSwitchHostInfrastructureTrafficClassNfs,
+ DistributedVirtualSwitchHostInfrastructureTrafficClassHbr,
+ DistributedVirtualSwitchHostInfrastructureTrafficClassVsan,
+ DistributedVirtualSwitchHostInfrastructureTrafficClassVdp,
+ DistributedVirtualSwitchHostInfrastructureTrafficClassBackupNfc,
+ DistributedVirtualSwitchHostInfrastructureTrafficClassNvmetcp,
+ }
+}
+
+func (e DistributedVirtualSwitchHostInfrastructureTrafficClass) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualSwitchHostInfrastructureTrafficClass"] = reflect.TypeOf((*DistributedVirtualSwitchHostInfrastructureTrafficClass)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostInfrastructureTrafficClass"] = "5.5"
minAPIVersionForEnumValue["DistributedVirtualSwitchHostInfrastructureTrafficClass"] = map[string]string{
- "vdp": "6.0",
"backupNfc": "7.0.1.0",
"nvmetcp": "7.0.3.0",
}
}
+// Describes the state of the host proxy switch.
type DistributedVirtualSwitchHostMemberHostComponentState string
const (
@@ -1669,9 +2520,23 @@ const (
DistributedVirtualSwitchHostMemberHostComponentStateDown = DistributedVirtualSwitchHostMemberHostComponentState("down")
)
+func (e DistributedVirtualSwitchHostMemberHostComponentState) Values() []DistributedVirtualSwitchHostMemberHostComponentState {
+ return []DistributedVirtualSwitchHostMemberHostComponentState{
+ DistributedVirtualSwitchHostMemberHostComponentStateUp,
+ DistributedVirtualSwitchHostMemberHostComponentStatePending,
+ DistributedVirtualSwitchHostMemberHostComponentStateOutOfSync,
+ DistributedVirtualSwitchHostMemberHostComponentStateWarning,
+ DistributedVirtualSwitchHostMemberHostComponentStateDisconnected,
+ DistributedVirtualSwitchHostMemberHostComponentStateDown,
+ }
+}
+
+func (e DistributedVirtualSwitchHostMemberHostComponentState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualSwitchHostMemberHostComponentState"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberHostComponentState)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostMemberHostComponentState"] = "4.0"
}
// Describe the runtime state of the uplink.
@@ -1682,10 +2547,22 @@ const (
DistributedVirtualSwitchHostMemberHostUplinkStateStateStandby = DistributedVirtualSwitchHostMemberHostUplinkStateState("standby")
)
+func (e DistributedVirtualSwitchHostMemberHostUplinkStateState) Values() []DistributedVirtualSwitchHostMemberHostUplinkStateState {
+ return []DistributedVirtualSwitchHostMemberHostUplinkStateState{
+ DistributedVirtualSwitchHostMemberHostUplinkStateStateActive,
+ DistributedVirtualSwitchHostMemberHostUplinkStateStateStandby,
+ }
+}
+
+func (e DistributedVirtualSwitchHostMemberHostUplinkStateState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualSwitchHostMemberHostUplinkStateState"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberHostUplinkStateState)(nil)).Elem()
}
+// Transport zone type.
type DistributedVirtualSwitchHostMemberTransportZoneType string
const (
@@ -1695,11 +2572,22 @@ const (
DistributedVirtualSwitchHostMemberTransportZoneTypeOverlay = DistributedVirtualSwitchHostMemberTransportZoneType("overlay")
)
+func (e DistributedVirtualSwitchHostMemberTransportZoneType) Values() []DistributedVirtualSwitchHostMemberTransportZoneType {
+ return []DistributedVirtualSwitchHostMemberTransportZoneType{
+ DistributedVirtualSwitchHostMemberTransportZoneTypeVlan,
+ DistributedVirtualSwitchHostMemberTransportZoneTypeOverlay,
+ }
+}
+
+func (e DistributedVirtualSwitchHostMemberTransportZoneType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualSwitchHostMemberTransportZoneType"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberTransportZoneType)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostMemberTransportZoneType"] = "7.0"
}
+// Network resource control version types.
type DistributedVirtualSwitchNetworkResourceControlVersion string
const (
@@ -1709,15 +2597,26 @@ const (
DistributedVirtualSwitchNetworkResourceControlVersionVersion3 = DistributedVirtualSwitchNetworkResourceControlVersion("version3")
)
+func (e DistributedVirtualSwitchNetworkResourceControlVersion) Values() []DistributedVirtualSwitchNetworkResourceControlVersion {
+ return []DistributedVirtualSwitchNetworkResourceControlVersion{
+ DistributedVirtualSwitchNetworkResourceControlVersionVersion2,
+ DistributedVirtualSwitchNetworkResourceControlVersionVersion3,
+ }
+}
+
+func (e DistributedVirtualSwitchNetworkResourceControlVersion) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualSwitchNetworkResourceControlVersion"] = reflect.TypeOf((*DistributedVirtualSwitchNetworkResourceControlVersion)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchNetworkResourceControlVersion"] = "6.0"
}
// List of possible teaming modes supported by the vNetwork Distributed
// Switch.
//
// The different policy modes define the way traffic is routed
+// through the different uplink ports in a team.
type DistributedVirtualSwitchNicTeamingPolicyMode string
const (
@@ -1738,11 +2637,25 @@ const (
DistributedVirtualSwitchNicTeamingPolicyModeLoadbalance_loadbased = DistributedVirtualSwitchNicTeamingPolicyMode("loadbalance_loadbased")
)
+func (e DistributedVirtualSwitchNicTeamingPolicyMode) Values() []DistributedVirtualSwitchNicTeamingPolicyMode {
+ return []DistributedVirtualSwitchNicTeamingPolicyMode{
+ DistributedVirtualSwitchNicTeamingPolicyModeLoadbalance_ip,
+ DistributedVirtualSwitchNicTeamingPolicyModeLoadbalance_srcmac,
+ DistributedVirtualSwitchNicTeamingPolicyModeLoadbalance_srcid,
+ DistributedVirtualSwitchNicTeamingPolicyModeFailover_explicit,
+ DistributedVirtualSwitchNicTeamingPolicyModeLoadbalance_loadbased,
+ }
+}
+
+func (e DistributedVirtualSwitchNicTeamingPolicyMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualSwitchNicTeamingPolicyMode"] = reflect.TypeOf((*DistributedVirtualSwitchNicTeamingPolicyMode)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchNicTeamingPolicyMode"] = "4.1"
}
+// The connectee types.
type DistributedVirtualSwitchPortConnecteeConnecteeType string
const (
@@ -1758,14 +2671,28 @@ const (
DistributedVirtualSwitchPortConnecteeConnecteeTypeSystemCrxVnic = DistributedVirtualSwitchPortConnecteeConnecteeType("systemCrxVnic")
)
+func (e DistributedVirtualSwitchPortConnecteeConnecteeType) Values() []DistributedVirtualSwitchPortConnecteeConnecteeType {
+ return []DistributedVirtualSwitchPortConnecteeConnecteeType{
+ DistributedVirtualSwitchPortConnecteeConnecteeTypePnic,
+ DistributedVirtualSwitchPortConnecteeConnecteeTypeVmVnic,
+ DistributedVirtualSwitchPortConnecteeConnecteeTypeHostConsoleVnic,
+ DistributedVirtualSwitchPortConnecteeConnecteeTypeHostVmkVnic,
+ DistributedVirtualSwitchPortConnecteeConnecteeTypeSystemCrxVnic,
+ }
+}
+
+func (e DistributedVirtualSwitchPortConnecteeConnecteeType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualSwitchPortConnecteeConnecteeType"] = reflect.TypeOf((*DistributedVirtualSwitchPortConnecteeConnecteeType)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchPortConnecteeConnecteeType"] = "4.0"
minAPIVersionForEnumValue["DistributedVirtualSwitchPortConnecteeConnecteeType"] = map[string]string{
"systemCrxVnic": "8.0.1.0",
}
}
+// The product spec operation types.
type DistributedVirtualSwitchProductSpecOperationType string
const (
@@ -1810,9 +2737,22 @@ const (
DistributedVirtualSwitchProductSpecOperationTypeUpdateBundleInfo = DistributedVirtualSwitchProductSpecOperationType("updateBundleInfo")
)
+func (e DistributedVirtualSwitchProductSpecOperationType) Values() []DistributedVirtualSwitchProductSpecOperationType {
+ return []DistributedVirtualSwitchProductSpecOperationType{
+ DistributedVirtualSwitchProductSpecOperationTypePreInstall,
+ DistributedVirtualSwitchProductSpecOperationTypeUpgrade,
+ DistributedVirtualSwitchProductSpecOperationTypeNotifyAvailableUpgrade,
+ DistributedVirtualSwitchProductSpecOperationTypeProceedWithUpgrade,
+ DistributedVirtualSwitchProductSpecOperationTypeUpdateBundleInfo,
+ }
+}
+
+func (e DistributedVirtualSwitchProductSpecOperationType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DistributedVirtualSwitchProductSpecOperationType"] = reflect.TypeOf((*DistributedVirtualSwitchProductSpecOperationType)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchProductSpecOperationType"] = "4.0"
}
type DpmBehavior string
@@ -1828,9 +2768,19 @@ const (
DpmBehaviorAutomated = DpmBehavior("automated")
)
+func (e DpmBehavior) Values() []DpmBehavior {
+ return []DpmBehavior{
+ DpmBehaviorManual,
+ DpmBehaviorAutomated,
+ }
+}
+
+func (e DpmBehavior) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DpmBehavior"] = reflect.TypeOf((*DpmBehavior)(nil)).Elem()
- minAPIVersionForType["DpmBehavior"] = "2.5"
}
type DrsBehavior string
@@ -1849,11 +2799,24 @@ const (
DrsBehaviorFullyAutomated = DrsBehavior("fullyAutomated")
)
+func (e DrsBehavior) Values() []DrsBehavior {
+ return []DrsBehavior{
+ DrsBehaviorManual,
+ DrsBehaviorPartiallyAutomated,
+ DrsBehaviorFullyAutomated,
+ }
+}
+
+func (e DrsBehavior) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DrsBehavior"] = reflect.TypeOf((*DrsBehavior)(nil)).Elem()
}
// Correlation state as computed by storageRM
+// module on host.
type DrsInjectorWorkloadCorrelationState string
const (
@@ -1861,9 +2824,19 @@ const (
DrsInjectorWorkloadCorrelationStateUncorrelated = DrsInjectorWorkloadCorrelationState("Uncorrelated")
)
+func (e DrsInjectorWorkloadCorrelationState) Values() []DrsInjectorWorkloadCorrelationState {
+ return []DrsInjectorWorkloadCorrelationState{
+ DrsInjectorWorkloadCorrelationStateCorrelated,
+ DrsInjectorWorkloadCorrelationStateUncorrelated,
+ }
+}
+
+func (e DrsInjectorWorkloadCorrelationState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DrsInjectorWorkloadCorrelationState"] = reflect.TypeOf((*DrsInjectorWorkloadCorrelationState)(nil)).Elem()
- minAPIVersionForType["DrsInjectorWorkloadCorrelationState"] = "5.1"
}
// Deprecated as of VI API 2.5 use `RecommendationReasonCode_enum`.
@@ -1884,10 +2857,25 @@ const (
DrsRecommendationReasonCodeHostMaint = DrsRecommendationReasonCode("hostMaint")
)
+func (e DrsRecommendationReasonCode) Values() []DrsRecommendationReasonCode {
+ return []DrsRecommendationReasonCode{
+ DrsRecommendationReasonCodeFairnessCpuAvg,
+ DrsRecommendationReasonCodeFairnessMemAvg,
+ DrsRecommendationReasonCodeJointAffin,
+ DrsRecommendationReasonCodeAntiAffin,
+ DrsRecommendationReasonCodeHostMaint,
+ }
+}
+
+func (e DrsRecommendationReasonCode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DrsRecommendationReasonCode"] = reflect.TypeOf((*DrsRecommendationReasonCode)(nil)).Elem()
}
+// The port blocked/unblocked state.
type DvsEventPortBlockState string
const (
@@ -1901,15 +2889,28 @@ const (
DvsEventPortBlockStateUnknown = DvsEventPortBlockState("unknown")
)
+func (e DvsEventPortBlockState) Values() []DvsEventPortBlockState {
+ return []DvsEventPortBlockState{
+ DvsEventPortBlockStateUnset,
+ DvsEventPortBlockStateBlocked,
+ DvsEventPortBlockStateUnblocked,
+ DvsEventPortBlockStateUnknown,
+ }
+}
+
+func (e DvsEventPortBlockState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DvsEventPortBlockState"] = reflect.TypeOf((*DvsEventPortBlockState)(nil)).Elem()
- minAPIVersionForType["DvsEventPortBlockState"] = "6.5"
}
// Network Filter on Failure Type.
//
// It specifies whether all the
// packets will be allowed or all the packets will be denied when
+// Filter fails to configure.
type DvsFilterOnFailure string
const (
@@ -1919,14 +2920,25 @@ const (
DvsFilterOnFailureFailClosed = DvsFilterOnFailure("failClosed")
)
+func (e DvsFilterOnFailure) Values() []DvsFilterOnFailure {
+ return []DvsFilterOnFailure{
+ DvsFilterOnFailureFailOpen,
+ DvsFilterOnFailureFailClosed,
+ }
+}
+
+func (e DvsFilterOnFailure) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DvsFilterOnFailure"] = reflect.TypeOf((*DvsFilterOnFailure)(nil)).Elem()
- minAPIVersionForType["DvsFilterOnFailure"] = "5.5"
}
// Network Traffic Rule direction types.
//
// It specifies whether rule
+// needs to be applied for packets which are incoming/outgoing or both.
type DvsNetworkRuleDirectionType string
const (
@@ -1941,13 +2953,25 @@ const (
DvsNetworkRuleDirectionTypeBoth = DvsNetworkRuleDirectionType("both")
)
+func (e DvsNetworkRuleDirectionType) Values() []DvsNetworkRuleDirectionType {
+ return []DvsNetworkRuleDirectionType{
+ DvsNetworkRuleDirectionTypeIncomingPackets,
+ DvsNetworkRuleDirectionTypeOutgoingPackets,
+ DvsNetworkRuleDirectionTypeBoth,
+ }
+}
+
+func (e DvsNetworkRuleDirectionType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["DvsNetworkRuleDirectionType"] = reflect.TypeOf((*DvsNetworkRuleDirectionType)(nil)).Elem()
- minAPIVersionForType["DvsNetworkRuleDirectionType"] = "5.5"
}
// The `EntityImportType_enum` enum defines the import type for a
// `DistributedVirtualSwitchManager*.*DistributedVirtualSwitchManager.DVSManagerImportEntity_Task`
+// operation.
type EntityImportType string
const (
@@ -1994,13 +3018,25 @@ const (
EntityImportTypeApplyToEntitySpecified = EntityImportType("applyToEntitySpecified")
)
+func (e EntityImportType) Values() []EntityImportType {
+ return []EntityImportType{
+ EntityImportTypeCreateEntityWithNewIdentifier,
+ EntityImportTypeCreateEntityWithOriginalIdentifier,
+ EntityImportTypeApplyToEntitySpecified,
+ }
+}
+
+func (e EntityImportType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["EntityImportType"] = reflect.TypeOf((*EntityImportType)(nil)).Elem()
- minAPIVersionForType["EntityImportType"] = "5.1"
}
// The `EntityType_enum` enum identifies
// the type of entity that was exported
+// (`DistributedVirtualSwitchManager.DVSManagerExportEntity_Task`).
type EntityType string
const (
@@ -2010,11 +3046,22 @@ const (
EntityTypeDistributedVirtualPortgroup = EntityType("distributedVirtualPortgroup")
)
+func (e EntityType) Values() []EntityType {
+ return []EntityType{
+ EntityTypeDistributedVirtualSwitch,
+ EntityTypeDistributedVirtualPortgroup,
+ }
+}
+
+func (e EntityType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["EntityType"] = reflect.TypeOf((*EntityType)(nil)).Elem()
- minAPIVersionForType["EntityType"] = "5.1"
}
+// Basic Comparison operators
type EventAlarmExpressionComparisonOperator string
const (
@@ -2032,9 +3079,23 @@ const (
EventAlarmExpressionComparisonOperatorDoesNotEndWith = EventAlarmExpressionComparisonOperator("doesNotEndWith")
)
+func (e EventAlarmExpressionComparisonOperator) Values() []EventAlarmExpressionComparisonOperator {
+ return []EventAlarmExpressionComparisonOperator{
+ EventAlarmExpressionComparisonOperatorEquals,
+ EventAlarmExpressionComparisonOperatorNotEqualTo,
+ EventAlarmExpressionComparisonOperatorStartsWith,
+ EventAlarmExpressionComparisonOperatorDoesNotStartWith,
+ EventAlarmExpressionComparisonOperatorEndsWith,
+ EventAlarmExpressionComparisonOperatorDoesNotEndWith,
+ }
+}
+
+func (e EventAlarmExpressionComparisonOperator) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["EventAlarmExpressionComparisonOperator"] = reflect.TypeOf((*EventAlarmExpressionComparisonOperator)(nil)).Elem()
- minAPIVersionForType["EventAlarmExpressionComparisonOperator"] = "4.0"
}
type EventCategory string
@@ -2050,10 +3111,24 @@ const (
EventCategoryUser = EventCategory("user")
)
+func (e EventCategory) Values() []EventCategory {
+ return []EventCategory{
+ EventCategoryInfo,
+ EventCategoryWarning,
+ EventCategoryError,
+ EventCategoryUser,
+ }
+}
+
+func (e EventCategory) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["EventCategory"] = reflect.TypeOf((*EventCategory)(nil)).Elem()
}
+// Severity level constants.
type EventEventSeverity string
const (
@@ -2067,9 +3142,21 @@ const (
EventEventSeverityUser = EventEventSeverity("user")
)
+func (e EventEventSeverity) Values() []EventEventSeverity {
+ return []EventEventSeverity{
+ EventEventSeverityError,
+ EventEventSeverityWarning,
+ EventEventSeverityInfo,
+ EventEventSeverityUser,
+ }
+}
+
+func (e EventEventSeverity) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["EventEventSeverity"] = reflect.TypeOf((*EventEventSeverity)(nil)).Elem()
- minAPIVersionForType["EventEventSeverity"] = "4.0"
}
// This option specifies how to select events based on child relationships
@@ -2093,6 +3180,18 @@ const (
EventFilterSpecRecursionOptionAll = EventFilterSpecRecursionOption("all")
)
+func (e EventFilterSpecRecursionOption) Values() []EventFilterSpecRecursionOption {
+ return []EventFilterSpecRecursionOption{
+ EventFilterSpecRecursionOptionSelf,
+ EventFilterSpecRecursionOptionChildren,
+ EventFilterSpecRecursionOptionAll,
+ }
+}
+
+func (e EventFilterSpecRecursionOption) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["EventFilterSpecRecursionOption"] = reflect.TypeOf((*EventFilterSpecRecursionOption)(nil)).Elem()
}
@@ -2107,6 +3206,19 @@ const (
FibreChannelPortTypeUnknown = FibreChannelPortType("unknown")
)
+func (e FibreChannelPortType) Values() []FibreChannelPortType {
+ return []FibreChannelPortType{
+ FibreChannelPortTypeFabric,
+ FibreChannelPortTypeLoop,
+ FibreChannelPortTypePointToPoint,
+ FibreChannelPortTypeUnknown,
+ }
+}
+
+func (e FibreChannelPortType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["FibreChannelPortType"] = reflect.TypeOf((*FibreChannelPortType)(nil)).Elem()
}
@@ -2119,6 +3231,7 @@ func init() {
// As the ESX host attempts hardware-accelerated operations,
// it determines whether the storage device supports hardware
// acceleration and sets the `HostFileSystemMountInfo.vStorageSupport`
+// property accordingly.
type FileSystemMountInfoVStorageSupportStatus string
const (
@@ -2135,9 +3248,20 @@ const (
FileSystemMountInfoVStorageSupportStatusVStorageUnknown = FileSystemMountInfoVStorageSupportStatus("vStorageUnknown")
)
+func (e FileSystemMountInfoVStorageSupportStatus) Values() []FileSystemMountInfoVStorageSupportStatus {
+ return []FileSystemMountInfoVStorageSupportStatus{
+ FileSystemMountInfoVStorageSupportStatusVStorageSupported,
+ FileSystemMountInfoVStorageSupportStatusVStorageUnsupported,
+ FileSystemMountInfoVStorageSupportStatusVStorageUnknown,
+ }
+}
+
+func (e FileSystemMountInfoVStorageSupportStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["FileSystemMountInfoVStorageSupportStatus"] = reflect.TypeOf((*FileSystemMountInfoVStorageSupportStatus)(nil)).Elem()
- minAPIVersionForType["FileSystemMountInfoVStorageSupportStatus"] = "4.1"
}
type FolderDesiredHostState string
@@ -2149,11 +3273,22 @@ const (
FolderDesiredHostStateNon_maintenance = FolderDesiredHostState("non_maintenance")
)
+func (e FolderDesiredHostState) Values() []FolderDesiredHostState {
+ return []FolderDesiredHostState{
+ FolderDesiredHostStateMaintenance,
+ FolderDesiredHostStateNon_maintenance,
+ }
+}
+
+func (e FolderDesiredHostState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["FolderDesiredHostState"] = reflect.TypeOf((*FolderDesiredHostState)(nil)).Elem()
- minAPIVersionForType["FolderDesiredHostState"] = "6.7.1"
}
+// HostSelectionType defines how the host was selected
type FtIssuesOnHostHostSelectionType string
const (
@@ -2165,9 +3300,20 @@ const (
FtIssuesOnHostHostSelectionTypeDrs = FtIssuesOnHostHostSelectionType("drs")
)
+func (e FtIssuesOnHostHostSelectionType) Values() []FtIssuesOnHostHostSelectionType {
+ return []FtIssuesOnHostHostSelectionType{
+ FtIssuesOnHostHostSelectionTypeUser,
+ FtIssuesOnHostHostSelectionTypeVc,
+ FtIssuesOnHostHostSelectionTypeDrs,
+ }
+}
+
+func (e FtIssuesOnHostHostSelectionType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["FtIssuesOnHostHostSelectionType"] = reflect.TypeOf((*FtIssuesOnHostHostSelectionType)(nil)).Elem()
- minAPIVersionForType["FtIssuesOnHostHostSelectionType"] = "4.0"
}
type GuestFileType string
@@ -2182,11 +3328,23 @@ const (
GuestFileTypeSymlink = GuestFileType("symlink")
)
+func (e GuestFileType) Values() []GuestFileType {
+ return []GuestFileType{
+ GuestFileTypeFile,
+ GuestFileTypeDirectory,
+ GuestFileTypeSymlink,
+ }
+}
+
+func (e GuestFileType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["GuestFileType"] = reflect.TypeOf((*GuestFileType)(nil)).Elem()
- minAPIVersionForType["GuestFileType"] = "5.0"
}
+// Application state type.
type GuestInfoAppStateType string
const (
@@ -2201,9 +3359,20 @@ const (
GuestInfoAppStateTypeAppStateNeedReset = GuestInfoAppStateType("appStateNeedReset")
)
+func (e GuestInfoAppStateType) Values() []GuestInfoAppStateType {
+ return []GuestInfoAppStateType{
+ GuestInfoAppStateTypeNone,
+ GuestInfoAppStateTypeAppStateOk,
+ GuestInfoAppStateTypeAppStateNeedReset,
+ }
+}
+
+func (e GuestInfoAppStateType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["GuestInfoAppStateType"] = reflect.TypeOf((*GuestInfoAppStateType)(nil)).Elem()
- minAPIVersionForType["GuestInfoAppStateType"] = "5.5"
}
type GuestInfoCustomizationStatus string
@@ -2223,11 +3392,26 @@ const (
GuestInfoCustomizationStatusTOOLSDEPLOYPKG_FAILED = GuestInfoCustomizationStatus("TOOLSDEPLOYPKG_FAILED")
)
+func (e GuestInfoCustomizationStatus) Values() []GuestInfoCustomizationStatus {
+ return []GuestInfoCustomizationStatus{
+ GuestInfoCustomizationStatusTOOLSDEPLOYPKG_IDLE,
+ GuestInfoCustomizationStatusTOOLSDEPLOYPKG_PENDING,
+ GuestInfoCustomizationStatusTOOLSDEPLOYPKG_RUNNING,
+ GuestInfoCustomizationStatusTOOLSDEPLOYPKG_SUCCEEDED,
+ GuestInfoCustomizationStatusTOOLSDEPLOYPKG_FAILED,
+ }
+}
+
+func (e GuestInfoCustomizationStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["GuestInfoCustomizationStatus"] = reflect.TypeOf((*GuestInfoCustomizationStatus)(nil)).Elem()
minAPIVersionForType["GuestInfoCustomizationStatus"] = "7.0.2.0"
}
+// Firmware types
type GuestOsDescriptorFirmwareType string
const (
@@ -2237,11 +3421,22 @@ const (
GuestOsDescriptorFirmwareTypeEfi = GuestOsDescriptorFirmwareType("efi")
)
-func init() {
+func (e GuestOsDescriptorFirmwareType) Values() []GuestOsDescriptorFirmwareType {
+ return []GuestOsDescriptorFirmwareType{
+ GuestOsDescriptorFirmwareTypeBios,
+ GuestOsDescriptorFirmwareTypeEfi,
+ }
+}
+
+func (e GuestOsDescriptorFirmwareType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
t["GuestOsDescriptorFirmwareType"] = reflect.TypeOf((*GuestOsDescriptorFirmwareType)(nil)).Elem()
- minAPIVersionForType["GuestOsDescriptorFirmwareType"] = "5.0"
}
+// Guest OS support level
type GuestOsDescriptorSupportLevel string
const (
@@ -2266,14 +3461,24 @@ const (
GuestOsDescriptorSupportLevelTechPreview = GuestOsDescriptorSupportLevel("techPreview")
)
+func (e GuestOsDescriptorSupportLevel) Values() []GuestOsDescriptorSupportLevel {
+ return []GuestOsDescriptorSupportLevel{
+ GuestOsDescriptorSupportLevelExperimental,
+ GuestOsDescriptorSupportLevelLegacy,
+ GuestOsDescriptorSupportLevelTerminated,
+ GuestOsDescriptorSupportLevelSupported,
+ GuestOsDescriptorSupportLevelUnsupported,
+ GuestOsDescriptorSupportLevelDeprecated,
+ GuestOsDescriptorSupportLevelTechPreview,
+ }
+}
+
+func (e GuestOsDescriptorSupportLevel) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["GuestOsDescriptorSupportLevel"] = reflect.TypeOf((*GuestOsDescriptorSupportLevel)(nil)).Elem()
- minAPIVersionForType["GuestOsDescriptorSupportLevel"] = "5.0"
- minAPIVersionForEnumValue["GuestOsDescriptorSupportLevel"] = map[string]string{
- "unsupported": "5.1",
- "deprecated": "5.1",
- "techPreview": "5.1",
- }
}
// End guest quiesce phase error types.
@@ -2284,6 +3489,16 @@ const (
GuestQuiesceEndGuestQuiesceErrorFailure = GuestQuiesceEndGuestQuiesceError("failure")
)
+func (e GuestQuiesceEndGuestQuiesceError) Values() []GuestQuiesceEndGuestQuiesceError {
+ return []GuestQuiesceEndGuestQuiesceError{
+ GuestQuiesceEndGuestQuiesceErrorFailure,
+ }
+}
+
+func (e GuestQuiesceEndGuestQuiesceError) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["GuestQuiesceEndGuestQuiesceError"] = reflect.TypeOf((*GuestQuiesceEndGuestQuiesceError)(nil)).Elem()
}
@@ -2295,6 +3510,7 @@ func init() {
// that allows 32-bit Windows-based applications to run seamlessly on
// 64-bit Windows. Please refer to these MSDN sites for more details:
// http://msdn.microsoft.com/en-us/library/aa384249(v=vs.85).aspx and
+// http://msdn.microsoft.com/en-us/library/aa384253(v=vs.85).aspx
type GuestRegKeyWowSpec string
const (
@@ -2308,9 +3524,20 @@ const (
GuestRegKeyWowSpecWOW64 = GuestRegKeyWowSpec("WOW64")
)
+func (e GuestRegKeyWowSpec) Values() []GuestRegKeyWowSpec {
+ return []GuestRegKeyWowSpec{
+ GuestRegKeyWowSpecWOWNative,
+ GuestRegKeyWowSpecWOW32,
+ GuestRegKeyWowSpecWOW64,
+ }
+}
+
+func (e GuestRegKeyWowSpec) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["GuestRegKeyWowSpec"] = reflect.TypeOf((*GuestRegKeyWowSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegKeyWowSpec"] = "6.0"
}
type HealthUpdateInfoComponentType string
@@ -2323,9 +3550,22 @@ const (
HealthUpdateInfoComponentTypeStorage = HealthUpdateInfoComponentType("Storage")
)
+func (e HealthUpdateInfoComponentType) Values() []HealthUpdateInfoComponentType {
+ return []HealthUpdateInfoComponentType{
+ HealthUpdateInfoComponentTypeMemory,
+ HealthUpdateInfoComponentTypePower,
+ HealthUpdateInfoComponentTypeFan,
+ HealthUpdateInfoComponentTypeNetwork,
+ HealthUpdateInfoComponentTypeStorage,
+ }
+}
+
+func (e HealthUpdateInfoComponentType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HealthUpdateInfoComponentType"] = reflect.TypeOf((*HealthUpdateInfoComponentType)(nil)).Elem()
- minAPIVersionForType["HealthUpdateInfoComponentType"] = "6.5"
}
// Defines different access modes that a user may have on the host for
@@ -2333,6 +3573,7 @@ func init() {
//
// The assumption here is that when the host is managed by vCenter,
// we don't need fine-grained control on local user permissions like the
+// interface provided by `AuthorizationManager`.
type HostAccessMode string
const (
@@ -2371,9 +3612,22 @@ const (
HostAccessModeAccessOther = HostAccessMode("accessOther")
)
+func (e HostAccessMode) Values() []HostAccessMode {
+ return []HostAccessMode{
+ HostAccessModeAccessNone,
+ HostAccessModeAccessAdmin,
+ HostAccessModeAccessNoAccess,
+ HostAccessModeAccessReadOnly,
+ HostAccessModeAccessOther,
+ }
+}
+
+func (e HostAccessMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostAccessMode"] = reflect.TypeOf((*HostAccessMode)(nil)).Elem()
- minAPIVersionForType["HostAccessMode"] = "6.0"
}
type HostActiveDirectoryAuthenticationCertificateDigest string
@@ -2382,9 +3636,18 @@ const (
HostActiveDirectoryAuthenticationCertificateDigestSHA1 = HostActiveDirectoryAuthenticationCertificateDigest("SHA1")
)
+func (e HostActiveDirectoryAuthenticationCertificateDigest) Values() []HostActiveDirectoryAuthenticationCertificateDigest {
+ return []HostActiveDirectoryAuthenticationCertificateDigest{
+ HostActiveDirectoryAuthenticationCertificateDigestSHA1,
+ }
+}
+
+func (e HostActiveDirectoryAuthenticationCertificateDigest) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostActiveDirectoryAuthenticationCertificateDigest"] = reflect.TypeOf((*HostActiveDirectoryAuthenticationCertificateDigest)(nil)).Elem()
- minAPIVersionForType["HostActiveDirectoryAuthenticationCertificateDigest"] = "6.0"
}
type HostActiveDirectoryInfoDomainMembershipStatus string
@@ -2409,9 +3672,24 @@ const (
HostActiveDirectoryInfoDomainMembershipStatusOtherProblem = HostActiveDirectoryInfoDomainMembershipStatus("otherProblem")
)
+func (e HostActiveDirectoryInfoDomainMembershipStatus) Values() []HostActiveDirectoryInfoDomainMembershipStatus {
+ return []HostActiveDirectoryInfoDomainMembershipStatus{
+ HostActiveDirectoryInfoDomainMembershipStatusUnknown,
+ HostActiveDirectoryInfoDomainMembershipStatusOk,
+ HostActiveDirectoryInfoDomainMembershipStatusNoServers,
+ HostActiveDirectoryInfoDomainMembershipStatusClientTrustBroken,
+ HostActiveDirectoryInfoDomainMembershipStatusServerTrustBroken,
+ HostActiveDirectoryInfoDomainMembershipStatusInconsistentTrust,
+ HostActiveDirectoryInfoDomainMembershipStatusOtherProblem,
+ }
+}
+
+func (e HostActiveDirectoryInfoDomainMembershipStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostActiveDirectoryInfoDomainMembershipStatus"] = reflect.TypeOf((*HostActiveDirectoryInfoDomainMembershipStatus)(nil)).Elem()
- minAPIVersionForType["HostActiveDirectoryInfoDomainMembershipStatus"] = "4.1"
}
type HostBIOSInfoFirmwareType string
@@ -2421,6 +3699,17 @@ const (
HostBIOSInfoFirmwareTypeUEFI = HostBIOSInfoFirmwareType("UEFI")
)
+func (e HostBIOSInfoFirmwareType) Values() []HostBIOSInfoFirmwareType {
+ return []HostBIOSInfoFirmwareType{
+ HostBIOSInfoFirmwareTypeBIOS,
+ HostBIOSInfoFirmwareTypeUEFI,
+ }
+}
+
+func (e HostBIOSInfoFirmwareType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostBIOSInfoFirmwareType"] = reflect.TypeOf((*HostBIOSInfoFirmwareType)(nil)).Elem()
minAPIVersionForType["HostBIOSInfoFirmwareType"] = "8.0.2.0"
@@ -2430,6 +3719,7 @@ func init() {
// `VmFaultToleranceConfigIssueReasonForIssue_enum`.
//
// Set of possible values for
+// `HostCapability.ftCompatibilityIssues`
type HostCapabilityFtUnsupportedReason string
const (
@@ -2455,17 +3745,29 @@ const (
HostCapabilityFtUnsupportedReasonCpuHvDisabled = HostCapabilityFtUnsupportedReason("cpuHvDisabled")
)
+func (e HostCapabilityFtUnsupportedReason) Values() []HostCapabilityFtUnsupportedReason {
+ return []HostCapabilityFtUnsupportedReason{
+ HostCapabilityFtUnsupportedReasonVMotionNotLicensed,
+ HostCapabilityFtUnsupportedReasonMissingVMotionNic,
+ HostCapabilityFtUnsupportedReasonMissingFTLoggingNic,
+ HostCapabilityFtUnsupportedReasonFtNotLicensed,
+ HostCapabilityFtUnsupportedReasonHaAgentIssue,
+ HostCapabilityFtUnsupportedReasonUnsupportedProduct,
+ HostCapabilityFtUnsupportedReasonCpuHvUnsupported,
+ HostCapabilityFtUnsupportedReasonCpuHwmmuUnsupported,
+ HostCapabilityFtUnsupportedReasonCpuHvDisabled,
+ }
+}
+
+func (e HostCapabilityFtUnsupportedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostCapabilityFtUnsupportedReason"] = reflect.TypeOf((*HostCapabilityFtUnsupportedReason)(nil)).Elem()
- minAPIVersionForType["HostCapabilityFtUnsupportedReason"] = "4.1"
- minAPIVersionForEnumValue["HostCapabilityFtUnsupportedReason"] = map[string]string{
- "unsupportedProduct": "6.0",
- "cpuHvUnsupported": "6.0",
- "cpuHwmmuUnsupported": "6.0",
- "cpuHvDisabled": "6.0",
- }
}
+// Set of VMFS unmap API version.
type HostCapabilityUnmapMethodSupported string
const (
@@ -2478,11 +3780,23 @@ const (
HostCapabilityUnmapMethodSupportedDynamic = HostCapabilityUnmapMethodSupported("dynamic")
)
+func (e HostCapabilityUnmapMethodSupported) Values() []HostCapabilityUnmapMethodSupported {
+ return []HostCapabilityUnmapMethodSupported{
+ HostCapabilityUnmapMethodSupportedPriority,
+ HostCapabilityUnmapMethodSupportedFixed,
+ HostCapabilityUnmapMethodSupportedDynamic,
+ }
+}
+
+func (e HostCapabilityUnmapMethodSupported) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostCapabilityUnmapMethodSupported"] = reflect.TypeOf((*HostCapabilityUnmapMethodSupported)(nil)).Elem()
- minAPIVersionForType["HostCapabilityUnmapMethodSupported"] = "6.7"
}
+// Set of possible values for `HostCapability.vmDirectPathGen2UnsupportedReason`.
type HostCapabilityVmDirectPathGen2UnsupportedReason string
const (
@@ -2498,9 +3812,20 @@ const (
HostCapabilityVmDirectPathGen2UnsupportedReasonHostNptDisabled = HostCapabilityVmDirectPathGen2UnsupportedReason("hostNptDisabled")
)
+func (e HostCapabilityVmDirectPathGen2UnsupportedReason) Values() []HostCapabilityVmDirectPathGen2UnsupportedReason {
+ return []HostCapabilityVmDirectPathGen2UnsupportedReason{
+ HostCapabilityVmDirectPathGen2UnsupportedReasonHostNptIncompatibleProduct,
+ HostCapabilityVmDirectPathGen2UnsupportedReasonHostNptIncompatibleHardware,
+ HostCapabilityVmDirectPathGen2UnsupportedReasonHostNptDisabled,
+ }
+}
+
+func (e HostCapabilityVmDirectPathGen2UnsupportedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostCapabilityVmDirectPathGen2UnsupportedReason"] = reflect.TypeOf((*HostCapabilityVmDirectPathGen2UnsupportedReason)(nil)).Elem()
- minAPIVersionForType["HostCapabilityVmDirectPathGen2UnsupportedReason"] = "4.1"
}
// The status of a given certificate as computed per the soft and the hard
@@ -2522,6 +3847,7 @@ func init() {
// Hard Threshold:
//
// vCenter Server will publish an alarm and indicate via the UI that the
+// certificate expiration is imminent.
type HostCertificateManagerCertificateInfoCertificateStatus string
const (
@@ -2545,9 +3871,23 @@ const (
HostCertificateManagerCertificateInfoCertificateStatusGood = HostCertificateManagerCertificateInfoCertificateStatus("good")
)
+func (e HostCertificateManagerCertificateInfoCertificateStatus) Values() []HostCertificateManagerCertificateInfoCertificateStatus {
+ return []HostCertificateManagerCertificateInfoCertificateStatus{
+ HostCertificateManagerCertificateInfoCertificateStatusUnknown,
+ HostCertificateManagerCertificateInfoCertificateStatusExpired,
+ HostCertificateManagerCertificateInfoCertificateStatusExpiring,
+ HostCertificateManagerCertificateInfoCertificateStatusExpiringShortly,
+ HostCertificateManagerCertificateInfoCertificateStatusExpirationImminent,
+ HostCertificateManagerCertificateInfoCertificateStatusGood,
+ }
+}
+
+func (e HostCertificateManagerCertificateInfoCertificateStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostCertificateManagerCertificateInfoCertificateStatus"] = reflect.TypeOf((*HostCertificateManagerCertificateInfoCertificateStatus)(nil)).Elem()
- minAPIVersionForType["HostCertificateManagerCertificateInfoCertificateStatus"] = "6.0"
}
type HostCertificateManagerCertificateKind string
@@ -2559,6 +3899,17 @@ const (
HostCertificateManagerCertificateKindVASAClient = HostCertificateManagerCertificateKind("VASAClient")
)
+func (e HostCertificateManagerCertificateKind) Values() []HostCertificateManagerCertificateKind {
+ return []HostCertificateManagerCertificateKind{
+ HostCertificateManagerCertificateKindMachine,
+ HostCertificateManagerCertificateKindVASAClient,
+ }
+}
+
+func (e HostCertificateManagerCertificateKind) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostCertificateManagerCertificateKind"] = reflect.TypeOf((*HostCertificateManagerCertificateKind)(nil)).Elem()
minAPIVersionForType["HostCertificateManagerCertificateKind"] = "8.0.1.0"
@@ -2578,6 +3929,17 @@ const (
HostConfigChangeModeReplace = HostConfigChangeMode("replace")
)
+func (e HostConfigChangeMode) Values() []HostConfigChangeMode {
+ return []HostConfigChangeMode{
+ HostConfigChangeModeModify,
+ HostConfigChangeModeReplace,
+ }
+}
+
+func (e HostConfigChangeMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostConfigChangeMode"] = reflect.TypeOf((*HostConfigChangeMode)(nil)).Elem()
}
@@ -2601,11 +3963,21 @@ const (
HostConfigChangeOperationIgnore = HostConfigChangeOperation("ignore")
)
+func (e HostConfigChangeOperation) Values() []HostConfigChangeOperation {
+ return []HostConfigChangeOperation{
+ HostConfigChangeOperationAdd,
+ HostConfigChangeOperationRemove,
+ HostConfigChangeOperationEdit,
+ HostConfigChangeOperationIgnore,
+ }
+}
+
+func (e HostConfigChangeOperation) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostConfigChangeOperation"] = reflect.TypeOf((*HostConfigChangeOperation)(nil)).Elem()
- minAPIVersionForEnumValue["HostConfigChangeOperation"] = map[string]string{
- "ignore": "5.5",
- }
}
type HostCpuPackageVendor string
@@ -2614,17 +3986,27 @@ const (
HostCpuPackageVendorUnknown = HostCpuPackageVendor("unknown")
HostCpuPackageVendorIntel = HostCpuPackageVendor("intel")
HostCpuPackageVendorAmd = HostCpuPackageVendor("amd")
- // `**Since:**` vSphere API Release 6.7.1
- HostCpuPackageVendorHygon = HostCpuPackageVendor("hygon")
+ HostCpuPackageVendorHygon = HostCpuPackageVendor("hygon")
)
+func (e HostCpuPackageVendor) Values() []HostCpuPackageVendor {
+ return []HostCpuPackageVendor{
+ HostCpuPackageVendorUnknown,
+ HostCpuPackageVendorIntel,
+ HostCpuPackageVendorAmd,
+ HostCpuPackageVendorHygon,
+ }
+}
+
+func (e HostCpuPackageVendor) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostCpuPackageVendor"] = reflect.TypeOf((*HostCpuPackageVendor)(nil)).Elem()
- minAPIVersionForEnumValue["HostCpuPackageVendor"] = map[string]string{
- "hygon": "6.7.1",
- }
}
+// Possible values for Current CPU power management policy
type HostCpuPowerManagementInfoPolicyType string
const (
@@ -2633,11 +4015,54 @@ const (
HostCpuPowerManagementInfoPolicyTypeDynamicPolicy = HostCpuPowerManagementInfoPolicyType("dynamicPolicy")
)
+func (e HostCpuPowerManagementInfoPolicyType) Values() []HostCpuPowerManagementInfoPolicyType {
+ return []HostCpuPowerManagementInfoPolicyType{
+ HostCpuPowerManagementInfoPolicyTypeOff,
+ HostCpuPowerManagementInfoPolicyTypeStaticPolicy,
+ HostCpuPowerManagementInfoPolicyTypeDynamicPolicy,
+ }
+}
+
+func (e HostCpuPowerManagementInfoPolicyType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostCpuPowerManagementInfoPolicyType"] = reflect.TypeOf((*HostCpuPowerManagementInfoPolicyType)(nil)).Elem()
- minAPIVersionForType["HostCpuPowerManagementInfoPolicyType"] = "4.0"
}
+type HostCpuSchedulerInfoCpuSchedulerPolicyInfo string
+
+const (
+ // The CPU scheduler on this host is running without any modifications
+ // or mitigations.
+ HostCpuSchedulerInfoCpuSchedulerPolicyInfoSystemDefault = HostCpuSchedulerInfoCpuSchedulerPolicyInfo("systemDefault")
+ // The CPU scheduler on this host is using only one hyperthread per
+ // core to mitigate a security vulnerability.
+ HostCpuSchedulerInfoCpuSchedulerPolicyInfoScav1 = HostCpuSchedulerInfoCpuSchedulerPolicyInfo("scav1")
+ // The CPU scheduler on this host is using hyperthreads, with
+ // Side-Channel aware scheduling to mitigate a security vulnerability.
+ HostCpuSchedulerInfoCpuSchedulerPolicyInfoScav2 = HostCpuSchedulerInfoCpuSchedulerPolicyInfo("scav2")
+)
+
+func (e HostCpuSchedulerInfoCpuSchedulerPolicyInfo) Values() []HostCpuSchedulerInfoCpuSchedulerPolicyInfo {
+ return []HostCpuSchedulerInfoCpuSchedulerPolicyInfo{
+ HostCpuSchedulerInfoCpuSchedulerPolicyInfoSystemDefault,
+ HostCpuSchedulerInfoCpuSchedulerPolicyInfoScav1,
+ HostCpuSchedulerInfoCpuSchedulerPolicyInfoScav2,
+ }
+}
+
+func (e HostCpuSchedulerInfoCpuSchedulerPolicyInfo) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
+ t["HostCpuSchedulerInfoCpuSchedulerPolicyInfo"] = reflect.TypeOf((*HostCpuSchedulerInfoCpuSchedulerPolicyInfo)(nil)).Elem()
+ minAPIVersionForType["HostCpuSchedulerInfoCpuSchedulerPolicyInfo"] = "8.0.3.0"
+}
+
+// Defines a host's encryption state
type HostCryptoState string
const (
@@ -2657,12 +4082,21 @@ const (
HostCryptoStatePendingIncapable = HostCryptoState("pendingIncapable")
)
+func (e HostCryptoState) Values() []HostCryptoState {
+ return []HostCryptoState{
+ HostCryptoStateIncapable,
+ HostCryptoStatePrepared,
+ HostCryptoStateSafe,
+ HostCryptoStatePendingIncapable,
+ }
+}
+
+func (e HostCryptoState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostCryptoState"] = reflect.TypeOf((*HostCryptoState)(nil)).Elem()
- minAPIVersionForType["HostCryptoState"] = "6.5"
- minAPIVersionForEnumValue["HostCryptoState"] = map[string]string{
- "pendingIncapable": "7.0",
- }
}
type HostDVSConfigSpecSwitchMode string
@@ -2674,6 +4108,17 @@ const (
HostDVSConfigSpecSwitchModeMux = HostDVSConfigSpecSwitchMode("mux")
)
+func (e HostDVSConfigSpecSwitchMode) Values() []HostDVSConfigSpecSwitchMode {
+ return []HostDVSConfigSpecSwitchMode{
+ HostDVSConfigSpecSwitchModeNormal,
+ HostDVSConfigSpecSwitchModeMux,
+ }
+}
+
+func (e HostDVSConfigSpecSwitchMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostDVSConfigSpecSwitchMode"] = reflect.TypeOf((*HostDVSConfigSpecSwitchMode)(nil)).Elem()
minAPIVersionForType["HostDVSConfigSpecSwitchMode"] = "8.0.0.1"
@@ -2700,14 +4145,28 @@ const (
HostDasErrorEventHostDasErrorReasonOther = HostDasErrorEventHostDasErrorReason("other")
)
+func (e HostDasErrorEventHostDasErrorReason) Values() []HostDasErrorEventHostDasErrorReason {
+ return []HostDasErrorEventHostDasErrorReason{
+ HostDasErrorEventHostDasErrorReasonConfigFailed,
+ HostDasErrorEventHostDasErrorReasonTimeout,
+ HostDasErrorEventHostDasErrorReasonCommunicationInitFailed,
+ HostDasErrorEventHostDasErrorReasonHealthCheckScriptFailed,
+ HostDasErrorEventHostDasErrorReasonAgentFailed,
+ HostDasErrorEventHostDasErrorReasonAgentShutdown,
+ HostDasErrorEventHostDasErrorReasonIsolationAddressUnpingable,
+ HostDasErrorEventHostDasErrorReasonOther,
+ }
+}
+
+func (e HostDasErrorEventHostDasErrorReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostDasErrorEventHostDasErrorReason"] = reflect.TypeOf((*HostDasErrorEventHostDasErrorReason)(nil)).Elem()
- minAPIVersionForType["HostDasErrorEventHostDasErrorReason"] = "4.0"
- minAPIVersionForEnumValue["HostDasErrorEventHostDasErrorReason"] = map[string]string{
- "isolationAddressUnpingable": "4.1",
- }
}
+// Types of time synchronization protocols.
type HostDateTimeInfoProtocol string
const (
@@ -2717,41 +4176,54 @@ const (
HostDateTimeInfoProtocolPtp = HostDateTimeInfoProtocol("ptp")
)
+func (e HostDateTimeInfoProtocol) Values() []HostDateTimeInfoProtocol {
+ return []HostDateTimeInfoProtocol{
+ HostDateTimeInfoProtocolNtp,
+ HostDateTimeInfoProtocolPtp,
+ }
+}
+
+func (e HostDateTimeInfoProtocol) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostDateTimeInfoProtocol"] = reflect.TypeOf((*HostDateTimeInfoProtocol)(nil)).Elem()
- minAPIVersionForType["HostDateTimeInfoProtocol"] = "7.0"
}
// The set of digest methods that can be used by TPM to calculate the PCR
+// values.
type HostDigestInfoDigestMethodType string
const (
HostDigestInfoDigestMethodTypeSHA1 = HostDigestInfoDigestMethodType("SHA1")
- //
- //
// Deprecated as of vSphere API 6.7.
//
// MD5.
- HostDigestInfoDigestMethodTypeMD5 = HostDigestInfoDigestMethodType("MD5")
- // `**Since:**` vSphere API Release 6.7
- HostDigestInfoDigestMethodTypeSHA256 = HostDigestInfoDigestMethodType("SHA256")
- // `**Since:**` vSphere API Release 6.7
- HostDigestInfoDigestMethodTypeSHA384 = HostDigestInfoDigestMethodType("SHA384")
- // `**Since:**` vSphere API Release 6.7
- HostDigestInfoDigestMethodTypeSHA512 = HostDigestInfoDigestMethodType("SHA512")
- // `**Since:**` vSphere API Release 6.7
+ HostDigestInfoDigestMethodTypeMD5 = HostDigestInfoDigestMethodType("MD5")
+ HostDigestInfoDigestMethodTypeSHA256 = HostDigestInfoDigestMethodType("SHA256")
+ HostDigestInfoDigestMethodTypeSHA384 = HostDigestInfoDigestMethodType("SHA384")
+ HostDigestInfoDigestMethodTypeSHA512 = HostDigestInfoDigestMethodType("SHA512")
HostDigestInfoDigestMethodTypeSM3_256 = HostDigestInfoDigestMethodType("SM3_256")
)
+func (e HostDigestInfoDigestMethodType) Values() []HostDigestInfoDigestMethodType {
+ return []HostDigestInfoDigestMethodType{
+ HostDigestInfoDigestMethodTypeSHA1,
+ HostDigestInfoDigestMethodTypeMD5,
+ HostDigestInfoDigestMethodTypeSHA256,
+ HostDigestInfoDigestMethodTypeSHA384,
+ HostDigestInfoDigestMethodTypeSHA512,
+ HostDigestInfoDigestMethodTypeSM3_256,
+ }
+}
+
+func (e HostDigestInfoDigestMethodType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostDigestInfoDigestMethodType"] = reflect.TypeOf((*HostDigestInfoDigestMethodType)(nil)).Elem()
- minAPIVersionForType["HostDigestInfoDigestMethodType"] = "4.0"
- minAPIVersionForEnumValue["HostDigestInfoDigestMethodType"] = map[string]string{
- "SHA256": "6.7",
- "SHA384": "6.7",
- "SHA512": "6.7",
- "SM3_256": "6.7",
- }
}
// This enum specifies the supported digest verification settings.
@@ -2773,6 +4245,19 @@ const (
HostDigestVerificationSettingHeaderAndData = HostDigestVerificationSetting("headerAndData")
)
+func (e HostDigestVerificationSetting) Values() []HostDigestVerificationSetting {
+ return []HostDigestVerificationSetting{
+ HostDigestVerificationSettingDigestDisabled,
+ HostDigestVerificationSettingHeaderOnly,
+ HostDigestVerificationSettingDataOnly,
+ HostDigestVerificationSettingHeaderAndData,
+ }
+}
+
+func (e HostDigestVerificationSetting) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostDigestVerificationSetting"] = reflect.TypeOf((*HostDigestVerificationSetting)(nil)).Elem()
minAPIVersionForType["HostDigestVerificationSetting"] = "7.0.3.0"
@@ -2801,18 +4286,31 @@ const (
HostDisconnectedEventReasonCodeVcVRAMCapacityExceeded = HostDisconnectedEventReasonCode("vcVRAMCapacityExceeded")
)
+func (e HostDisconnectedEventReasonCode) Values() []HostDisconnectedEventReasonCode {
+ return []HostDisconnectedEventReasonCode{
+ HostDisconnectedEventReasonCodeSslThumbprintVerifyFailed,
+ HostDisconnectedEventReasonCodeLicenseExpired,
+ HostDisconnectedEventReasonCodeAgentUpgrade,
+ HostDisconnectedEventReasonCodeUserRequest,
+ HostDisconnectedEventReasonCodeInsufficientLicenses,
+ HostDisconnectedEventReasonCodeAgentOutOfDate,
+ HostDisconnectedEventReasonCodePasswordDecryptFailure,
+ HostDisconnectedEventReasonCodeUnknown,
+ HostDisconnectedEventReasonCodeVcVRAMCapacityExceeded,
+ }
+}
+
+func (e HostDisconnectedEventReasonCode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostDisconnectedEventReasonCode"] = reflect.TypeOf((*HostDisconnectedEventReasonCode)(nil)).Elem()
- minAPIVersionForType["HostDisconnectedEventReasonCode"] = "4.0"
- minAPIVersionForEnumValue["HostDisconnectedEventReasonCode"] = map[string]string{
- "agentOutOfDate": "4.1",
- "passwordDecryptFailure": "4.1",
- "unknown": "4.1",
- "vcVRAMCapacityExceeded": "5.1",
- }
}
// List of partition format types.
+//
+// This denotes the partition table layout.
type HostDiskPartitionInfoPartitionFormat string
const (
@@ -2821,9 +4319,20 @@ const (
HostDiskPartitionInfoPartitionFormatUnknown = HostDiskPartitionInfoPartitionFormat("unknown")
)
+func (e HostDiskPartitionInfoPartitionFormat) Values() []HostDiskPartitionInfoPartitionFormat {
+ return []HostDiskPartitionInfoPartitionFormat{
+ HostDiskPartitionInfoPartitionFormatGpt,
+ HostDiskPartitionInfoPartitionFormatMbr,
+ HostDiskPartitionInfoPartitionFormatUnknown,
+ }
+}
+
+func (e HostDiskPartitionInfoPartitionFormat) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostDiskPartitionInfoPartitionFormat"] = reflect.TypeOf((*HostDiskPartitionInfoPartitionFormat)(nil)).Elem()
- minAPIVersionForType["HostDiskPartitionInfoPartitionFormat"] = "5.0"
}
// List of symbol partition types
@@ -2837,19 +4346,82 @@ const (
HostDiskPartitionInfoTypeExtended = HostDiskPartitionInfoType("extended")
HostDiskPartitionInfoTypeNtfs = HostDiskPartitionInfoType("ntfs")
HostDiskPartitionInfoTypeVmkDiagnostic = HostDiskPartitionInfoType("vmkDiagnostic")
- // `**Since:**` vSphere API Release 5.5
- HostDiskPartitionInfoTypeVffs = HostDiskPartitionInfoType("vffs")
-)
+ HostDiskPartitionInfoTypeVffs = HostDiskPartitionInfoType("vffs")
+)
+
+func (e HostDiskPartitionInfoType) Values() []HostDiskPartitionInfoType {
+ return []HostDiskPartitionInfoType{
+ HostDiskPartitionInfoTypeNone,
+ HostDiskPartitionInfoTypeVmfs,
+ HostDiskPartitionInfoTypeLinuxNative,
+ HostDiskPartitionInfoTypeLinuxSwap,
+ HostDiskPartitionInfoTypeExtended,
+ HostDiskPartitionInfoTypeNtfs,
+ HostDiskPartitionInfoTypeVmkDiagnostic,
+ HostDiskPartitionInfoTypeVffs,
+ }
+}
+
+func (e HostDiskPartitionInfoType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
func init() {
t["HostDiskPartitionInfoType"] = reflect.TypeOf((*HostDiskPartitionInfoType)(nil)).Elem()
- minAPIVersionForEnumValue["HostDiskPartitionInfoType"] = map[string]string{
- "vffs": "5.5",
+}
+
+type HostDistributedVirtualSwitchManagerFailoverReason string
+
+const (
+ // The failover is caused by DPU crash.
+ HostDistributedVirtualSwitchManagerFailoverReasonCrash = HostDistributedVirtualSwitchManagerFailoverReason("crash")
+ // The failover is caused by DPU's vmnic(s) link down.
+ HostDistributedVirtualSwitchManagerFailoverReasonLinkDown = HostDistributedVirtualSwitchManagerFailoverReason("linkDown")
+ // The failover is triggered by the user.
+ HostDistributedVirtualSwitchManagerFailoverReasonUserInitiated = HostDistributedVirtualSwitchManagerFailoverReason("userInitiated")
+)
+
+func (e HostDistributedVirtualSwitchManagerFailoverReason) Values() []HostDistributedVirtualSwitchManagerFailoverReason {
+ return []HostDistributedVirtualSwitchManagerFailoverReason{
+ HostDistributedVirtualSwitchManagerFailoverReasonCrash,
+ HostDistributedVirtualSwitchManagerFailoverReasonLinkDown,
+ HostDistributedVirtualSwitchManagerFailoverReasonUserInitiated,
+ }
+}
+
+func (e HostDistributedVirtualSwitchManagerFailoverReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
+ t["HostDistributedVirtualSwitchManagerFailoverReason"] = reflect.TypeOf((*HostDistributedVirtualSwitchManagerFailoverReason)(nil)).Elem()
+ minAPIVersionForType["HostDistributedVirtualSwitchManagerFailoverReason"] = "8.0.3.0"
+}
+
+type HostDistributedVirtualSwitchManagerFailoverStage string
+
+const (
+ HostDistributedVirtualSwitchManagerFailoverStageSTAGE_1 = HostDistributedVirtualSwitchManagerFailoverStage("STAGE_1")
+)
+
+func (e HostDistributedVirtualSwitchManagerFailoverStage) Values() []HostDistributedVirtualSwitchManagerFailoverStage {
+ return []HostDistributedVirtualSwitchManagerFailoverStage{
+ HostDistributedVirtualSwitchManagerFailoverStageSTAGE_1,
}
}
+func (e HostDistributedVirtualSwitchManagerFailoverStage) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
+ t["HostDistributedVirtualSwitchManagerFailoverStage"] = reflect.TypeOf((*HostDistributedVirtualSwitchManagerFailoverStage)(nil)).Elem()
+ minAPIVersionForType["HostDistributedVirtualSwitchManagerFailoverStage"] = "8.0.3.0"
+}
+
// Set of possible values for
// `HostFeatureVersionInfo.key`, which
+// is a unique key that identifies a feature.
type HostFeatureVersionKey string
const (
@@ -2866,11 +4438,21 @@ const (
HostFeatureVersionKeyFaultTolerance = HostFeatureVersionKey("faultTolerance")
)
+func (e HostFeatureVersionKey) Values() []HostFeatureVersionKey {
+ return []HostFeatureVersionKey{
+ HostFeatureVersionKeyFaultTolerance,
+ }
+}
+
+func (e HostFeatureVersionKey) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostFeatureVersionKey"] = reflect.TypeOf((*HostFeatureVersionKey)(nil)).Elem()
- minAPIVersionForType["HostFeatureVersionKey"] = "4.1"
}
+// Type of file system volume.
type HostFileSystemVolumeFileSystemType string
const (
@@ -2913,15 +4495,28 @@ const (
HostFileSystemVolumeFileSystemTypeOTHER = HostFileSystemVolumeFileSystemType("OTHER")
)
+func (e HostFileSystemVolumeFileSystemType) Values() []HostFileSystemVolumeFileSystemType {
+ return []HostFileSystemVolumeFileSystemType{
+ HostFileSystemVolumeFileSystemTypeVMFS,
+ HostFileSystemVolumeFileSystemTypeNFS,
+ HostFileSystemVolumeFileSystemTypeNFS41,
+ HostFileSystemVolumeFileSystemTypeCIFS,
+ HostFileSystemVolumeFileSystemTypeVsan,
+ HostFileSystemVolumeFileSystemTypeVFFS,
+ HostFileSystemVolumeFileSystemTypeVVOL,
+ HostFileSystemVolumeFileSystemTypePMEM,
+ HostFileSystemVolumeFileSystemTypeVsanD,
+ HostFileSystemVolumeFileSystemTypeOTHER,
+ }
+}
+
+func (e HostFileSystemVolumeFileSystemType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostFileSystemVolumeFileSystemType"] = reflect.TypeOf((*HostFileSystemVolumeFileSystemType)(nil)).Elem()
- minAPIVersionForType["HostFileSystemVolumeFileSystemType"] = "6.0"
minAPIVersionForEnumValue["HostFileSystemVolumeFileSystemType"] = map[string]string{
- "NFS41": "6.0",
- "vsan": "6.0",
- "VFFS": "6.0",
- "VVOL": "6.0",
- "PMEM": "6.7",
"vsanD": "7.0.1.0",
}
}
@@ -2934,10 +4529,22 @@ const (
HostFirewallRuleDirectionOutbound = HostFirewallRuleDirection("outbound")
)
+func (e HostFirewallRuleDirection) Values() []HostFirewallRuleDirection {
+ return []HostFirewallRuleDirection{
+ HostFirewallRuleDirectionInbound,
+ HostFirewallRuleDirectionOutbound,
+ }
+}
+
+func (e HostFirewallRuleDirection) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostFirewallRuleDirection"] = reflect.TypeOf((*HostFirewallRuleDirection)(nil)).Elem()
}
+// Enumeration of port types.
type HostFirewallRulePortType string
const (
@@ -2945,9 +4552,19 @@ const (
HostFirewallRulePortTypeDst = HostFirewallRulePortType("dst")
)
+func (e HostFirewallRulePortType) Values() []HostFirewallRulePortType {
+ return []HostFirewallRulePortType{
+ HostFirewallRulePortTypeSrc,
+ HostFirewallRulePortTypeDst,
+ }
+}
+
+func (e HostFirewallRulePortType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostFirewallRulePortType"] = reflect.TypeOf((*HostFirewallRulePortType)(nil)).Elem()
- minAPIVersionForType["HostFirewallRulePortType"] = "5.0"
}
// Set of valid port protocols.
@@ -2958,6 +4575,17 @@ const (
HostFirewallRuleProtocolUdp = HostFirewallRuleProtocol("udp")
)
+func (e HostFirewallRuleProtocol) Values() []HostFirewallRuleProtocol {
+ return []HostFirewallRuleProtocol{
+ HostFirewallRuleProtocolTcp,
+ HostFirewallRuleProtocolUdp,
+ }
+}
+
+func (e HostFirewallRuleProtocol) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostFirewallRuleProtocol"] = reflect.TypeOf((*HostFirewallRuleProtocol)(nil)).Elem()
}
@@ -2971,6 +4599,19 @@ const (
HostFirewallSystemRuleSetIdVpxHeartbeats = HostFirewallSystemRuleSetId("vpxHeartbeats")
)
+func (e HostFirewallSystemRuleSetId) Values() []HostFirewallSystemRuleSetId {
+ return []HostFirewallSystemRuleSetId{
+ HostFirewallSystemRuleSetIdFaultTolerance,
+ HostFirewallSystemRuleSetIdFdm,
+ HostFirewallSystemRuleSetIdUpdateManager,
+ HostFirewallSystemRuleSetIdVpxHeartbeats,
+ }
+}
+
+func (e HostFirewallSystemRuleSetId) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostFirewallSystemRuleSetId"] = reflect.TypeOf((*HostFirewallSystemRuleSetId)(nil)).Elem()
minAPIVersionForType["HostFirewallSystemRuleSetId"] = "8.0.2.0"
@@ -2982,6 +4623,16 @@ const (
HostFirewallSystemServiceNameVpxa = HostFirewallSystemServiceName("vpxa")
)
+func (e HostFirewallSystemServiceName) Values() []HostFirewallSystemServiceName {
+ return []HostFirewallSystemServiceName{
+ HostFirewallSystemServiceNameVpxa,
+ }
+}
+
+func (e HostFirewallSystemServiceName) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostFirewallSystemServiceName"] = reflect.TypeOf((*HostFirewallSystemServiceName)(nil)).Elem()
minAPIVersionForType["HostFirewallSystemServiceName"] = "8.0.2.0"
@@ -2996,10 +4647,23 @@ const (
HostFruFruTypeProduct = HostFruFruType("product")
)
+func (e HostFruFruType) Values() []HostFruFruType {
+ return []HostFruFruType{
+ HostFruFruTypeUndefined,
+ HostFruFruTypeBoard,
+ HostFruFruTypeProduct,
+ }
+}
+
+func (e HostFruFruType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostFruFruType"] = reflect.TypeOf((*HostFruFruType)(nil)).Elem()
}
+// Supported values for graphics type.
type HostGraphicsConfigGraphicsType string
const (
@@ -3013,11 +4677,22 @@ const (
HostGraphicsConfigGraphicsTypeSharedDirect = HostGraphicsConfigGraphicsType("sharedDirect")
)
+func (e HostGraphicsConfigGraphicsType) Values() []HostGraphicsConfigGraphicsType {
+ return []HostGraphicsConfigGraphicsType{
+ HostGraphicsConfigGraphicsTypeShared,
+ HostGraphicsConfigGraphicsTypeSharedDirect,
+ }
+}
+
+func (e HostGraphicsConfigGraphicsType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostGraphicsConfigGraphicsType"] = reflect.TypeOf((*HostGraphicsConfigGraphicsType)(nil)).Elem()
- minAPIVersionForType["HostGraphicsConfigGraphicsType"] = "6.5"
}
+// Supported values for shared passthrough assignment policy
type HostGraphicsConfigSharedPassthruAssignmentPolicy string
const (
@@ -3027,11 +4702,47 @@ const (
HostGraphicsConfigSharedPassthruAssignmentPolicyConsolidation = HostGraphicsConfigSharedPassthruAssignmentPolicy("consolidation")
)
+func (e HostGraphicsConfigSharedPassthruAssignmentPolicy) Values() []HostGraphicsConfigSharedPassthruAssignmentPolicy {
+ return []HostGraphicsConfigSharedPassthruAssignmentPolicy{
+ HostGraphicsConfigSharedPassthruAssignmentPolicyPerformance,
+ HostGraphicsConfigSharedPassthruAssignmentPolicyConsolidation,
+ }
+}
+
+func (e HostGraphicsConfigSharedPassthruAssignmentPolicy) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostGraphicsConfigSharedPassthruAssignmentPolicy"] = reflect.TypeOf((*HostGraphicsConfigSharedPassthruAssignmentPolicy)(nil)).Elem()
- minAPIVersionForType["HostGraphicsConfigSharedPassthruAssignmentPolicy"] = "6.5"
}
+type HostGraphicsConfigVgpuMode string
+
+const (
+ // vGPU time-sliced same size.
+ HostGraphicsConfigVgpuModeSameSize = HostGraphicsConfigVgpuMode("sameSize")
+ // vGPU time-sliced mixed size.
+ HostGraphicsConfigVgpuModeMixedSize = HostGraphicsConfigVgpuMode("mixedSize")
+)
+
+func (e HostGraphicsConfigVgpuMode) Values() []HostGraphicsConfigVgpuMode {
+ return []HostGraphicsConfigVgpuMode{
+ HostGraphicsConfigVgpuModeSameSize,
+ HostGraphicsConfigVgpuModeMixedSize,
+ }
+}
+
+func (e HostGraphicsConfigVgpuMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
+ t["HostGraphicsConfigVgpuMode"] = reflect.TypeOf((*HostGraphicsConfigVgpuMode)(nil)).Elem()
+ minAPIVersionForType["HostGraphicsConfigVgpuMode"] = "8.0.3.0"
+}
+
+// Possible values for graphics type.
type HostGraphicsInfoGraphicsType string
const (
@@ -3051,14 +4762,55 @@ const (
HostGraphicsInfoGraphicsTypeSharedDirect = HostGraphicsInfoGraphicsType("sharedDirect")
)
+func (e HostGraphicsInfoGraphicsType) Values() []HostGraphicsInfoGraphicsType {
+ return []HostGraphicsInfoGraphicsType{
+ HostGraphicsInfoGraphicsTypeBasic,
+ HostGraphicsInfoGraphicsTypeShared,
+ HostGraphicsInfoGraphicsTypeDirect,
+ HostGraphicsInfoGraphicsTypeSharedDirect,
+ }
+}
+
+func (e HostGraphicsInfoGraphicsType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostGraphicsInfoGraphicsType"] = reflect.TypeOf((*HostGraphicsInfoGraphicsType)(nil)).Elem()
- minAPIVersionForType["HostGraphicsInfoGraphicsType"] = "5.5"
- minAPIVersionForEnumValue["HostGraphicsInfoGraphicsType"] = map[string]string{
- "sharedDirect": "6.5",
+}
+
+type HostGraphicsInfoVgpuMode string
+
+const (
+ // vGPU mode not applicable.
+ HostGraphicsInfoVgpuModeNone = HostGraphicsInfoVgpuMode("none")
+ // vGPU time-sliced same size.
+ HostGraphicsInfoVgpuModeSameSize = HostGraphicsInfoVgpuMode("sameSize")
+ // vGPU time-sliced mixed size.
+ HostGraphicsInfoVgpuModeMixedSize = HostGraphicsInfoVgpuMode("mixedSize")
+ // vGPU multi-instance GPU.
+ HostGraphicsInfoVgpuModeMultiInstanceGpu = HostGraphicsInfoVgpuMode("multiInstanceGpu")
+)
+
+func (e HostGraphicsInfoVgpuMode) Values() []HostGraphicsInfoVgpuMode {
+ return []HostGraphicsInfoVgpuMode{
+ HostGraphicsInfoVgpuModeNone,
+ HostGraphicsInfoVgpuModeSameSize,
+ HostGraphicsInfoVgpuModeMixedSize,
+ HostGraphicsInfoVgpuModeMultiInstanceGpu,
}
}
+func (e HostGraphicsInfoVgpuMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
+ t["HostGraphicsInfoVgpuMode"] = reflect.TypeOf((*HostGraphicsInfoVgpuMode)(nil)).Elem()
+ minAPIVersionForType["HostGraphicsInfoVgpuMode"] = "8.0.3.0"
+}
+
+// The current status of the hardware
type HostHardwareElementStatus string
const (
@@ -3076,9 +4828,21 @@ const (
HostHardwareElementStatusRed = HostHardwareElementStatus("Red")
)
+func (e HostHardwareElementStatus) Values() []HostHardwareElementStatus {
+ return []HostHardwareElementStatus{
+ HostHardwareElementStatusUnknown,
+ HostHardwareElementStatusGreen,
+ HostHardwareElementStatusYellow,
+ HostHardwareElementStatusRed,
+ }
+}
+
+func (e HostHardwareElementStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostHardwareElementStatus"] = reflect.TypeOf((*HostHardwareElementStatus)(nil)).Elem()
- minAPIVersionForType["HostHardwareElementStatus"] = "2.5"
}
type HostHasComponentFailureHostComponentType string
@@ -3087,11 +4851,21 @@ const (
HostHasComponentFailureHostComponentTypeDatastore = HostHasComponentFailureHostComponentType("Datastore")
)
+func (e HostHasComponentFailureHostComponentType) Values() []HostHasComponentFailureHostComponentType {
+ return []HostHasComponentFailureHostComponentType{
+ HostHasComponentFailureHostComponentTypeDatastore,
+ }
+}
+
+func (e HostHasComponentFailureHostComponentType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostHasComponentFailureHostComponentType"] = reflect.TypeOf((*HostHasComponentFailureHostComponentType)(nil)).Elem()
- minAPIVersionForType["HostHasComponentFailureHostComponentType"] = "6.0"
}
+// Acceptance level definitions
type HostImageAcceptanceLevel string
const (
@@ -3105,11 +4879,24 @@ const (
HostImageAcceptanceLevelCommunity = HostImageAcceptanceLevel("community")
)
+func (e HostImageAcceptanceLevel) Values() []HostImageAcceptanceLevel {
+ return []HostImageAcceptanceLevel{
+ HostImageAcceptanceLevelVmware_certified,
+ HostImageAcceptanceLevelVmware_accepted,
+ HostImageAcceptanceLevelPartner,
+ HostImageAcceptanceLevelCommunity,
+ }
+}
+
+func (e HostImageAcceptanceLevel) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostImageAcceptanceLevel"] = reflect.TypeOf((*HostImageAcceptanceLevel)(nil)).Elem()
- minAPIVersionForType["HostImageAcceptanceLevel"] = "5.0"
}
+// Reasons why fault tolerance is not supported on the host.
type HostIncompatibleForFaultToleranceReason string
const (
@@ -3119,11 +4906,22 @@ const (
HostIncompatibleForFaultToleranceReasonProcessor = HostIncompatibleForFaultToleranceReason("processor")
)
+func (e HostIncompatibleForFaultToleranceReason) Values() []HostIncompatibleForFaultToleranceReason {
+ return []HostIncompatibleForFaultToleranceReason{
+ HostIncompatibleForFaultToleranceReasonProduct,
+ HostIncompatibleForFaultToleranceReasonProcessor,
+ }
+}
+
+func (e HostIncompatibleForFaultToleranceReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostIncompatibleForFaultToleranceReason"] = reflect.TypeOf((*HostIncompatibleForFaultToleranceReason)(nil)).Elem()
- minAPIVersionForType["HostIncompatibleForFaultToleranceReason"] = "4.0"
}
+// Reasons why record/replay is not supported on a host.
type HostIncompatibleForRecordReplayReason string
const (
@@ -3133,9 +4931,19 @@ const (
HostIncompatibleForRecordReplayReasonProcessor = HostIncompatibleForRecordReplayReason("processor")
)
+func (e HostIncompatibleForRecordReplayReason) Values() []HostIncompatibleForRecordReplayReason {
+ return []HostIncompatibleForRecordReplayReason{
+ HostIncompatibleForRecordReplayReasonProduct,
+ HostIncompatibleForRecordReplayReasonProcessor,
+ }
+}
+
+func (e HostIncompatibleForRecordReplayReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostIncompatibleForRecordReplayReason"] = reflect.TypeOf((*HostIncompatibleForRecordReplayReason)(nil)).Elem()
- minAPIVersionForType["HostIncompatibleForRecordReplayReason"] = "4.0"
}
// The type of CHAP authentication setting to use.
@@ -3146,6 +4954,7 @@ func init() {
// discouraged : use non-CHAP, but allow CHAP connectsion as fallback
// required : use CHAP for connection strictly, and fail if CHAP
// negotiation fails.
+// Defaults to preferred on first configuration if unspecified.
type HostInternetScsiHbaChapAuthenticationType string
const (
@@ -3155,9 +4964,21 @@ const (
HostInternetScsiHbaChapAuthenticationTypeChapRequired = HostInternetScsiHbaChapAuthenticationType("chapRequired")
)
+func (e HostInternetScsiHbaChapAuthenticationType) Values() []HostInternetScsiHbaChapAuthenticationType {
+ return []HostInternetScsiHbaChapAuthenticationType{
+ HostInternetScsiHbaChapAuthenticationTypeChapProhibited,
+ HostInternetScsiHbaChapAuthenticationTypeChapDiscouraged,
+ HostInternetScsiHbaChapAuthenticationTypeChapPreferred,
+ HostInternetScsiHbaChapAuthenticationTypeChapRequired,
+ }
+}
+
+func (e HostInternetScsiHbaChapAuthenticationType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostInternetScsiHbaChapAuthenticationType"] = reflect.TypeOf((*HostInternetScsiHbaChapAuthenticationType)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaChapAuthenticationType"] = "4.0"
}
// The type of integrity checks to use.
@@ -3170,6 +4991,7 @@ func init() {
// discouraged : do not use digest if target allows, otherwise use digest.
// required : use digest strictly, and fail if target does not support
// digest.
+// Defaults to preferred on first configuration if unspecified.
type HostInternetScsiHbaDigestType string
const (
@@ -3179,11 +5001,24 @@ const (
HostInternetScsiHbaDigestTypeDigestRequired = HostInternetScsiHbaDigestType("digestRequired")
)
+func (e HostInternetScsiHbaDigestType) Values() []HostInternetScsiHbaDigestType {
+ return []HostInternetScsiHbaDigestType{
+ HostInternetScsiHbaDigestTypeDigestProhibited,
+ HostInternetScsiHbaDigestTypeDigestDiscouraged,
+ HostInternetScsiHbaDigestTypeDigestPreferred,
+ HostInternetScsiHbaDigestTypeDigestRequired,
+ }
+}
+
+func (e HostInternetScsiHbaDigestType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostInternetScsiHbaDigestType"] = reflect.TypeOf((*HostInternetScsiHbaDigestType)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaDigestType"] = "4.0"
}
+// enum listing possible IPv6 address configuration methods.
type HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType string
const (
@@ -3203,11 +5038,24 @@ const (
HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationTypeOther = HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType("Other")
)
+func (e HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType) Values() []HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType {
+ return []HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType{
+ HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationTypeDHCP,
+ HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationTypeAutoConfigured,
+ HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationTypeStatic,
+ HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationTypeOther,
+ }
+}
+
+func (e HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType"] = reflect.TypeOf((*HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType"] = "6.0"
}
+// enum listing IPv6 address operations.
type HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation string
const (
@@ -3215,11 +5063,22 @@ const (
HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperationRemove = HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation("remove")
)
+func (e HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation) Values() []HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation {
+ return []HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation{
+ HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperationAdd,
+ HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperationRemove,
+ }
+}
+
+func (e HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation"] = reflect.TypeOf((*HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation"] = "6.0"
}
+// The binding mode of the adapter.
type HostInternetScsiHbaNetworkBindingSupportType string
const (
@@ -3228,9 +5087,20 @@ const (
HostInternetScsiHbaNetworkBindingSupportTypeRequired = HostInternetScsiHbaNetworkBindingSupportType("required")
)
+func (e HostInternetScsiHbaNetworkBindingSupportType) Values() []HostInternetScsiHbaNetworkBindingSupportType {
+ return []HostInternetScsiHbaNetworkBindingSupportType{
+ HostInternetScsiHbaNetworkBindingSupportTypeNotsupported,
+ HostInternetScsiHbaNetworkBindingSupportTypeOptional,
+ HostInternetScsiHbaNetworkBindingSupportTypeRequired,
+ }
+}
+
+func (e HostInternetScsiHbaNetworkBindingSupportType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostInternetScsiHbaNetworkBindingSupportType"] = reflect.TypeOf((*HostInternetScsiHbaNetworkBindingSupportType)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaNetworkBindingSupportType"] = "5.0"
}
// The method of discovery of an iScsi target.
@@ -3239,6 +5109,7 @@ func init() {
// sendTargetsMethod: sendtarget discovery
// slpMethod: Service Location Protocol discovery
// isnsMethod: Internet Storage Name Service discovery
+// unknownMethod: discovery method not identified by iscsi stack
type HostInternetScsiHbaStaticTargetTargetDiscoveryMethod string
const (
@@ -3249,12 +5120,27 @@ const (
HostInternetScsiHbaStaticTargetTargetDiscoveryMethodUnknownMethod = HostInternetScsiHbaStaticTargetTargetDiscoveryMethod("unknownMethod")
)
+func (e HostInternetScsiHbaStaticTargetTargetDiscoveryMethod) Values() []HostInternetScsiHbaStaticTargetTargetDiscoveryMethod {
+ return []HostInternetScsiHbaStaticTargetTargetDiscoveryMethod{
+ HostInternetScsiHbaStaticTargetTargetDiscoveryMethodStaticMethod,
+ HostInternetScsiHbaStaticTargetTargetDiscoveryMethodSendTargetMethod,
+ HostInternetScsiHbaStaticTargetTargetDiscoveryMethodSlpMethod,
+ HostInternetScsiHbaStaticTargetTargetDiscoveryMethodIsnsMethod,
+ HostInternetScsiHbaStaticTargetTargetDiscoveryMethodUnknownMethod,
+ }
+}
+
+func (e HostInternetScsiHbaStaticTargetTargetDiscoveryMethod) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostInternetScsiHbaStaticTargetTargetDiscoveryMethod"] = reflect.TypeOf((*HostInternetScsiHbaStaticTargetTargetDiscoveryMethod)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaStaticTargetTargetDiscoveryMethod"] = "5.1"
}
// This specifies how the ipv6 address is configured for the interface.
+//
+// We follow rfc4293 in defining the values for the configType.
type HostIpConfigIpV6AddressConfigType string
const (
@@ -3277,9 +5163,22 @@ const (
HostIpConfigIpV6AddressConfigTypeRandom = HostIpConfigIpV6AddressConfigType("random")
)
+func (e HostIpConfigIpV6AddressConfigType) Values() []HostIpConfigIpV6AddressConfigType {
+ return []HostIpConfigIpV6AddressConfigType{
+ HostIpConfigIpV6AddressConfigTypeOther,
+ HostIpConfigIpV6AddressConfigTypeManual,
+ HostIpConfigIpV6AddressConfigTypeDhcp,
+ HostIpConfigIpV6AddressConfigTypeLinklayer,
+ HostIpConfigIpV6AddressConfigTypeRandom,
+ }
+}
+
+func (e HostIpConfigIpV6AddressConfigType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostIpConfigIpV6AddressConfigType"] = reflect.TypeOf((*HostIpConfigIpV6AddressConfigType)(nil)).Elem()
- minAPIVersionForType["HostIpConfigIpV6AddressConfigType"] = "4.0"
}
type HostIpConfigIpV6AddressStatus string
@@ -3305,11 +5204,27 @@ const (
HostIpConfigIpV6AddressStatusDuplicate = HostIpConfigIpV6AddressStatus("duplicate")
)
+func (e HostIpConfigIpV6AddressStatus) Values() []HostIpConfigIpV6AddressStatus {
+ return []HostIpConfigIpV6AddressStatus{
+ HostIpConfigIpV6AddressStatusPreferred,
+ HostIpConfigIpV6AddressStatusDeprecated,
+ HostIpConfigIpV6AddressStatusInvalid,
+ HostIpConfigIpV6AddressStatusInaccessible,
+ HostIpConfigIpV6AddressStatusUnknown,
+ HostIpConfigIpV6AddressStatusTentative,
+ HostIpConfigIpV6AddressStatusDuplicate,
+ }
+}
+
+func (e HostIpConfigIpV6AddressStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostIpConfigIpV6AddressStatus"] = reflect.TypeOf((*HostIpConfigIpV6AddressStatus)(nil)).Elem()
- minAPIVersionForType["HostIpConfigIpV6AddressStatus"] = "4.0"
}
+// Identifiers of currently supported resources.
type HostLicensableResourceKey string
const (
@@ -3325,13 +5240,34 @@ const (
HostLicensableResourceKeyNumVmsStarted = HostLicensableResourceKey("numVmsStarted")
// Number of VMs that are currently powering-on, immigrating, etc.
HostLicensableResourceKeyNumVmsStarting = HostLicensableResourceKey("numVmsStarting")
-)
+ // vSAN capacity in TiB on this host.
+ HostLicensableResourceKeyVsanCapacity = HostLicensableResourceKey("vsanCapacity")
+)
+
+func (e HostLicensableResourceKey) Values() []HostLicensableResourceKey {
+ return []HostLicensableResourceKey{
+ HostLicensableResourceKeyNumCpuPackages,
+ HostLicensableResourceKeyNumCpuCores,
+ HostLicensableResourceKeyMemorySize,
+ HostLicensableResourceKeyMemoryForVms,
+ HostLicensableResourceKeyNumVmsStarted,
+ HostLicensableResourceKeyNumVmsStarting,
+ HostLicensableResourceKeyVsanCapacity,
+ }
+}
+
+func (e HostLicensableResourceKey) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
func init() {
t["HostLicensableResourceKey"] = reflect.TypeOf((*HostLicensableResourceKey)(nil)).Elem()
- minAPIVersionForType["HostLicensableResourceKey"] = "5.0"
+ minAPIVersionForEnumValue["HostLicensableResourceKey"] = map[string]string{
+ "vsanCapacity": "8.0.3.0",
+ }
}
+// Defines the possible states of lockdown mode.
type HostLockdownMode string
const (
@@ -3348,12 +5284,24 @@ const (
HostLockdownModeLockdownStrict = HostLockdownMode("lockdownStrict")
)
+func (e HostLockdownMode) Values() []HostLockdownMode {
+ return []HostLockdownMode{
+ HostLockdownModeLockdownDisabled,
+ HostLockdownModeLockdownNormal,
+ HostLockdownModeLockdownStrict,
+ }
+}
+
+func (e HostLockdownMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostLockdownMode"] = reflect.TypeOf((*HostLockdownMode)(nil)).Elem()
- minAPIVersionForType["HostLockdownMode"] = "6.0"
}
// This enum defines the possible types of file types that can be reserved
+// or deleted
type HostLowLevelProvisioningManagerFileType string
const (
@@ -3362,11 +5310,23 @@ const (
HostLowLevelProvisioningManagerFileTypeDirectory = HostLowLevelProvisioningManagerFileType("Directory")
)
+func (e HostLowLevelProvisioningManagerFileType) Values() []HostLowLevelProvisioningManagerFileType {
+ return []HostLowLevelProvisioningManagerFileType{
+ HostLowLevelProvisioningManagerFileTypeFile,
+ HostLowLevelProvisioningManagerFileTypeVirtualDisk,
+ HostLowLevelProvisioningManagerFileTypeDirectory,
+ }
+}
+
+func (e HostLowLevelProvisioningManagerFileType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostLowLevelProvisioningManagerFileType"] = reflect.TypeOf((*HostLowLevelProvisioningManagerFileType)(nil)).Elem()
- minAPIVersionForType["HostLowLevelProvisioningManagerFileType"] = "6.0"
}
+// The target of the disk reload.
type HostLowLevelProvisioningManagerReloadTarget string
const (
@@ -3379,9 +5339,19 @@ const (
HostLowLevelProvisioningManagerReloadTargetSnapshotConfig = HostLowLevelProvisioningManagerReloadTarget("snapshotConfig")
)
+func (e HostLowLevelProvisioningManagerReloadTarget) Values() []HostLowLevelProvisioningManagerReloadTarget {
+ return []HostLowLevelProvisioningManagerReloadTarget{
+ HostLowLevelProvisioningManagerReloadTargetCurrentConfig,
+ HostLowLevelProvisioningManagerReloadTargetSnapshotConfig,
+ }
+}
+
+func (e HostLowLevelProvisioningManagerReloadTarget) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostLowLevelProvisioningManagerReloadTarget"] = reflect.TypeOf((*HostLowLevelProvisioningManagerReloadTarget)(nil)).Elem()
- minAPIVersionForType["HostLowLevelProvisioningManagerReloadTarget"] = "4.0"
}
type HostMaintenanceSpecPurpose string
@@ -3390,9 +5360,18 @@ const (
HostMaintenanceSpecPurposeHostUpgrade = HostMaintenanceSpecPurpose("hostUpgrade")
)
+func (e HostMaintenanceSpecPurpose) Values() []HostMaintenanceSpecPurpose {
+ return []HostMaintenanceSpecPurpose{
+ HostMaintenanceSpecPurposeHostUpgrade,
+ }
+}
+
+func (e HostMaintenanceSpecPurpose) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostMaintenanceSpecPurpose"] = reflect.TypeOf((*HostMaintenanceSpecPurpose)(nil)).Elem()
- minAPIVersionForType["HostMaintenanceSpecPurpose"] = "7.0"
}
// Enumeration of flags pertaining to a memory tier.
@@ -3428,11 +5407,29 @@ const (
HostMemoryTierFlagsPersistentTier = HostMemoryTierFlags("persistentTier")
// Flag indicating that the tier is a cache for main memory.
HostMemoryTierFlagsCachingTier = HostMemoryTierFlags("cachingTier")
+ // `**Since:**` vSphere API Release 8.0.3.0
+ HostMemoryTierFlagsUnmappableTier = HostMemoryTierFlags("unmappableTier")
)
+func (e HostMemoryTierFlags) Values() []HostMemoryTierFlags {
+ return []HostMemoryTierFlags{
+ HostMemoryTierFlagsMemoryTier,
+ HostMemoryTierFlagsPersistentTier,
+ HostMemoryTierFlagsCachingTier,
+ HostMemoryTierFlagsUnmappableTier,
+ }
+}
+
+func (e HostMemoryTierFlags) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostMemoryTierFlags"] = reflect.TypeOf((*HostMemoryTierFlags)(nil)).Elem()
minAPIVersionForType["HostMemoryTierFlags"] = "7.0.3.0"
+ minAPIVersionForEnumValue["HostMemoryTierFlags"] = map[string]string{
+ "unmappableTier": "8.0.3.0",
+ }
}
type HostMemoryTierType string
@@ -3442,11 +5439,28 @@ const (
HostMemoryTierTypeDRAM = HostMemoryTierType("DRAM")
// Persistent memory.
HostMemoryTierTypePMem = HostMemoryTierType("PMem")
+ // NVMe memory.
+ HostMemoryTierTypeNVMe = HostMemoryTierType("NVMe")
)
+func (e HostMemoryTierType) Values() []HostMemoryTierType {
+ return []HostMemoryTierType{
+ HostMemoryTierTypeDRAM,
+ HostMemoryTierTypePMem,
+ HostMemoryTierTypeNVMe,
+ }
+}
+
+func (e HostMemoryTierType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostMemoryTierType"] = reflect.TypeOf((*HostMemoryTierType)(nil)).Elem()
minAPIVersionForType["HostMemoryTierType"] = "7.0.3.0"
+ minAPIVersionForEnumValue["HostMemoryTierType"] = map[string]string{
+ "NVMe": "8.0.3.0",
+ }
}
type HostMemoryTieringType string
@@ -3459,11 +5473,28 @@ const (
//
// Intel's Memory Mode.
HostMemoryTieringTypeHardwareTiering = HostMemoryTieringType("hardwareTiering")
+ // The memory configuration where all memory tiers are managed by software (ESX).
+ HostMemoryTieringTypeSoftwareTiering = HostMemoryTieringType("softwareTiering")
)
+func (e HostMemoryTieringType) Values() []HostMemoryTieringType {
+ return []HostMemoryTieringType{
+ HostMemoryTieringTypeNoTiering,
+ HostMemoryTieringTypeHardwareTiering,
+ HostMemoryTieringTypeSoftwareTiering,
+ }
+}
+
+func (e HostMemoryTieringType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostMemoryTieringType"] = reflect.TypeOf((*HostMemoryTieringType)(nil)).Elem()
minAPIVersionForType["HostMemoryTieringType"] = "7.0.3.0"
+ minAPIVersionForEnumValue["HostMemoryTieringType"] = map[string]string{
+ "softwareTiering": "8.0.3.0",
+ }
}
// A datastore can become inaccessible due to a number of reasons as
@@ -3485,6 +5516,7 @@ func init() {
// PDL is not linked to the APD and can happen at any time with or without APD
// preceding. If APD and PDL occur at the same time, APD will be reported first.
// Once (and if) the APD condition clears, PermanentDataLoss will be reported if
+// PDL condition still exists.
type HostMountInfoInaccessibleReason string
const (
@@ -3503,9 +5535,20 @@ const (
HostMountInfoInaccessibleReasonPermanentDeviceLoss = HostMountInfoInaccessibleReason("PermanentDeviceLoss")
)
+func (e HostMountInfoInaccessibleReason) Values() []HostMountInfoInaccessibleReason {
+ return []HostMountInfoInaccessibleReason{
+ HostMountInfoInaccessibleReasonAllPathsDown_Start,
+ HostMountInfoInaccessibleReasonAllPathsDown_Timeout,
+ HostMountInfoInaccessibleReasonPermanentDeviceLoss,
+ }
+}
+
+func (e HostMountInfoInaccessibleReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostMountInfoInaccessibleReason"] = reflect.TypeOf((*HostMountInfoInaccessibleReason)(nil)).Elem()
- minAPIVersionForType["HostMountInfoInaccessibleReason"] = "5.1"
}
// NFS mount request can be failed due to a number of reasons as
@@ -3538,6 +5581,24 @@ const (
HostMountInfoMountFailedReasonOTHERS = HostMountInfoMountFailedReason("OTHERS")
)
+func (e HostMountInfoMountFailedReason) Values() []HostMountInfoMountFailedReason {
+ return []HostMountInfoMountFailedReason{
+ HostMountInfoMountFailedReasonCONNECT_FAILURE,
+ HostMountInfoMountFailedReasonMOUNT_NOT_SUPPORTED,
+ HostMountInfoMountFailedReasonNFS_NOT_SUPPORTED,
+ HostMountInfoMountFailedReasonMOUNT_DENIED,
+ HostMountInfoMountFailedReasonMOUNT_NOT_DIR,
+ HostMountInfoMountFailedReasonVOLUME_LIMIT_EXCEEDED,
+ HostMountInfoMountFailedReasonCONN_LIMIT_EXCEEDED,
+ HostMountInfoMountFailedReasonMOUNT_EXISTS,
+ HostMountInfoMountFailedReasonOTHERS,
+ }
+}
+
+func (e HostMountInfoMountFailedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostMountInfoMountFailedReason"] = reflect.TypeOf((*HostMountInfoMountFailedReason)(nil)).Elem()
minAPIVersionForType["HostMountInfoMountFailedReason"] = "8.0.0.1"
@@ -3553,10 +5614,22 @@ const (
HostMountModeReadOnly = HostMountMode("readOnly")
)
+func (e HostMountMode) Values() []HostMountMode {
+ return []HostMountMode{
+ HostMountModeReadWrite,
+ HostMountModeReadOnly,
+ }
+}
+
+func (e HostMountMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostMountMode"] = reflect.TypeOf((*HostMountMode)(nil)).Elem()
}
+// Security type supported.
type HostNasVolumeSecurityType string
const (
@@ -3583,14 +5656,23 @@ const (
HostNasVolumeSecurityTypeSEC_KRB5I = HostNasVolumeSecurityType("SEC_KRB5I")
)
+func (e HostNasVolumeSecurityType) Values() []HostNasVolumeSecurityType {
+ return []HostNasVolumeSecurityType{
+ HostNasVolumeSecurityTypeAUTH_SYS,
+ HostNasVolumeSecurityTypeSEC_KRB5,
+ HostNasVolumeSecurityTypeSEC_KRB5I,
+ }
+}
+
+func (e HostNasVolumeSecurityType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostNasVolumeSecurityType"] = reflect.TypeOf((*HostNasVolumeSecurityType)(nil)).Elem()
- minAPIVersionForType["HostNasVolumeSecurityType"] = "6.0"
- minAPIVersionForEnumValue["HostNasVolumeSecurityType"] = map[string]string{
- "SEC_KRB5I": "6.5",
- }
}
+// Define TCP congestion control algorithm used by an instance
type HostNetStackInstanceCongestionControlAlgorithmType string
const (
@@ -3604,11 +5686,22 @@ const (
HostNetStackInstanceCongestionControlAlgorithmTypeCubic = HostNetStackInstanceCongestionControlAlgorithmType("cubic")
)
+func (e HostNetStackInstanceCongestionControlAlgorithmType) Values() []HostNetStackInstanceCongestionControlAlgorithmType {
+ return []HostNetStackInstanceCongestionControlAlgorithmType{
+ HostNetStackInstanceCongestionControlAlgorithmTypeNewreno,
+ HostNetStackInstanceCongestionControlAlgorithmTypeCubic,
+ }
+}
+
+func (e HostNetStackInstanceCongestionControlAlgorithmType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostNetStackInstanceCongestionControlAlgorithmType"] = reflect.TypeOf((*HostNetStackInstanceCongestionControlAlgorithmType)(nil)).Elem()
- minAPIVersionForType["HostNetStackInstanceCongestionControlAlgorithmType"] = "5.5"
}
+// Define the instance identifier for different traffic type
type HostNetStackInstanceSystemStackKey string
const (
@@ -3624,18 +5717,31 @@ const (
HostNetStackInstanceSystemStackKeyOps = HostNetStackInstanceSystemStackKey("ops")
)
+func (e HostNetStackInstanceSystemStackKey) Values() []HostNetStackInstanceSystemStackKey {
+ return []HostNetStackInstanceSystemStackKey{
+ HostNetStackInstanceSystemStackKeyDefaultTcpipStack,
+ HostNetStackInstanceSystemStackKeyVmotion,
+ HostNetStackInstanceSystemStackKeyVSphereProvisioning,
+ HostNetStackInstanceSystemStackKeyMirror,
+ HostNetStackInstanceSystemStackKeyOps,
+ }
+}
+
+func (e HostNetStackInstanceSystemStackKey) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostNetStackInstanceSystemStackKey"] = reflect.TypeOf((*HostNetStackInstanceSystemStackKey)(nil)).Elem()
- minAPIVersionForType["HostNetStackInstanceSystemStackKey"] = "5.5"
minAPIVersionForEnumValue["HostNetStackInstanceSystemStackKey"] = map[string]string{
- "vmotion": "6.0",
- "vSphereProvisioning": "6.0",
- "mirror": "8.0.0.1",
- "ops": "8.0.0.1",
+ "mirror": "8.0.0.1",
+ "ops": "8.0.0.1",
}
}
// Health state of the numeric sensor as reported by the sensor probes.
+//
+// Same data reported using command line: esxcli hardware ipmi sdr list
type HostNumericSensorHealthState string
const (
@@ -3654,12 +5760,25 @@ const (
HostNumericSensorHealthStateRed = HostNumericSensorHealthState("red")
)
+func (e HostNumericSensorHealthState) Values() []HostNumericSensorHealthState {
+ return []HostNumericSensorHealthState{
+ HostNumericSensorHealthStateUnknown,
+ HostNumericSensorHealthStateGreen,
+ HostNumericSensorHealthStateYellow,
+ HostNumericSensorHealthStateRed,
+ }
+}
+
+func (e HostNumericSensorHealthState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostNumericSensorHealthState"] = reflect.TypeOf((*HostNumericSensorHealthState)(nil)).Elem()
- minAPIVersionForType["HostNumericSensorHealthState"] = "2.5"
}
// Sensor Types for specific hardware component are either based on
+// class of sensor or what the sensor monitors to allow for grouping
type HostNumericSensorType string
const (
@@ -3691,19 +5810,30 @@ const (
HostNumericSensorTypeWatchdog = HostNumericSensorType("watchdog")
)
+func (e HostNumericSensorType) Values() []HostNumericSensorType {
+ return []HostNumericSensorType{
+ HostNumericSensorTypeFan,
+ HostNumericSensorTypePower,
+ HostNumericSensorTypeTemperature,
+ HostNumericSensorTypeVoltage,
+ HostNumericSensorTypeOther,
+ HostNumericSensorTypeProcessor,
+ HostNumericSensorTypeMemory,
+ HostNumericSensorTypeStorage,
+ HostNumericSensorTypeSystemBoard,
+ HostNumericSensorTypeBattery,
+ HostNumericSensorTypeBios,
+ HostNumericSensorTypeCable,
+ HostNumericSensorTypeWatchdog,
+ }
+}
+
+func (e HostNumericSensorType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostNumericSensorType"] = reflect.TypeOf((*HostNumericSensorType)(nil)).Elem()
- minAPIVersionForType["HostNumericSensorType"] = "2.5"
- minAPIVersionForEnumValue["HostNumericSensorType"] = map[string]string{
- "processor": "6.5",
- "memory": "6.5",
- "storage": "6.5",
- "systemBoard": "6.5",
- "battery": "6.5",
- "bios": "6.5",
- "cable": "6.5",
- "watchdog": "6.5",
- }
}
// This enum represents the supported NVM subsystem types.
@@ -3716,6 +5846,17 @@ const (
HostNvmeDiscoveryLogSubsystemTypeNvm = HostNvmeDiscoveryLogSubsystemType("nvm")
)
+func (e HostNvmeDiscoveryLogSubsystemType) Values() []HostNvmeDiscoveryLogSubsystemType {
+ return []HostNvmeDiscoveryLogSubsystemType{
+ HostNvmeDiscoveryLogSubsystemTypeDiscovery,
+ HostNvmeDiscoveryLogSubsystemTypeNvm,
+ }
+}
+
+func (e HostNvmeDiscoveryLogSubsystemType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostNvmeDiscoveryLogSubsystemType"] = reflect.TypeOf((*HostNvmeDiscoveryLogSubsystemType)(nil)).Elem()
}
@@ -3732,6 +5873,18 @@ const (
HostNvmeDiscoveryLogTransportRequirementsRequirementsNotSpecified = HostNvmeDiscoveryLogTransportRequirements("requirementsNotSpecified")
)
+func (e HostNvmeDiscoveryLogTransportRequirements) Values() []HostNvmeDiscoveryLogTransportRequirements {
+ return []HostNvmeDiscoveryLogTransportRequirements{
+ HostNvmeDiscoveryLogTransportRequirementsSecureChannelRequired,
+ HostNvmeDiscoveryLogTransportRequirementsSecureChannelNotRequired,
+ HostNvmeDiscoveryLogTransportRequirementsRequirementsNotSpecified,
+ }
+}
+
+func (e HostNvmeDiscoveryLogTransportRequirements) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostNvmeDiscoveryLogTransportRequirements"] = reflect.TypeOf((*HostNvmeDiscoveryLogTransportRequirements)(nil)).Elem()
}
@@ -3741,6 +5894,7 @@ func init() {
//
// For details, see:
// - "NVM Express over Fabrics 1.0", Section 5.3, Figure 34,
+// "Discovery Log Page Entry"
type HostNvmeTransportParametersNvmeAddressFamily string
const (
@@ -3758,15 +5912,30 @@ const (
HostNvmeTransportParametersNvmeAddressFamilyUnknown = HostNvmeTransportParametersNvmeAddressFamily("unknown")
)
+func (e HostNvmeTransportParametersNvmeAddressFamily) Values() []HostNvmeTransportParametersNvmeAddressFamily {
+ return []HostNvmeTransportParametersNvmeAddressFamily{
+ HostNvmeTransportParametersNvmeAddressFamilyIpv4,
+ HostNvmeTransportParametersNvmeAddressFamilyIpv6,
+ HostNvmeTransportParametersNvmeAddressFamilyInfiniBand,
+ HostNvmeTransportParametersNvmeAddressFamilyFc,
+ HostNvmeTransportParametersNvmeAddressFamilyLoopback,
+ HostNvmeTransportParametersNvmeAddressFamilyUnknown,
+ }
+}
+
+func (e HostNvmeTransportParametersNvmeAddressFamily) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostNvmeTransportParametersNvmeAddressFamily"] = reflect.TypeOf((*HostNvmeTransportParametersNvmeAddressFamily)(nil)).Elem()
- minAPIVersionForType["HostNvmeTransportParametersNvmeAddressFamily"] = "7.0"
}
// The set of NVM Express over Fabrics transport types.
//
// For details, see:
// - "NVM Express over Fabrics 1.0", Section 1.5.1,
+// "Fabrics and Transports".
type HostNvmeTransportType string
const (
@@ -3784,9 +5953,23 @@ const (
HostNvmeTransportTypeUnsupported = HostNvmeTransportType("unsupported")
)
+func (e HostNvmeTransportType) Values() []HostNvmeTransportType {
+ return []HostNvmeTransportType{
+ HostNvmeTransportTypePcie,
+ HostNvmeTransportTypeFibreChannel,
+ HostNvmeTransportTypeRdma,
+ HostNvmeTransportTypeTcp,
+ HostNvmeTransportTypeLoopback,
+ HostNvmeTransportTypeUnsupported,
+ }
+}
+
+func (e HostNvmeTransportType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostNvmeTransportType"] = reflect.TypeOf((*HostNvmeTransportType)(nil)).Elem()
- minAPIVersionForType["HostNvmeTransportType"] = "7.0"
minAPIVersionForEnumValue["HostNvmeTransportType"] = map[string]string{
"tcp": "7.0.3.0",
}
@@ -3805,14 +5988,90 @@ const (
HostOpaqueSwitchOpaqueSwitchStateMaintenance = HostOpaqueSwitchOpaqueSwitchState("maintenance")
)
+func (e HostOpaqueSwitchOpaqueSwitchState) Values() []HostOpaqueSwitchOpaqueSwitchState {
+ return []HostOpaqueSwitchOpaqueSwitchState{
+ HostOpaqueSwitchOpaqueSwitchStateUp,
+ HostOpaqueSwitchOpaqueSwitchStateWarning,
+ HostOpaqueSwitchOpaqueSwitchStateDown,
+ HostOpaqueSwitchOpaqueSwitchStateMaintenance,
+ }
+}
+
+func (e HostOpaqueSwitchOpaqueSwitchState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostOpaqueSwitchOpaqueSwitchState"] = reflect.TypeOf((*HostOpaqueSwitchOpaqueSwitchState)(nil)).Elem()
- minAPIVersionForType["HostOpaqueSwitchOpaqueSwitchState"] = "6.0"
- minAPIVersionForEnumValue["HostOpaqueSwitchOpaqueSwitchState"] = map[string]string{
- "maintenance": "7.0",
+}
+
+// The following enum describes some common kinds of partial maintenance modes,
+type HostPartialMaintenanceModeId string
+
+const (
+ // When the host is in the quick patch partial maintenance mode, it is safe to
+ // perform a quick patch.
+ //
+ // When the host is in this partial maintenance mode, any virtual machines
+ // and/or pods placed on it will continue to run but operations which may
+ // lead to new workloads starting on the host such as power on or incoming
+ // vmotions may be blocked.
+ // It is generally unsafe to reboot the host in this state.
+ HostPartialMaintenanceModeIdQuickPatchPartialMM = HostPartialMaintenanceModeId("quickPatchPartialMM")
+)
+
+func (e HostPartialMaintenanceModeId) Values() []HostPartialMaintenanceModeId {
+ return []HostPartialMaintenanceModeId{
+ HostPartialMaintenanceModeIdQuickPatchPartialMM,
}
}
+func (e HostPartialMaintenanceModeId) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
+ t["HostPartialMaintenanceModeId"] = reflect.TypeOf((*HostPartialMaintenanceModeId)(nil)).Elem()
+ minAPIVersionForType["HostPartialMaintenanceModeId"] = "8.0.3.0"
+ minAPIVersionForEnumValue["HostPartialMaintenanceModeId"] = map[string]string{
+ "quickPatchPartialMM": "8.0.3.0",
+ }
+}
+
+// The following enum contains the list of possible statuses associated
+type HostPartialMaintenanceModeStatus string
+
+const (
+ // The host is not in the particular partial maintenance mode.
+ HostPartialMaintenanceModeStatusNotInPartialMM = HostPartialMaintenanceModeStatus("notInPartialMM")
+ // The host is in the process of entering the particular partial maintenance
+ // mode.
+ HostPartialMaintenanceModeStatusEnteringPartialMM = HostPartialMaintenanceModeStatus("enteringPartialMM")
+ // The host is in the process of exiting the particular partial maintenance
+ // mode.
+ HostPartialMaintenanceModeStatusExitingPartialMM = HostPartialMaintenanceModeStatus("exitingPartialMM")
+ // The host is in the particular partial maintenance mode.
+ HostPartialMaintenanceModeStatusInPartialMM = HostPartialMaintenanceModeStatus("inPartialMM")
+)
+
+func (e HostPartialMaintenanceModeStatus) Values() []HostPartialMaintenanceModeStatus {
+ return []HostPartialMaintenanceModeStatus{
+ HostPartialMaintenanceModeStatusNotInPartialMM,
+ HostPartialMaintenanceModeStatusEnteringPartialMM,
+ HostPartialMaintenanceModeStatusExitingPartialMM,
+ HostPartialMaintenanceModeStatusInPartialMM,
+ }
+}
+
+func (e HostPartialMaintenanceModeStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
+ t["HostPartialMaintenanceModeStatus"] = reflect.TypeOf((*HostPartialMaintenanceModeStatus)(nil)).Elem()
+ minAPIVersionForType["HostPartialMaintenanceModeStatus"] = "8.0.3.0"
+}
+
// The installation state if the update is installed on the server.
type HostPatchManagerInstallState string
@@ -3823,6 +6082,17 @@ const (
HostPatchManagerInstallStateImageActive = HostPatchManagerInstallState("imageActive")
)
+func (e HostPatchManagerInstallState) Values() []HostPatchManagerInstallState {
+ return []HostPatchManagerInstallState{
+ HostPatchManagerInstallStateHostRestarted,
+ HostPatchManagerInstallStateImageActive,
+ }
+}
+
+func (e HostPatchManagerInstallState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostPatchManagerInstallState"] = reflect.TypeOf((*HostPatchManagerInstallState)(nil)).Elem()
}
@@ -3848,6 +6118,22 @@ const (
HostPatchManagerIntegrityStatusValidationError = HostPatchManagerIntegrityStatus("validationError")
)
+func (e HostPatchManagerIntegrityStatus) Values() []HostPatchManagerIntegrityStatus {
+ return []HostPatchManagerIntegrityStatus{
+ HostPatchManagerIntegrityStatusValidated,
+ HostPatchManagerIntegrityStatusKeyNotFound,
+ HostPatchManagerIntegrityStatusKeyRevoked,
+ HostPatchManagerIntegrityStatusKeyExpired,
+ HostPatchManagerIntegrityStatusDigestMismatch,
+ HostPatchManagerIntegrityStatusNotEnoughSignatures,
+ HostPatchManagerIntegrityStatusValidationError,
+ }
+}
+
+func (e HostPatchManagerIntegrityStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostPatchManagerIntegrityStatus"] = reflect.TypeOf((*HostPatchManagerIntegrityStatus)(nil)).Elem()
}
@@ -3875,6 +6161,21 @@ const (
HostPatchManagerReasonConflictLib = HostPatchManagerReason("conflictLib")
)
+func (e HostPatchManagerReason) Values() []HostPatchManagerReason {
+ return []HostPatchManagerReason{
+ HostPatchManagerReasonObsoleted,
+ HostPatchManagerReasonMissingPatch,
+ HostPatchManagerReasonMissingLib,
+ HostPatchManagerReasonHasDependentPatch,
+ HostPatchManagerReasonConflictPatch,
+ HostPatchManagerReasonConflictLib,
+ }
+}
+
+func (e HostPatchManagerReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostPatchManagerReason"] = reflect.TypeOf((*HostPatchManagerReason)(nil)).Elem()
}
@@ -3891,12 +6192,23 @@ const (
HostPowerOperationTypePowerOff = HostPowerOperationType("powerOff")
)
+func (e HostPowerOperationType) Values() []HostPowerOperationType {
+ return []HostPowerOperationType{
+ HostPowerOperationTypePowerOn,
+ HostPowerOperationTypePowerOff,
+ }
+}
+
+func (e HostPowerOperationType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostPowerOperationType"] = reflect.TypeOf((*HostPowerOperationType)(nil)).Elem()
- minAPIVersionForType["HostPowerOperationType"] = "2.5"
}
// The `HostProfileManagerAnswerFileStatus_enum` enum
+// defines possible values for answer file status.
type HostProfileManagerAnswerFileStatus string
const (
@@ -3905,25 +6217,37 @@ const (
// Answer file is not valid.
//
// The file is either missing or incomplete.
- // - To produce an answer file, pass host-specific data (user input) to the
- // `HostProfileManager*.*HostProfileManager.ApplyHostConfig_Task`
- // method.
- // - To produce a complete answer file, call the
- // `HostProfile*.*HostProfile.ExecuteHostProfile`
- // method and fill in any missing parameters in the returned
- // `ProfileExecuteResult*.*ProfileExecuteResult.requireInput`
- // list. After you execute the profile successfully, you can pass the complete required
- // input list to the apply method.
+ // - To produce an answer file, pass host-specific data (user input) to the
+ // `HostProfileManager*.*HostProfileManager.ApplyHostConfig_Task`
+ // method.
+ // - To produce a complete answer file, call the
+ // `HostProfile*.*HostProfile.ExecuteHostProfile`
+ // method and fill in any missing parameters in the returned
+ // `ProfileExecuteResult*.*ProfileExecuteResult.requireInput`
+ // list. After you execute the profile successfully, you can pass the complete required
+ // input list to the apply method.
HostProfileManagerAnswerFileStatusInvalid = HostProfileManagerAnswerFileStatus("invalid")
// Answer file status is not known.
HostProfileManagerAnswerFileStatusUnknown = HostProfileManagerAnswerFileStatus("unknown")
)
+func (e HostProfileManagerAnswerFileStatus) Values() []HostProfileManagerAnswerFileStatus {
+ return []HostProfileManagerAnswerFileStatus{
+ HostProfileManagerAnswerFileStatusValid,
+ HostProfileManagerAnswerFileStatusInvalid,
+ HostProfileManagerAnswerFileStatusUnknown,
+ }
+}
+
+func (e HostProfileManagerAnswerFileStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostProfileManagerAnswerFileStatus"] = reflect.TypeOf((*HostProfileManagerAnswerFileStatus)(nil)).Elem()
- minAPIVersionForType["HostProfileManagerAnswerFileStatus"] = "5.0"
}
+// The composition status class.
type HostProfileManagerCompositionResultResultElementStatus string
const (
@@ -3931,11 +6255,22 @@ const (
HostProfileManagerCompositionResultResultElementStatusError = HostProfileManagerCompositionResultResultElementStatus("error")
)
+func (e HostProfileManagerCompositionResultResultElementStatus) Values() []HostProfileManagerCompositionResultResultElementStatus {
+ return []HostProfileManagerCompositionResultResultElementStatus{
+ HostProfileManagerCompositionResultResultElementStatusSuccess,
+ HostProfileManagerCompositionResultResultElementStatusError,
+ }
+}
+
+func (e HostProfileManagerCompositionResultResultElementStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostProfileManagerCompositionResultResultElementStatus"] = reflect.TypeOf((*HostProfileManagerCompositionResultResultElementStatus)(nil)).Elem()
- minAPIVersionForType["HostProfileManagerCompositionResultResultElementStatus"] = "6.5"
}
+// The composition validation status class.
type HostProfileManagerCompositionValidationResultResultElementStatus string
const (
@@ -3943,14 +6278,25 @@ const (
HostProfileManagerCompositionValidationResultResultElementStatusError = HostProfileManagerCompositionValidationResultResultElementStatus("error")
)
+func (e HostProfileManagerCompositionValidationResultResultElementStatus) Values() []HostProfileManagerCompositionValidationResultResultElementStatus {
+ return []HostProfileManagerCompositionValidationResultResultElementStatus{
+ HostProfileManagerCompositionValidationResultResultElementStatusSuccess,
+ HostProfileManagerCompositionValidationResultResultElementStatusError,
+ }
+}
+
+func (e HostProfileManagerCompositionValidationResultResultElementStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostProfileManagerCompositionValidationResultResultElementStatus"] = reflect.TypeOf((*HostProfileManagerCompositionValidationResultResultElementStatus)(nil)).Elem()
- minAPIVersionForType["HostProfileManagerCompositionValidationResultResultElementStatus"] = "6.5"
}
// The `HostProfileManagerTaskListRequirement_enum` enum
// defines possible values for requirements when applying a `HostConfigSpec`
// object returned as part of a generateConfigTaskList
+// operation.
type HostProfileManagerTaskListRequirement string
const (
@@ -3963,11 +6309,22 @@ const (
HostProfileManagerTaskListRequirementRebootRequired = HostProfileManagerTaskListRequirement("rebootRequired")
)
+func (e HostProfileManagerTaskListRequirement) Values() []HostProfileManagerTaskListRequirement {
+ return []HostProfileManagerTaskListRequirement{
+ HostProfileManagerTaskListRequirementMaintenanceModeRequired,
+ HostProfileManagerTaskListRequirementRebootRequired,
+ }
+}
+
+func (e HostProfileManagerTaskListRequirement) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostProfileManagerTaskListRequirement"] = reflect.TypeOf((*HostProfileManagerTaskListRequirement)(nil)).Elem()
- minAPIVersionForType["HostProfileManagerTaskListRequirement"] = "6.0"
}
+// Types of host profile update.
type HostProfileValidationFailureInfoUpdateType string
const (
@@ -3981,11 +6338,24 @@ const (
HostProfileValidationFailureInfoUpdateTypeCompose = HostProfileValidationFailureInfoUpdateType("Compose")
)
+func (e HostProfileValidationFailureInfoUpdateType) Values() []HostProfileValidationFailureInfoUpdateType {
+ return []HostProfileValidationFailureInfoUpdateType{
+ HostProfileValidationFailureInfoUpdateTypeHostBased,
+ HostProfileValidationFailureInfoUpdateTypeImport,
+ HostProfileValidationFailureInfoUpdateTypeEdit,
+ HostProfileValidationFailureInfoUpdateTypeCompose,
+ }
+}
+
+func (e HostProfileValidationFailureInfoUpdateType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostProfileValidationFailureInfoUpdateType"] = reflect.TypeOf((*HostProfileValidationFailureInfoUpdateType)(nil)).Elem()
- minAPIVersionForType["HostProfileValidationFailureInfoUpdateType"] = "6.7"
}
+// This defines validation state values for host profile.
type HostProfileValidationState string
const (
@@ -3994,12 +6364,25 @@ const (
HostProfileValidationStateFailed = HostProfileValidationState("Failed")
)
+func (e HostProfileValidationState) Values() []HostProfileValidationState {
+ return []HostProfileValidationState{
+ HostProfileValidationStateReady,
+ HostProfileValidationStateRunning,
+ HostProfileValidationStateFailed,
+ }
+}
+
+func (e HostProfileValidationState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostProfileValidationState"] = reflect.TypeOf((*HostProfileValidationState)(nil)).Elem()
- minAPIVersionForType["HostProfileValidationState"] = "6.7"
}
// Deprecated from all vmodl version above @released("6.0").
+//
+// ProtocolEndpoint Type.
type HostProtocolEndpointPEType string
const (
@@ -4007,11 +6390,22 @@ const (
HostProtocolEndpointPETypeNas = HostProtocolEndpointPEType("nas")
)
+func (e HostProtocolEndpointPEType) Values() []HostProtocolEndpointPEType {
+ return []HostProtocolEndpointPEType{
+ HostProtocolEndpointPETypeBlock,
+ HostProtocolEndpointPETypeNas,
+ }
+}
+
+func (e HostProtocolEndpointPEType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostProtocolEndpointPEType"] = reflect.TypeOf((*HostProtocolEndpointPEType)(nil)).Elem()
- minAPIVersionForType["HostProtocolEndpointPEType"] = "6.0"
}
+// ProtocolEndpoint type.
type HostProtocolEndpointProtocolEndpointType string
const (
@@ -4020,9 +6414,20 @@ const (
HostProtocolEndpointProtocolEndpointTypeNfs4x = HostProtocolEndpointProtocolEndpointType("nfs4x")
)
+func (e HostProtocolEndpointProtocolEndpointType) Values() []HostProtocolEndpointProtocolEndpointType {
+ return []HostProtocolEndpointProtocolEndpointType{
+ HostProtocolEndpointProtocolEndpointTypeScsi,
+ HostProtocolEndpointProtocolEndpointTypeNfs,
+ HostProtocolEndpointProtocolEndpointTypeNfs4x,
+ }
+}
+
+func (e HostProtocolEndpointProtocolEndpointType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostProtocolEndpointProtocolEndpointType"] = reflect.TypeOf((*HostProtocolEndpointProtocolEndpointType)(nil)).Elem()
- minAPIVersionForType["HostProtocolEndpointProtocolEndpointType"] = "6.5"
}
type HostPtpConfigDeviceType string
@@ -4041,6 +6446,18 @@ const (
HostPtpConfigDeviceTypePciPassthruNic = HostPtpConfigDeviceType("pciPassthruNic")
)
+func (e HostPtpConfigDeviceType) Values() []HostPtpConfigDeviceType {
+ return []HostPtpConfigDeviceType{
+ HostPtpConfigDeviceTypeNone,
+ HostPtpConfigDeviceTypeVirtualNic,
+ HostPtpConfigDeviceTypePciPassthruNic,
+ }
+}
+
+func (e HostPtpConfigDeviceType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostPtpConfigDeviceType"] = reflect.TypeOf((*HostPtpConfigDeviceType)(nil)).Elem()
minAPIVersionForType["HostPtpConfigDeviceType"] = "7.0.3.0"
@@ -4055,6 +6472,17 @@ const (
HostQualifiedNameTypeVvolNvmeQualifiedName = HostQualifiedNameType("vvolNvmeQualifiedName")
)
+func (e HostQualifiedNameType) Values() []HostQualifiedNameType {
+ return []HostQualifiedNameType{
+ HostQualifiedNameTypeNvmeQualifiedName,
+ HostQualifiedNameTypeVvolNvmeQualifiedName,
+ }
+}
+
+func (e HostQualifiedNameType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostQualifiedNameType"] = reflect.TypeOf((*HostQualifiedNameType)(nil)).Elem()
minAPIVersionForType["HostQualifiedNameType"] = "7.0.3.0"
@@ -4071,6 +6499,7 @@ func init() {
//
// Further details can be found in:
// - "Infiniband (TM) Architecture Specification, Volume 1"
+// section 7.2 "Link states"
type HostRdmaDeviceConnectionState string
const (
@@ -4113,15 +6542,30 @@ const (
HostRdmaDeviceConnectionStateActiveDefer = HostRdmaDeviceConnectionState("activeDefer")
)
+func (e HostRdmaDeviceConnectionState) Values() []HostRdmaDeviceConnectionState {
+ return []HostRdmaDeviceConnectionState{
+ HostRdmaDeviceConnectionStateUnknown,
+ HostRdmaDeviceConnectionStateDown,
+ HostRdmaDeviceConnectionStateInit,
+ HostRdmaDeviceConnectionStateArmed,
+ HostRdmaDeviceConnectionStateActive,
+ HostRdmaDeviceConnectionStateActiveDefer,
+ }
+}
+
+func (e HostRdmaDeviceConnectionState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostRdmaDeviceConnectionState"] = reflect.TypeOf((*HostRdmaDeviceConnectionState)(nil)).Elem()
- minAPIVersionForType["HostRdmaDeviceConnectionState"] = "7.0"
}
// Deprecated as of vSphere API 6.0.
//
// Set of possible values for
// `HostCapability.replayUnsupportedReason` and
+// `HostCapability.replayCompatibilityIssues`.
type HostReplayUnsupportedReason string
const (
@@ -4133,11 +6577,26 @@ const (
HostReplayUnsupportedReasonUnknown = HostReplayUnsupportedReason("unknown")
)
+func (e HostReplayUnsupportedReason) Values() []HostReplayUnsupportedReason {
+ return []HostReplayUnsupportedReason{
+ HostReplayUnsupportedReasonIncompatibleProduct,
+ HostReplayUnsupportedReasonIncompatibleCpu,
+ HostReplayUnsupportedReasonHvDisabled,
+ HostReplayUnsupportedReasonCpuidLimitSet,
+ HostReplayUnsupportedReasonOldBIOS,
+ HostReplayUnsupportedReasonUnknown,
+ }
+}
+
+func (e HostReplayUnsupportedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostReplayUnsupportedReason"] = reflect.TypeOf((*HostReplayUnsupportedReason)(nil)).Elem()
- minAPIVersionForType["HostReplayUnsupportedReason"] = "4.0"
}
+// Define the instance state type
type HostRuntimeInfoNetStackInstanceRuntimeInfoState string
const (
@@ -4151,9 +6610,21 @@ const (
HostRuntimeInfoNetStackInstanceRuntimeInfoStateActivating = HostRuntimeInfoNetStackInstanceRuntimeInfoState("activating")
)
+func (e HostRuntimeInfoNetStackInstanceRuntimeInfoState) Values() []HostRuntimeInfoNetStackInstanceRuntimeInfoState {
+ return []HostRuntimeInfoNetStackInstanceRuntimeInfoState{
+ HostRuntimeInfoNetStackInstanceRuntimeInfoStateInactive,
+ HostRuntimeInfoNetStackInstanceRuntimeInfoStateActive,
+ HostRuntimeInfoNetStackInstanceRuntimeInfoStateDeactivating,
+ HostRuntimeInfoNetStackInstanceRuntimeInfoStateActivating,
+ }
+}
+
+func (e HostRuntimeInfoNetStackInstanceRuntimeInfoState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostRuntimeInfoNetStackInstanceRuntimeInfoState"] = reflect.TypeOf((*HostRuntimeInfoNetStackInstanceRuntimeInfoState)(nil)).Elem()
- minAPIVersionForType["HostRuntimeInfoNetStackInstanceRuntimeInfoState"] = "5.5"
}
type HostRuntimeInfoStateEncryptionInfoProtectionMode string
@@ -4165,6 +6636,17 @@ const (
HostRuntimeInfoStateEncryptionInfoProtectionModeTpm = HostRuntimeInfoStateEncryptionInfoProtectionMode("tpm")
)
+func (e HostRuntimeInfoStateEncryptionInfoProtectionMode) Values() []HostRuntimeInfoStateEncryptionInfoProtectionMode {
+ return []HostRuntimeInfoStateEncryptionInfoProtectionMode{
+ HostRuntimeInfoStateEncryptionInfoProtectionModeNone,
+ HostRuntimeInfoStateEncryptionInfoProtectionModeTpm,
+ }
+}
+
+func (e HostRuntimeInfoStateEncryptionInfoProtectionMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostRuntimeInfoStateEncryptionInfoProtectionMode"] = reflect.TypeOf((*HostRuntimeInfoStateEncryptionInfoProtectionMode)(nil)).Elem()
minAPIVersionForType["HostRuntimeInfoStateEncryptionInfoProtectionMode"] = "7.0.3.0"
@@ -4181,6 +6663,18 @@ const (
HostRuntimeInfoStatelessNvdsMigrationStateUnknown = HostRuntimeInfoStatelessNvdsMigrationState("unknown")
)
+func (e HostRuntimeInfoStatelessNvdsMigrationState) Values() []HostRuntimeInfoStatelessNvdsMigrationState {
+ return []HostRuntimeInfoStatelessNvdsMigrationState{
+ HostRuntimeInfoStatelessNvdsMigrationStateReady,
+ HostRuntimeInfoStatelessNvdsMigrationStateNotNeeded,
+ HostRuntimeInfoStatelessNvdsMigrationStateUnknown,
+ }
+}
+
+func (e HostRuntimeInfoStatelessNvdsMigrationState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostRuntimeInfoStatelessNvdsMigrationState"] = reflect.TypeOf((*HostRuntimeInfoStatelessNvdsMigrationState)(nil)).Elem()
minAPIVersionForType["HostRuntimeInfoStatelessNvdsMigrationState"] = "7.0.2.0"
@@ -4198,6 +6692,18 @@ const (
HostServicePolicyOff = HostServicePolicy("off")
)
+func (e HostServicePolicy) Values() []HostServicePolicy {
+ return []HostServicePolicy{
+ HostServicePolicyOn,
+ HostServicePolicyAutomatic,
+ HostServicePolicyOff,
+ }
+}
+
+func (e HostServicePolicy) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostServicePolicy"] = reflect.TypeOf((*HostServicePolicy)(nil)).Elem()
}
@@ -4210,11 +6716,24 @@ const (
HostSevInfoSevStateWorking = HostSevInfoSevState("working")
)
+func (e HostSevInfoSevState) Values() []HostSevInfoSevState {
+ return []HostSevInfoSevState{
+ HostSevInfoSevStateUninitialized,
+ HostSevInfoSevStateInitialized,
+ HostSevInfoSevStateWorking,
+ }
+}
+
+func (e HostSevInfoSevState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostSevInfoSevState"] = reflect.TypeOf((*HostSevInfoSevState)(nil)).Elem()
minAPIVersionForType["HostSevInfoSevState"] = "7.0.1.0"
}
+// Flexible Launch Enclave (FLC) modes.
type HostSgxInfoFlcModes string
const (
@@ -4231,11 +6750,23 @@ const (
HostSgxInfoFlcModesUnlocked = HostSgxInfoFlcModes("unlocked")
)
+func (e HostSgxInfoFlcModes) Values() []HostSgxInfoFlcModes {
+ return []HostSgxInfoFlcModes{
+ HostSgxInfoFlcModesOff,
+ HostSgxInfoFlcModesLocked,
+ HostSgxInfoFlcModesUnlocked,
+ }
+}
+
+func (e HostSgxInfoFlcModes) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostSgxInfoFlcModes"] = reflect.TypeOf((*HostSgxInfoFlcModes)(nil)).Elem()
- minAPIVersionForType["HostSgxInfoFlcModes"] = "7.0"
}
+// Host SGX states.
type HostSgxInfoSgxStates string
const (
@@ -4260,9 +6791,25 @@ const (
HostSgxInfoSgxStatesEnabled = HostSgxInfoSgxStates("enabled")
)
+func (e HostSgxInfoSgxStates) Values() []HostSgxInfoSgxStates {
+ return []HostSgxInfoSgxStates{
+ HostSgxInfoSgxStatesNotPresent,
+ HostSgxInfoSgxStatesDisabledBIOS,
+ HostSgxInfoSgxStatesDisabledCFW101,
+ HostSgxInfoSgxStatesDisabledCPUMismatch,
+ HostSgxInfoSgxStatesDisabledNoFLC,
+ HostSgxInfoSgxStatesDisabledNUMAUnsup,
+ HostSgxInfoSgxStatesDisabledMaxEPCRegs,
+ HostSgxInfoSgxStatesEnabled,
+ }
+}
+
+func (e HostSgxInfoSgxStates) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostSgxInfoSgxStates"] = reflect.TypeOf((*HostSgxInfoSgxStates)(nil)).Elem()
- minAPIVersionForType["HostSgxInfoSgxStates"] = "7.0"
}
type HostSgxRegistrationInfoRegistrationStatus string
@@ -4276,6 +6823,18 @@ const (
HostSgxRegistrationInfoRegistrationStatusComplete = HostSgxRegistrationInfoRegistrationStatus("complete")
)
+func (e HostSgxRegistrationInfoRegistrationStatus) Values() []HostSgxRegistrationInfoRegistrationStatus {
+ return []HostSgxRegistrationInfoRegistrationStatus{
+ HostSgxRegistrationInfoRegistrationStatusNotApplicable,
+ HostSgxRegistrationInfoRegistrationStatusIncomplete,
+ HostSgxRegistrationInfoRegistrationStatusComplete,
+ }
+}
+
+func (e HostSgxRegistrationInfoRegistrationStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostSgxRegistrationInfoRegistrationStatus"] = reflect.TypeOf((*HostSgxRegistrationInfoRegistrationStatus)(nil)).Elem()
minAPIVersionForType["HostSgxRegistrationInfoRegistrationStatus"] = "8.0.0.1"
@@ -4291,11 +6850,23 @@ const (
HostSgxRegistrationInfoRegistrationTypeAddPackage = HostSgxRegistrationInfoRegistrationType("addPackage")
)
+func (e HostSgxRegistrationInfoRegistrationType) Values() []HostSgxRegistrationInfoRegistrationType {
+ return []HostSgxRegistrationInfoRegistrationType{
+ HostSgxRegistrationInfoRegistrationTypeManifest,
+ HostSgxRegistrationInfoRegistrationTypeAddPackage,
+ }
+}
+
+func (e HostSgxRegistrationInfoRegistrationType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostSgxRegistrationInfoRegistrationType"] = reflect.TypeOf((*HostSgxRegistrationInfoRegistrationType)(nil)).Elem()
minAPIVersionForType["HostSgxRegistrationInfoRegistrationType"] = "8.0.0.1"
}
+// SNMP Agent supported capabilities enum
type HostSnmpAgentCapability string
const (
@@ -4307,11 +6878,23 @@ const (
HostSnmpAgentCapabilityCONFIGURATION = HostSnmpAgentCapability("CONFIGURATION")
)
+func (e HostSnmpAgentCapability) Values() []HostSnmpAgentCapability {
+ return []HostSnmpAgentCapability{
+ HostSnmpAgentCapabilityCOMPLETE,
+ HostSnmpAgentCapabilityDIAGNOSTICS,
+ HostSnmpAgentCapabilityCONFIGURATION,
+ }
+}
+
+func (e HostSnmpAgentCapability) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostSnmpAgentCapability"] = reflect.TypeOf((*HostSnmpAgentCapability)(nil)).Elem()
- minAPIVersionForType["HostSnmpAgentCapability"] = "4.0"
}
+// Defines a host's standby mode.
type HostStandbyMode string
const (
@@ -4326,11 +6909,24 @@ const (
HostStandbyModeNone = HostStandbyMode("none")
)
+func (e HostStandbyMode) Values() []HostStandbyMode {
+ return []HostStandbyMode{
+ HostStandbyModeEntering,
+ HostStandbyModeExiting,
+ HostStandbyModeIn,
+ HostStandbyModeNone,
+ }
+}
+
+func (e HostStandbyMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostStandbyMode"] = reflect.TypeOf((*HostStandbyMode)(nil)).Elem()
- minAPIVersionForType["HostStandbyMode"] = "4.1"
}
+// The set of supported host bus adapter protocols.
type HostStorageProtocol string
const (
@@ -4340,9 +6936,19 @@ const (
HostStorageProtocolNvme = HostStorageProtocol("nvme")
)
+func (e HostStorageProtocol) Values() []HostStorageProtocol {
+ return []HostStorageProtocol{
+ HostStorageProtocolScsi,
+ HostStorageProtocolNvme,
+ }
+}
+
+func (e HostStorageProtocol) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostStorageProtocol"] = reflect.TypeOf((*HostStorageProtocol)(nil)).Elem()
- minAPIVersionForType["HostStorageProtocol"] = "7.0"
}
// Defines a host's connection state.
@@ -4367,6 +6973,18 @@ const (
HostSystemConnectionStateDisconnected = HostSystemConnectionState("disconnected")
)
+func (e HostSystemConnectionState) Values() []HostSystemConnectionState {
+ return []HostSystemConnectionState{
+ HostSystemConnectionStateConnected,
+ HostSystemConnectionStateNotResponding,
+ HostSystemConnectionStateDisconnected,
+ }
+}
+
+func (e HostSystemConnectionState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostSystemConnectionState"] = reflect.TypeOf((*HostSystemConnectionState)(nil)).Elem()
}
@@ -4386,16 +7004,25 @@ const (
HostSystemIdentificationInfoIdentifierSerialNumberTag = HostSystemIdentificationInfoIdentifier("SerialNumberTag")
)
+func (e HostSystemIdentificationInfoIdentifier) Values() []HostSystemIdentificationInfoIdentifier {
+ return []HostSystemIdentificationInfoIdentifier{
+ HostSystemIdentificationInfoIdentifierAssetTag,
+ HostSystemIdentificationInfoIdentifierServiceTag,
+ HostSystemIdentificationInfoIdentifierOemSpecificString,
+ HostSystemIdentificationInfoIdentifierEnclosureSerialNumberTag,
+ HostSystemIdentificationInfoIdentifierSerialNumberTag,
+ }
+}
+
+func (e HostSystemIdentificationInfoIdentifier) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostSystemIdentificationInfoIdentifier"] = reflect.TypeOf((*HostSystemIdentificationInfoIdentifier)(nil)).Elem()
- minAPIVersionForType["HostSystemIdentificationInfoIdentifier"] = "2.5"
- minAPIVersionForEnumValue["HostSystemIdentificationInfoIdentifier"] = map[string]string{
- "OemSpecificString": "5.0",
- "EnclosureSerialNumberTag": "6.0",
- "SerialNumberTag": "6.0",
- }
}
+// Defines a host's power state.
type HostSystemPowerState string
const (
@@ -4430,11 +7057,24 @@ const (
HostSystemPowerStateUnknown = HostSystemPowerState("unknown")
)
+func (e HostSystemPowerState) Values() []HostSystemPowerState {
+ return []HostSystemPowerState{
+ HostSystemPowerStatePoweredOn,
+ HostSystemPowerStatePoweredOff,
+ HostSystemPowerStateStandBy,
+ HostSystemPowerStateUnknown,
+ }
+}
+
+func (e HostSystemPowerState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostSystemPowerState"] = reflect.TypeOf((*HostSystemPowerState)(nil)).Elem()
- minAPIVersionForType["HostSystemPowerState"] = "2.5"
}
+// Valid state for host profile remediation.
type HostSystemRemediationStateState string
const (
@@ -4452,11 +7092,26 @@ const (
HostSystemRemediationStateStateRemediationFailed = HostSystemRemediationStateState("remediationFailed")
)
+func (e HostSystemRemediationStateState) Values() []HostSystemRemediationStateState {
+ return []HostSystemRemediationStateState{
+ HostSystemRemediationStateStateRemediationReady,
+ HostSystemRemediationStateStatePrecheckRemediationRunning,
+ HostSystemRemediationStateStatePrecheckRemediationComplete,
+ HostSystemRemediationStateStatePrecheckRemediationFailed,
+ HostSystemRemediationStateStateRemediationRunning,
+ HostSystemRemediationStateStateRemediationFailed,
+ }
+}
+
+func (e HostSystemRemediationStateState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostSystemRemediationStateState"] = reflect.TypeOf((*HostSystemRemediationStateState)(nil)).Elem()
- minAPIVersionForType["HostSystemRemediationStateState"] = "6.7"
}
+// Status constants of TPM attestation.
type HostTpmAttestationInfoAcceptanceStatus string
const (
@@ -4466,9 +7121,19 @@ const (
HostTpmAttestationInfoAcceptanceStatusAccepted = HostTpmAttestationInfoAcceptanceStatus("accepted")
)
+func (e HostTpmAttestationInfoAcceptanceStatus) Values() []HostTpmAttestationInfoAcceptanceStatus {
+ return []HostTpmAttestationInfoAcceptanceStatus{
+ HostTpmAttestationInfoAcceptanceStatusNotAccepted,
+ HostTpmAttestationInfoAcceptanceStatusAccepted,
+ }
+}
+
+func (e HostTpmAttestationInfoAcceptanceStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostTpmAttestationInfoAcceptanceStatus"] = reflect.TypeOf((*HostTpmAttestationInfoAcceptanceStatus)(nil)).Elem()
- minAPIVersionForType["HostTpmAttestationInfoAcceptanceStatus"] = "6.7"
}
type HostTrustAuthorityAttestationInfoAttestationStatus string
@@ -4482,12 +7147,25 @@ const (
HostTrustAuthorityAttestationInfoAttestationStatusUnknown = HostTrustAuthorityAttestationInfoAttestationStatus("unknown")
)
+func (e HostTrustAuthorityAttestationInfoAttestationStatus) Values() []HostTrustAuthorityAttestationInfoAttestationStatus {
+ return []HostTrustAuthorityAttestationInfoAttestationStatus{
+ HostTrustAuthorityAttestationInfoAttestationStatusAttested,
+ HostTrustAuthorityAttestationInfoAttestationStatusNotAttested,
+ HostTrustAuthorityAttestationInfoAttestationStatusUnknown,
+ }
+}
+
+func (e HostTrustAuthorityAttestationInfoAttestationStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostTrustAuthorityAttestationInfoAttestationStatus"] = reflect.TypeOf((*HostTrustAuthorityAttestationInfoAttestationStatus)(nil)).Elem()
minAPIVersionForType["HostTrustAuthorityAttestationInfoAttestationStatus"] = "7.0.1.0"
}
// Reasons for identifying the disk extent
+// as copy of VMFS volume extent.
type HostUnresolvedVmfsExtentUnresolvedReason string
const (
@@ -4498,9 +7176,19 @@ const (
HostUnresolvedVmfsExtentUnresolvedReasonUuidConflict = HostUnresolvedVmfsExtentUnresolvedReason("uuidConflict")
)
+func (e HostUnresolvedVmfsExtentUnresolvedReason) Values() []HostUnresolvedVmfsExtentUnresolvedReason {
+ return []HostUnresolvedVmfsExtentUnresolvedReason{
+ HostUnresolvedVmfsExtentUnresolvedReasonDiskIdMismatch,
+ HostUnresolvedVmfsExtentUnresolvedReasonUuidConflict,
+ }
+}
+
+func (e HostUnresolvedVmfsExtentUnresolvedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostUnresolvedVmfsExtentUnresolvedReason"] = reflect.TypeOf((*HostUnresolvedVmfsExtentUnresolvedReason)(nil)).Elem()
- minAPIVersionForType["HostUnresolvedVmfsExtentUnresolvedReason"] = "4.0"
}
type HostUnresolvedVmfsResolutionSpecVmfsUuidResolution string
@@ -4520,9 +7208,19 @@ const (
HostUnresolvedVmfsResolutionSpecVmfsUuidResolutionForceMount = HostUnresolvedVmfsResolutionSpecVmfsUuidResolution("forceMount")
)
+func (e HostUnresolvedVmfsResolutionSpecVmfsUuidResolution) Values() []HostUnresolvedVmfsResolutionSpecVmfsUuidResolution {
+ return []HostUnresolvedVmfsResolutionSpecVmfsUuidResolution{
+ HostUnresolvedVmfsResolutionSpecVmfsUuidResolutionResignature,
+ HostUnresolvedVmfsResolutionSpecVmfsUuidResolutionForceMount,
+ }
+}
+
+func (e HostUnresolvedVmfsResolutionSpecVmfsUuidResolution) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostUnresolvedVmfsResolutionSpecVmfsUuidResolution"] = reflect.TypeOf((*HostUnresolvedVmfsResolutionSpecVmfsUuidResolution)(nil)).Elem()
- minAPIVersionForType["HostUnresolvedVmfsResolutionSpecVmfsUuidResolution"] = "4.0"
}
type HostVirtualNicManagerNicType string
@@ -4584,22 +7282,36 @@ const (
HostVirtualNicManagerNicTypeNvmeRdma = HostVirtualNicManagerNicType("nvmeRdma")
)
+func (e HostVirtualNicManagerNicType) Values() []HostVirtualNicManagerNicType {
+ return []HostVirtualNicManagerNicType{
+ HostVirtualNicManagerNicTypeVmotion,
+ HostVirtualNicManagerNicTypeFaultToleranceLogging,
+ HostVirtualNicManagerNicTypeVSphereReplication,
+ HostVirtualNicManagerNicTypeVSphereReplicationNFC,
+ HostVirtualNicManagerNicTypeManagement,
+ HostVirtualNicManagerNicTypeVsan,
+ HostVirtualNicManagerNicTypeVSphereProvisioning,
+ HostVirtualNicManagerNicTypeVsanWitness,
+ HostVirtualNicManagerNicTypeVSphereBackupNFC,
+ HostVirtualNicManagerNicTypePtp,
+ HostVirtualNicManagerNicTypeNvmeTcp,
+ HostVirtualNicManagerNicTypeNvmeRdma,
+ }
+}
+
+func (e HostVirtualNicManagerNicType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostVirtualNicManagerNicType"] = reflect.TypeOf((*HostVirtualNicManagerNicType)(nil)).Elem()
- minAPIVersionForType["HostVirtualNicManagerNicType"] = "4.0"
minAPIVersionForEnumValue["HostVirtualNicManagerNicType"] = map[string]string{
- "vSphereReplication": "5.1",
- "vSphereReplicationNFC": "6.0",
- "vsan": "5.5",
- "vSphereProvisioning": "6.0",
- "vsanWitness": "6.5",
- "vSphereBackupNFC": "7.0",
- "ptp": "7.0",
- "nvmeTcp": "7.0.3.0",
- "nvmeRdma": "7.0.3.0",
+ "nvmeTcp": "7.0.3.0",
+ "nvmeRdma": "7.0.3.0",
}
}
+// Set of possible values for mode field in AccessSpec.
type HostVmciAccessManagerMode string
const (
@@ -4611,14 +7323,26 @@ const (
HostVmciAccessManagerModeRevoke = HostVmciAccessManagerMode("revoke")
)
+func (e HostVmciAccessManagerMode) Values() []HostVmciAccessManagerMode {
+ return []HostVmciAccessManagerMode{
+ HostVmciAccessManagerModeGrant,
+ HostVmciAccessManagerModeReplace,
+ HostVmciAccessManagerModeRevoke,
+ }
+}
+
+func (e HostVmciAccessManagerMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostVmciAccessManagerMode"] = reflect.TypeOf((*HostVmciAccessManagerMode)(nil)).Elem()
- minAPIVersionForType["HostVmciAccessManagerMode"] = "5.0"
}
// VMFS unmap bandwidth policy.
//
// VMFS unmap reclaims unused storage space.
+// This specifies the bandwidth policy option of unmaps.
type HostVmfsVolumeUnmapBandwidthPolicy string
const (
@@ -4628,14 +7352,25 @@ const (
HostVmfsVolumeUnmapBandwidthPolicyDynamic = HostVmfsVolumeUnmapBandwidthPolicy("dynamic")
)
+func (e HostVmfsVolumeUnmapBandwidthPolicy) Values() []HostVmfsVolumeUnmapBandwidthPolicy {
+ return []HostVmfsVolumeUnmapBandwidthPolicy{
+ HostVmfsVolumeUnmapBandwidthPolicyFixed,
+ HostVmfsVolumeUnmapBandwidthPolicyDynamic,
+ }
+}
+
+func (e HostVmfsVolumeUnmapBandwidthPolicy) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostVmfsVolumeUnmapBandwidthPolicy"] = reflect.TypeOf((*HostVmfsVolumeUnmapBandwidthPolicy)(nil)).Elem()
- minAPIVersionForType["HostVmfsVolumeUnmapBandwidthPolicy"] = "6.7"
}
// VMFS unmap priority.
//
// VMFS unmap reclaims unused storage space.
+// This specifies the processing rate of unmaps.
type HostVmfsVolumeUnmapPriority string
const (
@@ -4645,11 +7380,22 @@ const (
HostVmfsVolumeUnmapPriorityLow = HostVmfsVolumeUnmapPriority("low")
)
+func (e HostVmfsVolumeUnmapPriority) Values() []HostVmfsVolumeUnmapPriority {
+ return []HostVmfsVolumeUnmapPriority{
+ HostVmfsVolumeUnmapPriorityNone,
+ HostVmfsVolumeUnmapPriorityLow,
+ }
+}
+
+func (e HostVmfsVolumeUnmapPriority) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HostVmfsVolumeUnmapPriority"] = reflect.TypeOf((*HostVmfsVolumeUnmapPriority)(nil)).Elem()
- minAPIVersionForType["HostVmfsVolumeUnmapPriority"] = "6.5"
}
+// List of supported algorithms for checksum calculation.
type HttpNfcLeaseManifestEntryChecksumType string
const (
@@ -4657,11 +7403,22 @@ const (
HttpNfcLeaseManifestEntryChecksumTypeSha256 = HttpNfcLeaseManifestEntryChecksumType("sha256")
)
+func (e HttpNfcLeaseManifestEntryChecksumType) Values() []HttpNfcLeaseManifestEntryChecksumType {
+ return []HttpNfcLeaseManifestEntryChecksumType{
+ HttpNfcLeaseManifestEntryChecksumTypeSha1,
+ HttpNfcLeaseManifestEntryChecksumTypeSha256,
+ }
+}
+
+func (e HttpNfcLeaseManifestEntryChecksumType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HttpNfcLeaseManifestEntryChecksumType"] = reflect.TypeOf((*HttpNfcLeaseManifestEntryChecksumType)(nil)).Elem()
- minAPIVersionForType["HttpNfcLeaseManifestEntryChecksumType"] = "6.7"
}
+// List of supported modes by HttpNfcLease
type HttpNfcLeaseMode string
const (
@@ -4674,11 +7431,22 @@ const (
HttpNfcLeaseModePull = HttpNfcLeaseMode("pull")
)
+func (e HttpNfcLeaseMode) Values() []HttpNfcLeaseMode {
+ return []HttpNfcLeaseMode{
+ HttpNfcLeaseModePushOrGet,
+ HttpNfcLeaseModePull,
+ }
+}
+
+func (e HttpNfcLeaseMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HttpNfcLeaseMode"] = reflect.TypeOf((*HttpNfcLeaseMode)(nil)).Elem()
- minAPIVersionForType["HttpNfcLeaseMode"] = "6.7"
}
+// List of possible states of a lease.
type HttpNfcLeaseState string
const (
@@ -4693,9 +7461,21 @@ const (
HttpNfcLeaseStateError = HttpNfcLeaseState("error")
)
+func (e HttpNfcLeaseState) Values() []HttpNfcLeaseState {
+ return []HttpNfcLeaseState{
+ HttpNfcLeaseStateInitializing,
+ HttpNfcLeaseStateReady,
+ HttpNfcLeaseStateDone,
+ HttpNfcLeaseStateError,
+ }
+}
+
+func (e HttpNfcLeaseState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["HttpNfcLeaseState"] = reflect.TypeOf((*HttpNfcLeaseState)(nil)).Elem()
- minAPIVersionForType["HttpNfcLeaseState"] = "4.0"
}
type IncompatibleHostForVmReplicationIncompatibleReason string
@@ -4708,9 +7488,19 @@ const (
IncompatibleHostForVmReplicationIncompatibleReasonNetCompression = IncompatibleHostForVmReplicationIncompatibleReason("netCompression")
)
+func (e IncompatibleHostForVmReplicationIncompatibleReason) Values() []IncompatibleHostForVmReplicationIncompatibleReason {
+ return []IncompatibleHostForVmReplicationIncompatibleReason{
+ IncompatibleHostForVmReplicationIncompatibleReasonRpo,
+ IncompatibleHostForVmReplicationIncompatibleReasonNetCompression,
+ }
+}
+
+func (e IncompatibleHostForVmReplicationIncompatibleReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["IncompatibleHostForVmReplicationIncompatibleReason"] = reflect.TypeOf((*IncompatibleHostForVmReplicationIncompatibleReason)(nil)).Elem()
- minAPIVersionForType["IncompatibleHostForVmReplicationIncompatibleReason"] = "6.0"
}
// The available iSNS discovery methods.
@@ -4722,6 +7512,18 @@ const (
InternetScsiSnsDiscoveryMethodIsnsSlp = InternetScsiSnsDiscoveryMethod("isnsSlp")
)
+func (e InternetScsiSnsDiscoveryMethod) Values() []InternetScsiSnsDiscoveryMethod {
+ return []InternetScsiSnsDiscoveryMethod{
+ InternetScsiSnsDiscoveryMethodIsnsStatic,
+ InternetScsiSnsDiscoveryMethodIsnsDhcp,
+ InternetScsiSnsDiscoveryMethodIsnsSlp,
+ }
+}
+
+func (e InternetScsiSnsDiscoveryMethod) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["InternetScsiSnsDiscoveryMethod"] = reflect.TypeOf((*InternetScsiSnsDiscoveryMethod)(nil)).Elem()
}
@@ -4737,9 +7539,20 @@ const (
InvalidDasConfigArgumentEntryForInvalidArgumentVmConfig = InvalidDasConfigArgumentEntryForInvalidArgument("vmConfig")
)
+func (e InvalidDasConfigArgumentEntryForInvalidArgument) Values() []InvalidDasConfigArgumentEntryForInvalidArgument {
+ return []InvalidDasConfigArgumentEntryForInvalidArgument{
+ InvalidDasConfigArgumentEntryForInvalidArgumentAdmissionControl,
+ InvalidDasConfigArgumentEntryForInvalidArgumentUserHeartbeatDs,
+ InvalidDasConfigArgumentEntryForInvalidArgumentVmConfig,
+ }
+}
+
+func (e InvalidDasConfigArgumentEntryForInvalidArgument) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["InvalidDasConfigArgumentEntryForInvalidArgument"] = reflect.TypeOf((*InvalidDasConfigArgumentEntryForInvalidArgument)(nil)).Elem()
- minAPIVersionForType["InvalidDasConfigArgumentEntryForInvalidArgument"] = "5.1"
}
type InvalidProfileReferenceHostReason string
@@ -4751,11 +7564,22 @@ const (
InvalidProfileReferenceHostReasonMissingReferenceHost = InvalidProfileReferenceHostReason("missingReferenceHost")
)
+func (e InvalidProfileReferenceHostReason) Values() []InvalidProfileReferenceHostReason {
+ return []InvalidProfileReferenceHostReason{
+ InvalidProfileReferenceHostReasonIncompatibleVersion,
+ InvalidProfileReferenceHostReasonMissingReferenceHost,
+ }
+}
+
+func (e InvalidProfileReferenceHostReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["InvalidProfileReferenceHostReason"] = reflect.TypeOf((*InvalidProfileReferenceHostReason)(nil)).Elem()
- minAPIVersionForType["InvalidProfileReferenceHostReason"] = "5.0"
}
+// Defines the type of operation for an IO Filter.
type IoFilterOperation string
const (
@@ -4767,11 +7591,23 @@ const (
IoFilterOperationUpgrade = IoFilterOperation("upgrade")
)
+func (e IoFilterOperation) Values() []IoFilterOperation {
+ return []IoFilterOperation{
+ IoFilterOperationInstall,
+ IoFilterOperationUninstall,
+ IoFilterOperationUpgrade,
+ }
+}
+
+func (e IoFilterOperation) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["IoFilterOperation"] = reflect.TypeOf((*IoFilterOperation)(nil)).Elem()
- minAPIVersionForType["IoFilterOperation"] = "6.0"
}
+// Defines the type of an IO Filter.
type IoFilterType string
const (
@@ -4793,9 +7629,25 @@ const (
IoFilterTypeDataCapture = IoFilterType("dataCapture")
)
+func (e IoFilterType) Values() []IoFilterType {
+ return []IoFilterType{
+ IoFilterTypeCache,
+ IoFilterTypeReplication,
+ IoFilterTypeEncryption,
+ IoFilterTypeCompression,
+ IoFilterTypeInspection,
+ IoFilterTypeDatastoreIoControl,
+ IoFilterTypeDataProvider,
+ IoFilterTypeDataCapture,
+ }
+}
+
+func (e IoFilterType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["IoFilterType"] = reflect.TypeOf((*IoFilterType)(nil)).Elem()
- minAPIVersionForType["IoFilterType"] = "6.5"
minAPIVersionForEnumValue["IoFilterType"] = map[string]string{
"dataCapture": "7.0.2.1",
}
@@ -4820,11 +7672,24 @@ const (
IscsiPortInfoPathStatusLastActive = IscsiPortInfoPathStatus("lastActive")
)
+func (e IscsiPortInfoPathStatus) Values() []IscsiPortInfoPathStatus {
+ return []IscsiPortInfoPathStatus{
+ IscsiPortInfoPathStatusNotUsed,
+ IscsiPortInfoPathStatusActive,
+ IscsiPortInfoPathStatusStandBy,
+ IscsiPortInfoPathStatusLastActive,
+ }
+}
+
+func (e IscsiPortInfoPathStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["IscsiPortInfoPathStatus"] = reflect.TypeOf((*IscsiPortInfoPathStatus)(nil)).Elem()
- minAPIVersionForType["IscsiPortInfoPathStatus"] = "5.0"
}
+// Key provider management type.
type KmipClusterInfoKmsManagementType string
const (
@@ -4835,9 +7700,21 @@ const (
KmipClusterInfoKmsManagementTypeNativeProvider = KmipClusterInfoKmsManagementType("nativeProvider")
)
+func (e KmipClusterInfoKmsManagementType) Values() []KmipClusterInfoKmsManagementType {
+ return []KmipClusterInfoKmsManagementType{
+ KmipClusterInfoKmsManagementTypeUnknown,
+ KmipClusterInfoKmsManagementTypeVCenter,
+ KmipClusterInfoKmsManagementTypeTrustAuthority,
+ KmipClusterInfoKmsManagementTypeNativeProvider,
+ }
+}
+
+func (e KmipClusterInfoKmsManagementType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["KmipClusterInfoKmsManagementType"] = reflect.TypeOf((*KmipClusterInfoKmsManagementType)(nil)).Elem()
- minAPIVersionForType["KmipClusterInfoKmsManagementType"] = "7.0"
minAPIVersionForEnumValue["KmipClusterInfoKmsManagementType"] = map[string]string{
"nativeProvider": "7.0.2.0",
}
@@ -4847,6 +7724,7 @@ func init() {
// used to specify the latency-sensitivity level of the application.
//
// In terms of latency-sensitivity the values relate:
+// high>medium>normal>low.
type LatencySensitivitySensitivityLevel string
const (
@@ -4860,8 +7738,6 @@ const (
LatencySensitivitySensitivityLevelMedium = LatencySensitivitySensitivityLevel("medium")
// The relative latency-sensitivity high value.
LatencySensitivitySensitivityLevelHigh = LatencySensitivitySensitivityLevel("high")
- //
- //
// Deprecated as of vSphere API Ver 6.0. Value will be ignored and
// treated as "normal" latency sensitivity.
//
@@ -4875,9 +7751,22 @@ const (
LatencySensitivitySensitivityLevelCustom = LatencySensitivitySensitivityLevel("custom")
)
+func (e LatencySensitivitySensitivityLevel) Values() []LatencySensitivitySensitivityLevel {
+ return []LatencySensitivitySensitivityLevel{
+ LatencySensitivitySensitivityLevelLow,
+ LatencySensitivitySensitivityLevelNormal,
+ LatencySensitivitySensitivityLevelMedium,
+ LatencySensitivitySensitivityLevelHigh,
+ LatencySensitivitySensitivityLevelCustom,
+ }
+}
+
+func (e LatencySensitivitySensitivityLevel) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["LatencySensitivitySensitivityLevel"] = reflect.TypeOf((*LatencySensitivitySensitivityLevel)(nil)).Elem()
- minAPIVersionForType["LatencySensitivitySensitivityLevel"] = "5.1"
}
type LicenseAssignmentFailedReason string
@@ -4893,12 +7782,26 @@ const (
LicenseAssignmentFailedReasonHostsUnmanageableByVirtualCenterWithoutLicenseServer = LicenseAssignmentFailedReason("hostsUnmanageableByVirtualCenterWithoutLicenseServer")
)
+func (e LicenseAssignmentFailedReason) Values() []LicenseAssignmentFailedReason {
+ return []LicenseAssignmentFailedReason{
+ LicenseAssignmentFailedReasonKeyEntityMismatch,
+ LicenseAssignmentFailedReasonDowngradeDisallowed,
+ LicenseAssignmentFailedReasonInventoryNotManageableByVirtualCenter,
+ LicenseAssignmentFailedReasonHostsUnmanageableByVirtualCenterWithoutLicenseServer,
+ }
+}
+
+func (e LicenseAssignmentFailedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["LicenseAssignmentFailedReason"] = reflect.TypeOf((*LicenseAssignmentFailedReason)(nil)).Elem()
- minAPIVersionForType["LicenseAssignmentFailedReason"] = "4.0"
}
// Some licenses may only be allowed to load from a specified source.
+//
+// This enum indicates what restrictions exist for this license if any.
type LicenseFeatureInfoSourceRestriction string
const (
@@ -4910,9 +7813,20 @@ const (
LicenseFeatureInfoSourceRestrictionFile = LicenseFeatureInfoSourceRestriction("file")
)
+func (e LicenseFeatureInfoSourceRestriction) Values() []LicenseFeatureInfoSourceRestriction {
+ return []LicenseFeatureInfoSourceRestriction{
+ LicenseFeatureInfoSourceRestrictionUnrestricted,
+ LicenseFeatureInfoSourceRestrictionServed,
+ LicenseFeatureInfoSourceRestrictionFile,
+ }
+}
+
+func (e LicenseFeatureInfoSourceRestriction) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["LicenseFeatureInfoSourceRestriction"] = reflect.TypeOf((*LicenseFeatureInfoSourceRestriction)(nil)).Elem()
- minAPIVersionForType["LicenseFeatureInfoSourceRestriction"] = "2.5"
}
// Describes the state of the feature.
@@ -4931,6 +7845,18 @@ const (
LicenseFeatureInfoStateOptional = LicenseFeatureInfoState("optional")
)
+func (e LicenseFeatureInfoState) Values() []LicenseFeatureInfoState {
+ return []LicenseFeatureInfoState{
+ LicenseFeatureInfoStateEnabled,
+ LicenseFeatureInfoStateDisabled,
+ LicenseFeatureInfoStateOptional,
+ }
+}
+
+func (e LicenseFeatureInfoState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["LicenseFeatureInfoState"] = reflect.TypeOf((*LicenseFeatureInfoState)(nil)).Elem()
}
@@ -4952,6 +7878,20 @@ const (
LicenseFeatureInfoUnitVm = LicenseFeatureInfoUnit("vm")
)
+func (e LicenseFeatureInfoUnit) Values() []LicenseFeatureInfoUnit {
+ return []LicenseFeatureInfoUnit{
+ LicenseFeatureInfoUnitHost,
+ LicenseFeatureInfoUnitCpuCore,
+ LicenseFeatureInfoUnitCpuPackage,
+ LicenseFeatureInfoUnitServer,
+ LicenseFeatureInfoUnitVm,
+ }
+}
+
+func (e LicenseFeatureInfoUnit) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["LicenseFeatureInfoUnit"] = reflect.TypeOf((*LicenseFeatureInfoUnit)(nil)).Elem()
}
@@ -5045,16 +7985,39 @@ const (
LicenseManagerLicenseKeyDas = LicenseManagerLicenseKey("das")
)
+func (e LicenseManagerLicenseKey) Values() []LicenseManagerLicenseKey {
+ return []LicenseManagerLicenseKey{
+ LicenseManagerLicenseKeyEsxFull,
+ LicenseManagerLicenseKeyEsxVmtn,
+ LicenseManagerLicenseKeyEsxExpress,
+ LicenseManagerLicenseKeySan,
+ LicenseManagerLicenseKeyIscsi,
+ LicenseManagerLicenseKeyNas,
+ LicenseManagerLicenseKeyVsmp,
+ LicenseManagerLicenseKeyBackup,
+ LicenseManagerLicenseKeyVc,
+ LicenseManagerLicenseKeyVcExpress,
+ LicenseManagerLicenseKeyEsxHost,
+ LicenseManagerLicenseKeyGsxHost,
+ LicenseManagerLicenseKeyServerHost,
+ LicenseManagerLicenseKeyDrsPower,
+ LicenseManagerLicenseKeyVmotion,
+ LicenseManagerLicenseKeyDrs,
+ LicenseManagerLicenseKeyDas,
+ }
+}
+
+func (e LicenseManagerLicenseKey) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["LicenseManagerLicenseKey"] = reflect.TypeOf((*LicenseManagerLicenseKey)(nil)).Elem()
- minAPIVersionForEnumValue["LicenseManagerLicenseKey"] = map[string]string{
- "vcExpress": "2.5",
- "serverHost": "2.5",
- "drsPower": "2.5",
- }
}
// Deprecated as of vSphere API 4.0, this is not used by the system.
+//
+// State of licensing subsystem.
type LicenseManagerState string
const (
@@ -5068,9 +8031,21 @@ const (
LicenseManagerStateFault = LicenseManagerState("fault")
)
+func (e LicenseManagerState) Values() []LicenseManagerState {
+ return []LicenseManagerState{
+ LicenseManagerStateInitializing,
+ LicenseManagerStateNormal,
+ LicenseManagerStateMarginal,
+ LicenseManagerStateFault,
+ }
+}
+
+func (e LicenseManagerState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["LicenseManagerState"] = reflect.TypeOf((*LicenseManagerState)(nil)).Elem()
- minAPIVersionForType["LicenseManagerState"] = "2.5"
}
// Describes the reservation state of a license.
@@ -5097,10 +8072,24 @@ const (
LicenseReservationInfoStateLicensed = LicenseReservationInfoState("licensed")
)
+func (e LicenseReservationInfoState) Values() []LicenseReservationInfoState {
+ return []LicenseReservationInfoState{
+ LicenseReservationInfoStateNotUsed,
+ LicenseReservationInfoStateNoLicense,
+ LicenseReservationInfoStateUnlicensedUse,
+ LicenseReservationInfoStateLicensed,
+ }
+}
+
+func (e LicenseReservationInfoState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["LicenseReservationInfoState"] = reflect.TypeOf((*LicenseReservationInfoState)(nil)).Elem()
}
+// The Discovery Protocol operation.
type LinkDiscoveryProtocolConfigOperationType string
const (
@@ -5118,11 +8107,24 @@ const (
LinkDiscoveryProtocolConfigOperationTypeBoth = LinkDiscoveryProtocolConfigOperationType("both")
)
+func (e LinkDiscoveryProtocolConfigOperationType) Values() []LinkDiscoveryProtocolConfigOperationType {
+ return []LinkDiscoveryProtocolConfigOperationType{
+ LinkDiscoveryProtocolConfigOperationTypeNone,
+ LinkDiscoveryProtocolConfigOperationTypeListen,
+ LinkDiscoveryProtocolConfigOperationTypeAdvertise,
+ LinkDiscoveryProtocolConfigOperationTypeBoth,
+ }
+}
+
+func (e LinkDiscoveryProtocolConfigOperationType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["LinkDiscoveryProtocolConfigOperationType"] = reflect.TypeOf((*LinkDiscoveryProtocolConfigOperationType)(nil)).Elem()
- minAPIVersionForType["LinkDiscoveryProtocolConfigOperationType"] = "4.0"
}
+// The Discovery Protocol types.
type LinkDiscoveryProtocolConfigProtocolType string
const (
@@ -5132,9 +8134,19 @@ const (
LinkDiscoveryProtocolConfigProtocolTypeLldp = LinkDiscoveryProtocolConfigProtocolType("lldp")
)
+func (e LinkDiscoveryProtocolConfigProtocolType) Values() []LinkDiscoveryProtocolConfigProtocolType {
+ return []LinkDiscoveryProtocolConfigProtocolType{
+ LinkDiscoveryProtocolConfigProtocolTypeCdp,
+ LinkDiscoveryProtocolConfigProtocolTypeLldp,
+ }
+}
+
+func (e LinkDiscoveryProtocolConfigProtocolType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["LinkDiscoveryProtocolConfigProtocolType"] = reflect.TypeOf((*LinkDiscoveryProtocolConfigProtocolType)(nil)).Elem()
- minAPIVersionForType["LinkDiscoveryProtocolConfigProtocolType"] = "4.0"
}
// The Status enumeration defines a general "health" value for a managed entity.
@@ -5151,6 +8163,19 @@ const (
ManagedEntityStatusRed = ManagedEntityStatus("red")
)
+func (e ManagedEntityStatus) Values() []ManagedEntityStatus {
+ return []ManagedEntityStatus{
+ ManagedEntityStatusGray,
+ ManagedEntityStatusGreen,
+ ManagedEntityStatusYellow,
+ ManagedEntityStatusRed,
+ }
+}
+
+func (e ManagedEntityStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ManagedEntityStatus"] = reflect.TypeOf((*ManagedEntityStatus)(nil)).Elem()
}
@@ -5165,6 +8190,17 @@ const (
MetricAlarmOperatorIsBelow = MetricAlarmOperator("isBelow")
)
+func (e MetricAlarmOperator) Values() []MetricAlarmOperator {
+ return []MetricAlarmOperator{
+ MetricAlarmOperatorIsAbove,
+ MetricAlarmOperatorIsBelow,
+ }
+}
+
+func (e MetricAlarmOperator) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["MetricAlarmOperator"] = reflect.TypeOf((*MetricAlarmOperator)(nil)).Elem()
}
@@ -5180,10 +8216,25 @@ const (
MultipathStateUnknown = MultipathState("unknown")
)
+func (e MultipathState) Values() []MultipathState {
+ return []MultipathState{
+ MultipathStateStandby,
+ MultipathStateActive,
+ MultipathStateDisabled,
+ MultipathStateDead,
+ MultipathStateUnknown,
+ }
+}
+
+func (e MultipathState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["MultipathState"] = reflect.TypeOf((*MultipathState)(nil)).Elem()
}
+// NetBIOS configuration mode.
type NetBIOSConfigInfoMode string
const (
@@ -5197,12 +8248,26 @@ const (
NetBIOSConfigInfoModeEnabledViaDHCP = NetBIOSConfigInfoMode("enabledViaDHCP")
)
+func (e NetBIOSConfigInfoMode) Values() []NetBIOSConfigInfoMode {
+ return []NetBIOSConfigInfoMode{
+ NetBIOSConfigInfoModeUnknown,
+ NetBIOSConfigInfoModeEnabled,
+ NetBIOSConfigInfoModeDisabled,
+ NetBIOSConfigInfoModeEnabledViaDHCP,
+ }
+}
+
+func (e NetBIOSConfigInfoMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NetBIOSConfigInfoMode"] = reflect.TypeOf((*NetBIOSConfigInfoMode)(nil)).Elem()
- minAPIVersionForType["NetBIOSConfigInfoMode"] = "4.1"
}
// This specifies how an IP address was obtained for a given interface.
+//
+// See RFC 4293 IpAddressOriginTC.
type NetIpConfigInfoIpAddressOrigin string
const (
@@ -5228,9 +8293,22 @@ const (
NetIpConfigInfoIpAddressOriginRandom = NetIpConfigInfoIpAddressOrigin("random")
)
+func (e NetIpConfigInfoIpAddressOrigin) Values() []NetIpConfigInfoIpAddressOrigin {
+ return []NetIpConfigInfoIpAddressOrigin{
+ NetIpConfigInfoIpAddressOriginOther,
+ NetIpConfigInfoIpAddressOriginManual,
+ NetIpConfigInfoIpAddressOriginDhcp,
+ NetIpConfigInfoIpAddressOriginLinklayer,
+ NetIpConfigInfoIpAddressOriginRandom,
+ }
+}
+
+func (e NetIpConfigInfoIpAddressOrigin) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NetIpConfigInfoIpAddressOrigin"] = reflect.TypeOf((*NetIpConfigInfoIpAddressOrigin)(nil)).Elem()
- minAPIVersionForType["NetIpConfigInfoIpAddressOrigin"] = "4.1"
}
type NetIpConfigInfoIpAddressStatus string
@@ -5256,15 +8334,31 @@ const (
NetIpConfigInfoIpAddressStatusDuplicate = NetIpConfigInfoIpAddressStatus("duplicate")
)
+func (e NetIpConfigInfoIpAddressStatus) Values() []NetIpConfigInfoIpAddressStatus {
+ return []NetIpConfigInfoIpAddressStatus{
+ NetIpConfigInfoIpAddressStatusPreferred,
+ NetIpConfigInfoIpAddressStatusDeprecated,
+ NetIpConfigInfoIpAddressStatusInvalid,
+ NetIpConfigInfoIpAddressStatusInaccessible,
+ NetIpConfigInfoIpAddressStatusUnknown,
+ NetIpConfigInfoIpAddressStatusTentative,
+ NetIpConfigInfoIpAddressStatusDuplicate,
+ }
+}
+
+func (e NetIpConfigInfoIpAddressStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NetIpConfigInfoIpAddressStatus"] = reflect.TypeOf((*NetIpConfigInfoIpAddressStatus)(nil)).Elem()
- minAPIVersionForType["NetIpConfigInfoIpAddressStatus"] = "4.1"
}
// IP Stack keeps state on entries in IpNetToMedia table to perform
// physical address lookups for IP addresses.
//
// Here are the standard
+// states per @see RFC 4293 ipNetToMediaType.
type NetIpStackInfoEntryType string
const (
@@ -5279,12 +8373,26 @@ const (
NetIpStackInfoEntryTypeManual = NetIpStackInfoEntryType("manual")
)
+func (e NetIpStackInfoEntryType) Values() []NetIpStackInfoEntryType {
+ return []NetIpStackInfoEntryType{
+ NetIpStackInfoEntryTypeOther,
+ NetIpStackInfoEntryTypeInvalid,
+ NetIpStackInfoEntryTypeDynamic,
+ NetIpStackInfoEntryTypeManual,
+ }
+}
+
+func (e NetIpStackInfoEntryType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NetIpStackInfoEntryType"] = reflect.TypeOf((*NetIpStackInfoEntryType)(nil)).Elem()
- minAPIVersionForType["NetIpStackInfoEntryType"] = "4.1"
}
// The set of values used to determine ordering of default routers.
+//
+// See RFC 4293 ipDefaultRouterPreference.
type NetIpStackInfoPreference string
const (
@@ -5294,9 +8402,21 @@ const (
NetIpStackInfoPreferenceHigh = NetIpStackInfoPreference("high")
)
+func (e NetIpStackInfoPreference) Values() []NetIpStackInfoPreference {
+ return []NetIpStackInfoPreference{
+ NetIpStackInfoPreferenceReserved,
+ NetIpStackInfoPreferenceLow,
+ NetIpStackInfoPreferenceMedium,
+ NetIpStackInfoPreferenceHigh,
+ }
+}
+
+func (e NetIpStackInfoPreference) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NetIpStackInfoPreference"] = reflect.TypeOf((*NetIpStackInfoPreference)(nil)).Elem()
- minAPIVersionForType["NetIpStackInfoPreference"] = "4.1"
}
type NotSupportedDeviceForFTDeviceType string
@@ -5308,16 +8428,25 @@ const (
NotSupportedDeviceForFTDeviceTypeParaVirtualSCSIController = NotSupportedDeviceForFTDeviceType("paraVirtualSCSIController")
)
+func (e NotSupportedDeviceForFTDeviceType) Values() []NotSupportedDeviceForFTDeviceType {
+ return []NotSupportedDeviceForFTDeviceType{
+ NotSupportedDeviceForFTDeviceTypeVirtualVmxnet3,
+ NotSupportedDeviceForFTDeviceTypeParaVirtualSCSIController,
+ }
+}
+
+func (e NotSupportedDeviceForFTDeviceType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NotSupportedDeviceForFTDeviceType"] = reflect.TypeOf((*NotSupportedDeviceForFTDeviceType)(nil)).Elem()
- minAPIVersionForType["NotSupportedDeviceForFTDeviceType"] = "4.1"
}
+// Reasons why the number of virtual CPUs is incompatible.
type NumVirtualCpusIncompatibleReason string
const (
- //
- //
// Deprecated as of vSphere API 6.0.
//
// The virtual machine needs to support record/replay functionality.
@@ -5326,11 +8455,22 @@ const (
NumVirtualCpusIncompatibleReasonFaultTolerance = NumVirtualCpusIncompatibleReason("faultTolerance")
)
+func (e NumVirtualCpusIncompatibleReason) Values() []NumVirtualCpusIncompatibleReason {
+ return []NumVirtualCpusIncompatibleReason{
+ NumVirtualCpusIncompatibleReasonRecordReplay,
+ NumVirtualCpusIncompatibleReasonFaultTolerance,
+ }
+}
+
+func (e NumVirtualCpusIncompatibleReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NumVirtualCpusIncompatibleReason"] = reflect.TypeOf((*NumVirtualCpusIncompatibleReason)(nil)).Elem()
- minAPIVersionForType["NumVirtualCpusIncompatibleReason"] = "4.0"
}
+// State of interleave set
type NvdimmInterleaveSetState string
const (
@@ -5340,11 +8480,22 @@ const (
NvdimmInterleaveSetStateActive = NvdimmInterleaveSetState("active")
)
+func (e NvdimmInterleaveSetState) Values() []NvdimmInterleaveSetState {
+ return []NvdimmInterleaveSetState{
+ NvdimmInterleaveSetStateInvalid,
+ NvdimmInterleaveSetStateActive,
+ }
+}
+
+func (e NvdimmInterleaveSetState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NvdimmInterleaveSetState"] = reflect.TypeOf((*NvdimmInterleaveSetState)(nil)).Elem()
- minAPIVersionForType["NvdimmInterleaveSetState"] = "6.7"
}
+// Overall health state for a namespace
type NvdimmNamespaceDetailsHealthStatus string
const (
@@ -5360,11 +8511,25 @@ const (
NvdimmNamespaceDetailsHealthStatusLabelInconsistent = NvdimmNamespaceDetailsHealthStatus("labelInconsistent")
)
+func (e NvdimmNamespaceDetailsHealthStatus) Values() []NvdimmNamespaceDetailsHealthStatus {
+ return []NvdimmNamespaceDetailsHealthStatus{
+ NvdimmNamespaceDetailsHealthStatusNormal,
+ NvdimmNamespaceDetailsHealthStatusMissing,
+ NvdimmNamespaceDetailsHealthStatusLabelMissing,
+ NvdimmNamespaceDetailsHealthStatusInterleaveBroken,
+ NvdimmNamespaceDetailsHealthStatusLabelInconsistent,
+ }
+}
+
+func (e NvdimmNamespaceDetailsHealthStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NvdimmNamespaceDetailsHealthStatus"] = reflect.TypeOf((*NvdimmNamespaceDetailsHealthStatus)(nil)).Elem()
- minAPIVersionForType["NvdimmNamespaceDetailsHealthStatus"] = "6.7.1"
}
+// State of Namespace
type NvdimmNamespaceDetailsState string
const (
@@ -5376,11 +8541,23 @@ const (
NvdimmNamespaceDetailsStateInUse = NvdimmNamespaceDetailsState("inUse")
)
+func (e NvdimmNamespaceDetailsState) Values() []NvdimmNamespaceDetailsState {
+ return []NvdimmNamespaceDetailsState{
+ NvdimmNamespaceDetailsStateInvalid,
+ NvdimmNamespaceDetailsStateNotInUse,
+ NvdimmNamespaceDetailsStateInUse,
+ }
+}
+
+func (e NvdimmNamespaceDetailsState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NvdimmNamespaceDetailsState"] = reflect.TypeOf((*NvdimmNamespaceDetailsState)(nil)).Elem()
- minAPIVersionForType["NvdimmNamespaceDetailsState"] = "6.7.1"
}
+// Overall health state for a namespace
type NvdimmNamespaceHealthStatus string
const (
@@ -5400,11 +8577,27 @@ const (
NvdimmNamespaceHealthStatusBadBlockSize = NvdimmNamespaceHealthStatus("badBlockSize")
)
+func (e NvdimmNamespaceHealthStatus) Values() []NvdimmNamespaceHealthStatus {
+ return []NvdimmNamespaceHealthStatus{
+ NvdimmNamespaceHealthStatusNormal,
+ NvdimmNamespaceHealthStatusMissing,
+ NvdimmNamespaceHealthStatusLabelMissing,
+ NvdimmNamespaceHealthStatusInterleaveBroken,
+ NvdimmNamespaceHealthStatusLabelInconsistent,
+ NvdimmNamespaceHealthStatusBttCorrupt,
+ NvdimmNamespaceHealthStatusBadBlockSize,
+ }
+}
+
+func (e NvdimmNamespaceHealthStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NvdimmNamespaceHealthStatus"] = reflect.TypeOf((*NvdimmNamespaceHealthStatus)(nil)).Elem()
- minAPIVersionForType["NvdimmNamespaceHealthStatus"] = "6.7"
}
+// State of Namespace
type NvdimmNamespaceState string
const (
@@ -5416,11 +8609,23 @@ const (
NvdimmNamespaceStateInUse = NvdimmNamespaceState("inUse")
)
+func (e NvdimmNamespaceState) Values() []NvdimmNamespaceState {
+ return []NvdimmNamespaceState{
+ NvdimmNamespaceStateInvalid,
+ NvdimmNamespaceStateNotInUse,
+ NvdimmNamespaceStateInUse,
+ }
+}
+
+func (e NvdimmNamespaceState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NvdimmNamespaceState"] = reflect.TypeOf((*NvdimmNamespaceState)(nil)).Elem()
- minAPIVersionForType["NvdimmNamespaceState"] = "6.7"
}
+// Type of namespace.
type NvdimmNamespaceType string
const (
@@ -5430,11 +8635,22 @@ const (
NvdimmNamespaceTypePersistentNamespace = NvdimmNamespaceType("persistentNamespace")
)
+func (e NvdimmNamespaceType) Values() []NvdimmNamespaceType {
+ return []NvdimmNamespaceType{
+ NvdimmNamespaceTypeBlockNamespace,
+ NvdimmNamespaceTypePersistentNamespace,
+ }
+}
+
+func (e NvdimmNamespaceType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NvdimmNamespaceType"] = reflect.TypeOf((*NvdimmNamespaceType)(nil)).Elem()
- minAPIVersionForType["NvdimmNamespaceType"] = "6.7"
}
+// Overall state of NVDIMM
type NvdimmNvdimmHealthInfoState string
const (
@@ -5446,11 +8662,22 @@ const (
NvdimmNvdimmHealthInfoStateError = NvdimmNvdimmHealthInfoState("error")
)
+func (e NvdimmNvdimmHealthInfoState) Values() []NvdimmNvdimmHealthInfoState {
+ return []NvdimmNvdimmHealthInfoState{
+ NvdimmNvdimmHealthInfoStateNormal,
+ NvdimmNvdimmHealthInfoStateError,
+ }
+}
+
+func (e NvdimmNvdimmHealthInfoState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NvdimmNvdimmHealthInfoState"] = reflect.TypeOf((*NvdimmNvdimmHealthInfoState)(nil)).Elem()
- minAPIVersionForType["NvdimmNvdimmHealthInfoState"] = "6.7"
}
+// An indicator of how a memory range is being used
type NvdimmRangeType string
const (
@@ -5472,9 +8699,25 @@ const (
NvdimmRangeTypePersistentVirtualCDRange = NvdimmRangeType("persistentVirtualCDRange")
)
+func (e NvdimmRangeType) Values() []NvdimmRangeType {
+ return []NvdimmRangeType{
+ NvdimmRangeTypeVolatileRange,
+ NvdimmRangeTypePersistentRange,
+ NvdimmRangeTypeControlRange,
+ NvdimmRangeTypeBlockRange,
+ NvdimmRangeTypeVolatileVirtualDiskRange,
+ NvdimmRangeTypeVolatileVirtualCDRange,
+ NvdimmRangeTypePersistentVirtualDiskRange,
+ NvdimmRangeTypePersistentVirtualCDRange,
+ }
+}
+
+func (e NvdimmRangeType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["NvdimmRangeType"] = reflect.TypeOf((*NvdimmRangeType)(nil)).Elem()
- minAPIVersionForType["NvdimmRangeType"] = "6.7"
}
// Enumeration of different kinds of updates.
@@ -5495,6 +8738,18 @@ const (
ObjectUpdateKindLeave = ObjectUpdateKind("leave")
)
+func (e ObjectUpdateKind) Values() []ObjectUpdateKind {
+ return []ObjectUpdateKind{
+ ObjectUpdateKindModify,
+ ObjectUpdateKindEnter,
+ ObjectUpdateKindLeave,
+ }
+}
+
+func (e ObjectUpdateKind) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ObjectUpdateKind"] = reflect.TypeOf((*ObjectUpdateKind)(nil)).Elem()
}
@@ -5502,6 +8757,7 @@ func init() {
// The type of an OST node.
//
// Each OST node corresponds to an element in the OVF descriptor. See `OvfConsumerOstNode`
+// for a description of the different node types.
type OvfConsumerOstNodeType string
const (
@@ -5510,12 +8766,24 @@ const (
OvfConsumerOstNodeTypeVirtualSystemCollection = OvfConsumerOstNodeType("virtualSystemCollection")
)
+func (e OvfConsumerOstNodeType) Values() []OvfConsumerOstNodeType {
+ return []OvfConsumerOstNodeType{
+ OvfConsumerOstNodeTypeEnvelope,
+ OvfConsumerOstNodeTypeVirtualSystem,
+ OvfConsumerOstNodeTypeVirtualSystemCollection,
+ }
+}
+
+func (e OvfConsumerOstNodeType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["OvfConsumerOstNodeType"] = reflect.TypeOf((*OvfConsumerOstNodeType)(nil)).Elem()
- minAPIVersionForType["OvfConsumerOstNodeType"] = "5.0"
}
// Types of disk provisioning that can be set for the disk in the deployed OVF
+// package.
type OvfCreateImportSpecParamsDiskProvisioningType string
const (
@@ -5565,13 +8833,27 @@ const (
OvfCreateImportSpecParamsDiskProvisioningTypeFlat = OvfCreateImportSpecParamsDiskProvisioningType("flat")
)
+func (e OvfCreateImportSpecParamsDiskProvisioningType) Values() []OvfCreateImportSpecParamsDiskProvisioningType {
+ return []OvfCreateImportSpecParamsDiskProvisioningType{
+ OvfCreateImportSpecParamsDiskProvisioningTypeMonolithicSparse,
+ OvfCreateImportSpecParamsDiskProvisioningTypeMonolithicFlat,
+ OvfCreateImportSpecParamsDiskProvisioningTypeTwoGbMaxExtentSparse,
+ OvfCreateImportSpecParamsDiskProvisioningTypeTwoGbMaxExtentFlat,
+ OvfCreateImportSpecParamsDiskProvisioningTypeThin,
+ OvfCreateImportSpecParamsDiskProvisioningTypeThick,
+ OvfCreateImportSpecParamsDiskProvisioningTypeSeSparse,
+ OvfCreateImportSpecParamsDiskProvisioningTypeEagerZeroedThick,
+ OvfCreateImportSpecParamsDiskProvisioningTypeSparse,
+ OvfCreateImportSpecParamsDiskProvisioningTypeFlat,
+ }
+}
+
+func (e OvfCreateImportSpecParamsDiskProvisioningType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["OvfCreateImportSpecParamsDiskProvisioningType"] = reflect.TypeOf((*OvfCreateImportSpecParamsDiskProvisioningType)(nil)).Elem()
- minAPIVersionForType["OvfCreateImportSpecParamsDiskProvisioningType"] = "4.1"
- minAPIVersionForEnumValue["OvfCreateImportSpecParamsDiskProvisioningType"] = map[string]string{
- "seSparse": "5.1",
- "eagerZeroedThick": "5.0",
- }
}
// The format in which performance counter data is returned.
@@ -5584,6 +8866,17 @@ const (
PerfFormatCsv = PerfFormat("csv")
)
+func (e PerfFormat) Values() []PerfFormat {
+ return []PerfFormat{
+ PerfFormatNormal,
+ PerfFormatCsv,
+ }
+}
+
+func (e PerfFormat) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PerfFormat"] = reflect.TypeOf((*PerfFormat)(nil)).Elem()
}
@@ -5619,6 +8912,18 @@ const (
PerfStatsTypeRate = PerfStatsType("rate")
)
+func (e PerfStatsType) Values() []PerfStatsType {
+ return []PerfStatsType{
+ PerfStatsTypeAbsolute,
+ PerfStatsTypeDelta,
+ PerfStatsTypeRate,
+ }
+}
+
+func (e PerfStatsType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PerfStatsType"] = reflect.TypeOf((*PerfStatsType)(nil)).Elem()
}
@@ -5647,6 +8952,21 @@ const (
PerfSummaryTypeNone = PerfSummaryType("none")
)
+func (e PerfSummaryType) Values() []PerfSummaryType {
+ return []PerfSummaryType{
+ PerfSummaryTypeAverage,
+ PerfSummaryTypeMaximum,
+ PerfSummaryTypeMinimum,
+ PerfSummaryTypeLatest,
+ PerfSummaryTypeSummation,
+ PerfSummaryTypeNone,
+ }
+}
+
+func (e PerfSummaryType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PerfSummaryType"] = reflect.TypeOf((*PerfSummaryType)(nil)).Elem()
}
@@ -5691,15 +9011,34 @@ const (
PerformanceManagerUnitNanosecond = PerformanceManagerUnit("nanosecond")
)
+func (e PerformanceManagerUnit) Values() []PerformanceManagerUnit {
+ return []PerformanceManagerUnit{
+ PerformanceManagerUnitPercent,
+ PerformanceManagerUnitKiloBytes,
+ PerformanceManagerUnitMegaBytes,
+ PerformanceManagerUnitMegaHertz,
+ PerformanceManagerUnitNumber,
+ PerformanceManagerUnitMicrosecond,
+ PerformanceManagerUnitMillisecond,
+ PerformanceManagerUnitSecond,
+ PerformanceManagerUnitKiloBytesPerSecond,
+ PerformanceManagerUnitMegaBytesPerSecond,
+ PerformanceManagerUnitWatt,
+ PerformanceManagerUnitJoule,
+ PerformanceManagerUnitTeraBytes,
+ PerformanceManagerUnitCelsius,
+ PerformanceManagerUnitNanosecond,
+ }
+}
+
+func (e PerformanceManagerUnit) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PerformanceManagerUnit"] = reflect.TypeOf((*PerformanceManagerUnit)(nil)).Elem()
minAPIVersionForEnumValue["PerformanceManagerUnit"] = map[string]string{
- "microsecond": "4.0",
- "watt": "4.1",
- "joule": "4.1",
- "teraBytes": "6.0",
- "celsius": "6.5",
- "nanosecond": "8.0.0.1",
+ "nanosecond": "8.0.0.1",
}
}
@@ -5714,20 +9053,40 @@ const (
PhysicalNicResourcePoolSchedulerDisallowedReasonHardwareUnsupported = PhysicalNicResourcePoolSchedulerDisallowedReason("hardwareUnsupported")
)
+func (e PhysicalNicResourcePoolSchedulerDisallowedReason) Values() []PhysicalNicResourcePoolSchedulerDisallowedReason {
+ return []PhysicalNicResourcePoolSchedulerDisallowedReason{
+ PhysicalNicResourcePoolSchedulerDisallowedReasonUserOptOut,
+ PhysicalNicResourcePoolSchedulerDisallowedReasonHardwareUnsupported,
+ }
+}
+
+func (e PhysicalNicResourcePoolSchedulerDisallowedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PhysicalNicResourcePoolSchedulerDisallowedReason"] = reflect.TypeOf((*PhysicalNicResourcePoolSchedulerDisallowedReason)(nil)).Elem()
- minAPIVersionForType["PhysicalNicResourcePoolSchedulerDisallowedReason"] = "4.1"
}
+// Set of possible values for `PhysicalNic.vmDirectPathGen2SupportedMode`.
type PhysicalNicVmDirectPathGen2SupportedMode string
const (
PhysicalNicVmDirectPathGen2SupportedModeUpt = PhysicalNicVmDirectPathGen2SupportedMode("upt")
)
+func (e PhysicalNicVmDirectPathGen2SupportedMode) Values() []PhysicalNicVmDirectPathGen2SupportedMode {
+ return []PhysicalNicVmDirectPathGen2SupportedMode{
+ PhysicalNicVmDirectPathGen2SupportedModeUpt,
+ }
+}
+
+func (e PhysicalNicVmDirectPathGen2SupportedMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PhysicalNicVmDirectPathGen2SupportedMode"] = reflect.TypeOf((*PhysicalNicVmDirectPathGen2SupportedMode)(nil)).Elem()
- minAPIVersionForType["PhysicalNicVmDirectPathGen2SupportedMode"] = "4.1"
}
// Rule scope determines conditions when an affinity rule is
@@ -5737,6 +9096,7 @@ func init() {
// cluster: All Vms in the rule list are placed in a single cluster.
// host: All Vms in the rule list are placed in a single host.
// storagePod: All Vms in the rule list are placed in a single storagePod.
+// datastore: All Vms in the rule list are placed in a single datastore.
type PlacementAffinityRuleRuleScope string
const (
@@ -5750,9 +9110,21 @@ const (
PlacementAffinityRuleRuleScopeDatastore = PlacementAffinityRuleRuleScope("datastore")
)
+func (e PlacementAffinityRuleRuleScope) Values() []PlacementAffinityRuleRuleScope {
+ return []PlacementAffinityRuleRuleScope{
+ PlacementAffinityRuleRuleScopeCluster,
+ PlacementAffinityRuleRuleScopeHost,
+ PlacementAffinityRuleRuleScopeStoragePod,
+ PlacementAffinityRuleRuleScopeDatastore,
+ }
+}
+
+func (e PlacementAffinityRuleRuleScope) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PlacementAffinityRuleRuleScope"] = reflect.TypeOf((*PlacementAffinityRuleRuleScope)(nil)).Elem()
- minAPIVersionForType["PlacementAffinityRuleRuleScope"] = "6.0"
}
// Rule type determines how the affinity rule is to be enforced:
@@ -5761,6 +9133,7 @@ func init() {
//
// anti-affinity: Vms in the rule list are kept separate
// across the objects in the rule scope.
+// soft rule: The enforcement is best effort.
type PlacementAffinityRuleRuleType string
const (
@@ -5774,11 +9147,24 @@ const (
PlacementAffinityRuleRuleTypeSoftAntiAffinity = PlacementAffinityRuleRuleType("softAntiAffinity")
)
+func (e PlacementAffinityRuleRuleType) Values() []PlacementAffinityRuleRuleType {
+ return []PlacementAffinityRuleRuleType{
+ PlacementAffinityRuleRuleTypeAffinity,
+ PlacementAffinityRuleRuleTypeAntiAffinity,
+ PlacementAffinityRuleRuleTypeSoftAffinity,
+ PlacementAffinityRuleRuleTypeSoftAntiAffinity,
+ }
+}
+
+func (e PlacementAffinityRuleRuleType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PlacementAffinityRuleRuleType"] = reflect.TypeOf((*PlacementAffinityRuleRuleType)(nil)).Elem()
- minAPIVersionForType["PlacementAffinityRuleRuleType"] = "6.0"
}
+// Defines the type of placement
type PlacementSpecPlacementType string
const (
@@ -5792,9 +9178,21 @@ const (
PlacementSpecPlacementTypeClone = PlacementSpecPlacementType("clone")
)
+func (e PlacementSpecPlacementType) Values() []PlacementSpecPlacementType {
+ return []PlacementSpecPlacementType{
+ PlacementSpecPlacementTypeCreate,
+ PlacementSpecPlacementTypeReconfigure,
+ PlacementSpecPlacementTypeRelocate,
+ PlacementSpecPlacementTypeClone,
+ }
+}
+
+func (e PlacementSpecPlacementType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PlacementSpecPlacementType"] = reflect.TypeOf((*PlacementSpecPlacementType)(nil)).Elem()
- minAPIVersionForType["PlacementSpecPlacementType"] = "6.0"
}
// The type of component connected to a port group.
@@ -5812,6 +9210,19 @@ const (
PortGroupConnecteeTypeUnknown = PortGroupConnecteeType("unknown")
)
+func (e PortGroupConnecteeType) Values() []PortGroupConnecteeType {
+ return []PortGroupConnecteeType{
+ PortGroupConnecteeTypeVirtualMachine,
+ PortGroupConnecteeTypeSystemManagement,
+ PortGroupConnecteeTypeHost,
+ PortGroupConnecteeTypeUnknown,
+ }
+}
+
+func (e PortGroupConnecteeType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PortGroupConnecteeType"] = reflect.TypeOf((*PortGroupConnecteeType)(nil)).Elem()
}
@@ -5821,6 +9232,7 @@ func init() {
// operation.
//
// The result data is contained in the
+// `ProfileExecuteResult` data object.
type ProfileExecuteResultStatus string
const (
@@ -5840,12 +9252,24 @@ const (
ProfileExecuteResultStatusError = ProfileExecuteResultStatus("error")
)
+func (e ProfileExecuteResultStatus) Values() []ProfileExecuteResultStatus {
+ return []ProfileExecuteResultStatus{
+ ProfileExecuteResultStatusSuccess,
+ ProfileExecuteResultStatusNeedInput,
+ ProfileExecuteResultStatusError,
+ }
+}
+
+func (e ProfileExecuteResultStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ProfileExecuteResultStatus"] = reflect.TypeOf((*ProfileExecuteResultStatus)(nil)).Elem()
- minAPIVersionForType["ProfileExecuteResultStatus"] = "4.0"
}
// Enumerates different operations supported for comparing
+// numerical values.
type ProfileNumericComparator string
const (
@@ -5857,11 +9281,26 @@ const (
ProfileNumericComparatorGreaterThan = ProfileNumericComparator("greaterThan")
)
+func (e ProfileNumericComparator) Values() []ProfileNumericComparator {
+ return []ProfileNumericComparator{
+ ProfileNumericComparatorLessThan,
+ ProfileNumericComparatorLessThanEqual,
+ ProfileNumericComparatorEqual,
+ ProfileNumericComparatorNotEqual,
+ ProfileNumericComparatorGreaterThanEqual,
+ ProfileNumericComparatorGreaterThan,
+ }
+}
+
+func (e ProfileNumericComparator) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ProfileNumericComparator"] = reflect.TypeOf((*ProfileNumericComparator)(nil)).Elem()
- minAPIVersionForType["ProfileNumericComparator"] = "4.0"
}
+// The relation type to be supported.
type ProfileParameterMetadataRelationType string
const (
@@ -5878,9 +9317,22 @@ const (
ProfileParameterMetadataRelationTypeValidation_relation = ProfileParameterMetadataRelationType("validation_relation")
)
+func (e ProfileParameterMetadataRelationType) Values() []ProfileParameterMetadataRelationType {
+ return []ProfileParameterMetadataRelationType{
+ ProfileParameterMetadataRelationTypeDynamic_relation,
+ ProfileParameterMetadataRelationTypeExtensible_relation,
+ ProfileParameterMetadataRelationTypeLocalizable_relation,
+ ProfileParameterMetadataRelationTypeStatic_relation,
+ ProfileParameterMetadataRelationTypeValidation_relation,
+ }
+}
+
+func (e ProfileParameterMetadataRelationType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ProfileParameterMetadataRelationType"] = reflect.TypeOf((*ProfileParameterMetadataRelationType)(nil)).Elem()
- minAPIVersionForType["ProfileParameterMetadataRelationType"] = "6.7"
}
// Enumeration of possible changes to a property.
@@ -5893,6 +9345,19 @@ const (
PropertyChangeOpIndirectRemove = PropertyChangeOp("indirectRemove")
)
+func (e PropertyChangeOp) Values() []PropertyChangeOp {
+ return []PropertyChangeOp{
+ PropertyChangeOpAdd,
+ PropertyChangeOpRemove,
+ PropertyChangeOpAssign,
+ PropertyChangeOpIndirectRemove,
+ }
+}
+
+func (e PropertyChangeOp) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["PropertyChangeOp"] = reflect.TypeOf((*PropertyChangeOp)(nil)).Elem()
}
@@ -5915,9 +9380,20 @@ const (
QuarantineModeFaultFaultTypeCorrectionImpact = QuarantineModeFaultFaultType("CorrectionImpact")
)
+func (e QuarantineModeFaultFaultType) Values() []QuarantineModeFaultFaultType {
+ return []QuarantineModeFaultFaultType{
+ QuarantineModeFaultFaultTypeNoCompatibleNonQuarantinedHost,
+ QuarantineModeFaultFaultTypeCorrectionDisallowed,
+ QuarantineModeFaultFaultTypeCorrectionImpact,
+ }
+}
+
+func (e QuarantineModeFaultFaultType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["QuarantineModeFaultFaultType"] = reflect.TypeOf((*QuarantineModeFaultFaultType)(nil)).Elem()
- minAPIVersionForType["QuarantineModeFaultFaultType"] = "6.5"
}
// Quiescing is a boolean flag in `ReplicationConfigSpec`
@@ -5927,6 +9403,7 @@ func init() {
// If application quiescing fails, HBR would attempt
// filesystem quiescing and if even filesystem quiescing
// fails, then we would just create a crash consistent
+// instance.
type QuiesceMode string
const (
@@ -5941,11 +9418,23 @@ const (
QuiesceModeNone = QuiesceMode("none")
)
+func (e QuiesceMode) Values() []QuiesceMode {
+ return []QuiesceMode{
+ QuiesceModeApplication,
+ QuiesceModeFilesystem,
+ QuiesceModeNone,
+ }
+}
+
+func (e QuiesceMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["QuiesceMode"] = reflect.TypeOf((*QuiesceMode)(nil)).Elem()
- minAPIVersionForType["QuiesceMode"] = "6.0"
}
+// List of defined migration reason codes:
type RecommendationReasonCode string
const (
@@ -5981,8 +9470,12 @@ const (
RecommendationReasonCodeVmHostSoftAffinity = RecommendationReasonCode("vmHostSoftAffinity")
// Balance datastore space usage.
RecommendationReasonCodeBalanceDatastoreSpaceUsage = RecommendationReasonCode("balanceDatastoreSpaceUsage")
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Balance datastore I/O workload.
RecommendationReasonCodeBalanceDatastoreIOLoad = RecommendationReasonCode("balanceDatastoreIOLoad")
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Balance datastore IOPS reservation
RecommendationReasonCodeBalanceDatastoreIOPSReservation = RecommendationReasonCode("balanceDatastoreIOPSReservation")
// Datastore entering maintenance mode.
@@ -5995,6 +9488,8 @@ const (
RecommendationReasonCodeDatastoreSpaceOutage = RecommendationReasonCode("datastoreSpaceOutage")
// Satisfy storage initial placement requests.
RecommendationReasonCodeStoragePlacement = RecommendationReasonCode("storagePlacement")
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// IO load balancing was disabled internally.
RecommendationReasonCodeIolbDisabledInternal = RecommendationReasonCode("iolbDisabledInternal")
// Satisfy unified vmotion placement requests.
@@ -6019,51 +9514,86 @@ const (
RecommendationReasonCodeBalanceVsanUsage = RecommendationReasonCode("balanceVsanUsage")
// Optimize assignable hardware resource orchestration
RecommendationReasonCodeAhPlacementOptimization = RecommendationReasonCode("ahPlacementOptimization")
-)
+ // Upgrade virtual machine to new vmx binary
+ RecommendationReasonCodeVmxUpgrade = RecommendationReasonCode("vmxUpgrade")
+)
+
+func (e RecommendationReasonCode) Values() []RecommendationReasonCode {
+ return []RecommendationReasonCode{
+ RecommendationReasonCodeFairnessCpuAvg,
+ RecommendationReasonCodeFairnessMemAvg,
+ RecommendationReasonCodeJointAffin,
+ RecommendationReasonCodeAntiAffin,
+ RecommendationReasonCodeHostMaint,
+ RecommendationReasonCodeEnterStandby,
+ RecommendationReasonCodeReservationCpu,
+ RecommendationReasonCodeReservationMem,
+ RecommendationReasonCodePowerOnVm,
+ RecommendationReasonCodePowerSaving,
+ RecommendationReasonCodeIncreaseCapacity,
+ RecommendationReasonCodeCheckResource,
+ RecommendationReasonCodeUnreservedCapacity,
+ RecommendationReasonCodeVmHostHardAffinity,
+ RecommendationReasonCodeVmHostSoftAffinity,
+ RecommendationReasonCodeBalanceDatastoreSpaceUsage,
+ RecommendationReasonCodeBalanceDatastoreIOLoad,
+ RecommendationReasonCodeBalanceDatastoreIOPSReservation,
+ RecommendationReasonCodeDatastoreMaint,
+ RecommendationReasonCodeVirtualDiskJointAffin,
+ RecommendationReasonCodeVirtualDiskAntiAffin,
+ RecommendationReasonCodeDatastoreSpaceOutage,
+ RecommendationReasonCodeStoragePlacement,
+ RecommendationReasonCodeIolbDisabledInternal,
+ RecommendationReasonCodeXvmotionPlacement,
+ RecommendationReasonCodeNetworkBandwidthReservation,
+ RecommendationReasonCodeHostInDegradation,
+ RecommendationReasonCodeHostExitDegradation,
+ RecommendationReasonCodeMaxVmsConstraint,
+ RecommendationReasonCodeFtConstraints,
+ RecommendationReasonCodeVmHostAffinityPolicy,
+ RecommendationReasonCodeVmHostAntiAffinityPolicy,
+ RecommendationReasonCodeVmAntiAffinityPolicy,
+ RecommendationReasonCodeBalanceVsanUsage,
+ RecommendationReasonCodeAhPlacementOptimization,
+ RecommendationReasonCodeVmxUpgrade,
+ }
+}
+
+func (e RecommendationReasonCode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
func init() {
t["RecommendationReasonCode"] = reflect.TypeOf((*RecommendationReasonCode)(nil)).Elem()
- minAPIVersionForType["RecommendationReasonCode"] = "2.5"
minAPIVersionForEnumValue["RecommendationReasonCode"] = map[string]string{
- "checkResource": "4.0",
- "unreservedCapacity": "4.0",
- "vmHostHardAffinity": "4.1",
- "vmHostSoftAffinity": "4.1",
- "balanceDatastoreSpaceUsage": "5.0",
- "balanceDatastoreIOLoad": "5.0",
- "balanceDatastoreIOPSReservation": "6.0",
- "datastoreMaint": "5.0",
- "virtualDiskJointAffin": "5.0",
- "virtualDiskAntiAffin": "5.0",
- "datastoreSpaceOutage": "5.0",
- "storagePlacement": "5.0",
- "iolbDisabledInternal": "5.0",
- "xvmotionPlacement": "6.0",
- "networkBandwidthReservation": "6.0",
- "hostInDegradation": "6.5",
- "hostExitDegradation": "6.5",
- "maxVmsConstraint": "6.5",
- "ftConstraints": "6.5",
- "vmHostAffinityPolicy": "6.8.7",
- "vmHostAntiAffinityPolicy": "6.8.7",
- "vmAntiAffinityPolicy": "6.8.7",
- "balanceVsanUsage": "7.0.2.0",
- "ahPlacementOptimization": "8.0.2.0",
+ "balanceVsanUsage": "7.0.2.0",
+ "ahPlacementOptimization": "8.0.2.0",
+ "vmxUpgrade": "8.0.3.0",
}
}
// Pre-defined constants for possible recommendation types.
//
// Virtual Center
+// uses this information to coordinate with the clients.
type RecommendationType string
const (
RecommendationTypeV1 = RecommendationType("V1")
)
+func (e RecommendationType) Values() []RecommendationType {
+ return []RecommendationType{
+ RecommendationTypeV1,
+ }
+}
+
+func (e RecommendationType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["RecommendationType"] = reflect.TypeOf((*RecommendationType)(nil)).Elem()
- minAPIVersionForType["RecommendationType"] = "2.5"
}
type ReplicationDiskConfigFaultReasonForFault string
@@ -6085,9 +9615,24 @@ const (
ReplicationDiskConfigFaultReasonForFaultReconfigureDiskReplicationIdNotAllowed = ReplicationDiskConfigFaultReasonForFault("reconfigureDiskReplicationIdNotAllowed")
)
+func (e ReplicationDiskConfigFaultReasonForFault) Values() []ReplicationDiskConfigFaultReasonForFault {
+ return []ReplicationDiskConfigFaultReasonForFault{
+ ReplicationDiskConfigFaultReasonForFaultDiskNotFound,
+ ReplicationDiskConfigFaultReasonForFaultDiskTypeNotSupported,
+ ReplicationDiskConfigFaultReasonForFaultInvalidDiskKey,
+ ReplicationDiskConfigFaultReasonForFaultInvalidDiskReplicationId,
+ ReplicationDiskConfigFaultReasonForFaultDuplicateDiskReplicationId,
+ ReplicationDiskConfigFaultReasonForFaultInvalidPersistentFilePath,
+ ReplicationDiskConfigFaultReasonForFaultReconfigureDiskReplicationIdNotAllowed,
+ }
+}
+
+func (e ReplicationDiskConfigFaultReasonForFault) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ReplicationDiskConfigFaultReasonForFault"] = reflect.TypeOf((*ReplicationDiskConfigFaultReasonForFault)(nil)).Elem()
- minAPIVersionForType["ReplicationDiskConfigFaultReasonForFault"] = "5.0"
}
type ReplicationVmConfigFaultReasonForFault string
@@ -6131,14 +9676,34 @@ const (
ReplicationVmConfigFaultReasonForFaultIncompatibleDevice = ReplicationVmConfigFaultReasonForFault("incompatibleDevice")
)
+func (e ReplicationVmConfigFaultReasonForFault) Values() []ReplicationVmConfigFaultReasonForFault {
+ return []ReplicationVmConfigFaultReasonForFault{
+ ReplicationVmConfigFaultReasonForFaultIncompatibleHwVersion,
+ ReplicationVmConfigFaultReasonForFaultInvalidVmReplicationId,
+ ReplicationVmConfigFaultReasonForFaultInvalidGenerationNumber,
+ ReplicationVmConfigFaultReasonForFaultOutOfBoundsRpoValue,
+ ReplicationVmConfigFaultReasonForFaultInvalidDestinationIpAddress,
+ ReplicationVmConfigFaultReasonForFaultInvalidDestinationPort,
+ ReplicationVmConfigFaultReasonForFaultInvalidExtraVmOptions,
+ ReplicationVmConfigFaultReasonForFaultStaleGenerationNumber,
+ ReplicationVmConfigFaultReasonForFaultReconfigureVmReplicationIdNotAllowed,
+ ReplicationVmConfigFaultReasonForFaultCannotRetrieveVmReplicationConfiguration,
+ ReplicationVmConfigFaultReasonForFaultReplicationAlreadyEnabled,
+ ReplicationVmConfigFaultReasonForFaultInvalidPriorConfiguration,
+ ReplicationVmConfigFaultReasonForFaultReplicationNotEnabled,
+ ReplicationVmConfigFaultReasonForFaultReplicationConfigurationFailed,
+ ReplicationVmConfigFaultReasonForFaultEncryptedVm,
+ ReplicationVmConfigFaultReasonForFaultInvalidThumbprint,
+ ReplicationVmConfigFaultReasonForFaultIncompatibleDevice,
+ }
+}
+
+func (e ReplicationVmConfigFaultReasonForFault) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ReplicationVmConfigFaultReasonForFault"] = reflect.TypeOf((*ReplicationVmConfigFaultReasonForFault)(nil)).Elem()
- minAPIVersionForType["ReplicationVmConfigFaultReasonForFault"] = "5.0"
- minAPIVersionForEnumValue["ReplicationVmConfigFaultReasonForFault"] = map[string]string{
- "encryptedVm": "6.5",
- "invalidThumbprint": "6.7",
- "incompatibleDevice": "6.7",
- }
}
type ReplicationVmFaultReasonForFault string
@@ -6173,13 +9738,26 @@ const (
ReplicationVmFaultReasonForFaultGroupExist = ReplicationVmFaultReasonForFault("groupExist")
)
+func (e ReplicationVmFaultReasonForFault) Values() []ReplicationVmFaultReasonForFault {
+ return []ReplicationVmFaultReasonForFault{
+ ReplicationVmFaultReasonForFaultNotConfigured,
+ ReplicationVmFaultReasonForFaultPoweredOff,
+ ReplicationVmFaultReasonForFaultSuspended,
+ ReplicationVmFaultReasonForFaultPoweredOn,
+ ReplicationVmFaultReasonForFaultOfflineReplicating,
+ ReplicationVmFaultReasonForFaultInvalidState,
+ ReplicationVmFaultReasonForFaultInvalidInstanceId,
+ ReplicationVmFaultReasonForFaultCloseDiskError,
+ ReplicationVmFaultReasonForFaultGroupExist,
+ }
+}
+
+func (e ReplicationVmFaultReasonForFault) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ReplicationVmFaultReasonForFault"] = reflect.TypeOf((*ReplicationVmFaultReasonForFault)(nil)).Elem()
- minAPIVersionForType["ReplicationVmFaultReasonForFault"] = "5.0"
- minAPIVersionForEnumValue["ReplicationVmFaultReasonForFault"] = map[string]string{
- "closeDiskError": "6.5",
- "groupExist": "6.7",
- }
}
type ReplicationVmInProgressFaultActivity string
@@ -6191,11 +9769,22 @@ const (
ReplicationVmInProgressFaultActivityDelta = ReplicationVmInProgressFaultActivity("delta")
)
+func (e ReplicationVmInProgressFaultActivity) Values() []ReplicationVmInProgressFaultActivity {
+ return []ReplicationVmInProgressFaultActivity{
+ ReplicationVmInProgressFaultActivityFullSync,
+ ReplicationVmInProgressFaultActivityDelta,
+ }
+}
+
+func (e ReplicationVmInProgressFaultActivity) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ReplicationVmInProgressFaultActivity"] = reflect.TypeOf((*ReplicationVmInProgressFaultActivity)(nil)).Elem()
- minAPIVersionForType["ReplicationVmInProgressFaultActivity"] = "6.0"
}
+// Describes the current state of a replicated `VirtualMachine`
type ReplicationVmState string
const (
@@ -6222,9 +9811,23 @@ const (
ReplicationVmStateError = ReplicationVmState("error")
)
+func (e ReplicationVmState) Values() []ReplicationVmState {
+ return []ReplicationVmState{
+ ReplicationVmStateNone,
+ ReplicationVmStatePaused,
+ ReplicationVmStateSyncing,
+ ReplicationVmStateIdle,
+ ReplicationVmStateActive,
+ ReplicationVmStateError,
+ }
+}
+
+func (e ReplicationVmState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ReplicationVmState"] = reflect.TypeOf((*ReplicationVmState)(nil)).Elem()
- minAPIVersionForType["ReplicationVmState"] = "5.0"
}
type ResourceConfigSpecScaleSharesBehavior string
@@ -6236,12 +9839,23 @@ const (
ResourceConfigSpecScaleSharesBehaviorScaleCpuAndMemoryShares = ResourceConfigSpecScaleSharesBehavior("scaleCpuAndMemoryShares")
)
+func (e ResourceConfigSpecScaleSharesBehavior) Values() []ResourceConfigSpecScaleSharesBehavior {
+ return []ResourceConfigSpecScaleSharesBehavior{
+ ResourceConfigSpecScaleSharesBehaviorDisabled,
+ ResourceConfigSpecScaleSharesBehaviorScaleCpuAndMemoryShares,
+ }
+}
+
+func (e ResourceConfigSpecScaleSharesBehavior) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ResourceConfigSpecScaleSharesBehavior"] = reflect.TypeOf((*ResourceConfigSpecScaleSharesBehavior)(nil)).Elem()
- minAPIVersionForType["ResourceConfigSpecScaleSharesBehavior"] = "7.0"
}
// The policy setting used to determine when to perform scheduled
+// upgrades for a virtual machine.
type ScheduledHardwareUpgradeInfoHardwareUpgradePolicy string
const (
@@ -6253,11 +9867,23 @@ const (
ScheduledHardwareUpgradeInfoHardwareUpgradePolicyAlways = ScheduledHardwareUpgradeInfoHardwareUpgradePolicy("always")
)
+func (e ScheduledHardwareUpgradeInfoHardwareUpgradePolicy) Values() []ScheduledHardwareUpgradeInfoHardwareUpgradePolicy {
+ return []ScheduledHardwareUpgradeInfoHardwareUpgradePolicy{
+ ScheduledHardwareUpgradeInfoHardwareUpgradePolicyNever,
+ ScheduledHardwareUpgradeInfoHardwareUpgradePolicyOnSoftPowerOff,
+ ScheduledHardwareUpgradeInfoHardwareUpgradePolicyAlways,
+ }
+}
+
+func (e ScheduledHardwareUpgradeInfoHardwareUpgradePolicy) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ScheduledHardwareUpgradeInfoHardwareUpgradePolicy"] = reflect.TypeOf((*ScheduledHardwareUpgradeInfoHardwareUpgradePolicy)(nil)).Elem()
- minAPIVersionForType["ScheduledHardwareUpgradeInfoHardwareUpgradePolicy"] = "5.1"
}
+// Status for last attempt to run scheduled hardware upgrade.
type ScheduledHardwareUpgradeInfoHardwareUpgradeStatus string
const (
@@ -6269,17 +9895,30 @@ const (
ScheduledHardwareUpgradeInfoHardwareUpgradeStatusSuccess = ScheduledHardwareUpgradeInfoHardwareUpgradeStatus("success")
// Upgrade failed.
//
- // For more information about the failure
+ // # For more information about the failure
//
// See also `ScheduledHardwareUpgradeInfo.fault`.
ScheduledHardwareUpgradeInfoHardwareUpgradeStatusFailed = ScheduledHardwareUpgradeInfoHardwareUpgradeStatus("failed")
)
+func (e ScheduledHardwareUpgradeInfoHardwareUpgradeStatus) Values() []ScheduledHardwareUpgradeInfoHardwareUpgradeStatus {
+ return []ScheduledHardwareUpgradeInfoHardwareUpgradeStatus{
+ ScheduledHardwareUpgradeInfoHardwareUpgradeStatusNone,
+ ScheduledHardwareUpgradeInfoHardwareUpgradeStatusPending,
+ ScheduledHardwareUpgradeInfoHardwareUpgradeStatusSuccess,
+ ScheduledHardwareUpgradeInfoHardwareUpgradeStatusFailed,
+ }
+}
+
+func (e ScheduledHardwareUpgradeInfoHardwareUpgradeStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ScheduledHardwareUpgradeInfoHardwareUpgradeStatus"] = reflect.TypeOf((*ScheduledHardwareUpgradeInfoHardwareUpgradeStatus)(nil)).Elem()
- minAPIVersionForType["ScheduledHardwareUpgradeInfoHardwareUpgradeStatus"] = "5.1"
}
+// The types of disk drives.
type ScsiDiskType string
const (
@@ -6295,15 +9934,26 @@ const (
ScsiDiskTypeUnknown = ScsiDiskType("unknown")
)
+func (e ScsiDiskType) Values() []ScsiDiskType {
+ return []ScsiDiskType{
+ ScsiDiskTypeNative512,
+ ScsiDiskTypeEmulated512,
+ ScsiDiskTypeNative4k,
+ ScsiDiskTypeSoftwareEmulated4k,
+ ScsiDiskTypeUnknown,
+ }
+}
+
+func (e ScsiDiskType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ScsiDiskType"] = reflect.TypeOf((*ScsiDiskType)(nil)).Elem()
- minAPIVersionForType["ScsiDiskType"] = "6.5"
- minAPIVersionForEnumValue["ScsiDiskType"] = map[string]string{
- "SoftwareEmulated4k": "6.7",
- }
}
// An indicator of the utility of Descriptor in being used as an
+// identifier that is stable, unique, and correlatable.
type ScsiLunDescriptorQuality string
const (
@@ -6321,9 +9971,48 @@ const (
ScsiLunDescriptorQualityUnknownQuality = ScsiLunDescriptorQuality("unknownQuality")
)
+func (e ScsiLunDescriptorQuality) Values() []ScsiLunDescriptorQuality {
+ return []ScsiLunDescriptorQuality{
+ ScsiLunDescriptorQualityHighQuality,
+ ScsiLunDescriptorQualityMediumQuality,
+ ScsiLunDescriptorQualityLowQuality,
+ ScsiLunDescriptorQualityUnknownQuality,
+ }
+}
+
+func (e ScsiLunDescriptorQuality) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ScsiLunDescriptorQuality"] = reflect.TypeOf((*ScsiLunDescriptorQuality)(nil)).Elem()
- minAPIVersionForType["ScsiLunDescriptorQuality"] = "4.0"
+}
+
+type ScsiLunLunReservationStatus string
+
+const (
+ ScsiLunLunReservationStatusLUN_RESERVED_UNKNOWN = ScsiLunLunReservationStatus("LUN_RESERVED_UNKNOWN")
+ ScsiLunLunReservationStatusLUN_RESERVED_YES = ScsiLunLunReservationStatus("LUN_RESERVED_YES")
+ ScsiLunLunReservationStatusLUN_RESERVED_NO = ScsiLunLunReservationStatus("LUN_RESERVED_NO")
+ ScsiLunLunReservationStatusLUN_RESERVED_NOT_SUPPORTED = ScsiLunLunReservationStatus("LUN_RESERVED_NOT_SUPPORTED")
+)
+
+func (e ScsiLunLunReservationStatus) Values() []ScsiLunLunReservationStatus {
+ return []ScsiLunLunReservationStatus{
+ ScsiLunLunReservationStatusLUN_RESERVED_UNKNOWN,
+ ScsiLunLunReservationStatusLUN_RESERVED_YES,
+ ScsiLunLunReservationStatusLUN_RESERVED_NO,
+ ScsiLunLunReservationStatusLUN_RESERVED_NOT_SUPPORTED,
+ }
+}
+
+func (e ScsiLunLunReservationStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
+func init() {
+ t["ScsiLunLunReservationStatus"] = reflect.TypeOf((*ScsiLunLunReservationStatus)(nil)).Elem()
+ minAPIVersionForType["ScsiLunLunReservationStatus"] = "8.0.3.0"
}
// The Operational state of the LUN
@@ -6353,13 +10042,25 @@ const (
ScsiLunStateTimeout = ScsiLunState("timeout")
)
+func (e ScsiLunState) Values() []ScsiLunState {
+ return []ScsiLunState{
+ ScsiLunStateUnknownState,
+ ScsiLunStateOk,
+ ScsiLunStateError,
+ ScsiLunStateOff,
+ ScsiLunStateQuiesced,
+ ScsiLunStateDegraded,
+ ScsiLunStateLostCommunication,
+ ScsiLunStateTimeout,
+ }
+}
+
+func (e ScsiLunState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ScsiLunState"] = reflect.TypeOf((*ScsiLunState)(nil)).Elem()
- minAPIVersionForEnumValue["ScsiLunState"] = map[string]string{
- "off": "4.0",
- "quiesced": "4.0",
- "timeout": "5.1",
- }
}
// The list of SCSI device types.
@@ -6384,6 +10085,28 @@ const (
ScsiLunTypeUnknown = ScsiLunType("unknown")
)
+func (e ScsiLunType) Values() []ScsiLunType {
+ return []ScsiLunType{
+ ScsiLunTypeDisk,
+ ScsiLunTypeTape,
+ ScsiLunTypePrinter,
+ ScsiLunTypeProcessor,
+ ScsiLunTypeWorm,
+ ScsiLunTypeCdrom,
+ ScsiLunTypeScanner,
+ ScsiLunTypeOpticalDevice,
+ ScsiLunTypeMediaChanger,
+ ScsiLunTypeCommunications,
+ ScsiLunTypeStorageArrayController,
+ ScsiLunTypeEnclosure,
+ ScsiLunTypeUnknown,
+ }
+}
+
+func (e ScsiLunType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ScsiLunType"] = reflect.TypeOf((*ScsiLunType)(nil)).Elem()
}
@@ -6393,6 +10116,7 @@ func init() {
// When a host boots, the support status is unknown.
// As a host attempts hardware-accelerated operations,
// it determines whether the storage device supports hardware acceleration
+// and sets the `ScsiLun.vStorageSupport` property accordingly.
type ScsiLunVStorageSupportStatus string
const (
@@ -6409,9 +10133,20 @@ const (
ScsiLunVStorageSupportStatusVStorageUnknown = ScsiLunVStorageSupportStatus("vStorageUnknown")
)
+func (e ScsiLunVStorageSupportStatus) Values() []ScsiLunVStorageSupportStatus {
+ return []ScsiLunVStorageSupportStatus{
+ ScsiLunVStorageSupportStatusVStorageSupported,
+ ScsiLunVStorageSupportStatusVStorageUnsupported,
+ ScsiLunVStorageSupportStatusVStorageUnknown,
+ }
+}
+
+func (e ScsiLunVStorageSupportStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ScsiLunVStorageSupportStatus"] = reflect.TypeOf((*ScsiLunVStorageSupportStatus)(nil)).Elem()
- minAPIVersionForType["ScsiLunVStorageSupportStatus"] = "4.1"
}
type SessionManagerGenericServiceTicketTicketType string
@@ -6425,11 +10160,24 @@ const (
SessionManagerGenericServiceTicketTicketTypeVcServiceTicket = SessionManagerGenericServiceTicketTicketType("VcServiceTicket")
)
+func (e SessionManagerGenericServiceTicketTicketType) Values() []SessionManagerGenericServiceTicketTicketType {
+ return []SessionManagerGenericServiceTicketTicketType{
+ SessionManagerGenericServiceTicketTicketTypeHttpNfcServiceTicket,
+ SessionManagerGenericServiceTicketTicketTypeHostServiceTicket,
+ SessionManagerGenericServiceTicketTicketTypeVcServiceTicket,
+ }
+}
+
+func (e SessionManagerGenericServiceTicketTicketType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["SessionManagerGenericServiceTicketTicketType"] = reflect.TypeOf((*SessionManagerGenericServiceTicketTicketType)(nil)).Elem()
minAPIVersionForType["SessionManagerGenericServiceTicketTicketType"] = "7.0.2.0"
}
+// HTTP request methods.
type SessionManagerHttpServiceRequestSpecMethod string
const (
@@ -6443,9 +10191,25 @@ const (
SessionManagerHttpServiceRequestSpecMethodHttpConnect = SessionManagerHttpServiceRequestSpecMethod("httpConnect")
)
+func (e SessionManagerHttpServiceRequestSpecMethod) Values() []SessionManagerHttpServiceRequestSpecMethod {
+ return []SessionManagerHttpServiceRequestSpecMethod{
+ SessionManagerHttpServiceRequestSpecMethodHttpOptions,
+ SessionManagerHttpServiceRequestSpecMethodHttpGet,
+ SessionManagerHttpServiceRequestSpecMethodHttpHead,
+ SessionManagerHttpServiceRequestSpecMethodHttpPost,
+ SessionManagerHttpServiceRequestSpecMethodHttpPut,
+ SessionManagerHttpServiceRequestSpecMethodHttpDelete,
+ SessionManagerHttpServiceRequestSpecMethodHttpTrace,
+ SessionManagerHttpServiceRequestSpecMethodHttpConnect,
+ }
+}
+
+func (e SessionManagerHttpServiceRequestSpecMethod) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["SessionManagerHttpServiceRequestSpecMethod"] = reflect.TypeOf((*SessionManagerHttpServiceRequestSpecMethod)(nil)).Elem()
- minAPIVersionForType["SessionManagerHttpServiceRequestSpecMethod"] = "5.0"
}
// Simplified shares notation.
@@ -6473,6 +10237,19 @@ const (
SharesLevelCustom = SharesLevel("custom")
)
+func (e SharesLevel) Values() []SharesLevel {
+ return []SharesLevel{
+ SharesLevelLow,
+ SharesLevelNormal,
+ SharesLevelHigh,
+ SharesLevelCustom,
+ }
+}
+
+func (e SharesLevel) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["SharesLevel"] = reflect.TypeOf((*SharesLevel)(nil)).Elem()
}
@@ -6480,6 +10257,7 @@ func init() {
// The encoding of the resultant return data.
//
// This is a hint to the client side
+// to indicate the format of the information being returned.
type SimpleCommandEncoding string
const (
@@ -6490,9 +10268,20 @@ const (
SimpleCommandEncodingSTRING = SimpleCommandEncoding("STRING")
)
+func (e SimpleCommandEncoding) Values() []SimpleCommandEncoding {
+ return []SimpleCommandEncoding{
+ SimpleCommandEncodingCSV,
+ SimpleCommandEncodingHEX,
+ SimpleCommandEncodingSTRING,
+ }
+}
+
+func (e SimpleCommandEncoding) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["SimpleCommandEncoding"] = reflect.TypeOf((*SimpleCommandEncoding)(nil)).Elem()
- minAPIVersionForType["SimpleCommandEncoding"] = "2.5"
}
// The available SLP discovery methods.
@@ -6511,10 +10300,24 @@ const (
SlpDiscoveryMethodSlpManual = SlpDiscoveryMethod("slpManual")
)
+func (e SlpDiscoveryMethod) Values() []SlpDiscoveryMethod {
+ return []SlpDiscoveryMethod{
+ SlpDiscoveryMethodSlpDhcp,
+ SlpDiscoveryMethodSlpAutoUnicast,
+ SlpDiscoveryMethodSlpAutoMulticast,
+ SlpDiscoveryMethodSlpManual,
+ }
+}
+
+func (e SlpDiscoveryMethod) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["SlpDiscoveryMethod"] = reflect.TypeOf((*SlpDiscoveryMethod)(nil)).Elem()
}
+// These are the constraint relationships between software packages.
type SoftwarePackageConstraint string
const (
@@ -6525,9 +10328,22 @@ const (
SoftwarePackageConstraintGreaterThan = SoftwarePackageConstraint("greaterThan")
)
+func (e SoftwarePackageConstraint) Values() []SoftwarePackageConstraint {
+ return []SoftwarePackageConstraint{
+ SoftwarePackageConstraintEquals,
+ SoftwarePackageConstraintLessThan,
+ SoftwarePackageConstraintLessThanEqual,
+ SoftwarePackageConstraintGreaterThanEqual,
+ SoftwarePackageConstraintGreaterThan,
+ }
+}
+
+func (e SoftwarePackageConstraint) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["SoftwarePackageConstraint"] = reflect.TypeOf((*SoftwarePackageConstraint)(nil)).Elem()
- minAPIVersionForType["SoftwarePackageConstraint"] = "6.5"
}
type SoftwarePackageVibType string
@@ -6542,9 +10358,20 @@ const (
SoftwarePackageVibTypeMeta = SoftwarePackageVibType("meta")
)
+func (e SoftwarePackageVibType) Values() []SoftwarePackageVibType {
+ return []SoftwarePackageVibType{
+ SoftwarePackageVibTypeBootbank,
+ SoftwarePackageVibTypeTools,
+ SoftwarePackageVibTypeMeta,
+ }
+}
+
+func (e SoftwarePackageVibType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["SoftwarePackageVibType"] = reflect.TypeOf((*SoftwarePackageVibType)(nil)).Elem()
- minAPIVersionForType["SoftwarePackageVibType"] = "6.5"
}
// The operation on the target state.
@@ -6557,10 +10384,22 @@ const (
StateAlarmOperatorIsUnequal = StateAlarmOperator("isUnequal")
)
+func (e StateAlarmOperator) Values() []StateAlarmOperator {
+ return []StateAlarmOperator{
+ StateAlarmOperatorIsEqual,
+ StateAlarmOperatorIsUnequal,
+ }
+}
+
+func (e StateAlarmOperator) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["StateAlarmOperator"] = reflect.TypeOf((*StateAlarmOperator)(nil)).Elem()
}
+// Storage DRS behavior.
type StorageDrsPodConfigInfoBehavior string
const (
@@ -6578,11 +10417,22 @@ const (
StorageDrsPodConfigInfoBehaviorAutomated = StorageDrsPodConfigInfoBehavior("automated")
)
+func (e StorageDrsPodConfigInfoBehavior) Values() []StorageDrsPodConfigInfoBehavior {
+ return []StorageDrsPodConfigInfoBehavior{
+ StorageDrsPodConfigInfoBehaviorManual,
+ StorageDrsPodConfigInfoBehaviorAutomated,
+ }
+}
+
+func (e StorageDrsPodConfigInfoBehavior) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["StorageDrsPodConfigInfoBehavior"] = reflect.TypeOf((*StorageDrsPodConfigInfoBehavior)(nil)).Elem()
- minAPIVersionForType["StorageDrsPodConfigInfoBehavior"] = "5.0"
}
+// Defines the two ways a space utilization threshold can be specified.
type StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode string
const (
@@ -6592,14 +10442,27 @@ const (
StorageDrsSpaceLoadBalanceConfigSpaceThresholdModeFreeSpace = StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode("freeSpace")
)
+func (e StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode) Values() []StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode {
+ return []StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode{
+ StorageDrsSpaceLoadBalanceConfigSpaceThresholdModeUtilization,
+ StorageDrsSpaceLoadBalanceConfigSpaceThresholdModeFreeSpace,
+ }
+}
+
+func (e StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode"] = reflect.TypeOf((*StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode)(nil)).Elem()
- minAPIVersionForType["StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode"] = "6.0"
}
-// User specification of congestion threshold mode on a given datastore
+// Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+//
+// # User specification of congestion threshold mode on a given datastore
//
// For more information, see
+// `StorageIORMInfo.congestionThreshold`
type StorageIORMThresholdMode string
const (
@@ -6612,11 +10475,22 @@ const (
StorageIORMThresholdModeManual = StorageIORMThresholdMode("manual")
)
+func (e StorageIORMThresholdMode) Values() []StorageIORMThresholdMode {
+ return []StorageIORMThresholdMode{
+ StorageIORMThresholdModeAutomatic,
+ StorageIORMThresholdModeManual,
+ }
+}
+
+func (e StorageIORMThresholdMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["StorageIORMThresholdMode"] = reflect.TypeOf((*StorageIORMThresholdMode)(nil)).Elem()
- minAPIVersionForType["StorageIORMThresholdMode"] = "5.1"
}
+// Defines the storage placement operation type.
type StoragePlacementSpecPlacementType string
const (
@@ -6630,9 +10504,21 @@ const (
StoragePlacementSpecPlacementTypeClone = StoragePlacementSpecPlacementType("clone")
)
+func (e StoragePlacementSpecPlacementType) Values() []StoragePlacementSpecPlacementType {
+ return []StoragePlacementSpecPlacementType{
+ StoragePlacementSpecPlacementTypeCreate,
+ StoragePlacementSpecPlacementTypeReconfigure,
+ StoragePlacementSpecPlacementTypeRelocate,
+ StoragePlacementSpecPlacementTypeClone,
+ }
+}
+
+func (e StoragePlacementSpecPlacementType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["StoragePlacementSpecPlacementType"] = reflect.TypeOf((*StoragePlacementSpecPlacementType)(nil)).Elem()
- minAPIVersionForType["StoragePlacementSpecPlacementType"] = "5.0"
}
// This option specifies how to select tasks based on child relationships
@@ -6656,6 +10542,18 @@ const (
TaskFilterSpecRecursionOptionAll = TaskFilterSpecRecursionOption("all")
)
+func (e TaskFilterSpecRecursionOption) Values() []TaskFilterSpecRecursionOption {
+ return []TaskFilterSpecRecursionOption{
+ TaskFilterSpecRecursionOptionSelf,
+ TaskFilterSpecRecursionOptionChildren,
+ TaskFilterSpecRecursionOptionAll,
+ }
+}
+
+func (e TaskFilterSpecRecursionOption) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["TaskFilterSpecRecursionOption"] = reflect.TypeOf((*TaskFilterSpecRecursionOption)(nil)).Elem()
}
@@ -6672,6 +10570,18 @@ const (
TaskFilterSpecTimeOptionCompletedTime = TaskFilterSpecTimeOption("completedTime")
)
+func (e TaskFilterSpecTimeOption) Values() []TaskFilterSpecTimeOption {
+ return []TaskFilterSpecTimeOption{
+ TaskFilterSpecTimeOptionQueuedTime,
+ TaskFilterSpecTimeOptionStartedTime,
+ TaskFilterSpecTimeOptionCompletedTime,
+ }
+}
+
+func (e TaskFilterSpecTimeOption) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["TaskFilterSpecTimeOption"] = reflect.TypeOf((*TaskFilterSpecTimeOption)(nil)).Elem()
}
@@ -6693,6 +10603,19 @@ const (
TaskInfoStateError = TaskInfoState("error")
)
+func (e TaskInfoState) Values() []TaskInfoState {
+ return []TaskInfoState{
+ TaskInfoStateQueued,
+ TaskInfoStateRunning,
+ TaskInfoStateSuccess,
+ TaskInfoStateError,
+ }
+}
+
+func (e TaskInfoState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["TaskInfoState"] = reflect.TypeOf((*TaskInfoState)(nil)).Elem()
}
@@ -6706,12 +10629,23 @@ const (
ThirdPartyLicenseAssignmentFailedReasonModuleNotInstalled = ThirdPartyLicenseAssignmentFailedReason("moduleNotInstalled")
)
+func (e ThirdPartyLicenseAssignmentFailedReason) Values() []ThirdPartyLicenseAssignmentFailedReason {
+ return []ThirdPartyLicenseAssignmentFailedReason{
+ ThirdPartyLicenseAssignmentFailedReasonLicenseAssignmentFailed,
+ ThirdPartyLicenseAssignmentFailedReasonModuleNotInstalled,
+ }
+}
+
+func (e ThirdPartyLicenseAssignmentFailedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ThirdPartyLicenseAssignmentFailedReason"] = reflect.TypeOf((*ThirdPartyLicenseAssignmentFailedReason)(nil)).Elem()
- minAPIVersionForType["ThirdPartyLicenseAssignmentFailedReason"] = "5.0"
}
// The policy setting used to determine when tools are auto-upgraded for
+// a virtual machine
type UpgradePolicy string
const (
@@ -6730,9 +10664,19 @@ const (
UpgradePolicyUpgradeAtPowerCycle = UpgradePolicy("upgradeAtPowerCycle")
)
+func (e UpgradePolicy) Values() []UpgradePolicy {
+ return []UpgradePolicy{
+ UpgradePolicyManual,
+ UpgradePolicyUpgradeAtPowerCycle,
+ }
+}
+
+func (e UpgradePolicy) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["UpgradePolicy"] = reflect.TypeOf((*UpgradePolicy)(nil)).Elem()
- minAPIVersionForType["UpgradePolicy"] = "2.5"
}
type VAppAutoStartAction string
@@ -6757,13 +10701,27 @@ const (
VAppAutoStartActionSuspend = VAppAutoStartAction("suspend")
)
+func (e VAppAutoStartAction) Values() []VAppAutoStartAction {
+ return []VAppAutoStartAction{
+ VAppAutoStartActionNone,
+ VAppAutoStartActionPowerOn,
+ VAppAutoStartActionPowerOff,
+ VAppAutoStartActionGuestShutdown,
+ VAppAutoStartActionSuspend,
+ }
+}
+
+func (e VAppAutoStartAction) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VAppAutoStartAction"] = reflect.TypeOf((*VAppAutoStartAction)(nil)).Elem()
- minAPIVersionForType["VAppAutoStartAction"] = "4.0"
}
// The cloned VMs can either be provisioned the same way as the VMs
// they are a clone of, thin provisioned or thick provisioned, or
+// linked clones (i.e., using delta disks).
type VAppCloneSpecProvisioningType string
const (
@@ -6782,11 +10740,23 @@ const (
VAppCloneSpecProvisioningTypeThick = VAppCloneSpecProvisioningType("thick")
)
+func (e VAppCloneSpecProvisioningType) Values() []VAppCloneSpecProvisioningType {
+ return []VAppCloneSpecProvisioningType{
+ VAppCloneSpecProvisioningTypeSameAsSource,
+ VAppCloneSpecProvisioningTypeThin,
+ VAppCloneSpecProvisioningTypeThick,
+ }
+}
+
+func (e VAppCloneSpecProvisioningType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VAppCloneSpecProvisioningType"] = reflect.TypeOf((*VAppCloneSpecProvisioningType)(nil)).Elem()
- minAPIVersionForType["VAppCloneSpecProvisioningType"] = "4.1"
}
+// IP allocation schemes supported by the guest.
type VAppIPAssignmentInfoAllocationSchemes string
const (
@@ -6797,11 +10767,22 @@ const (
VAppIPAssignmentInfoAllocationSchemesOvfenv = VAppIPAssignmentInfoAllocationSchemes("ovfenv")
)
+func (e VAppIPAssignmentInfoAllocationSchemes) Values() []VAppIPAssignmentInfoAllocationSchemes {
+ return []VAppIPAssignmentInfoAllocationSchemes{
+ VAppIPAssignmentInfoAllocationSchemesDhcp,
+ VAppIPAssignmentInfoAllocationSchemesOvfenv,
+ }
+}
+
+func (e VAppIPAssignmentInfoAllocationSchemes) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VAppIPAssignmentInfoAllocationSchemes"] = reflect.TypeOf((*VAppIPAssignmentInfoAllocationSchemes)(nil)).Elem()
- minAPIVersionForType["VAppIPAssignmentInfoAllocationSchemes"] = "4.0"
}
+// IP allocation policy for a deployment.
type VAppIPAssignmentInfoIpAllocationPolicy string
const (
@@ -6829,14 +10810,24 @@ const (
VAppIPAssignmentInfoIpAllocationPolicyFixedAllocatedPolicy = VAppIPAssignmentInfoIpAllocationPolicy("fixedAllocatedPolicy")
)
+func (e VAppIPAssignmentInfoIpAllocationPolicy) Values() []VAppIPAssignmentInfoIpAllocationPolicy {
+ return []VAppIPAssignmentInfoIpAllocationPolicy{
+ VAppIPAssignmentInfoIpAllocationPolicyDhcpPolicy,
+ VAppIPAssignmentInfoIpAllocationPolicyTransientPolicy,
+ VAppIPAssignmentInfoIpAllocationPolicyFixedPolicy,
+ VAppIPAssignmentInfoIpAllocationPolicyFixedAllocatedPolicy,
+ }
+}
+
+func (e VAppIPAssignmentInfoIpAllocationPolicy) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VAppIPAssignmentInfoIpAllocationPolicy"] = reflect.TypeOf((*VAppIPAssignmentInfoIpAllocationPolicy)(nil)).Elem()
- minAPIVersionForType["VAppIPAssignmentInfoIpAllocationPolicy"] = "4.0"
- minAPIVersionForEnumValue["VAppIPAssignmentInfoIpAllocationPolicy"] = map[string]string{
- "fixedAllocatedPolicy": "5.1",
- }
}
+// IP protocols supported by the guest.
type VAppIPAssignmentInfoProtocols string
const (
@@ -6846,9 +10837,19 @@ const (
VAppIPAssignmentInfoProtocolsIPv6 = VAppIPAssignmentInfoProtocols("IPv6")
)
+func (e VAppIPAssignmentInfoProtocols) Values() []VAppIPAssignmentInfoProtocols {
+ return []VAppIPAssignmentInfoProtocols{
+ VAppIPAssignmentInfoProtocolsIPv4,
+ VAppIPAssignmentInfoProtocolsIPv6,
+ }
+}
+
+func (e VAppIPAssignmentInfoProtocols) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VAppIPAssignmentInfoProtocols"] = reflect.TypeOf((*VAppIPAssignmentInfoProtocols)(nil)).Elem()
- minAPIVersionForType["VAppIPAssignmentInfoProtocols"] = "4.0"
}
type VFlashModuleNotSupportedReason string
@@ -6861,9 +10862,22 @@ const (
VFlashModuleNotSupportedReasonDiskSizeNotSupported = VFlashModuleNotSupportedReason("DiskSizeNotSupported")
)
+func (e VFlashModuleNotSupportedReason) Values() []VFlashModuleNotSupportedReason {
+ return []VFlashModuleNotSupportedReason{
+ VFlashModuleNotSupportedReasonCacheModeNotSupported,
+ VFlashModuleNotSupportedReasonCacheConsistencyTypeNotSupported,
+ VFlashModuleNotSupportedReasonCacheBlockSizeNotSupported,
+ VFlashModuleNotSupportedReasonCacheReservationNotSupported,
+ VFlashModuleNotSupportedReasonDiskSizeNotSupported,
+ }
+}
+
+func (e VFlashModuleNotSupportedReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VFlashModuleNotSupportedReason"] = reflect.TypeOf((*VFlashModuleNotSupportedReason)(nil)).Elem()
- minAPIVersionForType["VFlashModuleNotSupportedReason"] = "5.5"
}
// Types of a host's compatibility with a designated virtual machine
@@ -6884,10 +10898,22 @@ const (
VMotionCompatibilityTypeSoftware = VMotionCompatibilityType("software")
)
+func (e VMotionCompatibilityType) Values() []VMotionCompatibilityType {
+ return []VMotionCompatibilityType{
+ VMotionCompatibilityTypeCpu,
+ VMotionCompatibilityTypeSoftware,
+ }
+}
+
+func (e VMotionCompatibilityType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VMotionCompatibilityType"] = reflect.TypeOf((*VMotionCompatibilityType)(nil)).Elem()
}
+// The teaming health check match status.
type VMwareDVSTeamingMatchStatus string
const (
@@ -6913,11 +10939,24 @@ const (
VMwareDVSTeamingMatchStatusNonIphashMismatch = VMwareDVSTeamingMatchStatus("nonIphashMismatch")
)
+func (e VMwareDVSTeamingMatchStatus) Values() []VMwareDVSTeamingMatchStatus {
+ return []VMwareDVSTeamingMatchStatus{
+ VMwareDVSTeamingMatchStatusIphashMatch,
+ VMwareDVSTeamingMatchStatusNonIphashMatch,
+ VMwareDVSTeamingMatchStatusIphashMismatch,
+ VMwareDVSTeamingMatchStatusNonIphashMismatch,
+ }
+}
+
+func (e VMwareDVSTeamingMatchStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VMwareDVSTeamingMatchStatus"] = reflect.TypeOf((*VMwareDVSTeamingMatchStatus)(nil)).Elem()
- minAPIVersionForType["VMwareDVSTeamingMatchStatus"] = "5.1"
}
+// Distributed Port Mirroring session Encapsulation types.
type VMwareDVSVspanSessionEncapType string
const (
@@ -6929,16 +10968,26 @@ const (
VMwareDVSVspanSessionEncapTypeErspan3 = VMwareDVSVspanSessionEncapType("erspan3")
)
+func (e VMwareDVSVspanSessionEncapType) Values() []VMwareDVSVspanSessionEncapType {
+ return []VMwareDVSVspanSessionEncapType{
+ VMwareDVSVspanSessionEncapTypeGre,
+ VMwareDVSVspanSessionEncapTypeErspan2,
+ VMwareDVSVspanSessionEncapTypeErspan3,
+ }
+}
+
+func (e VMwareDVSVspanSessionEncapType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VMwareDVSVspanSessionEncapType"] = reflect.TypeOf((*VMwareDVSVspanSessionEncapType)(nil)).Elem()
- minAPIVersionForType["VMwareDVSVspanSessionEncapType"] = "6.5"
}
+// Distributed Port Mirroring session types.
type VMwareDVSVspanSessionType string
const (
- //
- //
// Deprecated as of vSphere API 5.1.
//
// In mixedDestMirror session, Distributed Ports can be used as source entities,
@@ -6958,16 +11007,28 @@ const (
VMwareDVSVspanSessionTypeEncapsulatedRemoteMirrorSource = VMwareDVSVspanSessionType("encapsulatedRemoteMirrorSource")
)
+func (e VMwareDVSVspanSessionType) Values() []VMwareDVSVspanSessionType {
+ return []VMwareDVSVspanSessionType{
+ VMwareDVSVspanSessionTypeMixedDestMirror,
+ VMwareDVSVspanSessionTypeDvPortMirror,
+ VMwareDVSVspanSessionTypeRemoteMirrorSource,
+ VMwareDVSVspanSessionTypeRemoteMirrorDest,
+ VMwareDVSVspanSessionTypeEncapsulatedRemoteMirrorSource,
+ }
+}
+
+func (e VMwareDVSVspanSessionType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VMwareDVSVspanSessionType"] = reflect.TypeOf((*VMwareDVSVspanSessionType)(nil)).Elem()
- minAPIVersionForType["VMwareDVSVspanSessionType"] = "5.1"
}
+// Link Aggregation Control Protocol API versions.
type VMwareDvsLacpApiVersion string
const (
- //
- //
// Deprecated as of vSphere API 7.0u1.
//
// One Link Aggregation Control Protocol group in the switch
@@ -6976,11 +11037,22 @@ const (
VMwareDvsLacpApiVersionMultipleLag = VMwareDvsLacpApiVersion("multipleLag")
)
+func (e VMwareDvsLacpApiVersion) Values() []VMwareDvsLacpApiVersion {
+ return []VMwareDvsLacpApiVersion{
+ VMwareDvsLacpApiVersionSingleLag,
+ VMwareDvsLacpApiVersionMultipleLag,
+ }
+}
+
+func (e VMwareDvsLacpApiVersion) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VMwareDvsLacpApiVersion"] = reflect.TypeOf((*VMwareDvsLacpApiVersion)(nil)).Elem()
- minAPIVersionForType["VMwareDvsLacpApiVersion"] = "5.5"
}
+// Load balance algorithm in a Link Aggregation Control Protocol group.
type VMwareDvsLacpLoadBalanceAlgorithm string
const (
@@ -7027,11 +11099,40 @@ const (
VMwareDvsLacpLoadBalanceAlgorithmSrcPortId = VMwareDvsLacpLoadBalanceAlgorithm("srcPortId")
)
+func (e VMwareDvsLacpLoadBalanceAlgorithm) Values() []VMwareDvsLacpLoadBalanceAlgorithm {
+ return []VMwareDvsLacpLoadBalanceAlgorithm{
+ VMwareDvsLacpLoadBalanceAlgorithmSrcMac,
+ VMwareDvsLacpLoadBalanceAlgorithmDestMac,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcDestMac,
+ VMwareDvsLacpLoadBalanceAlgorithmDestIpVlan,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcIpVlan,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcDestIpVlan,
+ VMwareDvsLacpLoadBalanceAlgorithmDestTcpUdpPort,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcTcpUdpPort,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcDestTcpUdpPort,
+ VMwareDvsLacpLoadBalanceAlgorithmDestIpTcpUdpPort,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcIpTcpUdpPort,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcDestIpTcpUdpPort,
+ VMwareDvsLacpLoadBalanceAlgorithmDestIpTcpUdpPortVlan,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcIpTcpUdpPortVlan,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcDestIpTcpUdpPortVlan,
+ VMwareDvsLacpLoadBalanceAlgorithmDestIp,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcIp,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcDestIp,
+ VMwareDvsLacpLoadBalanceAlgorithmVlan,
+ VMwareDvsLacpLoadBalanceAlgorithmSrcPortId,
+ }
+}
+
+func (e VMwareDvsLacpLoadBalanceAlgorithm) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VMwareDvsLacpLoadBalanceAlgorithm"] = reflect.TypeOf((*VMwareDvsLacpLoadBalanceAlgorithm)(nil)).Elem()
- minAPIVersionForType["VMwareDvsLacpLoadBalanceAlgorithm"] = "5.5"
}
+// Multicast Filtering mode.
type VMwareDvsMulticastFilteringMode string
const (
@@ -7041,11 +11142,22 @@ const (
VMwareDvsMulticastFilteringModeSnooping = VMwareDvsMulticastFilteringMode("snooping")
)
+func (e VMwareDvsMulticastFilteringMode) Values() []VMwareDvsMulticastFilteringMode {
+ return []VMwareDvsMulticastFilteringMode{
+ VMwareDvsMulticastFilteringModeLegacyFiltering,
+ VMwareDvsMulticastFilteringModeSnooping,
+ }
+}
+
+func (e VMwareDvsMulticastFilteringMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VMwareDvsMulticastFilteringMode"] = reflect.TypeOf((*VMwareDvsMulticastFilteringMode)(nil)).Elem()
- minAPIVersionForType["VMwareDvsMulticastFilteringMode"] = "6.0"
}
+// Link Aggregation Control Protocol policy modes.
type VMwareUplinkLacpMode string
const (
@@ -7055,9 +11167,19 @@ const (
VMwareUplinkLacpModePassive = VMwareUplinkLacpMode("passive")
)
+func (e VMwareUplinkLacpMode) Values() []VMwareUplinkLacpMode {
+ return []VMwareUplinkLacpMode{
+ VMwareUplinkLacpModeActive,
+ VMwareUplinkLacpModePassive,
+ }
+}
+
+func (e VMwareUplinkLacpMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VMwareUplinkLacpMode"] = reflect.TypeOf((*VMwareUplinkLacpMode)(nil)).Elem()
- minAPIVersionForType["VMwareUplinkLacpMode"] = "5.1"
}
type VMwareUplinkLacpTimeoutMode string
@@ -7073,6 +11195,17 @@ const (
VMwareUplinkLacpTimeoutModeSlow = VMwareUplinkLacpTimeoutMode("slow")
)
+func (e VMwareUplinkLacpTimeoutMode) Values() []VMwareUplinkLacpTimeoutMode {
+ return []VMwareUplinkLacpTimeoutMode{
+ VMwareUplinkLacpTimeoutModeFast,
+ VMwareUplinkLacpTimeoutModeSlow,
+ }
+}
+
+func (e VMwareUplinkLacpTimeoutMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VMwareUplinkLacpTimeoutMode"] = reflect.TypeOf((*VMwareUplinkLacpTimeoutMode)(nil)).Elem()
minAPIVersionForType["VMwareUplinkLacpTimeoutMode"] = "7.0.2.0"
@@ -7081,6 +11214,7 @@ func init() {
// Consumption type constants.
//
// Consumption type describes how the virtual storage object is connected and
+// consumed for data by the clients.
type VStorageObjectConsumptionType string
const (
@@ -7088,9 +11222,18 @@ const (
VStorageObjectConsumptionTypeDisk = VStorageObjectConsumptionType("disk")
)
+func (e VStorageObjectConsumptionType) Values() []VStorageObjectConsumptionType {
+ return []VStorageObjectConsumptionType{
+ VStorageObjectConsumptionTypeDisk,
+ }
+}
+
+func (e VStorageObjectConsumptionType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VStorageObjectConsumptionType"] = reflect.TypeOf((*VStorageObjectConsumptionType)(nil)).Elem()
- minAPIVersionForType["VStorageObjectConsumptionType"] = "6.5"
}
// Deprecated as of vSphere API 4.0, use `CheckTestType_enum` instead.
@@ -7129,10 +11272,24 @@ const (
ValidateMigrationTestTypeResourceTests = ValidateMigrationTestType("resourceTests")
)
+func (e ValidateMigrationTestType) Values() []ValidateMigrationTestType {
+ return []ValidateMigrationTestType{
+ ValidateMigrationTestTypeSourceTests,
+ ValidateMigrationTestTypeCompatibilityTests,
+ ValidateMigrationTestTypeDiskAccessibilityTests,
+ ValidateMigrationTestTypeResourceTests,
+ }
+}
+
+func (e ValidateMigrationTestType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["ValidateMigrationTestType"] = reflect.TypeOf((*ValidateMigrationTestType)(nil)).Elem()
}
+// VchaClusterMode enum defines the possible modes for a VCHA Cluster.
type VchaClusterMode string
const (
@@ -7154,11 +11311,23 @@ const (
VchaClusterModeMaintenance = VchaClusterMode("maintenance")
)
+func (e VchaClusterMode) Values() []VchaClusterMode {
+ return []VchaClusterMode{
+ VchaClusterModeEnabled,
+ VchaClusterModeDisabled,
+ VchaClusterModeMaintenance,
+ }
+}
+
+func (e VchaClusterMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VchaClusterMode"] = reflect.TypeOf((*VchaClusterMode)(nil)).Elem()
- minAPIVersionForType["VchaClusterMode"] = "6.5"
}
+// VchaClusterState enum defines the possible states for a VCHA Cluster.
type VchaClusterState string
const (
@@ -7178,9 +11347,20 @@ const (
VchaClusterStateIsolated = VchaClusterState("isolated")
)
+func (e VchaClusterState) Values() []VchaClusterState {
+ return []VchaClusterState{
+ VchaClusterStateHealthy,
+ VchaClusterStateDegraded,
+ VchaClusterStateIsolated,
+ }
+}
+
+func (e VchaClusterState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VchaClusterState"] = reflect.TypeOf((*VchaClusterState)(nil)).Elem()
- minAPIVersionForType["VchaClusterState"] = "6.5"
}
type VchaNodeRole string
@@ -7204,12 +11384,24 @@ const (
VchaNodeRoleWitness = VchaNodeRole("witness")
)
+func (e VchaNodeRole) Values() []VchaNodeRole {
+ return []VchaNodeRole{
+ VchaNodeRoleActive,
+ VchaNodeRolePassive,
+ VchaNodeRoleWitness,
+ }
+}
+
+func (e VchaNodeRole) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VchaNodeRole"] = reflect.TypeOf((*VchaNodeRole)(nil)).Elem()
- minAPIVersionForType["VchaNodeRole"] = "6.5"
}
// VchaNodeState enum defines possible state a node can be in a
+// VCHA Cluster.
type VchaNodeState string
const (
@@ -7219,9 +11411,19 @@ const (
VchaNodeStateDown = VchaNodeState("down")
)
+func (e VchaNodeState) Values() []VchaNodeState {
+ return []VchaNodeState{
+ VchaNodeStateUp,
+ VchaNodeStateDown,
+ }
+}
+
+func (e VchaNodeState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VchaNodeState"] = reflect.TypeOf((*VchaNodeState)(nil)).Elem()
- minAPIVersionForType["VchaNodeState"] = "6.5"
}
type VchaState string
@@ -7237,9 +11439,21 @@ const (
VchaStatePrepared = VchaState("prepared")
)
+func (e VchaState) Values() []VchaState {
+ return []VchaState{
+ VchaStateConfigured,
+ VchaStateNotConfigured,
+ VchaStateInvalid,
+ VchaStatePrepared,
+ }
+}
+
+func (e VchaState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VchaState"] = reflect.TypeOf((*VchaState)(nil)).Elem()
- minAPIVersionForType["VchaState"] = "6.5"
}
// The VAppState type defines the set of states a vApp can be
@@ -7247,6 +11461,7 @@ func init() {
//
// The transitory states between started and stopped is modeled explicitly,
// since the starting or stopping of a vApp is typically a time-consuming
+// process that might take minutes to complete.
type VirtualAppVAppState string
const (
@@ -7260,9 +11475,21 @@ const (
VirtualAppVAppStateStopping = VirtualAppVAppState("stopping")
)
+func (e VirtualAppVAppState) Values() []VirtualAppVAppState {
+ return []VirtualAppVAppState{
+ VirtualAppVAppStateStarted,
+ VirtualAppVAppStateStopped,
+ VirtualAppVAppStateStarting,
+ VirtualAppVAppStateStopping,
+ }
+}
+
+func (e VirtualAppVAppState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualAppVAppState"] = reflect.TypeOf((*VirtualAppVAppState)(nil)).Elem()
- minAPIVersionForType["VirtualAppVAppState"] = "4.0"
}
// Describes the change mode of the device.
@@ -7275,6 +11502,17 @@ const (
VirtualDeviceConfigSpecChangeModeSkip = VirtualDeviceConfigSpecChangeMode("skip")
)
+func (e VirtualDeviceConfigSpecChangeMode) Values() []VirtualDeviceConfigSpecChangeMode {
+ return []VirtualDeviceConfigSpecChangeMode{
+ VirtualDeviceConfigSpecChangeModeFail,
+ VirtualDeviceConfigSpecChangeModeSkip,
+ }
+}
+
+func (e VirtualDeviceConfigSpecChangeMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDeviceConfigSpecChangeMode"] = reflect.TypeOf((*VirtualDeviceConfigSpecChangeMode)(nil)).Elem()
minAPIVersionForType["VirtualDeviceConfigSpecChangeMode"] = "8.0.0.1"
@@ -7296,6 +11534,18 @@ const (
VirtualDeviceConfigSpecFileOperationReplace = VirtualDeviceConfigSpecFileOperation("replace")
)
+func (e VirtualDeviceConfigSpecFileOperation) Values() []VirtualDeviceConfigSpecFileOperation {
+ return []VirtualDeviceConfigSpecFileOperation{
+ VirtualDeviceConfigSpecFileOperationCreate,
+ VirtualDeviceConfigSpecFileOperationDestroy,
+ VirtualDeviceConfigSpecFileOperationReplace,
+ }
+}
+
+func (e VirtualDeviceConfigSpecFileOperation) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDeviceConfigSpecFileOperation"] = reflect.TypeOf((*VirtualDeviceConfigSpecFileOperation)(nil)).Elem()
}
@@ -7314,11 +11564,24 @@ const (
VirtualDeviceConfigSpecOperationEdit = VirtualDeviceConfigSpecOperation("edit")
)
+func (e VirtualDeviceConfigSpecOperation) Values() []VirtualDeviceConfigSpecOperation {
+ return []VirtualDeviceConfigSpecOperation{
+ VirtualDeviceConfigSpecOperationAdd,
+ VirtualDeviceConfigSpecOperationRemove,
+ VirtualDeviceConfigSpecOperationEdit,
+ }
+}
+
+func (e VirtualDeviceConfigSpecOperation) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDeviceConfigSpecOperation"] = reflect.TypeOf((*VirtualDeviceConfigSpecOperation)(nil)).Elem()
}
// Contains information about connectable virtual devices when
+// the virtual machine restores from a migration.
type VirtualDeviceConnectInfoMigrateConnectOp string
const (
@@ -7341,11 +11604,23 @@ const (
VirtualDeviceConnectInfoMigrateConnectOpUnset = VirtualDeviceConnectInfoMigrateConnectOp("unset")
)
+func (e VirtualDeviceConnectInfoMigrateConnectOp) Values() []VirtualDeviceConnectInfoMigrateConnectOp {
+ return []VirtualDeviceConnectInfoMigrateConnectOp{
+ VirtualDeviceConnectInfoMigrateConnectOpConnect,
+ VirtualDeviceConnectInfoMigrateConnectOpDisconnect,
+ VirtualDeviceConnectInfoMigrateConnectOpUnset,
+ }
+}
+
+func (e VirtualDeviceConnectInfoMigrateConnectOp) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDeviceConnectInfoMigrateConnectOp"] = reflect.TypeOf((*VirtualDeviceConnectInfoMigrateConnectOp)(nil)).Elem()
- minAPIVersionForType["VirtualDeviceConnectInfoMigrateConnectOp"] = "6.7"
}
+// Specifies the connectable virtual device status.
type VirtualDeviceConnectInfoStatus string
const (
@@ -7368,9 +11643,21 @@ const (
VirtualDeviceConnectInfoStatusUntried = VirtualDeviceConnectInfoStatus("untried")
)
+func (e VirtualDeviceConnectInfoStatus) Values() []VirtualDeviceConnectInfoStatus {
+ return []VirtualDeviceConnectInfoStatus{
+ VirtualDeviceConnectInfoStatusOk,
+ VirtualDeviceConnectInfoStatusRecoverableError,
+ VirtualDeviceConnectInfoStatusUnrecoverableError,
+ VirtualDeviceConnectInfoStatusUntried,
+ }
+}
+
+func (e VirtualDeviceConnectInfoStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDeviceConnectInfoStatus"] = reflect.TypeOf((*VirtualDeviceConnectInfoStatus)(nil)).Elem()
- minAPIVersionForType["VirtualDeviceConnectInfoStatus"] = "4.0"
}
// All known file extensions.
@@ -7391,11 +11678,26 @@ const (
VirtualDeviceFileExtensionRdm = VirtualDeviceFileExtension("rdm")
)
+func (e VirtualDeviceFileExtension) Values() []VirtualDeviceFileExtension {
+ return []VirtualDeviceFileExtension{
+ VirtualDeviceFileExtensionIso,
+ VirtualDeviceFileExtensionFlp,
+ VirtualDeviceFileExtensionVmdk,
+ VirtualDeviceFileExtensionDsk,
+ VirtualDeviceFileExtensionRdm,
+ }
+}
+
+func (e VirtualDeviceFileExtension) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDeviceFileExtension"] = reflect.TypeOf((*VirtualDeviceFileExtension)(nil)).Elem()
}
// The VirtualDeviceURIBackingOptionDirection
enum type
+// provides values for the direction of a network connection.
type VirtualDeviceURIBackingOptionDirection string
const (
@@ -7408,11 +11710,22 @@ const (
VirtualDeviceURIBackingOptionDirectionClient = VirtualDeviceURIBackingOptionDirection("client")
)
+func (e VirtualDeviceURIBackingOptionDirection) Values() []VirtualDeviceURIBackingOptionDirection {
+ return []VirtualDeviceURIBackingOptionDirection{
+ VirtualDeviceURIBackingOptionDirectionServer,
+ VirtualDeviceURIBackingOptionDirectionClient,
+ }
+}
+
+func (e VirtualDeviceURIBackingOptionDirection) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDeviceURIBackingOptionDirection"] = reflect.TypeOf((*VirtualDeviceURIBackingOptionDirection)(nil)).Elem()
- minAPIVersionForType["VirtualDeviceURIBackingOptionDirection"] = "4.1"
}
+// The types of virtual disk adapters used by virtual disks
type VirtualDiskAdapterType string
const (
@@ -7424,9 +11737,20 @@ const (
VirtualDiskAdapterTypeLsiLogic = VirtualDiskAdapterType("lsiLogic")
)
+func (e VirtualDiskAdapterType) Values() []VirtualDiskAdapterType {
+ return []VirtualDiskAdapterType{
+ VirtualDiskAdapterTypeIde,
+ VirtualDiskAdapterTypeBusLogic,
+ VirtualDiskAdapterTypeLsiLogic,
+ }
+}
+
+func (e VirtualDiskAdapterType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDiskAdapterType"] = reflect.TypeOf((*VirtualDiskAdapterType)(nil)).Elem()
- minAPIVersionForType["VirtualDiskAdapterType"] = "2.5"
}
// All known compatibility modes for raw disk mappings.
@@ -7449,10 +11773,22 @@ const (
VirtualDiskCompatibilityModePhysicalMode = VirtualDiskCompatibilityMode("physicalMode")
)
+func (e VirtualDiskCompatibilityMode) Values() []VirtualDiskCompatibilityMode {
+ return []VirtualDiskCompatibilityMode{
+ VirtualDiskCompatibilityModeVirtualMode,
+ VirtualDiskCompatibilityModePhysicalMode,
+ }
+}
+
+func (e VirtualDiskCompatibilityMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDiskCompatibilityMode"] = reflect.TypeOf((*VirtualDiskCompatibilityMode)(nil)).Elem()
}
+// The delta disk format constants
type VirtualDiskDeltaDiskFormat string
const (
@@ -7464,14 +11800,23 @@ const (
VirtualDiskDeltaDiskFormatSeSparseFormat = VirtualDiskDeltaDiskFormat("seSparseFormat")
)
+func (e VirtualDiskDeltaDiskFormat) Values() []VirtualDiskDeltaDiskFormat {
+ return []VirtualDiskDeltaDiskFormat{
+ VirtualDiskDeltaDiskFormatRedoLogFormat,
+ VirtualDiskDeltaDiskFormatNativeFormat,
+ VirtualDiskDeltaDiskFormatSeSparseFormat,
+ }
+}
+
+func (e VirtualDiskDeltaDiskFormat) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDiskDeltaDiskFormat"] = reflect.TypeOf((*VirtualDiskDeltaDiskFormat)(nil)).Elem()
- minAPIVersionForType["VirtualDiskDeltaDiskFormat"] = "5.0"
- minAPIVersionForEnumValue["VirtualDiskDeltaDiskFormat"] = map[string]string{
- "seSparseFormat": "5.1",
- }
}
+// The delta disk format variant constants
type VirtualDiskDeltaDiskFormatVariant string
const (
@@ -7481,9 +11826,19 @@ const (
VirtualDiskDeltaDiskFormatVariantVsanSparseVariant = VirtualDiskDeltaDiskFormatVariant("vsanSparseVariant")
)
+func (e VirtualDiskDeltaDiskFormatVariant) Values() []VirtualDiskDeltaDiskFormatVariant {
+ return []VirtualDiskDeltaDiskFormatVariant{
+ VirtualDiskDeltaDiskFormatVariantVmfsSparseVariant,
+ VirtualDiskDeltaDiskFormatVariantVsanSparseVariant,
+ }
+}
+
+func (e VirtualDiskDeltaDiskFormatVariant) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDiskDeltaDiskFormatVariant"] = reflect.TypeOf((*VirtualDiskDeltaDiskFormatVariant)(nil)).Elem()
- minAPIVersionForType["VirtualDiskDeltaDiskFormatVariant"] = "6.0"
}
// The list of known disk modes.
@@ -7507,11 +11862,27 @@ const (
VirtualDiskModeAppend = VirtualDiskMode("append")
)
+func (e VirtualDiskMode) Values() []VirtualDiskMode {
+ return []VirtualDiskMode{
+ VirtualDiskModePersistent,
+ VirtualDiskModeNonpersistent,
+ VirtualDiskModeUndoable,
+ VirtualDiskModeIndependent_persistent,
+ VirtualDiskModeIndependent_nonpersistent,
+ VirtualDiskModeAppend,
+ }
+}
+
+func (e VirtualDiskMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDiskMode"] = reflect.TypeOf((*VirtualDiskMode)(nil)).Elem()
}
// Rule type determines how the virtual disks in a vm can be grouped
+// together.
type VirtualDiskRuleSpecRuleType string
const (
@@ -7524,15 +11895,27 @@ const (
VirtualDiskRuleSpecRuleTypeDisabled = VirtualDiskRuleSpecRuleType("disabled")
)
+func (e VirtualDiskRuleSpecRuleType) Values() []VirtualDiskRuleSpecRuleType {
+ return []VirtualDiskRuleSpecRuleType{
+ VirtualDiskRuleSpecRuleTypeAffinity,
+ VirtualDiskRuleSpecRuleTypeAntiAffinity,
+ VirtualDiskRuleSpecRuleTypeDisabled,
+ }
+}
+
+func (e VirtualDiskRuleSpecRuleType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDiskRuleSpecRuleType"] = reflect.TypeOf((*VirtualDiskRuleSpecRuleType)(nil)).Elem()
- minAPIVersionForType["VirtualDiskRuleSpecRuleType"] = "6.7"
}
// The sharing mode of the virtual disk.
//
// Setting the value to sharingMultiWriter means that multiple virtual
// machines can write to the virtual disk. This sharing mode is allowed
+// only for eagerly zeroed thick virtual disks.
type VirtualDiskSharing string
const (
@@ -7542,11 +11925,22 @@ const (
VirtualDiskSharingSharingMultiWriter = VirtualDiskSharing("sharingMultiWriter")
)
+func (e VirtualDiskSharing) Values() []VirtualDiskSharing {
+ return []VirtualDiskSharing{
+ VirtualDiskSharingSharingNone,
+ VirtualDiskSharingSharingMultiWriter,
+ }
+}
+
+func (e VirtualDiskSharing) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDiskSharing"] = reflect.TypeOf((*VirtualDiskSharing)(nil)).Elem()
- minAPIVersionForType["VirtualDiskSharing"] = "6.0"
}
+// The types of virtual disks that can be created or cloned.
type VirtualDiskType string
const (
@@ -7614,8 +12008,6 @@ const (
// other VMware products. This format is only applicable as a destination
// format in a clone operation, and not usable for disk creation.
VirtualDiskTypeFlatMonolithic = VirtualDiskType("flatMonolithic")
- //
- //
// Deprecated as of vSphere API 4.x, use `eagerZeroedThick` instead
// for clustering application, and `preallocated` for other applications.
//
@@ -7630,17 +12022,33 @@ const (
VirtualDiskTypeThick = VirtualDiskType("thick")
)
+func (e VirtualDiskType) Values() []VirtualDiskType {
+ return []VirtualDiskType{
+ VirtualDiskTypePreallocated,
+ VirtualDiskTypeThin,
+ VirtualDiskTypeSeSparse,
+ VirtualDiskTypeRdm,
+ VirtualDiskTypeRdmp,
+ VirtualDiskTypeRaw,
+ VirtualDiskTypeDelta,
+ VirtualDiskTypeSparse2Gb,
+ VirtualDiskTypeThick2Gb,
+ VirtualDiskTypeEagerZeroedThick,
+ VirtualDiskTypeSparseMonolithic,
+ VirtualDiskTypeFlatMonolithic,
+ VirtualDiskTypeThick,
+ }
+}
+
+func (e VirtualDiskType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDiskType"] = reflect.TypeOf((*VirtualDiskType)(nil)).Elem()
- minAPIVersionForType["VirtualDiskType"] = "2.5"
- minAPIVersionForEnumValue["VirtualDiskType"] = map[string]string{
- "seSparse": "5.1",
- "delta": "5.5",
- "sparseMonolithic": "4.0",
- "flatMonolithic": "4.0",
- }
}
+// Pre-defined constants for cache consistency types
type VirtualDiskVFlashCacheConfigInfoCacheConsistencyType string
const (
@@ -7651,11 +12059,22 @@ const (
VirtualDiskVFlashCacheConfigInfoCacheConsistencyTypeWeak = VirtualDiskVFlashCacheConfigInfoCacheConsistencyType("weak")
)
+func (e VirtualDiskVFlashCacheConfigInfoCacheConsistencyType) Values() []VirtualDiskVFlashCacheConfigInfoCacheConsistencyType {
+ return []VirtualDiskVFlashCacheConfigInfoCacheConsistencyType{
+ VirtualDiskVFlashCacheConfigInfoCacheConsistencyTypeStrong,
+ VirtualDiskVFlashCacheConfigInfoCacheConsistencyTypeWeak,
+ }
+}
+
+func (e VirtualDiskVFlashCacheConfigInfoCacheConsistencyType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDiskVFlashCacheConfigInfoCacheConsistencyType"] = reflect.TypeOf((*VirtualDiskVFlashCacheConfigInfoCacheConsistencyType)(nil)).Elem()
- minAPIVersionForType["VirtualDiskVFlashCacheConfigInfoCacheConsistencyType"] = "5.5"
}
+// Pre-defined constants for cache modes.
type VirtualDiskVFlashCacheConfigInfoCacheMode string
const (
@@ -7673,9 +12092,19 @@ const (
VirtualDiskVFlashCacheConfigInfoCacheModeWrite_back = VirtualDiskVFlashCacheConfigInfoCacheMode("write_back")
)
+func (e VirtualDiskVFlashCacheConfigInfoCacheMode) Values() []VirtualDiskVFlashCacheConfigInfoCacheMode {
+ return []VirtualDiskVFlashCacheConfigInfoCacheMode{
+ VirtualDiskVFlashCacheConfigInfoCacheModeWrite_thru,
+ VirtualDiskVFlashCacheConfigInfoCacheModeWrite_back,
+ }
+}
+
+func (e VirtualDiskVFlashCacheConfigInfoCacheMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualDiskVFlashCacheConfigInfoCacheMode"] = reflect.TypeOf((*VirtualDiskVFlashCacheConfigInfoCacheMode)(nil)).Elem()
- minAPIVersionForType["VirtualDiskVFlashCacheConfigInfoCacheMode"] = "5.5"
}
// Possible device names for legacy network backing option are listed below.
@@ -7695,6 +12124,18 @@ const (
VirtualEthernetCardLegacyNetworkDeviceNameHostonly = VirtualEthernetCardLegacyNetworkDeviceName("hostonly")
)
+func (e VirtualEthernetCardLegacyNetworkDeviceName) Values() []VirtualEthernetCardLegacyNetworkDeviceName {
+ return []VirtualEthernetCardLegacyNetworkDeviceName{
+ VirtualEthernetCardLegacyNetworkDeviceNameBridged,
+ VirtualEthernetCardLegacyNetworkDeviceNameNat,
+ VirtualEthernetCardLegacyNetworkDeviceNameHostonly,
+ }
+}
+
+func (e VirtualEthernetCardLegacyNetworkDeviceName) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualEthernetCardLegacyNetworkDeviceName"] = reflect.TypeOf((*VirtualEthernetCardLegacyNetworkDeviceName)(nil)).Elem()
}
@@ -7711,6 +12152,18 @@ const (
VirtualEthernetCardMacTypeAssigned = VirtualEthernetCardMacType("assigned")
)
+func (e VirtualEthernetCardMacType) Values() []VirtualEthernetCardMacType {
+ return []VirtualEthernetCardMacType{
+ VirtualEthernetCardMacTypeManual,
+ VirtualEthernetCardMacTypeGenerated,
+ VirtualEthernetCardMacTypeAssigned,
+ }
+}
+
+func (e VirtualEthernetCardMacType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualEthernetCardMacType"] = reflect.TypeOf((*VirtualEthernetCardMacType)(nil)).Elem()
}
@@ -7724,11 +12177,23 @@ const (
VirtualHardwareMotherboardLayoutAcpiHostBridges = VirtualHardwareMotherboardLayout("acpiHostBridges")
)
+func (e VirtualHardwareMotherboardLayout) Values() []VirtualHardwareMotherboardLayout {
+ return []VirtualHardwareMotherboardLayout{
+ VirtualHardwareMotherboardLayoutI440bxHostBridge,
+ VirtualHardwareMotherboardLayoutAcpiHostBridges,
+ }
+}
+
+func (e VirtualHardwareMotherboardLayout) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualHardwareMotherboardLayout"] = reflect.TypeOf((*VirtualHardwareMotherboardLayout)(nil)).Elem()
minAPIVersionForType["VirtualHardwareMotherboardLayout"] = "8.0.0.1"
}
+// Application heartbeat status type.
type VirtualMachineAppHeartbeatStatusType string
const (
@@ -7740,9 +12205,20 @@ const (
VirtualMachineAppHeartbeatStatusTypeAppStatusRed = VirtualMachineAppHeartbeatStatusType("appStatusRed")
)
+func (e VirtualMachineAppHeartbeatStatusType) Values() []VirtualMachineAppHeartbeatStatusType {
+ return []VirtualMachineAppHeartbeatStatusType{
+ VirtualMachineAppHeartbeatStatusTypeAppStatusGray,
+ VirtualMachineAppHeartbeatStatusTypeAppStatusGreen,
+ VirtualMachineAppHeartbeatStatusTypeAppStatusRed,
+ }
+}
+
+func (e VirtualMachineAppHeartbeatStatusType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineAppHeartbeatStatusType"] = reflect.TypeOf((*VirtualMachineAppHeartbeatStatusType)(nil)).Elem()
- minAPIVersionForType["VirtualMachineAppHeartbeatStatusType"] = "4.1"
}
type VirtualMachineBootOptionsNetworkBootProtocolType string
@@ -7758,9 +12234,19 @@ const (
VirtualMachineBootOptionsNetworkBootProtocolTypeIpv6 = VirtualMachineBootOptionsNetworkBootProtocolType("ipv6")
)
+func (e VirtualMachineBootOptionsNetworkBootProtocolType) Values() []VirtualMachineBootOptionsNetworkBootProtocolType {
+ return []VirtualMachineBootOptionsNetworkBootProtocolType{
+ VirtualMachineBootOptionsNetworkBootProtocolTypeIpv4,
+ VirtualMachineBootOptionsNetworkBootProtocolTypeIpv6,
+ }
+}
+
+func (e VirtualMachineBootOptionsNetworkBootProtocolType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineBootOptionsNetworkBootProtocolType"] = reflect.TypeOf((*VirtualMachineBootOptionsNetworkBootProtocolType)(nil)).Elem()
- minAPIVersionForType["VirtualMachineBootOptionsNetworkBootProtocolType"] = "6.0"
}
type VirtualMachineCertThumbprintHashAlgorithm string
@@ -7770,6 +12256,16 @@ const (
VirtualMachineCertThumbprintHashAlgorithmSha256 = VirtualMachineCertThumbprintHashAlgorithm("sha256")
)
+func (e VirtualMachineCertThumbprintHashAlgorithm) Values() []VirtualMachineCertThumbprintHashAlgorithm {
+ return []VirtualMachineCertThumbprintHashAlgorithm{
+ VirtualMachineCertThumbprintHashAlgorithmSha256,
+ }
+}
+
+func (e VirtualMachineCertThumbprintHashAlgorithm) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineCertThumbprintHashAlgorithm"] = reflect.TypeOf((*VirtualMachineCertThumbprintHashAlgorithm)(nil)).Elem()
minAPIVersionForType["VirtualMachineCertThumbprintHashAlgorithm"] = "7.0.3.1"
@@ -7791,11 +12287,23 @@ const (
VirtualMachineCloneSpecTpmProvisionPolicyReplace = VirtualMachineCloneSpecTpmProvisionPolicy("replace")
)
+func (e VirtualMachineCloneSpecTpmProvisionPolicy) Values() []VirtualMachineCloneSpecTpmProvisionPolicy {
+ return []VirtualMachineCloneSpecTpmProvisionPolicy{
+ VirtualMachineCloneSpecTpmProvisionPolicyCopy,
+ VirtualMachineCloneSpecTpmProvisionPolicyReplace,
+ }
+}
+
+func (e VirtualMachineCloneSpecTpmProvisionPolicy) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineCloneSpecTpmProvisionPolicy"] = reflect.TypeOf((*VirtualMachineCloneSpecTpmProvisionPolicy)(nil)).Elem()
minAPIVersionForType["VirtualMachineCloneSpecTpmProvisionPolicy"] = "8.0.0.1"
}
+// The NPIV WWN source type.
type VirtualMachineConfigInfoNpivWwnType string
const (
@@ -7807,9 +12315,20 @@ const (
VirtualMachineConfigInfoNpivWwnTypeExternal = VirtualMachineConfigInfoNpivWwnType("external")
)
+func (e VirtualMachineConfigInfoNpivWwnType) Values() []VirtualMachineConfigInfoNpivWwnType {
+ return []VirtualMachineConfigInfoNpivWwnType{
+ VirtualMachineConfigInfoNpivWwnTypeVc,
+ VirtualMachineConfigInfoNpivWwnTypeHost,
+ VirtualMachineConfigInfoNpivWwnTypeExternal,
+ }
+}
+
+func (e VirtualMachineConfigInfoNpivWwnType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineConfigInfoNpivWwnType"] = reflect.TypeOf((*VirtualMachineConfigInfoNpivWwnType)(nil)).Elem()
- minAPIVersionForType["VirtualMachineConfigInfoNpivWwnType"] = "2.5"
}
// Available choices for virtual machine swapfile placement policy.
@@ -7820,6 +12339,7 @@ func init() {
// values except for "inherit" and "vmConfigured" are also valid values for
// a compute resource configuration's
// `vmSwapPlacement`
+// property.
type VirtualMachineConfigInfoSwapPlacementType string
const (
@@ -7840,9 +12360,20 @@ const (
VirtualMachineConfigInfoSwapPlacementTypeHostLocal = VirtualMachineConfigInfoSwapPlacementType("hostLocal")
)
+func (e VirtualMachineConfigInfoSwapPlacementType) Values() []VirtualMachineConfigInfoSwapPlacementType {
+ return []VirtualMachineConfigInfoSwapPlacementType{
+ VirtualMachineConfigInfoSwapPlacementTypeInherit,
+ VirtualMachineConfigInfoSwapPlacementTypeVmDirectory,
+ VirtualMachineConfigInfoSwapPlacementTypeHostLocal,
+ }
+}
+
+func (e VirtualMachineConfigInfoSwapPlacementType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineConfigInfoSwapPlacementType"] = reflect.TypeOf((*VirtualMachineConfigInfoSwapPlacementType)(nil)).Elem()
- minAPIVersionForType["VirtualMachineConfigInfoSwapPlacementType"] = "2.5"
}
// The set of valid encrypted Fault Tolerance modes for a VM.
@@ -7866,12 +12397,26 @@ const (
VirtualMachineConfigSpecEncryptedFtModesFtEncryptionRequired = VirtualMachineConfigSpecEncryptedFtModes("ftEncryptionRequired")
)
+func (e VirtualMachineConfigSpecEncryptedFtModes) Values() []VirtualMachineConfigSpecEncryptedFtModes {
+ return []VirtualMachineConfigSpecEncryptedFtModes{
+ VirtualMachineConfigSpecEncryptedFtModesFtEncryptionDisabled,
+ VirtualMachineConfigSpecEncryptedFtModesFtEncryptionOpportunistic,
+ VirtualMachineConfigSpecEncryptedFtModesFtEncryptionRequired,
+ }
+}
+
+func (e VirtualMachineConfigSpecEncryptedFtModes) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineConfigSpecEncryptedFtModes"] = reflect.TypeOf((*VirtualMachineConfigSpecEncryptedFtModes)(nil)).Elem()
minAPIVersionForType["VirtualMachineConfigSpecEncryptedFtModes"] = "7.0.2.0"
}
// The set of valid encrypted vMotion modes for a VM.
+//
+// If the VM is encrypted, its encrypted vMotion mode will be required.
type VirtualMachineConfigSpecEncryptedVMotionModes string
const (
@@ -7889,11 +12434,23 @@ const (
VirtualMachineConfigSpecEncryptedVMotionModesRequired = VirtualMachineConfigSpecEncryptedVMotionModes("required")
)
+func (e VirtualMachineConfigSpecEncryptedVMotionModes) Values() []VirtualMachineConfigSpecEncryptedVMotionModes {
+ return []VirtualMachineConfigSpecEncryptedVMotionModes{
+ VirtualMachineConfigSpecEncryptedVMotionModesDisabled,
+ VirtualMachineConfigSpecEncryptedVMotionModesOpportunistic,
+ VirtualMachineConfigSpecEncryptedVMotionModesRequired,
+ }
+}
+
+func (e VirtualMachineConfigSpecEncryptedVMotionModes) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineConfigSpecEncryptedVMotionModes"] = reflect.TypeOf((*VirtualMachineConfigSpecEncryptedVMotionModes)(nil)).Elem()
- minAPIVersionForType["VirtualMachineConfigSpecEncryptedVMotionModes"] = "6.5"
}
+// The root WWN operation mode.
type VirtualMachineConfigSpecNpivWwnOp string
const (
@@ -7911,12 +12468,21 @@ const (
VirtualMachineConfigSpecNpivWwnOpExtend = VirtualMachineConfigSpecNpivWwnOp("extend")
)
+func (e VirtualMachineConfigSpecNpivWwnOp) Values() []VirtualMachineConfigSpecNpivWwnOp {
+ return []VirtualMachineConfigSpecNpivWwnOp{
+ VirtualMachineConfigSpecNpivWwnOpGenerate,
+ VirtualMachineConfigSpecNpivWwnOpSet,
+ VirtualMachineConfigSpecNpivWwnOpRemove,
+ VirtualMachineConfigSpecNpivWwnOpExtend,
+ }
+}
+
+func (e VirtualMachineConfigSpecNpivWwnOp) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineConfigSpecNpivWwnOp"] = reflect.TypeOf((*VirtualMachineConfigSpecNpivWwnOp)(nil)).Elem()
- minAPIVersionForType["VirtualMachineConfigSpecNpivWwnOp"] = "2.5"
- minAPIVersionForEnumValue["VirtualMachineConfigSpecNpivWwnOp"] = map[string]string{
- "extend": "4.0",
- }
}
// The connectivity state of a virtual machine.
@@ -7958,10 +12524,25 @@ const (
VirtualMachineConnectionStateInvalid = VirtualMachineConnectionState("invalid")
)
+func (e VirtualMachineConnectionState) Values() []VirtualMachineConnectionState {
+ return []VirtualMachineConnectionState{
+ VirtualMachineConnectionStateConnected,
+ VirtualMachineConnectionStateDisconnected,
+ VirtualMachineConnectionStateOrphaned,
+ VirtualMachineConnectionStateInaccessible,
+ VirtualMachineConnectionStateInvalid,
+ }
+}
+
+func (e VirtualMachineConnectionState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineConnectionState"] = reflect.TypeOf((*VirtualMachineConnectionState)(nil)).Elem()
}
+// The crypto state of a encrypted virtual machine.
type VirtualMachineCryptoState string
const (
@@ -7972,9 +12553,19 @@ const (
VirtualMachineCryptoStateLocked = VirtualMachineCryptoState("locked")
)
+func (e VirtualMachineCryptoState) Values() []VirtualMachineCryptoState {
+ return []VirtualMachineCryptoState{
+ VirtualMachineCryptoStateUnlocked,
+ VirtualMachineCryptoStateLocked,
+ }
+}
+
+func (e VirtualMachineCryptoState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineCryptoState"] = reflect.TypeOf((*VirtualMachineCryptoState)(nil)).Elem()
- minAPIVersionForType["VirtualMachineCryptoState"] = "6.7"
}
type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther string
@@ -7996,9 +12587,19 @@ const (
VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOtherVmNptIncompatibleNetwork = VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther("vmNptIncompatibleNetwork")
)
+func (e VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther) Values() []VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther {
+ return []VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther{
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOtherVmNptIncompatibleHost,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOtherVmNptIncompatibleNetwork,
+ }
+}
+
+func (e VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther)(nil)).Elem()
- minAPIVersionForType["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther"] = "4.1"
}
type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm string
@@ -8026,8 +12627,6 @@ const (
// The virtual machine does not have full memory reservation
// required to activate VMDirectPath Gen 2.
VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptInsufficientMemoryReservation = VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm("vmNptInsufficientMemoryReservation")
- //
- //
// Deprecated as of vSphere API 6.0.
//
// The virtual machine is configured for Fault Tolerance or
@@ -8063,16 +12662,36 @@ const (
VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptVMCIActive = VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm("vmNptVMCIActive")
)
+func (e VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm) Values() []VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm {
+ return []VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm{
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptIncompatibleGuest,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptIncompatibleGuestDriver,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptIncompatibleAdapterType,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptDisabledOrDisconnectedAdapter,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptIncompatibleAdapterFeatures,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptIncompatibleBackingType,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptInsufficientMemoryReservation,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptFaultToleranceOrRecordReplayConfigured,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptConflictingIOChainConfigured,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptMonitorBlocks,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptConflictingOperationInProgress,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptRuntimeError,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptOutOfIntrVector,
+ VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVmVmNptVMCIActive,
+ }
+}
+
+func (e VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm)(nil)).Elem()
- minAPIVersionForType["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm"] = "4.1"
- minAPIVersionForEnumValue["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm"] = map[string]string{
- "vmNptVMCIActive": "5.1",
- }
}
// The FaultToleranceState type defines a simple set of states for a
// fault tolerant virtual machine:
+// disabled, starting, and enabled.
type VirtualMachineFaultToleranceState string
const (
@@ -8115,12 +12734,27 @@ const (
VirtualMachineFaultToleranceStateRunning = VirtualMachineFaultToleranceState("running")
)
+func (e VirtualMachineFaultToleranceState) Values() []VirtualMachineFaultToleranceState {
+ return []VirtualMachineFaultToleranceState{
+ VirtualMachineFaultToleranceStateNotConfigured,
+ VirtualMachineFaultToleranceStateDisabled,
+ VirtualMachineFaultToleranceStateEnabled,
+ VirtualMachineFaultToleranceStateNeedSecondary,
+ VirtualMachineFaultToleranceStateStarting,
+ VirtualMachineFaultToleranceStateRunning,
+ }
+}
+
+func (e VirtualMachineFaultToleranceState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineFaultToleranceState"] = reflect.TypeOf((*VirtualMachineFaultToleranceState)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFaultToleranceState"] = "4.0"
}
// The FaultToleranceType defines the type of fault tolerance, if any,
+// the virtual machine is configured for.
type VirtualMachineFaultToleranceType string
const (
@@ -8132,14 +12766,23 @@ const (
VirtualMachineFaultToleranceTypeCheckpointing = VirtualMachineFaultToleranceType("checkpointing")
)
+func (e VirtualMachineFaultToleranceType) Values() []VirtualMachineFaultToleranceType {
+ return []VirtualMachineFaultToleranceType{
+ VirtualMachineFaultToleranceTypeUnset,
+ VirtualMachineFaultToleranceTypeRecordReplay,
+ VirtualMachineFaultToleranceTypeCheckpointing,
+ }
+}
+
+func (e VirtualMachineFaultToleranceType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineFaultToleranceType"] = reflect.TypeOf((*VirtualMachineFaultToleranceType)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFaultToleranceType"] = "6.0"
- minAPIVersionForEnumValue["VirtualMachineFaultToleranceType"] = map[string]string{
- "unset": "6.0",
- }
}
+// File-type constants.
type VirtualMachineFileLayoutExFileType string
const (
@@ -8201,25 +12844,49 @@ const (
VirtualMachineFileLayoutExFileTypeGuestCustomization = VirtualMachineFileLayoutExFileType("guestCustomization")
)
+func (e VirtualMachineFileLayoutExFileType) Values() []VirtualMachineFileLayoutExFileType {
+ return []VirtualMachineFileLayoutExFileType{
+ VirtualMachineFileLayoutExFileTypeConfig,
+ VirtualMachineFileLayoutExFileTypeExtendedConfig,
+ VirtualMachineFileLayoutExFileTypeDiskDescriptor,
+ VirtualMachineFileLayoutExFileTypeDiskExtent,
+ VirtualMachineFileLayoutExFileTypeDigestDescriptor,
+ VirtualMachineFileLayoutExFileTypeDigestExtent,
+ VirtualMachineFileLayoutExFileTypeDiskReplicationState,
+ VirtualMachineFileLayoutExFileTypeLog,
+ VirtualMachineFileLayoutExFileTypeStat,
+ VirtualMachineFileLayoutExFileTypeNamespaceData,
+ VirtualMachineFileLayoutExFileTypeDataSetsDiskModeStore,
+ VirtualMachineFileLayoutExFileTypeDataSetsVmModeStore,
+ VirtualMachineFileLayoutExFileTypeNvram,
+ VirtualMachineFileLayoutExFileTypeSnapshotData,
+ VirtualMachineFileLayoutExFileTypeSnapshotMemory,
+ VirtualMachineFileLayoutExFileTypeSnapshotList,
+ VirtualMachineFileLayoutExFileTypeSnapshotManifestList,
+ VirtualMachineFileLayoutExFileTypeSuspend,
+ VirtualMachineFileLayoutExFileTypeSuspendMemory,
+ VirtualMachineFileLayoutExFileTypeSwap,
+ VirtualMachineFileLayoutExFileTypeUwswap,
+ VirtualMachineFileLayoutExFileTypeCore,
+ VirtualMachineFileLayoutExFileTypeScreenshot,
+ VirtualMachineFileLayoutExFileTypeFtMetadata,
+ VirtualMachineFileLayoutExFileTypeGuestCustomization,
+ }
+}
+
+func (e VirtualMachineFileLayoutExFileType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineFileLayoutExFileType"] = reflect.TypeOf((*VirtualMachineFileLayoutExFileType)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFileLayoutExFileType"] = "4.0"
minAPIVersionForEnumValue["VirtualMachineFileLayoutExFileType"] = map[string]string{
- "digestDescriptor": "5.0",
- "digestExtent": "5.0",
- "diskReplicationState": "5.0",
- "namespaceData": "5.1",
"dataSetsDiskModeStore": "8.0.0.0",
"dataSetsVmModeStore": "8.0.0.0",
- "snapshotMemory": "6.0",
- "snapshotManifestList": "5.0",
- "suspendMemory": "6.0",
- "uwswap": "5.0",
- "ftMetadata": "6.0",
- "guestCustomization": "6.0",
}
}
+// Set of possible values for `VirtualMachineFlagInfo.monitorType`.
type VirtualMachineFlagInfoMonitorType string
const (
@@ -8231,11 +12898,23 @@ const (
VirtualMachineFlagInfoMonitorTypeStats = VirtualMachineFlagInfoMonitorType("stats")
)
+func (e VirtualMachineFlagInfoMonitorType) Values() []VirtualMachineFlagInfoMonitorType {
+ return []VirtualMachineFlagInfoMonitorType{
+ VirtualMachineFlagInfoMonitorTypeRelease,
+ VirtualMachineFlagInfoMonitorTypeDebug,
+ VirtualMachineFlagInfoMonitorTypeStats,
+ }
+}
+
+func (e VirtualMachineFlagInfoMonitorType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineFlagInfoMonitorType"] = reflect.TypeOf((*VirtualMachineFlagInfoMonitorType)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFlagInfoMonitorType"] = "2.5"
}
+// Set of possible values for `VirtualMachineFlagInfo.virtualExecUsage`.
type VirtualMachineFlagInfoVirtualExecUsage string
const (
@@ -8247,11 +12926,23 @@ const (
VirtualMachineFlagInfoVirtualExecUsageHvOff = VirtualMachineFlagInfoVirtualExecUsage("hvOff")
)
+func (e VirtualMachineFlagInfoVirtualExecUsage) Values() []VirtualMachineFlagInfoVirtualExecUsage {
+ return []VirtualMachineFlagInfoVirtualExecUsage{
+ VirtualMachineFlagInfoVirtualExecUsageHvAuto,
+ VirtualMachineFlagInfoVirtualExecUsageHvOn,
+ VirtualMachineFlagInfoVirtualExecUsageHvOff,
+ }
+}
+
+func (e VirtualMachineFlagInfoVirtualExecUsage) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineFlagInfoVirtualExecUsage"] = reflect.TypeOf((*VirtualMachineFlagInfoVirtualExecUsage)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFlagInfoVirtualExecUsage"] = "4.0"
}
+// Set of possible values for `VirtualMachineFlagInfo.virtualMmuUsage`.
type VirtualMachineFlagInfoVirtualMmuUsage string
const (
@@ -8263,14 +12954,26 @@ const (
VirtualMachineFlagInfoVirtualMmuUsageOff = VirtualMachineFlagInfoVirtualMmuUsage("off")
)
+func (e VirtualMachineFlagInfoVirtualMmuUsage) Values() []VirtualMachineFlagInfoVirtualMmuUsage {
+ return []VirtualMachineFlagInfoVirtualMmuUsage{
+ VirtualMachineFlagInfoVirtualMmuUsageAutomatic,
+ VirtualMachineFlagInfoVirtualMmuUsageOn,
+ VirtualMachineFlagInfoVirtualMmuUsageOff,
+ }
+}
+
+func (e VirtualMachineFlagInfoVirtualMmuUsage) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineFlagInfoVirtualMmuUsage"] = reflect.TypeOf((*VirtualMachineFlagInfoVirtualMmuUsage)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFlagInfoVirtualMmuUsage"] = "2.5"
}
// Fork child type.
//
// A child could be type of none, persistent, or
+// nonpersistent.
type VirtualMachineForkConfigInfoChildType string
const (
@@ -8282,9 +12985,20 @@ const (
VirtualMachineForkConfigInfoChildTypeNonpersistent = VirtualMachineForkConfigInfoChildType("nonpersistent")
)
+func (e VirtualMachineForkConfigInfoChildType) Values() []VirtualMachineForkConfigInfoChildType {
+ return []VirtualMachineForkConfigInfoChildType{
+ VirtualMachineForkConfigInfoChildTypeNone,
+ VirtualMachineForkConfigInfoChildTypePersistent,
+ VirtualMachineForkConfigInfoChildTypeNonpersistent,
+ }
+}
+
+func (e VirtualMachineForkConfigInfoChildType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineForkConfigInfoChildType"] = reflect.TypeOf((*VirtualMachineForkConfigInfoChildType)(nil)).Elem()
- minAPIVersionForType["VirtualMachineForkConfigInfoChildType"] = "6.0"
}
// Guest operating system family constants.
@@ -8305,11 +13019,23 @@ const (
VirtualMachineGuestOsFamilyOtherGuestFamily = VirtualMachineGuestOsFamily("otherGuestFamily")
)
+func (e VirtualMachineGuestOsFamily) Values() []VirtualMachineGuestOsFamily {
+ return []VirtualMachineGuestOsFamily{
+ VirtualMachineGuestOsFamilyWindowsGuest,
+ VirtualMachineGuestOsFamilyLinuxGuest,
+ VirtualMachineGuestOsFamilyNetwareGuest,
+ VirtualMachineGuestOsFamilySolarisGuest,
+ VirtualMachineGuestOsFamilyDarwinGuestFamily,
+ VirtualMachineGuestOsFamilyOtherGuestFamily,
+ }
+}
+
+func (e VirtualMachineGuestOsFamily) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineGuestOsFamily"] = reflect.TypeOf((*VirtualMachineGuestOsFamily)(nil)).Elem()
- minAPIVersionForEnumValue["VirtualMachineGuestOsFamily"] = map[string]string{
- "darwinGuestFamily": "5.0",
- }
}
// Guest operating system identifier.
@@ -8698,6 +13424,8 @@ const (
VirtualMachineGuestOsIdentifierAmazonlinux3_64Guest = VirtualMachineGuestOsIdentifier("amazonlinux3_64Guest")
// CRX Pod 1
VirtualMachineGuestOsIdentifierCrxPod1Guest = VirtualMachineGuestOsIdentifier("crxPod1Guest")
+ // CRX Sys 1
+ VirtualMachineGuestOsIdentifierCrxSys1Guest = VirtualMachineGuestOsIdentifier("crxSys1Guest")
// Rocky Linux (64-bit)
VirtualMachineGuestOsIdentifierRockylinux_64Guest = VirtualMachineGuestOsIdentifier("rockylinux_64Guest")
// AlmaLinux (64-bit)
@@ -8708,145 +13436,240 @@ const (
VirtualMachineGuestOsIdentifierOtherGuest64 = VirtualMachineGuestOsIdentifier("otherGuest64")
)
+func (e VirtualMachineGuestOsIdentifier) Values() []VirtualMachineGuestOsIdentifier {
+ return []VirtualMachineGuestOsIdentifier{
+ VirtualMachineGuestOsIdentifierDosGuest,
+ VirtualMachineGuestOsIdentifierWin31Guest,
+ VirtualMachineGuestOsIdentifierWin95Guest,
+ VirtualMachineGuestOsIdentifierWin98Guest,
+ VirtualMachineGuestOsIdentifierWinMeGuest,
+ VirtualMachineGuestOsIdentifierWinNTGuest,
+ VirtualMachineGuestOsIdentifierWin2000ProGuest,
+ VirtualMachineGuestOsIdentifierWin2000ServGuest,
+ VirtualMachineGuestOsIdentifierWin2000AdvServGuest,
+ VirtualMachineGuestOsIdentifierWinXPHomeGuest,
+ VirtualMachineGuestOsIdentifierWinXPProGuest,
+ VirtualMachineGuestOsIdentifierWinXPPro64Guest,
+ VirtualMachineGuestOsIdentifierWinNetWebGuest,
+ VirtualMachineGuestOsIdentifierWinNetStandardGuest,
+ VirtualMachineGuestOsIdentifierWinNetEnterpriseGuest,
+ VirtualMachineGuestOsIdentifierWinNetDatacenterGuest,
+ VirtualMachineGuestOsIdentifierWinNetBusinessGuest,
+ VirtualMachineGuestOsIdentifierWinNetStandard64Guest,
+ VirtualMachineGuestOsIdentifierWinNetEnterprise64Guest,
+ VirtualMachineGuestOsIdentifierWinLonghornGuest,
+ VirtualMachineGuestOsIdentifierWinLonghorn64Guest,
+ VirtualMachineGuestOsIdentifierWinNetDatacenter64Guest,
+ VirtualMachineGuestOsIdentifierWinVistaGuest,
+ VirtualMachineGuestOsIdentifierWinVista64Guest,
+ VirtualMachineGuestOsIdentifierWindows7Guest,
+ VirtualMachineGuestOsIdentifierWindows7_64Guest,
+ VirtualMachineGuestOsIdentifierWindows7Server64Guest,
+ VirtualMachineGuestOsIdentifierWindows8Guest,
+ VirtualMachineGuestOsIdentifierWindows8_64Guest,
+ VirtualMachineGuestOsIdentifierWindows8Server64Guest,
+ VirtualMachineGuestOsIdentifierWindows9Guest,
+ VirtualMachineGuestOsIdentifierWindows9_64Guest,
+ VirtualMachineGuestOsIdentifierWindows9Server64Guest,
+ VirtualMachineGuestOsIdentifierWindows11_64Guest,
+ VirtualMachineGuestOsIdentifierWindows12_64Guest,
+ VirtualMachineGuestOsIdentifierWindowsHyperVGuest,
+ VirtualMachineGuestOsIdentifierWindows2019srv_64Guest,
+ VirtualMachineGuestOsIdentifierWindows2019srvNext_64Guest,
+ VirtualMachineGuestOsIdentifierWindows2022srvNext_64Guest,
+ VirtualMachineGuestOsIdentifierFreebsdGuest,
+ VirtualMachineGuestOsIdentifierFreebsd64Guest,
+ VirtualMachineGuestOsIdentifierFreebsd11Guest,
+ VirtualMachineGuestOsIdentifierFreebsd11_64Guest,
+ VirtualMachineGuestOsIdentifierFreebsd12Guest,
+ VirtualMachineGuestOsIdentifierFreebsd12_64Guest,
+ VirtualMachineGuestOsIdentifierFreebsd13Guest,
+ VirtualMachineGuestOsIdentifierFreebsd13_64Guest,
+ VirtualMachineGuestOsIdentifierFreebsd14Guest,
+ VirtualMachineGuestOsIdentifierFreebsd14_64Guest,
+ VirtualMachineGuestOsIdentifierRedhatGuest,
+ VirtualMachineGuestOsIdentifierRhel2Guest,
+ VirtualMachineGuestOsIdentifierRhel3Guest,
+ VirtualMachineGuestOsIdentifierRhel3_64Guest,
+ VirtualMachineGuestOsIdentifierRhel4Guest,
+ VirtualMachineGuestOsIdentifierRhel4_64Guest,
+ VirtualMachineGuestOsIdentifierRhel5Guest,
+ VirtualMachineGuestOsIdentifierRhel5_64Guest,
+ VirtualMachineGuestOsIdentifierRhel6Guest,
+ VirtualMachineGuestOsIdentifierRhel6_64Guest,
+ VirtualMachineGuestOsIdentifierRhel7Guest,
+ VirtualMachineGuestOsIdentifierRhel7_64Guest,
+ VirtualMachineGuestOsIdentifierRhel8_64Guest,
+ VirtualMachineGuestOsIdentifierRhel9_64Guest,
+ VirtualMachineGuestOsIdentifierCentosGuest,
+ VirtualMachineGuestOsIdentifierCentos64Guest,
+ VirtualMachineGuestOsIdentifierCentos6Guest,
+ VirtualMachineGuestOsIdentifierCentos6_64Guest,
+ VirtualMachineGuestOsIdentifierCentos7Guest,
+ VirtualMachineGuestOsIdentifierCentos7_64Guest,
+ VirtualMachineGuestOsIdentifierCentos8_64Guest,
+ VirtualMachineGuestOsIdentifierCentos9_64Guest,
+ VirtualMachineGuestOsIdentifierOracleLinuxGuest,
+ VirtualMachineGuestOsIdentifierOracleLinux64Guest,
+ VirtualMachineGuestOsIdentifierOracleLinux6Guest,
+ VirtualMachineGuestOsIdentifierOracleLinux6_64Guest,
+ VirtualMachineGuestOsIdentifierOracleLinux7Guest,
+ VirtualMachineGuestOsIdentifierOracleLinux7_64Guest,
+ VirtualMachineGuestOsIdentifierOracleLinux8_64Guest,
+ VirtualMachineGuestOsIdentifierOracleLinux9_64Guest,
+ VirtualMachineGuestOsIdentifierSuseGuest,
+ VirtualMachineGuestOsIdentifierSuse64Guest,
+ VirtualMachineGuestOsIdentifierSlesGuest,
+ VirtualMachineGuestOsIdentifierSles64Guest,
+ VirtualMachineGuestOsIdentifierSles10Guest,
+ VirtualMachineGuestOsIdentifierSles10_64Guest,
+ VirtualMachineGuestOsIdentifierSles11Guest,
+ VirtualMachineGuestOsIdentifierSles11_64Guest,
+ VirtualMachineGuestOsIdentifierSles12Guest,
+ VirtualMachineGuestOsIdentifierSles12_64Guest,
+ VirtualMachineGuestOsIdentifierSles15_64Guest,
+ VirtualMachineGuestOsIdentifierSles16_64Guest,
+ VirtualMachineGuestOsIdentifierNld9Guest,
+ VirtualMachineGuestOsIdentifierOesGuest,
+ VirtualMachineGuestOsIdentifierSjdsGuest,
+ VirtualMachineGuestOsIdentifierMandrakeGuest,
+ VirtualMachineGuestOsIdentifierMandrivaGuest,
+ VirtualMachineGuestOsIdentifierMandriva64Guest,
+ VirtualMachineGuestOsIdentifierTurboLinuxGuest,
+ VirtualMachineGuestOsIdentifierTurboLinux64Guest,
+ VirtualMachineGuestOsIdentifierUbuntuGuest,
+ VirtualMachineGuestOsIdentifierUbuntu64Guest,
+ VirtualMachineGuestOsIdentifierDebian4Guest,
+ VirtualMachineGuestOsIdentifierDebian4_64Guest,
+ VirtualMachineGuestOsIdentifierDebian5Guest,
+ VirtualMachineGuestOsIdentifierDebian5_64Guest,
+ VirtualMachineGuestOsIdentifierDebian6Guest,
+ VirtualMachineGuestOsIdentifierDebian6_64Guest,
+ VirtualMachineGuestOsIdentifierDebian7Guest,
+ VirtualMachineGuestOsIdentifierDebian7_64Guest,
+ VirtualMachineGuestOsIdentifierDebian8Guest,
+ VirtualMachineGuestOsIdentifierDebian8_64Guest,
+ VirtualMachineGuestOsIdentifierDebian9Guest,
+ VirtualMachineGuestOsIdentifierDebian9_64Guest,
+ VirtualMachineGuestOsIdentifierDebian10Guest,
+ VirtualMachineGuestOsIdentifierDebian10_64Guest,
+ VirtualMachineGuestOsIdentifierDebian11Guest,
+ VirtualMachineGuestOsIdentifierDebian11_64Guest,
+ VirtualMachineGuestOsIdentifierDebian12Guest,
+ VirtualMachineGuestOsIdentifierDebian12_64Guest,
+ VirtualMachineGuestOsIdentifierAsianux3Guest,
+ VirtualMachineGuestOsIdentifierAsianux3_64Guest,
+ VirtualMachineGuestOsIdentifierAsianux4Guest,
+ VirtualMachineGuestOsIdentifierAsianux4_64Guest,
+ VirtualMachineGuestOsIdentifierAsianux5_64Guest,
+ VirtualMachineGuestOsIdentifierAsianux7_64Guest,
+ VirtualMachineGuestOsIdentifierAsianux8_64Guest,
+ VirtualMachineGuestOsIdentifierAsianux9_64Guest,
+ VirtualMachineGuestOsIdentifierOpensuseGuest,
+ VirtualMachineGuestOsIdentifierOpensuse64Guest,
+ VirtualMachineGuestOsIdentifierFedoraGuest,
+ VirtualMachineGuestOsIdentifierFedora64Guest,
+ VirtualMachineGuestOsIdentifierCoreos64Guest,
+ VirtualMachineGuestOsIdentifierVmwarePhoton64Guest,
+ VirtualMachineGuestOsIdentifierOther24xLinuxGuest,
+ VirtualMachineGuestOsIdentifierOther26xLinuxGuest,
+ VirtualMachineGuestOsIdentifierOtherLinuxGuest,
+ VirtualMachineGuestOsIdentifierOther3xLinuxGuest,
+ VirtualMachineGuestOsIdentifierOther4xLinuxGuest,
+ VirtualMachineGuestOsIdentifierOther5xLinuxGuest,
+ VirtualMachineGuestOsIdentifierOther6xLinuxGuest,
+ VirtualMachineGuestOsIdentifierGenericLinuxGuest,
+ VirtualMachineGuestOsIdentifierOther24xLinux64Guest,
+ VirtualMachineGuestOsIdentifierOther26xLinux64Guest,
+ VirtualMachineGuestOsIdentifierOther3xLinux64Guest,
+ VirtualMachineGuestOsIdentifierOther4xLinux64Guest,
+ VirtualMachineGuestOsIdentifierOther5xLinux64Guest,
+ VirtualMachineGuestOsIdentifierOther6xLinux64Guest,
+ VirtualMachineGuestOsIdentifierOtherLinux64Guest,
+ VirtualMachineGuestOsIdentifierSolaris6Guest,
+ VirtualMachineGuestOsIdentifierSolaris7Guest,
+ VirtualMachineGuestOsIdentifierSolaris8Guest,
+ VirtualMachineGuestOsIdentifierSolaris9Guest,
+ VirtualMachineGuestOsIdentifierSolaris10Guest,
+ VirtualMachineGuestOsIdentifierSolaris10_64Guest,
+ VirtualMachineGuestOsIdentifierSolaris11_64Guest,
+ VirtualMachineGuestOsIdentifierOs2Guest,
+ VirtualMachineGuestOsIdentifierEComStationGuest,
+ VirtualMachineGuestOsIdentifierEComStation2Guest,
+ VirtualMachineGuestOsIdentifierNetware4Guest,
+ VirtualMachineGuestOsIdentifierNetware5Guest,
+ VirtualMachineGuestOsIdentifierNetware6Guest,
+ VirtualMachineGuestOsIdentifierOpenServer5Guest,
+ VirtualMachineGuestOsIdentifierOpenServer6Guest,
+ VirtualMachineGuestOsIdentifierUnixWare7Guest,
+ VirtualMachineGuestOsIdentifierDarwinGuest,
+ VirtualMachineGuestOsIdentifierDarwin64Guest,
+ VirtualMachineGuestOsIdentifierDarwin10Guest,
+ VirtualMachineGuestOsIdentifierDarwin10_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin11Guest,
+ VirtualMachineGuestOsIdentifierDarwin11_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin12_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin13_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin14_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin15_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin16_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin17_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin18_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin19_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin20_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin21_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin22_64Guest,
+ VirtualMachineGuestOsIdentifierDarwin23_64Guest,
+ VirtualMachineGuestOsIdentifierVmkernelGuest,
+ VirtualMachineGuestOsIdentifierVmkernel5Guest,
+ VirtualMachineGuestOsIdentifierVmkernel6Guest,
+ VirtualMachineGuestOsIdentifierVmkernel65Guest,
+ VirtualMachineGuestOsIdentifierVmkernel7Guest,
+ VirtualMachineGuestOsIdentifierVmkernel8Guest,
+ VirtualMachineGuestOsIdentifierAmazonlinux2_64Guest,
+ VirtualMachineGuestOsIdentifierAmazonlinux3_64Guest,
+ VirtualMachineGuestOsIdentifierCrxPod1Guest,
+ VirtualMachineGuestOsIdentifierCrxSys1Guest,
+ VirtualMachineGuestOsIdentifierRockylinux_64Guest,
+ VirtualMachineGuestOsIdentifierAlmalinux_64Guest,
+ VirtualMachineGuestOsIdentifierOtherGuest,
+ VirtualMachineGuestOsIdentifierOtherGuest64,
+ }
+}
+
+func (e VirtualMachineGuestOsIdentifier) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineGuestOsIdentifier"] = reflect.TypeOf((*VirtualMachineGuestOsIdentifier)(nil)).Elem()
minAPIVersionForEnumValue["VirtualMachineGuestOsIdentifier"] = map[string]string{
- "winNetDatacenterGuest": "2.5",
- "winLonghornGuest": "2.5",
- "winLonghorn64Guest": "2.5",
- "winNetDatacenter64Guest": "2.5",
- "windows7Guest": "4.0",
- "windows7_64Guest": "4.0",
- "windows7Server64Guest": "4.0",
- "windows8Guest": "5.0",
- "windows8_64Guest": "5.0",
- "windows8Server64Guest": "5.0",
- "windows9Guest": "6.0",
- "windows9_64Guest": "6.0",
- "windows9Server64Guest": "6.0",
"windows11_64Guest": "8.0.0.1",
"windows12_64Guest": "8.0.0.1",
- "windowsHyperVGuest": "5.5",
- "windows2019srv_64Guest": "7.0",
"windows2019srvNext_64Guest": "7.0.1.0",
"windows2022srvNext_64Guest": "8.0.0.1",
- "freebsd11Guest": "6.7",
- "freebsd11_64Guest": "6.7",
- "freebsd12Guest": "6.7",
- "freebsd12_64Guest": "6.7",
"freebsd13Guest": "7.0.1.0",
"freebsd13_64Guest": "7.0.1.0",
"freebsd14Guest": "8.0.0.1",
"freebsd14_64Guest": "8.0.0.1",
- "rhel5Guest": "2.5",
- "rhel5_64Guest": "2.5",
- "rhel6Guest": "4.0",
- "rhel6_64Guest": "4.0",
- "rhel7Guest": "5.5",
- "rhel7_64Guest": "5.5",
- "rhel8_64Guest": "6.7",
"rhel9_64Guest": "7.0.1.0",
- "centosGuest": "4.1",
- "centos64Guest": "4.1",
- "centos6Guest": "6.5",
- "centos6_64Guest": "6.5",
- "centos7Guest": "6.5",
- "centos7_64Guest": "6.5",
- "centos8_64Guest": "6.7",
"centos9_64Guest": "7.0.1.0",
- "oracleLinuxGuest": "4.1",
- "oracleLinux64Guest": "4.1",
- "oracleLinux6Guest": "6.5",
- "oracleLinux6_64Guest": "6.5",
- "oracleLinux7Guest": "6.5",
- "oracleLinux7_64Guest": "6.5",
- "oracleLinux8_64Guest": "6.7",
"oracleLinux9_64Guest": "7.0.1.0",
- "sles10Guest": "2.5",
- "sles10_64Guest": "2.5",
- "sles11Guest": "4.0",
- "sles11_64Guest": "4.0",
- "sles12Guest": "5.5",
- "sles12_64Guest": "5.5",
- "sles15_64Guest": "6.7",
"sles16_64Guest": "7.0.1.0",
- "mandrakeGuest": "5.5",
- "mandrivaGuest": "2.5 U2",
- "mandriva64Guest": "2.5 U2",
- "turboLinux64Guest": "2.5 U2",
- "debian4Guest": "2.5 U2",
- "debian4_64Guest": "2.5 U2",
- "debian5Guest": "4.0",
- "debian5_64Guest": "4.0",
- "debian6Guest": "5.0",
- "debian6_64Guest": "5.0",
- "debian7Guest": "5.5",
- "debian7_64Guest": "5.5",
- "debian8Guest": "6.0",
- "debian8_64Guest": "6.0",
- "debian9Guest": "6.5",
- "debian9_64Guest": "6.5",
- "debian10Guest": "6.5",
- "debian10_64Guest": "6.5",
- "debian11Guest": "7.0",
- "debian11_64Guest": "7.0",
"debian12Guest": "8.0.0.1",
"debian12_64Guest": "8.0.0.1",
- "asianux3Guest": "2.5 U2",
- "asianux3_64Guest": "2.5 U2",
- "asianux4Guest": "4.0",
- "asianux4_64Guest": "4.0",
- "asianux5_64Guest": "6.0",
- "asianux7_64Guest": "6.5",
- "asianux8_64Guest": "6.7",
"asianux9_64Guest": "7.0.1.0",
- "opensuseGuest": "5.1",
- "opensuse64Guest": "5.1",
- "fedoraGuest": "5.1",
- "fedora64Guest": "5.1",
- "coreos64Guest": "6.0",
- "vmwarePhoton64Guest": "6.5",
- "other3xLinuxGuest": "5.5",
- "other4xLinuxGuest": "6.7",
"other5xLinuxGuest": "7.0.1.0",
"other6xLinuxGuest": "8.0.0.1",
- "genericLinuxGuest": "5.5",
- "other3xLinux64Guest": "5.5",
- "other4xLinux64Guest": "6.7",
"other5xLinux64Guest": "7.0.1.0",
"other6xLinux64Guest": "8.0.0.1",
- "solaris11_64Guest": "5.0",
- "eComStationGuest": "4.1",
- "eComStation2Guest": "5.0",
- "openServer5Guest": "2.5 U2",
- "openServer6Guest": "2.5 U2",
- "unixWare7Guest": "2.5 U2",
- "darwin64Guest": "4.0",
- "darwin10Guest": "5.0",
- "darwin10_64Guest": "5.0",
- "darwin11Guest": "5.0",
- "darwin11_64Guest": "5.0",
- "darwin12_64Guest": "5.5",
- "darwin13_64Guest": "5.5",
- "darwin14_64Guest": "6.0",
- "darwin15_64Guest": "6.5",
- "darwin16_64Guest": "6.5",
- "darwin17_64Guest": "6.7",
- "darwin18_64Guest": "6.7",
- "darwin19_64Guest": "7.0",
"darwin20_64Guest": "7.0.1.0",
"darwin21_64Guest": "7.0.1.0",
"darwin22_64Guest": "8.0.0.1",
"darwin23_64Guest": "8.0.0.1",
- "vmkernelGuest": "5.0",
- "vmkernel5Guest": "5.0",
- "vmkernel6Guest": "6.0",
- "vmkernel65Guest": "6.5",
- "vmkernel7Guest": "7.0",
"vmkernel8Guest": "8.0.0.1",
- "amazonlinux2_64Guest": "6.7.1",
"amazonlinux3_64Guest": "7.0.1.0",
- "crxPod1Guest": "7.0",
+ "crxSys1Guest": "8.0.3.0",
"rockylinux_64Guest": "8.0.0.1",
"almalinux_64Guest": "8.0.0.1",
}
@@ -8865,6 +13688,21 @@ const (
VirtualMachineGuestStateUnknown = VirtualMachineGuestState("unknown")
)
+func (e VirtualMachineGuestState) Values() []VirtualMachineGuestState {
+ return []VirtualMachineGuestState{
+ VirtualMachineGuestStateRunning,
+ VirtualMachineGuestStateShuttingDown,
+ VirtualMachineGuestStateResetting,
+ VirtualMachineGuestStateStandby,
+ VirtualMachineGuestStateNotRunning,
+ VirtualMachineGuestStateUnknown,
+ }
+}
+
+func (e VirtualMachineGuestState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineGuestState"] = reflect.TypeOf((*VirtualMachineGuestState)(nil)).Elem()
}
@@ -8899,10 +13737,23 @@ const (
VirtualMachineHtSharingInternal = VirtualMachineHtSharing("internal")
)
+func (e VirtualMachineHtSharing) Values() []VirtualMachineHtSharing {
+ return []VirtualMachineHtSharing{
+ VirtualMachineHtSharingAny,
+ VirtualMachineHtSharingNone,
+ VirtualMachineHtSharingInternal,
+ }
+}
+
+func (e VirtualMachineHtSharing) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineHtSharing"] = reflect.TypeOf((*VirtualMachineHtSharing)(nil)).Elem()
}
+// Means for allocating additional memory for virtual machines.
type VirtualMachineMemoryAllocationPolicy string
const (
@@ -8914,11 +13765,23 @@ const (
VirtualMachineMemoryAllocationPolicySwapMost = VirtualMachineMemoryAllocationPolicy("swapMost")
)
+func (e VirtualMachineMemoryAllocationPolicy) Values() []VirtualMachineMemoryAllocationPolicy {
+ return []VirtualMachineMemoryAllocationPolicy{
+ VirtualMachineMemoryAllocationPolicySwapNone,
+ VirtualMachineMemoryAllocationPolicySwapSome,
+ VirtualMachineMemoryAllocationPolicySwapMost,
+ }
+}
+
+func (e VirtualMachineMemoryAllocationPolicy) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineMemoryAllocationPolicy"] = reflect.TypeOf((*VirtualMachineMemoryAllocationPolicy)(nil)).Elem()
- minAPIVersionForType["VirtualMachineMemoryAllocationPolicy"] = "2.5"
}
+// This enum represents the set of legal operations
type VirtualMachineMetadataManagerVmMetadataOp string
const (
@@ -8928,21 +13791,41 @@ const (
VirtualMachineMetadataManagerVmMetadataOpRemove = VirtualMachineMetadataManagerVmMetadataOp("Remove")
)
+func (e VirtualMachineMetadataManagerVmMetadataOp) Values() []VirtualMachineMetadataManagerVmMetadataOp {
+ return []VirtualMachineMetadataManagerVmMetadataOp{
+ VirtualMachineMetadataManagerVmMetadataOpUpdate,
+ VirtualMachineMetadataManagerVmMetadataOpRemove,
+ }
+}
+
+func (e VirtualMachineMetadataManagerVmMetadataOp) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineMetadataManagerVmMetadataOp"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadataOp)(nil)).Elem()
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataOp"] = "5.5"
}
// This enum contains a list of valid owner values for
+// the name field
type VirtualMachineMetadataManagerVmMetadataOwnerOwner string
const (
VirtualMachineMetadataManagerVmMetadataOwnerOwnerComVmwareVsphereHA = VirtualMachineMetadataManagerVmMetadataOwnerOwner("ComVmwareVsphereHA")
)
+func (e VirtualMachineMetadataManagerVmMetadataOwnerOwner) Values() []VirtualMachineMetadataManagerVmMetadataOwnerOwner {
+ return []VirtualMachineMetadataManagerVmMetadataOwnerOwner{
+ VirtualMachineMetadataManagerVmMetadataOwnerOwnerComVmwareVsphereHA,
+ }
+}
+
+func (e VirtualMachineMetadataManagerVmMetadataOwnerOwner) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineMetadataManagerVmMetadataOwnerOwner"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadataOwnerOwner)(nil)).Elem()
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataOwnerOwner"] = "5.5"
}
// MovePriority is an enumeration of values that indicate the priority of the task
@@ -8961,11 +13844,24 @@ const (
VirtualMachineMovePriorityDefaultPriority = VirtualMachineMovePriority("defaultPriority")
)
+func (e VirtualMachineMovePriority) Values() []VirtualMachineMovePriority {
+ return []VirtualMachineMovePriority{
+ VirtualMachineMovePriorityLowPriority,
+ VirtualMachineMovePriorityHighPriority,
+ VirtualMachineMovePriorityDefaultPriority,
+ }
+}
+
+func (e VirtualMachineMovePriority) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineMovePriority"] = reflect.TypeOf((*VirtualMachineMovePriority)(nil)).Elem()
}
// The NeedSecondaryReason type defines all reasons a virtual machine is
+// in the needSecondary Fault Tolerance state following a failure.
type VirtualMachineNeedSecondaryReason string
const (
@@ -8985,14 +13881,27 @@ const (
VirtualMachineNeedSecondaryReasonOther = VirtualMachineNeedSecondaryReason("other")
)
+func (e VirtualMachineNeedSecondaryReason) Values() []VirtualMachineNeedSecondaryReason {
+ return []VirtualMachineNeedSecondaryReason{
+ VirtualMachineNeedSecondaryReasonInitializing,
+ VirtualMachineNeedSecondaryReasonDivergence,
+ VirtualMachineNeedSecondaryReasonLostConnection,
+ VirtualMachineNeedSecondaryReasonPartialHardwareFailure,
+ VirtualMachineNeedSecondaryReasonUserAction,
+ VirtualMachineNeedSecondaryReasonCheckpointError,
+ VirtualMachineNeedSecondaryReasonOther,
+ }
+}
+
+func (e VirtualMachineNeedSecondaryReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineNeedSecondaryReason"] = reflect.TypeOf((*VirtualMachineNeedSecondaryReason)(nil)).Elem()
- minAPIVersionForType["VirtualMachineNeedSecondaryReason"] = "4.0"
- minAPIVersionForEnumValue["VirtualMachineNeedSecondaryReason"] = map[string]string{
- "checkpointError": "6.0",
- }
}
+// Set of possible values for `VirtualMachineFlagInfo.snapshotPowerOffBehavior`.
type VirtualMachinePowerOffBehavior string
const (
@@ -9006,12 +13915,21 @@ const (
VirtualMachinePowerOffBehaviorTake = VirtualMachinePowerOffBehavior("take")
)
+func (e VirtualMachinePowerOffBehavior) Values() []VirtualMachinePowerOffBehavior {
+ return []VirtualMachinePowerOffBehavior{
+ VirtualMachinePowerOffBehaviorPowerOff,
+ VirtualMachinePowerOffBehaviorRevert,
+ VirtualMachinePowerOffBehaviorPrompt,
+ VirtualMachinePowerOffBehaviorTake,
+ }
+}
+
+func (e VirtualMachinePowerOffBehavior) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachinePowerOffBehavior"] = reflect.TypeOf((*VirtualMachinePowerOffBehavior)(nil)).Elem()
- minAPIVersionForType["VirtualMachinePowerOffBehavior"] = "2.5"
- minAPIVersionForEnumValue["VirtualMachinePowerOffBehavior"] = map[string]string{
- "take": "6.0",
- }
}
// The list of possible default power operations available for the virtual machine
@@ -9023,6 +13941,18 @@ const (
VirtualMachinePowerOpTypePreset = VirtualMachinePowerOpType("preset")
)
+func (e VirtualMachinePowerOpType) Values() []VirtualMachinePowerOpType {
+ return []VirtualMachinePowerOpType{
+ VirtualMachinePowerOpTypeSoft,
+ VirtualMachinePowerOpTypeHard,
+ VirtualMachinePowerOpTypePreset,
+ }
+}
+
+func (e VirtualMachinePowerOpType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachinePowerOpType"] = reflect.TypeOf((*VirtualMachinePowerOpType)(nil)).Elem()
}
@@ -9052,6 +13982,18 @@ const (
VirtualMachinePowerStateSuspended = VirtualMachinePowerState("suspended")
)
+func (e VirtualMachinePowerState) Values() []VirtualMachinePowerState {
+ return []VirtualMachinePowerState{
+ VirtualMachinePowerStatePoweredOff,
+ VirtualMachinePowerStatePoweredOn,
+ VirtualMachinePowerStateSuspended,
+ }
+}
+
+func (e VirtualMachinePowerState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachinePowerState"] = reflect.TypeOf((*VirtualMachinePowerState)(nil)).Elem()
}
@@ -9059,6 +14001,7 @@ func init() {
// Deprecated as of vSphere API 6.0.
//
// The RecordReplayState type defines a simple set of record and replay
+// states for a virtual machine.
type VirtualMachineRecordReplayState string
const (
@@ -9071,9 +14014,20 @@ const (
VirtualMachineRecordReplayStateInactive = VirtualMachineRecordReplayState("inactive")
)
+func (e VirtualMachineRecordReplayState) Values() []VirtualMachineRecordReplayState {
+ return []VirtualMachineRecordReplayState{
+ VirtualMachineRecordReplayStateRecording,
+ VirtualMachineRecordReplayStateReplaying,
+ VirtualMachineRecordReplayStateInactive,
+ }
+}
+
+func (e VirtualMachineRecordReplayState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineRecordReplayState"] = reflect.TypeOf((*VirtualMachineRecordReplayState)(nil)).Elem()
- minAPIVersionForType["VirtualMachineRecordReplayState"] = "4.0"
}
// Specifies how a virtual disk is moved or copied to a
@@ -9094,6 +14048,8 @@ func init() {
// a *relocate operation*,
// `VirtualMachine.PromoteDisks_Task` has been provided as
// a way to unshare such disk backings.
+//
+// See also `VirtualDiskSparseVer1BackingInfo.parent`, `VirtualDiskSparseVer2BackingInfo.parent`, `VirtualDiskFlatVer1BackingInfo.parent`, `VirtualDiskFlatVer2BackingInfo.parent`, `VirtualDiskRawDiskMappingVer1BackingInfo.parent`, `VirtualMachineRelocateSpec.diskMoveType`, `VirtualMachineRelocateSpecDiskLocator.diskMoveType`.
type VirtualMachineRelocateDiskMoveOptions string
const (
@@ -9149,12 +14105,22 @@ const (
VirtualMachineRelocateDiskMoveOptionsMoveAllDiskBackingsAndConsolidate = VirtualMachineRelocateDiskMoveOptions("moveAllDiskBackingsAndConsolidate")
)
+func (e VirtualMachineRelocateDiskMoveOptions) Values() []VirtualMachineRelocateDiskMoveOptions {
+ return []VirtualMachineRelocateDiskMoveOptions{
+ VirtualMachineRelocateDiskMoveOptionsMoveAllDiskBackingsAndAllowSharing,
+ VirtualMachineRelocateDiskMoveOptionsMoveAllDiskBackingsAndDisallowSharing,
+ VirtualMachineRelocateDiskMoveOptionsMoveChildMostDiskBacking,
+ VirtualMachineRelocateDiskMoveOptionsCreateNewChildDiskBacking,
+ VirtualMachineRelocateDiskMoveOptionsMoveAllDiskBackingsAndConsolidate,
+ }
+}
+
+func (e VirtualMachineRelocateDiskMoveOptions) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineRelocateDiskMoveOptions"] = reflect.TypeOf((*VirtualMachineRelocateDiskMoveOptions)(nil)).Elem()
- minAPIVersionForType["VirtualMachineRelocateDiskMoveOptions"] = "4.0"
- minAPIVersionForEnumValue["VirtualMachineRelocateDiskMoveOptions"] = map[string]string{
- "moveAllDiskBackingsAndConsolidate": "5.1",
- }
}
// Deprecated as of vSphere API 5.0.
@@ -9168,6 +14134,17 @@ const (
VirtualMachineRelocateTransformationSparse = VirtualMachineRelocateTransformation("sparse")
)
+func (e VirtualMachineRelocateTransformation) Values() []VirtualMachineRelocateTransformation {
+ return []VirtualMachineRelocateTransformation{
+ VirtualMachineRelocateTransformationFlat,
+ VirtualMachineRelocateTransformationSparse,
+ }
+}
+
+func (e VirtualMachineRelocateTransformation) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineRelocateTransformation"] = reflect.TypeOf((*VirtualMachineRelocateTransformation)(nil)).Elem()
}
@@ -9190,10 +14167,32 @@ const (
VirtualMachineScsiPassthroughTypeUnknown = VirtualMachineScsiPassthroughType("unknown")
)
+func (e VirtualMachineScsiPassthroughType) Values() []VirtualMachineScsiPassthroughType {
+ return []VirtualMachineScsiPassthroughType{
+ VirtualMachineScsiPassthroughTypeDisk,
+ VirtualMachineScsiPassthroughTypeTape,
+ VirtualMachineScsiPassthroughTypePrinter,
+ VirtualMachineScsiPassthroughTypeProcessor,
+ VirtualMachineScsiPassthroughTypeWorm,
+ VirtualMachineScsiPassthroughTypeCdrom,
+ VirtualMachineScsiPassthroughTypeScanner,
+ VirtualMachineScsiPassthroughTypeOptical,
+ VirtualMachineScsiPassthroughTypeMedia,
+ VirtualMachineScsiPassthroughTypeCom,
+ VirtualMachineScsiPassthroughTypeRaid,
+ VirtualMachineScsiPassthroughTypeUnknown,
+ }
+}
+
+func (e VirtualMachineScsiPassthroughType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineScsiPassthroughType"] = reflect.TypeOf((*VirtualMachineScsiPassthroughType)(nil)).Elem()
}
+// Flexible Launch Enclave (FLC) modes.
type VirtualMachineSgxInfoFlcModes string
const (
@@ -9209,9 +14208,19 @@ const (
VirtualMachineSgxInfoFlcModesUnlocked = VirtualMachineSgxInfoFlcModes("unlocked")
)
+func (e VirtualMachineSgxInfoFlcModes) Values() []VirtualMachineSgxInfoFlcModes {
+ return []VirtualMachineSgxInfoFlcModes{
+ VirtualMachineSgxInfoFlcModesLocked,
+ VirtualMachineSgxInfoFlcModesUnlocked,
+ }
+}
+
+func (e VirtualMachineSgxInfoFlcModes) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineSgxInfoFlcModes"] = reflect.TypeOf((*VirtualMachineSgxInfoFlcModes)(nil)).Elem()
- minAPIVersionForType["VirtualMachineSgxInfoFlcModes"] = "7.0"
}
// The list of possible standby actions that the virtual machine can take
@@ -9223,6 +14232,17 @@ const (
VirtualMachineStandbyActionTypePowerOnSuspend = VirtualMachineStandbyActionType("powerOnSuspend")
)
+func (e VirtualMachineStandbyActionType) Values() []VirtualMachineStandbyActionType {
+ return []VirtualMachineStandbyActionType{
+ VirtualMachineStandbyActionTypeCheckpoint,
+ VirtualMachineStandbyActionTypePowerOnSuspend,
+ }
+}
+
+func (e VirtualMachineStandbyActionType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineStandbyActionType"] = reflect.TypeOf((*VirtualMachineStandbyActionType)(nil)).Elem()
}
@@ -9240,28 +14260,34 @@ const (
VirtualMachineTargetInfoConfigurationTagClusterWide = VirtualMachineTargetInfoConfigurationTag("clusterWide")
)
+func (e VirtualMachineTargetInfoConfigurationTag) Values() []VirtualMachineTargetInfoConfigurationTag {
+ return []VirtualMachineTargetInfoConfigurationTag{
+ VirtualMachineTargetInfoConfigurationTagCompliant,
+ VirtualMachineTargetInfoConfigurationTagClusterWide,
+ }
+}
+
+func (e VirtualMachineTargetInfoConfigurationTag) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineTargetInfoConfigurationTag"] = reflect.TypeOf((*VirtualMachineTargetInfoConfigurationTag)(nil)).Elem()
}
+// The virtual machine ticket type.
type VirtualMachineTicketType string
const (
- //
- //
// Deprecated as of vSphere API 8.0. Use `webmks` instead.
//
// Remote mouse-keyboard-screen ticket.
VirtualMachineTicketTypeMks = VirtualMachineTicketType("mks")
- //
- //
// Deprecated as of vSphere 8.0 API. Use `webRemoteDevice`
// instead.
//
// Remote device ticket.
VirtualMachineTicketTypeDevice = VirtualMachineTicketType("device")
- //
- //
// Deprecated as of vSphere 6.6.3 API. Use
// `GuestOperationsManager` instead.
//
@@ -9283,16 +14309,26 @@ const (
VirtualMachineTicketTypeWebRemoteDevice = VirtualMachineTicketType("webRemoteDevice")
)
+func (e VirtualMachineTicketType) Values() []VirtualMachineTicketType {
+ return []VirtualMachineTicketType{
+ VirtualMachineTicketTypeMks,
+ VirtualMachineTicketTypeDevice,
+ VirtualMachineTicketTypeGuestControl,
+ VirtualMachineTicketTypeWebmks,
+ VirtualMachineTicketTypeGuestIntegrity,
+ VirtualMachineTicketTypeWebRemoteDevice,
+ }
+}
+
+func (e VirtualMachineTicketType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineTicketType"] = reflect.TypeOf((*VirtualMachineTicketType)(nil)).Elem()
- minAPIVersionForType["VirtualMachineTicketType"] = "4.1"
- minAPIVersionForEnumValue["VirtualMachineTicketType"] = map[string]string{
- "webmks": "6.0",
- "guestIntegrity": "6.7",
- "webRemoteDevice": "7.0",
- }
}
+// The installation type of tools in the VM.
type VirtualMachineToolsInstallType string
const (
@@ -9316,12 +14352,26 @@ const (
VirtualMachineToolsInstallTypeGuestToolsTypeOpenVMTools = VirtualMachineToolsInstallType("guestToolsTypeOpenVMTools")
)
+func (e VirtualMachineToolsInstallType) Values() []VirtualMachineToolsInstallType {
+ return []VirtualMachineToolsInstallType{
+ VirtualMachineToolsInstallTypeGuestToolsTypeUnknown,
+ VirtualMachineToolsInstallTypeGuestToolsTypeMSI,
+ VirtualMachineToolsInstallTypeGuestToolsTypeTar,
+ VirtualMachineToolsInstallTypeGuestToolsTypeOSP,
+ VirtualMachineToolsInstallTypeGuestToolsTypeOpenVMTools,
+ }
+}
+
+func (e VirtualMachineToolsInstallType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineToolsInstallType"] = reflect.TypeOf((*VirtualMachineToolsInstallType)(nil)).Elem()
- minAPIVersionForType["VirtualMachineToolsInstallType"] = "6.5"
}
// Current running status of VMware Tools running in the guest
+// operating system.
type VirtualMachineToolsRunningStatus string
const (
@@ -9333,9 +14383,20 @@ const (
VirtualMachineToolsRunningStatusGuestToolsExecutingScripts = VirtualMachineToolsRunningStatus("guestToolsExecutingScripts")
)
+func (e VirtualMachineToolsRunningStatus) Values() []VirtualMachineToolsRunningStatus {
+ return []VirtualMachineToolsRunningStatus{
+ VirtualMachineToolsRunningStatusGuestToolsNotRunning,
+ VirtualMachineToolsRunningStatusGuestToolsRunning,
+ VirtualMachineToolsRunningStatusGuestToolsExecutingScripts,
+ }
+}
+
+func (e VirtualMachineToolsRunningStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineToolsRunningStatus"] = reflect.TypeOf((*VirtualMachineToolsRunningStatus)(nil)).Elem()
- minAPIVersionForType["VirtualMachineToolsRunningStatus"] = "4.0"
}
// Deprecated as of vSphere API 4.0 use `VirtualMachineToolsVersionStatus_enum`
@@ -9356,18 +14417,30 @@ const (
VirtualMachineToolsStatusToolsOk = VirtualMachineToolsStatus("toolsOk")
)
+func (e VirtualMachineToolsStatus) Values() []VirtualMachineToolsStatus {
+ return []VirtualMachineToolsStatus{
+ VirtualMachineToolsStatusToolsNotInstalled,
+ VirtualMachineToolsStatusToolsNotRunning,
+ VirtualMachineToolsStatusToolsOld,
+ VirtualMachineToolsStatusToolsOk,
+ }
+}
+
+func (e VirtualMachineToolsStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineToolsStatus"] = reflect.TypeOf((*VirtualMachineToolsStatus)(nil)).Elem()
}
// Current version status of VMware Tools installed in the guest operating
+// system.
type VirtualMachineToolsVersionStatus string
const (
// VMware Tools has never been installed.
VirtualMachineToolsVersionStatusGuestToolsNotInstalled = VirtualMachineToolsVersionStatus("guestToolsNotInstalled")
- //
- //
// Deprecated as of vSphere API 5.1 value is not reported by
// toolsVersionStatus2, instead more detailed status is reported.
//
@@ -9392,18 +14465,29 @@ const (
VirtualMachineToolsVersionStatusGuestToolsBlacklisted = VirtualMachineToolsVersionStatus("guestToolsBlacklisted")
)
+func (e VirtualMachineToolsVersionStatus) Values() []VirtualMachineToolsVersionStatus {
+ return []VirtualMachineToolsVersionStatus{
+ VirtualMachineToolsVersionStatusGuestToolsNotInstalled,
+ VirtualMachineToolsVersionStatusGuestToolsNeedUpgrade,
+ VirtualMachineToolsVersionStatusGuestToolsCurrent,
+ VirtualMachineToolsVersionStatusGuestToolsUnmanaged,
+ VirtualMachineToolsVersionStatusGuestToolsTooOld,
+ VirtualMachineToolsVersionStatusGuestToolsSupportedOld,
+ VirtualMachineToolsVersionStatusGuestToolsSupportedNew,
+ VirtualMachineToolsVersionStatusGuestToolsTooNew,
+ VirtualMachineToolsVersionStatusGuestToolsBlacklisted,
+ }
+}
+
+func (e VirtualMachineToolsVersionStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineToolsVersionStatus"] = reflect.TypeOf((*VirtualMachineToolsVersionStatus)(nil)).Elem()
- minAPIVersionForType["VirtualMachineToolsVersionStatus"] = "4.0"
- minAPIVersionForEnumValue["VirtualMachineToolsVersionStatus"] = map[string]string{
- "guestToolsTooOld": "5.0",
- "guestToolsSupportedOld": "5.0",
- "guestToolsSupportedNew": "5.0",
- "guestToolsTooNew": "5.0",
- "guestToolsBlacklisted": "5.0",
- }
}
+// Device class family.
type VirtualMachineUsbInfoFamily string
const (
@@ -9450,11 +14534,39 @@ const (
VirtualMachineUsbInfoFamilyUnknownFamily = VirtualMachineUsbInfoFamily("unknownFamily")
)
+func (e VirtualMachineUsbInfoFamily) Values() []VirtualMachineUsbInfoFamily {
+ return []VirtualMachineUsbInfoFamily{
+ VirtualMachineUsbInfoFamilyAudio,
+ VirtualMachineUsbInfoFamilyHid,
+ VirtualMachineUsbInfoFamilyHid_bootable,
+ VirtualMachineUsbInfoFamilyPhysical,
+ VirtualMachineUsbInfoFamilyCommunication,
+ VirtualMachineUsbInfoFamilyImaging,
+ VirtualMachineUsbInfoFamilyPrinter,
+ VirtualMachineUsbInfoFamilyStorage,
+ VirtualMachineUsbInfoFamilyHub,
+ VirtualMachineUsbInfoFamilySmart_card,
+ VirtualMachineUsbInfoFamilySecurity,
+ VirtualMachineUsbInfoFamilyVideo,
+ VirtualMachineUsbInfoFamilyWireless,
+ VirtualMachineUsbInfoFamilyBluetooth,
+ VirtualMachineUsbInfoFamilyWusb,
+ VirtualMachineUsbInfoFamilyPda,
+ VirtualMachineUsbInfoFamilyVendor_specific,
+ VirtualMachineUsbInfoFamilyOther,
+ VirtualMachineUsbInfoFamilyUnknownFamily,
+ }
+}
+
+func (e VirtualMachineUsbInfoFamily) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineUsbInfoFamily"] = reflect.TypeOf((*VirtualMachineUsbInfoFamily)(nil)).Elem()
- minAPIVersionForType["VirtualMachineUsbInfoFamily"] = "2.5"
}
+// Device speed.
type VirtualMachineUsbInfoSpeed string
const (
@@ -9474,17 +14586,32 @@ const (
VirtualMachineUsbInfoSpeedUnknownSpeed = VirtualMachineUsbInfoSpeed("unknownSpeed")
)
+func (e VirtualMachineUsbInfoSpeed) Values() []VirtualMachineUsbInfoSpeed {
+ return []VirtualMachineUsbInfoSpeed{
+ VirtualMachineUsbInfoSpeedLow,
+ VirtualMachineUsbInfoSpeedFull,
+ VirtualMachineUsbInfoSpeedHigh,
+ VirtualMachineUsbInfoSpeedSuperSpeed,
+ VirtualMachineUsbInfoSpeedSuperSpeedPlus,
+ VirtualMachineUsbInfoSpeedSuperSpeed20Gbps,
+ VirtualMachineUsbInfoSpeedUnknownSpeed,
+ }
+}
+
+func (e VirtualMachineUsbInfoSpeed) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineUsbInfoSpeed"] = reflect.TypeOf((*VirtualMachineUsbInfoSpeed)(nil)).Elem()
- minAPIVersionForType["VirtualMachineUsbInfoSpeed"] = "2.5"
minAPIVersionForEnumValue["VirtualMachineUsbInfoSpeed"] = map[string]string{
- "superSpeed": "5.0",
- "superSpeedPlus": "6.8.7",
"superSpeed20Gbps": "7.0.3.2",
}
}
// Set of possible values for action field in FilterSpec.
+//
+// Determines whether traffic is allowed or denied.
type VirtualMachineVMCIDeviceAction string
const (
@@ -9494,11 +14621,22 @@ const (
VirtualMachineVMCIDeviceActionDeny = VirtualMachineVMCIDeviceAction("deny")
)
+func (e VirtualMachineVMCIDeviceAction) Values() []VirtualMachineVMCIDeviceAction {
+ return []VirtualMachineVMCIDeviceAction{
+ VirtualMachineVMCIDeviceActionAllow,
+ VirtualMachineVMCIDeviceActionDeny,
+ }
+}
+
+func (e VirtualMachineVMCIDeviceAction) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineVMCIDeviceAction"] = reflect.TypeOf((*VirtualMachineVMCIDeviceAction)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVMCIDeviceAction"] = "6.0"
}
+// Set of possible values for direction field in FilterSpec.
type VirtualMachineVMCIDeviceDirection string
const (
@@ -9510,11 +14648,23 @@ const (
VirtualMachineVMCIDeviceDirectionAnyDirection = VirtualMachineVMCIDeviceDirection("anyDirection")
)
+func (e VirtualMachineVMCIDeviceDirection) Values() []VirtualMachineVMCIDeviceDirection {
+ return []VirtualMachineVMCIDeviceDirection{
+ VirtualMachineVMCIDeviceDirectionGuest,
+ VirtualMachineVMCIDeviceDirectionHost,
+ VirtualMachineVMCIDeviceDirectionAnyDirection,
+ }
+}
+
+func (e VirtualMachineVMCIDeviceDirection) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineVMCIDeviceDirection"] = reflect.TypeOf((*VirtualMachineVMCIDeviceDirection)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVMCIDeviceDirection"] = "6.0"
}
+// Set of possible values for protocol field in FilterSpec.
type VirtualMachineVMCIDeviceProtocol string
const (
@@ -9539,9 +14689,23 @@ const (
VirtualMachineVMCIDeviceProtocolAnyProtocol = VirtualMachineVMCIDeviceProtocol("anyProtocol")
)
+func (e VirtualMachineVMCIDeviceProtocol) Values() []VirtualMachineVMCIDeviceProtocol {
+ return []VirtualMachineVMCIDeviceProtocol{
+ VirtualMachineVMCIDeviceProtocolHypervisor,
+ VirtualMachineVMCIDeviceProtocolDoorbell,
+ VirtualMachineVMCIDeviceProtocolQueuepair,
+ VirtualMachineVMCIDeviceProtocolDatagram,
+ VirtualMachineVMCIDeviceProtocolStream,
+ VirtualMachineVMCIDeviceProtocolAnyProtocol,
+ }
+}
+
+func (e VirtualMachineVMCIDeviceProtocol) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineVMCIDeviceProtocol"] = reflect.TypeOf((*VirtualMachineVMCIDeviceProtocol)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVMCIDeviceProtocol"] = "6.0"
}
type VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType string
@@ -9553,6 +14717,19 @@ const (
VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentTypeDvx = VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType("dvx")
)
+func (e VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType) Values() []VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType {
+ return []VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType{
+ VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentTypePciPassthru,
+ VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentTypeNvidiaVgpu,
+ VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentTypeSriovNic,
+ VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentTypeDvx,
+ }
+}
+
+func (e VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType"] = reflect.TypeOf((*VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType)(nil)).Elem()
minAPIVersionForType["VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType"] = "8.0.0.1"
@@ -9565,6 +14742,17 @@ const (
VirtualMachineVgpuProfileInfoProfileClassQuadro = VirtualMachineVgpuProfileInfoProfileClass("quadro")
)
+func (e VirtualMachineVgpuProfileInfoProfileClass) Values() []VirtualMachineVgpuProfileInfoProfileClass {
+ return []VirtualMachineVgpuProfileInfoProfileClass{
+ VirtualMachineVgpuProfileInfoProfileClassCompute,
+ VirtualMachineVgpuProfileInfoProfileClassQuadro,
+ }
+}
+
+func (e VirtualMachineVgpuProfileInfoProfileClass) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineVgpuProfileInfoProfileClass"] = reflect.TypeOf((*VirtualMachineVgpuProfileInfoProfileClass)(nil)).Elem()
minAPIVersionForType["VirtualMachineVgpuProfileInfoProfileClass"] = "7.0.3.0"
@@ -9579,11 +14767,23 @@ const (
VirtualMachineVgpuProfileInfoProfileSharingMig = VirtualMachineVgpuProfileInfoProfileSharing("mig")
)
+func (e VirtualMachineVgpuProfileInfoProfileSharing) Values() []VirtualMachineVgpuProfileInfoProfileSharing {
+ return []VirtualMachineVgpuProfileInfoProfileSharing{
+ VirtualMachineVgpuProfileInfoProfileSharingTimeSliced,
+ VirtualMachineVgpuProfileInfoProfileSharingMig,
+ }
+}
+
+func (e VirtualMachineVgpuProfileInfoProfileSharing) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineVgpuProfileInfoProfileSharing"] = reflect.TypeOf((*VirtualMachineVgpuProfileInfoProfileSharing)(nil)).Elem()
minAPIVersionForType["VirtualMachineVgpuProfileInfoProfileSharing"] = "7.0.3.0"
}
+// Set of possible values for `VirtualMachineVideoCard.use3dRenderer`.
type VirtualMachineVideoCardUse3dRenderer string
const (
@@ -9595,9 +14795,20 @@ const (
VirtualMachineVideoCardUse3dRendererHardware = VirtualMachineVideoCardUse3dRenderer("hardware")
)
+func (e VirtualMachineVideoCardUse3dRenderer) Values() []VirtualMachineVideoCardUse3dRenderer {
+ return []VirtualMachineVideoCardUse3dRenderer{
+ VirtualMachineVideoCardUse3dRendererAutomatic,
+ VirtualMachineVideoCardUse3dRendererSoftware,
+ VirtualMachineVideoCardUse3dRendererHardware,
+ }
+}
+
+func (e VirtualMachineVideoCardUse3dRenderer) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineVideoCardUse3dRenderer"] = reflect.TypeOf((*VirtualMachineVideoCardUse3dRenderer)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVideoCardUse3dRenderer"] = "5.1"
}
type VirtualMachineVirtualDeviceSwapDeviceSwapStatus string
@@ -9615,6 +14826,20 @@ const (
VirtualMachineVirtualDeviceSwapDeviceSwapStatusCompleted = VirtualMachineVirtualDeviceSwapDeviceSwapStatus("completed")
)
+func (e VirtualMachineVirtualDeviceSwapDeviceSwapStatus) Values() []VirtualMachineVirtualDeviceSwapDeviceSwapStatus {
+ return []VirtualMachineVirtualDeviceSwapDeviceSwapStatus{
+ VirtualMachineVirtualDeviceSwapDeviceSwapStatusNone,
+ VirtualMachineVirtualDeviceSwapDeviceSwapStatusScheduled,
+ VirtualMachineVirtualDeviceSwapDeviceSwapStatusInprogress,
+ VirtualMachineVirtualDeviceSwapDeviceSwapStatusFailed,
+ VirtualMachineVirtualDeviceSwapDeviceSwapStatusCompleted,
+ }
+}
+
+func (e VirtualMachineVirtualDeviceSwapDeviceSwapStatus) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineVirtualDeviceSwapDeviceSwapStatus"] = reflect.TypeOf((*VirtualMachineVirtualDeviceSwapDeviceSwapStatus)(nil)).Elem()
minAPIVersionForType["VirtualMachineVirtualDeviceSwapDeviceSwapStatus"] = "8.0.0.1"
@@ -9632,12 +14857,24 @@ const (
VirtualMachineVirtualPMemSnapshotModeIndependent_eraseonrevert = VirtualMachineVirtualPMemSnapshotMode("independent_eraseonrevert")
)
+func (e VirtualMachineVirtualPMemSnapshotMode) Values() []VirtualMachineVirtualPMemSnapshotMode {
+ return []VirtualMachineVirtualPMemSnapshotMode{
+ VirtualMachineVirtualPMemSnapshotModeIndependent_persistent,
+ VirtualMachineVirtualPMemSnapshotModeIndependent_eraseonrevert,
+ }
+}
+
+func (e VirtualMachineVirtualPMemSnapshotMode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineVirtualPMemSnapshotMode"] = reflect.TypeOf((*VirtualMachineVirtualPMemSnapshotMode)(nil)).Elem()
minAPIVersionForType["VirtualMachineVirtualPMemSnapshotMode"] = "7.0.3.0"
}
// The VSS Snapshot Context
+// VSS\_SNAPSHOT\_CONTEXT values not listed below are not implemented.
type VirtualMachineWindowsQuiesceSpecVssBackupContext string
const (
@@ -9653,9 +14890,20 @@ const (
VirtualMachineWindowsQuiesceSpecVssBackupContextCtx_file_share_backup = VirtualMachineWindowsQuiesceSpecVssBackupContext("ctx_file_share_backup")
)
+func (e VirtualMachineWindowsQuiesceSpecVssBackupContext) Values() []VirtualMachineWindowsQuiesceSpecVssBackupContext {
+ return []VirtualMachineWindowsQuiesceSpecVssBackupContext{
+ VirtualMachineWindowsQuiesceSpecVssBackupContextCtx_auto,
+ VirtualMachineWindowsQuiesceSpecVssBackupContextCtx_backup,
+ VirtualMachineWindowsQuiesceSpecVssBackupContextCtx_file_share_backup,
+ }
+}
+
+func (e VirtualMachineWindowsQuiesceSpecVssBackupContext) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualMachineWindowsQuiesceSpecVssBackupContext"] = reflect.TypeOf((*VirtualMachineWindowsQuiesceSpecVssBackupContext)(nil)).Elem()
- minAPIVersionForType["VirtualMachineWindowsQuiesceSpecVssBackupContext"] = "6.5"
}
type VirtualNVMEControllerSharing string
@@ -9665,6 +14913,17 @@ const (
VirtualNVMEControllerSharingPhysicalSharing = VirtualNVMEControllerSharing("physicalSharing")
)
+func (e VirtualNVMEControllerSharing) Values() []VirtualNVMEControllerSharing {
+ return []VirtualNVMEControllerSharing{
+ VirtualNVMEControllerSharingNoSharing,
+ VirtualNVMEControllerSharingPhysicalSharing,
+ }
+}
+
+func (e VirtualNVMEControllerSharing) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualNVMEControllerSharing"] = reflect.TypeOf((*VirtualNVMEControllerSharing)(nil)).Elem()
minAPIVersionForType["VirtualNVMEControllerSharing"] = "8.0.2.0"
@@ -9692,6 +14951,23 @@ const (
VirtualPointingDeviceHostChoicePs2 = VirtualPointingDeviceHostChoice("ps2")
)
+func (e VirtualPointingDeviceHostChoice) Values() []VirtualPointingDeviceHostChoice {
+ return []VirtualPointingDeviceHostChoice{
+ VirtualPointingDeviceHostChoiceAutodetect,
+ VirtualPointingDeviceHostChoiceIntellimouseExplorer,
+ VirtualPointingDeviceHostChoiceIntellimousePs2,
+ VirtualPointingDeviceHostChoiceLogitechMouseman,
+ VirtualPointingDeviceHostChoiceMicrosoft_serial,
+ VirtualPointingDeviceHostChoiceMouseSystems,
+ VirtualPointingDeviceHostChoiceMousemanSerial,
+ VirtualPointingDeviceHostChoicePs2,
+ }
+}
+
+func (e VirtualPointingDeviceHostChoice) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualPointingDeviceHostChoice"] = reflect.TypeOf((*VirtualPointingDeviceHostChoice)(nil)).Elem()
}
@@ -9713,6 +14989,18 @@ const (
VirtualSCSISharingPhysicalSharing = VirtualSCSISharing("physicalSharing")
)
+func (e VirtualSCSISharing) Values() []VirtualSCSISharing {
+ return []VirtualSCSISharing{
+ VirtualSCSISharingNoSharing,
+ VirtualSCSISharingVirtualSharing,
+ VirtualSCSISharingPhysicalSharing,
+ }
+}
+
+func (e VirtualSCSISharing) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualSCSISharing"] = reflect.TypeOf((*VirtualSCSISharing)(nil)).Elem()
}
@@ -9739,10 +15027,22 @@ const (
VirtualSerialPortEndPointServer = VirtualSerialPortEndPoint("server")
)
+func (e VirtualSerialPortEndPoint) Values() []VirtualSerialPortEndPoint {
+ return []VirtualSerialPortEndPoint{
+ VirtualSerialPortEndPointClient,
+ VirtualSerialPortEndPointServer,
+ }
+}
+
+func (e VirtualSerialPortEndPoint) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualSerialPortEndPoint"] = reflect.TypeOf((*VirtualSerialPortEndPoint)(nil)).Elem()
}
+// The enumeration of all known valid VRDMA device protocols.
type VirtualVmxnet3VrdmaOptionDeviceProtocols string
const (
@@ -9752,9 +15052,19 @@ const (
VirtualVmxnet3VrdmaOptionDeviceProtocolsRocev2 = VirtualVmxnet3VrdmaOptionDeviceProtocols("rocev2")
)
+func (e VirtualVmxnet3VrdmaOptionDeviceProtocols) Values() []VirtualVmxnet3VrdmaOptionDeviceProtocols {
+ return []VirtualVmxnet3VrdmaOptionDeviceProtocols{
+ VirtualVmxnet3VrdmaOptionDeviceProtocolsRocev1,
+ VirtualVmxnet3VrdmaOptionDeviceProtocolsRocev2,
+ }
+}
+
+func (e VirtualVmxnet3VrdmaOptionDeviceProtocols) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VirtualVmxnet3VrdmaOptionDeviceProtocols"] = reflect.TypeOf((*VirtualVmxnet3VrdmaOptionDeviceProtocols)(nil)).Elem()
- minAPIVersionForType["VirtualVmxnet3VrdmaOptionDeviceProtocols"] = "6.7"
}
type VmDasBeingResetEventReasonCode string
@@ -9770,15 +15080,24 @@ const (
VmDasBeingResetEventReasonCodeVmcpResetApdCleared = VmDasBeingResetEventReasonCode("vmcpResetApdCleared")
)
+func (e VmDasBeingResetEventReasonCode) Values() []VmDasBeingResetEventReasonCode {
+ return []VmDasBeingResetEventReasonCode{
+ VmDasBeingResetEventReasonCodeVmtoolsHeartbeatFailure,
+ VmDasBeingResetEventReasonCodeAppHeartbeatFailure,
+ VmDasBeingResetEventReasonCodeAppImmediateResetRequest,
+ VmDasBeingResetEventReasonCodeVmcpResetApdCleared,
+ }
+}
+
+func (e VmDasBeingResetEventReasonCode) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VmDasBeingResetEventReasonCode"] = reflect.TypeOf((*VmDasBeingResetEventReasonCode)(nil)).Elem()
- minAPIVersionForType["VmDasBeingResetEventReasonCode"] = "4.1"
- minAPIVersionForEnumValue["VmDasBeingResetEventReasonCode"] = map[string]string{
- "appImmediateResetRequest": "5.5",
- "vmcpResetApdCleared": "6.0",
- }
}
+// The reason for the failure.
type VmFailedStartingSecondaryEventFailureReason string
const (
@@ -9796,9 +15115,21 @@ const (
VmFailedStartingSecondaryEventFailureReasonMigrateFailed = VmFailedStartingSecondaryEventFailureReason("migrateFailed")
)
+func (e VmFailedStartingSecondaryEventFailureReason) Values() []VmFailedStartingSecondaryEventFailureReason {
+ return []VmFailedStartingSecondaryEventFailureReason{
+ VmFailedStartingSecondaryEventFailureReasonIncompatibleHost,
+ VmFailedStartingSecondaryEventFailureReasonLoginFailed,
+ VmFailedStartingSecondaryEventFailureReasonRegisterVmFailed,
+ VmFailedStartingSecondaryEventFailureReasonMigrateFailed,
+ }
+}
+
+func (e VmFailedStartingSecondaryEventFailureReason) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VmFailedStartingSecondaryEventFailureReason"] = reflect.TypeOf((*VmFailedStartingSecondaryEventFailureReason)(nil)).Elem()
- minAPIVersionForType["VmFailedStartingSecondaryEventFailureReason"] = "4.0"
}
type VmFaultToleranceConfigIssueReasonForIssue string
@@ -9809,16 +15140,12 @@ const (
// There is already a secondary virtual machine for the primary
// virtual machine
VmFaultToleranceConfigIssueReasonForIssueMoreThanOneSecondary = VmFaultToleranceConfigIssueReasonForIssue("moreThanOneSecondary")
- //
- //
// Deprecated as of vSphere API 6.0.
//
// The virtual machine does not support record/replay.
//
// Vm::Capability.RecordReplaySupported is false.
VmFaultToleranceConfigIssueReasonForIssueRecordReplayNotSupported = VmFaultToleranceConfigIssueReasonForIssue("recordReplayNotSupported")
- //
- //
// Deprecated as of vSphere API 6.0.
//
// It is not possible to turn on Fault Tolerance on this powered-on VM.
@@ -9856,8 +15183,7 @@ const (
// The virtual machine is an ESX agent VM
VmFaultToleranceConfigIssueReasonForIssueEsxAgentVm = VmFaultToleranceConfigIssueReasonForIssue("esxAgentVm")
// The virtual machine video device has 3D enabled
- VmFaultToleranceConfigIssueReasonForIssueVideo3dEnabled = VmFaultToleranceConfigIssueReasonForIssue("video3dEnabled")
- // `**Since:**` vSphere API Release 5.1
+ VmFaultToleranceConfigIssueReasonForIssueVideo3dEnabled = VmFaultToleranceConfigIssueReasonForIssue("video3dEnabled")
VmFaultToleranceConfigIssueReasonForIssueHasUnsupportedDisk = VmFaultToleranceConfigIssueReasonForIssue("hasUnsupportedDisk")
// FT logging nic does not have desired bandwidth
VmFaultToleranceConfigIssueReasonForIssueInsufficientBandwidth = VmFaultToleranceConfigIssueReasonForIssue("insufficientBandwidth")
@@ -9885,28 +15211,88 @@ const (
// The host does not support fault tolerance virtual machines
// with the specified amount of memory.
VmFaultToleranceConfigIssueReasonForIssueTooMuchMemory = VmFaultToleranceConfigIssueReasonForIssue("tooMuchMemory")
+ // No VMotion license
+ VmFaultToleranceConfigIssueReasonForIssueVMotionNotLicensed = VmFaultToleranceConfigIssueReasonForIssue("vMotionNotLicensed")
+ // Host does not have proper FT license
+ VmFaultToleranceConfigIssueReasonForIssueFtNotLicensed = VmFaultToleranceConfigIssueReasonForIssue("ftNotLicensed")
+ // Host does not have HA agent running properly
+ VmFaultToleranceConfigIssueReasonForIssueHaAgentIssue = VmFaultToleranceConfigIssueReasonForIssue("haAgentIssue")
+ // The VM has unsupported storage policy
+ VmFaultToleranceConfigIssueReasonForIssueUnsupportedSPBM = VmFaultToleranceConfigIssueReasonForIssue("unsupportedSPBM")
+ // The virtual machine has virtual disk in linked-clone mode
+ VmFaultToleranceConfigIssueReasonForIssueHasLinkedCloneDisk = VmFaultToleranceConfigIssueReasonForIssue("hasLinkedCloneDisk")
// Virtual Machine with Pmem HA Failover is not supported
VmFaultToleranceConfigIssueReasonForIssueUnsupportedPMemHAFailOver = VmFaultToleranceConfigIssueReasonForIssue("unsupportedPMemHAFailOver")
-)
+ // Virtual Machine with encrypted virtual disk is not supported.
+ VmFaultToleranceConfigIssueReasonForIssueUnsupportedEncryptedDisk = VmFaultToleranceConfigIssueReasonForIssue("unsupportedEncryptedDisk")
+ // The virtual machine does not allow to enable or disable FT Metro
+ // Cluster while FT is turned on.
+ VmFaultToleranceConfigIssueReasonForIssueFtMetroClusterNotEditable = VmFaultToleranceConfigIssueReasonForIssue("ftMetroClusterNotEditable")
+ // Cannot turn on vSphere Fault Tolerance on a FT Metro Cluster enabled VM
+ // with no Host Group configured.
+ VmFaultToleranceConfigIssueReasonForIssueNoHostGroupConfigured = VmFaultToleranceConfigIssueReasonForIssue("noHostGroupConfigured")
+)
+
+func (e VmFaultToleranceConfigIssueReasonForIssue) Values() []VmFaultToleranceConfigIssueReasonForIssue {
+ return []VmFaultToleranceConfigIssueReasonForIssue{
+ VmFaultToleranceConfigIssueReasonForIssueHaNotEnabled,
+ VmFaultToleranceConfigIssueReasonForIssueMoreThanOneSecondary,
+ VmFaultToleranceConfigIssueReasonForIssueRecordReplayNotSupported,
+ VmFaultToleranceConfigIssueReasonForIssueReplayNotSupported,
+ VmFaultToleranceConfigIssueReasonForIssueTemplateVm,
+ VmFaultToleranceConfigIssueReasonForIssueMultipleVCPU,
+ VmFaultToleranceConfigIssueReasonForIssueHostInactive,
+ VmFaultToleranceConfigIssueReasonForIssueFtUnsupportedHardware,
+ VmFaultToleranceConfigIssueReasonForIssueFtUnsupportedProduct,
+ VmFaultToleranceConfigIssueReasonForIssueMissingVMotionNic,
+ VmFaultToleranceConfigIssueReasonForIssueMissingFTLoggingNic,
+ VmFaultToleranceConfigIssueReasonForIssueThinDisk,
+ VmFaultToleranceConfigIssueReasonForIssueVerifySSLCertificateFlagNotSet,
+ VmFaultToleranceConfigIssueReasonForIssueHasSnapshots,
+ VmFaultToleranceConfigIssueReasonForIssueNoConfig,
+ VmFaultToleranceConfigIssueReasonForIssueFtSecondaryVm,
+ VmFaultToleranceConfigIssueReasonForIssueHasLocalDisk,
+ VmFaultToleranceConfigIssueReasonForIssueEsxAgentVm,
+ VmFaultToleranceConfigIssueReasonForIssueVideo3dEnabled,
+ VmFaultToleranceConfigIssueReasonForIssueHasUnsupportedDisk,
+ VmFaultToleranceConfigIssueReasonForIssueInsufficientBandwidth,
+ VmFaultToleranceConfigIssueReasonForIssueHasNestedHVConfiguration,
+ VmFaultToleranceConfigIssueReasonForIssueHasVFlashConfiguration,
+ VmFaultToleranceConfigIssueReasonForIssueUnsupportedProduct,
+ VmFaultToleranceConfigIssueReasonForIssueCpuHvUnsupported,
+ VmFaultToleranceConfigIssueReasonForIssueCpuHwmmuUnsupported,
+ VmFaultToleranceConfigIssueReasonForIssueCpuHvDisabled,
+ VmFaultToleranceConfigIssueReasonForIssueHasEFIFirmware,
+ VmFaultToleranceConfigIssueReasonForIssueTooManyVCPUs,
+ VmFaultToleranceConfigIssueReasonForIssueTooMuchMemory,
+ VmFaultToleranceConfigIssueReasonForIssueVMotionNotLicensed,
+ VmFaultToleranceConfigIssueReasonForIssueFtNotLicensed,
+ VmFaultToleranceConfigIssueReasonForIssueHaAgentIssue,
+ VmFaultToleranceConfigIssueReasonForIssueUnsupportedSPBM,
+ VmFaultToleranceConfigIssueReasonForIssueHasLinkedCloneDisk,
+ VmFaultToleranceConfigIssueReasonForIssueUnsupportedPMemHAFailOver,
+ VmFaultToleranceConfigIssueReasonForIssueUnsupportedEncryptedDisk,
+ VmFaultToleranceConfigIssueReasonForIssueFtMetroClusterNotEditable,
+ VmFaultToleranceConfigIssueReasonForIssueNoHostGroupConfigured,
+ }
+}
+
+func (e VmFaultToleranceConfigIssueReasonForIssue) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
func init() {
t["VmFaultToleranceConfigIssueReasonForIssue"] = reflect.TypeOf((*VmFaultToleranceConfigIssueReasonForIssue)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceConfigIssueReasonForIssue"] = "4.0"
minAPIVersionForEnumValue["VmFaultToleranceConfigIssueReasonForIssue"] = map[string]string{
- "esxAgentVm": "5.0",
- "video3dEnabled": "5.0",
- "hasUnsupportedDisk": "5.1",
- "insufficientBandwidth": "6.0",
- "hasNestedHVConfiguration": "5.1",
- "hasVFlashConfiguration": "5.5",
- "unsupportedProduct": "6.0",
- "cpuHvUnsupported": "6.0",
- "cpuHwmmuUnsupported": "6.0",
- "cpuHvDisabled": "6.0",
- "hasEFIFirmware": "6.0",
- "tooManyVCPUs": "6.7",
- "tooMuchMemory": "6.7",
+ "vMotionNotLicensed": "8.0.3.0",
+ "ftNotLicensed": "8.0.3.0",
+ "haAgentIssue": "8.0.3.0",
+ "unsupportedSPBM": "8.0.3.0",
+ "hasLinkedCloneDisk": "8.0.3.0",
"unsupportedPMemHAFailOver": "7.0.2.0",
+ "unsupportedEncryptedDisk": "8.0.3.0",
+ "ftMetroClusterNotEditable": "8.0.3.0",
+ "noHostGroupConfigured": "8.0.3.0",
}
}
@@ -9925,9 +15311,22 @@ const (
VmFaultToleranceInvalidFileBackingDeviceTypeVirtualDisk = VmFaultToleranceInvalidFileBackingDeviceType("virtualDisk")
)
+func (e VmFaultToleranceInvalidFileBackingDeviceType) Values() []VmFaultToleranceInvalidFileBackingDeviceType {
+ return []VmFaultToleranceInvalidFileBackingDeviceType{
+ VmFaultToleranceInvalidFileBackingDeviceTypeVirtualFloppy,
+ VmFaultToleranceInvalidFileBackingDeviceTypeVirtualCdrom,
+ VmFaultToleranceInvalidFileBackingDeviceTypeVirtualSerialPort,
+ VmFaultToleranceInvalidFileBackingDeviceTypeVirtualParallelPort,
+ VmFaultToleranceInvalidFileBackingDeviceTypeVirtualDisk,
+ }
+}
+
+func (e VmFaultToleranceInvalidFileBackingDeviceType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VmFaultToleranceInvalidFileBackingDeviceType"] = reflect.TypeOf((*VmFaultToleranceInvalidFileBackingDeviceType)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceInvalidFileBackingDeviceType"] = "4.0"
}
type VmShutdownOnIsolationEventOperation string
@@ -9939,11 +15338,22 @@ const (
VmShutdownOnIsolationEventOperationPoweredOff = VmShutdownOnIsolationEventOperation("poweredOff")
)
+func (e VmShutdownOnIsolationEventOperation) Values() []VmShutdownOnIsolationEventOperation {
+ return []VmShutdownOnIsolationEventOperation{
+ VmShutdownOnIsolationEventOperationShutdown,
+ VmShutdownOnIsolationEventOperationPoweredOff,
+ }
+}
+
+func (e VmShutdownOnIsolationEventOperation) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VmShutdownOnIsolationEventOperation"] = reflect.TypeOf((*VmShutdownOnIsolationEventOperation)(nil)).Elem()
- minAPIVersionForType["VmShutdownOnIsolationEventOperation"] = "4.0"
}
+// The PVLAN port types.
type VmwareDistributedVirtualSwitchPvlanPortType string
const (
@@ -9961,11 +15371,23 @@ const (
VmwareDistributedVirtualSwitchPvlanPortTypeCommunity = VmwareDistributedVirtualSwitchPvlanPortType("community")
)
+func (e VmwareDistributedVirtualSwitchPvlanPortType) Values() []VmwareDistributedVirtualSwitchPvlanPortType {
+ return []VmwareDistributedVirtualSwitchPvlanPortType{
+ VmwareDistributedVirtualSwitchPvlanPortTypePromiscuous,
+ VmwareDistributedVirtualSwitchPvlanPortTypeIsolated,
+ VmwareDistributedVirtualSwitchPvlanPortTypeCommunity,
+ }
+}
+
+func (e VmwareDistributedVirtualSwitchPvlanPortType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VmwareDistributedVirtualSwitchPvlanPortType"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchPvlanPortType)(nil)).Elem()
- minAPIVersionForType["VmwareDistributedVirtualSwitchPvlanPortType"] = "4.0"
}
+// The list of disk issues.
type VsanDiskIssueType string
const (
@@ -9974,12 +15396,24 @@ const (
VsanDiskIssueTypeUnknown = VsanDiskIssueType("unknown")
)
+func (e VsanDiskIssueType) Values() []VsanDiskIssueType {
+ return []VsanDiskIssueType{
+ VsanDiskIssueTypeNonExist,
+ VsanDiskIssueTypeStampMismatch,
+ VsanDiskIssueTypeUnknown,
+ }
+}
+
+func (e VsanDiskIssueType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VsanDiskIssueType"] = reflect.TypeOf((*VsanDiskIssueType)(nil)).Elem()
- minAPIVersionForType["VsanDiskIssueType"] = "5.5"
}
// The action to take with regard to storage objects upon decommissioning
+// a host from use with the VSAN service.
type VsanHostDecommissionModeObjectAction string
const (
@@ -9993,12 +15427,25 @@ const (
VsanHostDecommissionModeObjectActionEvacuateAllData = VsanHostDecommissionModeObjectAction("evacuateAllData")
)
+func (e VsanHostDecommissionModeObjectAction) Values() []VsanHostDecommissionModeObjectAction {
+ return []VsanHostDecommissionModeObjectAction{
+ VsanHostDecommissionModeObjectActionNoAction,
+ VsanHostDecommissionModeObjectActionEnsureObjectAccessibility,
+ VsanHostDecommissionModeObjectActionEvacuateAllData,
+ }
+}
+
+func (e VsanHostDecommissionModeObjectAction) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VsanHostDecommissionModeObjectAction"] = reflect.TypeOf((*VsanHostDecommissionModeObjectAction)(nil)).Elem()
- minAPIVersionForType["VsanHostDecommissionModeObjectAction"] = "5.5"
}
// Values used for indicating a disk's status for use by the VSAN service.
+//
+// See also `VsanHostDiskResult.state`.
type VsanHostDiskResultState string
const (
@@ -10021,13 +15468,26 @@ const (
VsanHostDiskResultStateIneligible = VsanHostDiskResultState("ineligible")
)
+func (e VsanHostDiskResultState) Values() []VsanHostDiskResultState {
+ return []VsanHostDiskResultState{
+ VsanHostDiskResultStateInUse,
+ VsanHostDiskResultStateEligible,
+ VsanHostDiskResultStateIneligible,
+ }
+}
+
+func (e VsanHostDiskResultState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VsanHostDiskResultState"] = reflect.TypeOf((*VsanHostDiskResultState)(nil)).Elem()
- minAPIVersionForType["VsanHostDiskResultState"] = "5.5"
}
// A `VsanHostHealthState_enum` represents the state of a participating
// host in the VSAN service.
+//
+// See also `VsanHostClusterStatus`.
type VsanHostHealthState string
const (
@@ -10039,13 +15499,26 @@ const (
VsanHostHealthStateUnhealthy = VsanHostHealthState("unhealthy")
)
+func (e VsanHostHealthState) Values() []VsanHostHealthState {
+ return []VsanHostHealthState{
+ VsanHostHealthStateUnknown,
+ VsanHostHealthStateHealthy,
+ VsanHostHealthStateUnhealthy,
+ }
+}
+
+func (e VsanHostHealthState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VsanHostHealthState"] = reflect.TypeOf((*VsanHostHealthState)(nil)).Elem()
- minAPIVersionForType["VsanHostHealthState"] = "5.5"
}
// A `VsanHostNodeState_enum` represents the state of participation of a host
// in the VSAN service.
+//
+// See also `VsanHostClusterStatus`, `VsanHostClusterStatusState`.
type VsanHostNodeState string
const (
@@ -10081,11 +15554,30 @@ const (
VsanHostNodeStateDecommissioning = VsanHostNodeState("decommissioning")
)
+func (e VsanHostNodeState) Values() []VsanHostNodeState {
+ return []VsanHostNodeState{
+ VsanHostNodeStateError,
+ VsanHostNodeStateDisabled,
+ VsanHostNodeStateAgent,
+ VsanHostNodeStateMaster,
+ VsanHostNodeStateBackup,
+ VsanHostNodeStateStarting,
+ VsanHostNodeStateStopping,
+ VsanHostNodeStateEnteringMaintenanceMode,
+ VsanHostNodeStateExitingMaintenanceMode,
+ VsanHostNodeStateDecommissioning,
+ }
+}
+
+func (e VsanHostNodeState) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VsanHostNodeState"] = reflect.TypeOf((*VsanHostNodeState)(nil)).Elem()
- minAPIVersionForType["VsanHostNodeState"] = "5.5"
}
+// Type of disk group operation performed.
type VsanUpgradeSystemUpgradeHistoryDiskGroupOpType string
const (
@@ -10095,9 +15587,19 @@ const (
VsanUpgradeSystemUpgradeHistoryDiskGroupOpTypeRemove = VsanUpgradeSystemUpgradeHistoryDiskGroupOpType("remove")
)
+func (e VsanUpgradeSystemUpgradeHistoryDiskGroupOpType) Values() []VsanUpgradeSystemUpgradeHistoryDiskGroupOpType {
+ return []VsanUpgradeSystemUpgradeHistoryDiskGroupOpType{
+ VsanUpgradeSystemUpgradeHistoryDiskGroupOpTypeAdd,
+ VsanUpgradeSystemUpgradeHistoryDiskGroupOpTypeRemove,
+ }
+}
+
+func (e VsanUpgradeSystemUpgradeHistoryDiskGroupOpType) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["VsanUpgradeSystemUpgradeHistoryDiskGroupOpType"] = reflect.TypeOf((*VsanUpgradeSystemUpgradeHistoryDiskGroupOpType)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryDiskGroupOpType"] = "6.0"
}
type WeekOfMonth string
@@ -10110,6 +15612,20 @@ const (
WeekOfMonthLast = WeekOfMonth("last")
)
+func (e WeekOfMonth) Values() []WeekOfMonth {
+ return []WeekOfMonth{
+ WeekOfMonthFirst,
+ WeekOfMonthSecond,
+ WeekOfMonthThird,
+ WeekOfMonthFourth,
+ WeekOfMonthLast,
+ }
+}
+
+func (e WeekOfMonth) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["WeekOfMonth"] = reflect.TypeOf((*WeekOfMonth)(nil)).Elem()
}
@@ -10123,9 +15639,19 @@ const (
WillLoseHAProtectionResolutionRelocate = WillLoseHAProtectionResolution("relocate")
)
+func (e WillLoseHAProtectionResolution) Values() []WillLoseHAProtectionResolution {
+ return []WillLoseHAProtectionResolution{
+ WillLoseHAProtectionResolutionSvmotion,
+ WillLoseHAProtectionResolutionRelocate,
+ }
+}
+
+func (e WillLoseHAProtectionResolution) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["WillLoseHAProtectionResolution"] = reflect.TypeOf((*WillLoseHAProtectionResolution)(nil)).Elem()
- minAPIVersionForType["WillLoseHAProtectionResolution"] = "5.0"
}
type VslmDiskInfoFlag string
@@ -10154,6 +15680,36 @@ const (
VslmDiskInfoFlagCbtEnabled = VslmDiskInfoFlag("cbtEnabled")
)
+func (e VslmDiskInfoFlag) Values() []VslmDiskInfoFlag {
+ return []VslmDiskInfoFlag{
+ VslmDiskInfoFlagId,
+ VslmDiskInfoFlagDescriptorVersion,
+ VslmDiskInfoFlagBackingObjectId,
+ VslmDiskInfoFlagPath,
+ VslmDiskInfoFlagParentPath,
+ VslmDiskInfoFlagName,
+ VslmDiskInfoFlagDeviceName,
+ VslmDiskInfoFlagCapacity,
+ VslmDiskInfoFlagAllocated,
+ VslmDiskInfoFlagType,
+ VslmDiskInfoFlagConsumers,
+ VslmDiskInfoFlagTentativeState,
+ VslmDiskInfoFlagCreateTime,
+ VslmDiskInfoFlagIoFilter,
+ VslmDiskInfoFlagControlFlags,
+ VslmDiskInfoFlagKeepAfterVmDelete,
+ VslmDiskInfoFlagRelocationDisabled,
+ VslmDiskInfoFlagKeyId,
+ VslmDiskInfoFlagKeyProviderId,
+ VslmDiskInfoFlagNativeSnapshotSupported,
+ VslmDiskInfoFlagCbtEnabled,
+ }
+}
+
+func (e VslmDiskInfoFlag) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["vslmDiskInfoFlag"] = reflect.TypeOf((*VslmDiskInfoFlag)(nil)).Elem()
}
@@ -10166,6 +15722,18 @@ const (
VslmVStorageObjectControlFlagEnableChangedBlockTracking = VslmVStorageObjectControlFlag("enableChangedBlockTracking")
)
+func (e VslmVStorageObjectControlFlag) Values() []VslmVStorageObjectControlFlag {
+ return []VslmVStorageObjectControlFlag{
+ VslmVStorageObjectControlFlagKeepAfterDeleteVm,
+ VslmVStorageObjectControlFlagDisableRelocation,
+ VslmVStorageObjectControlFlagEnableChangedBlockTracking,
+ }
+}
+
+func (e VslmVStorageObjectControlFlag) Strings() []string {
+ return EnumValuesAsStrings(e.Values())
+}
+
func init() {
t["vslmVStorageObjectControlFlag"] = reflect.TypeOf((*VslmVStorageObjectControlFlag)(nil)).Elem()
}
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/hardware_version.go b/vendor/github.com/vmware/govmomi/vim25/types/hardware_version.go
index 39677577..f4489fe9 100644
--- a/vendor/github.com/vmware/govmomi/vim25/types/hardware_version.go
+++ b/vendor/github.com/vmware/govmomi/vim25/types/hardware_version.go
@@ -25,6 +25,10 @@ import (
// HardwareVersion is a VMX hardware version.
type HardwareVersion uint8
+const (
+ invalidHardwareVersion HardwareVersion = 0
+)
+
const (
VMX3 HardwareVersion = iota + 3
VMX4
@@ -59,12 +63,24 @@ const (
MaxValidHardwareVersion = VMX21
)
-func (hv HardwareVersion) IsValid() bool {
- return hv != vmx5 &&
+// IsSupported returns true if the hardware version is known to and supported by
+// GoVmomi's generated types.
+func (hv HardwareVersion) IsSupported() bool {
+ return hv.IsValid() &&
+ hv != vmx5 &&
hv >= MinValidHardwareVersion &&
hv <= MaxValidHardwareVersion
}
+// IsValid returns true if the hardware version is not valid.
+// Unlike IsSupported, this function returns true as long as the hardware
+// version is greater than 0.
+// For example, the result of parsing "abc" or "vmx-abc" is an invalid hardware
+// version, whereas the result of parsing "vmx-99" is valid, just not supported.
+func (hv HardwareVersion) IsValid() bool {
+ return hv != invalidHardwareVersion
+}
+
func (hv HardwareVersion) String() string {
if hv.IsValid() {
return fmt.Sprintf("vmx-%d", hv)
@@ -85,7 +101,10 @@ func (hv *HardwareVersion) UnmarshalText(text []byte) error {
return nil
}
-var vmxRe = regexp.MustCompile(`(?i)^vmx-(\d+)$`)
+var (
+ vmxRe = regexp.MustCompile(`(?i)^vmx-(\d+)$`)
+ vmxNumOnlyRe = regexp.MustCompile(`^(\d+)$`)
+)
// MustParseHardwareVersion parses the provided string into a hardware version.
func MustParseHardwareVersion(s string) HardwareVersion {
@@ -97,25 +116,35 @@ func MustParseHardwareVersion(s string) HardwareVersion {
}
// ParseHardwareVersion parses the provided string into a hardware version.
+// Supported formats include vmx-123 or 123. Please note that the parser will
+// only return an error if the supplied version does not match the supported
+// formats.
+// Once parsed, use the function IsSupported to determine if the hardware
+// version falls into the range of versions known to GoVmomi.
func ParseHardwareVersion(s string) (HardwareVersion, error) {
- var u uint64
if m := vmxRe.FindStringSubmatch(s); len(m) > 0 {
- u, _ = strconv.ParseUint(m[1], 10, 8)
- } else {
- u, _ = strconv.ParseUint(s, 10, 8)
- }
- v := HardwareVersion(u)
- if !v.IsValid() {
- return 0, fmt.Errorf("invalid version: %q", s)
+ u, err := strconv.ParseUint(m[1], 10, 8)
+ if err != nil {
+ return invalidHardwareVersion, fmt.Errorf(
+ "failed to parse %s from %q as uint8: %w", m[1], s, err)
+ }
+ return HardwareVersion(u), nil
+ } else if m := vmxNumOnlyRe.FindStringSubmatch(s); len(m) > 0 {
+ u, err := strconv.ParseUint(m[1], 10, 8)
+ if err != nil {
+ return invalidHardwareVersion, fmt.Errorf(
+ "failed to parse %s as uint8: %w", m[1], err)
+ }
+ return HardwareVersion(u), nil
}
- return v, nil
+ return invalidHardwareVersion, fmt.Errorf("invalid version: %q", s)
}
var hardwareVersions []HardwareVersion
func init() {
for i := MinValidHardwareVersion; i <= MaxValidHardwareVersion; i++ {
- if i.IsValid() {
+ if i.IsSupported() {
hardwareVersions = append(hardwareVersions, i)
}
}
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/helpers.go b/vendor/github.com/vmware/govmomi/vim25/types/helpers.go
index 70360eb4..94fb50df 100644
--- a/vendor/github.com/vmware/govmomi/vim25/types/helpers.go
+++ b/vendor/github.com/vmware/govmomi/vim25/types/helpers.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2015-2022 VMware, Inc. All Rights Reserved.
+Copyright (c) 2015-2024 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
+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,
@@ -23,6 +23,14 @@ import (
"time"
)
+func EnumValuesAsStrings[T ~string](enumValues []T) []string {
+ stringValues := make([]string, len(enumValues))
+ for i := range enumValues {
+ stringValues[i] = string(enumValues[i])
+ }
+ return stringValues
+}
+
func NewBool(v bool) *bool {
return &v
}
@@ -120,6 +128,7 @@ func (ci VirtualMachineConfigInfo) ToConfigSpec() VirtualMachineConfigSpec {
Flags: &ci.Flags,
ConsolePreferences: ci.ConsolePreferences,
PowerOpInfo: &ci.DefaultPowerOps,
+ RebootPowerOff: ci.RebootPowerOff,
NumCPUs: ci.Hardware.NumCPU,
VcpuConfig: ci.VcpuConfig,
NumCoresPerSocket: ci.Hardware.NumCoresPerSocket,
@@ -129,14 +138,14 @@ func (ci VirtualMachineConfigInfo) ToConfigSpec() VirtualMachineConfigSpec {
CpuHotRemoveEnabled: ci.CpuHotRemoveEnabled,
VirtualICH7MPresent: ci.Hardware.VirtualICH7MPresent,
VirtualSMCPresent: ci.Hardware.VirtualSMCPresent,
- DeviceChange: make([]BaseVirtualDeviceConfigSpec, len(ci.Hardware.Device)),
+ DeviceChange: nil, // See below
CpuAllocation: ci.CpuAllocation,
MemoryAllocation: ci.MemoryAllocation,
LatencySensitivity: ci.LatencySensitivity,
CpuAffinity: ci.CpuAffinity,
MemoryAffinity: ci.MemoryAffinity,
NetworkShaper: ci.NetworkShaper,
- CpuFeatureMask: make([]VirtualMachineCpuIdInfoSpec, len(ci.CpuFeatureMask)),
+ CpuFeatureMask: nil, // See below
ExtraConfig: ci.ExtraConfig,
SwapPlacement: ci.SwapPlacement,
BootOptions: ci.BootOptions,
@@ -155,20 +164,21 @@ func (ci VirtualMachineConfigInfo) ToConfigSpec() VirtualMachineConfigSpec {
MigrateEncryption: ci.MigrateEncryption,
FtEncryptionMode: ci.FtEncryptionMode,
SevEnabled: ci.SevEnabled,
- PmemFailoverEnabled: ci.PmemFailoverEnabled,
- Pmem: ci.Pmem,
- NpivWorldWideNameOp: ci.NpivWorldWideNameType,
- RebootPowerOff: ci.RebootPowerOff,
+ MotherboardLayout: ci.Hardware.MotherboardLayout,
ScheduledHardwareUpgradeInfo: ci.ScheduledHardwareUpgradeInfo,
SgxInfo: ci.SgxInfo,
GuestMonitoringModeInfo: ci.GuestMonitoringModeInfo,
+ PmemFailoverEnabled: ci.PmemFailoverEnabled,
VmxStatsCollectionEnabled: ci.VmxStatsCollectionEnabled,
VmOpNotificationToAppEnabled: ci.VmOpNotificationToAppEnabled,
VmOpNotificationTimeout: ci.VmOpNotificationTimeout,
DeviceSwap: ci.DeviceSwap,
SimultaneousThreads: ci.Hardware.SimultaneousThreads,
+ Pmem: ci.Pmem,
DeviceGroups: ci.DeviceGroups,
- MotherboardLayout: ci.Hardware.MotherboardLayout,
+ FixedPassthruHotPlugEnabled: ci.FixedPassthruHotPlugEnabled,
+ MetroFtEnabled: ci.MetroFtEnabled,
+ MetroFtHostGroup: ci.MetroFtHostGroup,
}
// Unassign the Files field if all of its fields are empty.
@@ -210,39 +220,36 @@ func (ci VirtualMachineConfigInfo) ToConfigSpec() VirtualMachineConfigSpec {
cs.PowerOpInfo = nil
}
- for i := 0; i < len(cs.CpuFeatureMask); i++ {
- cs.CpuFeatureMask[i] = VirtualMachineCpuIdInfoSpec{
- ArrayUpdateSpec: ArrayUpdateSpec{
- Operation: ArrayUpdateOperationAdd,
- },
- Info: &HostCpuIdInfo{
- // TODO: Does DynamicData need to be copied?
- // It is an empty struct...
- Level: ci.CpuFeatureMask[i].Level,
- Vendor: ci.CpuFeatureMask[i].Vendor,
- Eax: ci.CpuFeatureMask[i].Eax,
- Ebx: ci.CpuFeatureMask[i].Ebx,
- Ecx: ci.CpuFeatureMask[i].Ecx,
- Edx: ci.CpuFeatureMask[i].Edx,
- },
+ if l := len(ci.CpuFeatureMask); l > 0 {
+ cs.CpuFeatureMask = make([]VirtualMachineCpuIdInfoSpec, l)
+ for i := 0; i < l; i++ {
+ cs.CpuFeatureMask[i] = VirtualMachineCpuIdInfoSpec{
+ ArrayUpdateSpec: ArrayUpdateSpec{
+ Operation: ArrayUpdateOperationAdd,
+ },
+ Info: &HostCpuIdInfo{
+ Level: ci.CpuFeatureMask[i].Level,
+ Vendor: ci.CpuFeatureMask[i].Vendor,
+ Eax: ci.CpuFeatureMask[i].Eax,
+ Ebx: ci.CpuFeatureMask[i].Ebx,
+ Ecx: ci.CpuFeatureMask[i].Ecx,
+ Edx: ci.CpuFeatureMask[i].Edx,
+ },
+ }
}
}
- for i := 0; i < len(cs.DeviceChange); i++ {
- cs.DeviceChange[i] = &VirtualDeviceConfigSpec{
- // TODO: Does DynamicData need to be copied?
- // It is an empty struct...
- Operation: VirtualDeviceConfigSpecOperationAdd,
- FileOperation: VirtualDeviceConfigSpecFileOperationCreate,
- Device: ci.Hardware.Device[i],
- // TODO: It is unclear how the profiles associated with the VM or
- // its hardware can be reintroduced/persisted in the
- // ConfigSpec.
- Profile: nil,
- // The backing will come from the device.
- Backing: nil,
- // TODO: Investigate futher.
- FilterSpec: nil,
+ if l := len(ci.Hardware.Device); l > 0 {
+ cs.DeviceChange = make([]BaseVirtualDeviceConfigSpec, l)
+ for i := 0; i < l; i++ {
+ cs.DeviceChange[i] = &VirtualDeviceConfigSpec{
+ Operation: VirtualDeviceConfigSpecOperationAdd,
+ FileOperation: VirtualDeviceConfigSpecFileOperationCreate,
+ Device: ci.Hardware.Device[i],
+ Profile: nil,
+ Backing: nil,
+ FilterSpec: nil,
+ }
}
}
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/if.go b/vendor/github.com/vmware/govmomi/vim25/types/if.go
index 938c86b4..e33fb392 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-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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.
@@ -616,6 +616,28 @@ func init() {
t["BaseDVSFeatureCapability"] = reflect.TypeOf((*DVSFeatureCapability)(nil)).Elem()
}
+func (b *DVSFilterSpecConnecteeSpec) GetDVSFilterSpecConnecteeSpec() *DVSFilterSpecConnecteeSpec {
+ return b
+}
+
+type BaseDVSFilterSpecConnecteeSpec interface {
+ GetDVSFilterSpecConnecteeSpec() *DVSFilterSpecConnecteeSpec
+}
+
+func init() {
+ t["BaseDVSFilterSpecConnecteeSpec"] = reflect.TypeOf((*DVSFilterSpecConnecteeSpec)(nil)).Elem()
+}
+
+func (b *DVSFilterSpecVlanSpec) GetDVSFilterSpecVlanSpec() *DVSFilterSpecVlanSpec { return b }
+
+type BaseDVSFilterSpecVlanSpec interface {
+ GetDVSFilterSpecVlanSpec() *DVSFilterSpecVlanSpec
+}
+
+func init() {
+ t["BaseDVSFilterSpecVlanSpec"] = reflect.TypeOf((*DVSFilterSpecVlanSpec)(nil)).Elem()
+}
+
func (b *DVSHealthCheckCapability) GetDVSHealthCheckCapability() *DVSHealthCheckCapability { return b }
type BaseDVSHealthCheckCapability interface {
@@ -1790,6 +1812,16 @@ func init() {
t["BaseIoFilterInfo"] = reflect.TypeOf((*IoFilterInfo)(nil)).Elem()
}
+func (b *IoFilterManagerSslTrust) GetIoFilterManagerSslTrust() *IoFilterManagerSslTrust { return b }
+
+type BaseIoFilterManagerSslTrust interface {
+ GetIoFilterManagerSslTrust() *IoFilterManagerSslTrust
+}
+
+func init() {
+ t["BaseIoFilterManagerSslTrust"] = reflect.TypeOf((*IoFilterManagerSslTrust)(nil)).Elem()
+}
+
func (b *IpAddress) GetIpAddress() *IpAddress { return b }
type BaseIpAddress interface {
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/types.go b/vendor/github.com/vmware/govmomi/vim25/types/types.go
index dc9976b5..0f8dab11 100644
--- a/vendor/github.com/vmware/govmomi/vim25/types/types.go
+++ b/vendor/github.com/vmware/govmomi/vim25/types/types.go
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2014-2023 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2024 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
+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,
@@ -117,19 +117,19 @@ type AboutInfo struct {
// Operating system type and architecture.
//
// Examples of values are:
- // - "win32-x86" - For x86-based Windows systems.
- // - "linux-x86" - For x86-based Linux systems.
- // - "vmnix-x86" - For the x86 ESX Server microkernel.
- // - "vmnix-arm64" - For the arm64 ESX Server microkernel.
+ // - "win32-x86" - For x86-based Windows systems.
+ // - "linux-x86" - For x86-based Linux systems.
+ // - "vmnix-x86" - For the x86 ESX Server microkernel.
+ // - "vmnix-arm64" - For the arm64 ESX Server microkernel.
OsType string `xml:"osType" json:"osType"`
// The product ID is a unique identifier for a product line.
//
// Examples of values are:
- // - "gsx" - For the VMware Server product.
- // - "esx" - For the ESX product.
- // - "embeddedEsx" - For the ESXi product.
- // - "esxio" - For the ESXio product.
- // - "vpx" - For the VirtualCenter product.
+ // - "gsx" - For the VMware Server product.
+ // - "esx" - For the ESX product.
+ // - "embeddedEsx" - For the ESXi product.
+ // - "esxio" - For the ESXio product.
+ // - "vpx" - For the VirtualCenter product.
ProductLineId string `xml:"productLineId" json:"productLineId"`
// Indicates whether or not the service instance represents a
// standalone host.
@@ -140,19 +140,19 @@ type AboutInfo struct {
// For example, VirtualCenter offers multi-host management.
//
// Examples of values are:
- // - "VirtualCenter" - For a VirtualCenter instance.
- // - "HostAgent" - For host agent on an ESX Server or VMware Server host.
+ // - "VirtualCenter" - For a VirtualCenter instance.
+ // - "HostAgent" - For host agent on an ESX Server or VMware Server host.
ApiType string `xml:"apiType" json:"apiType"`
// The version of the API as a dot-separated string.
//
// For example, "1.0.0".
ApiVersion string `xml:"apiVersion" json:"apiVersion"`
// A globally unique identifier associated with this service instance.
- InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty"`
// The license product name
- LicenseProductName string `xml:"licenseProductName,omitempty" json:"licenseProductName,omitempty" vim:"4.0"`
+ LicenseProductName string `xml:"licenseProductName,omitempty" json:"licenseProductName,omitempty"`
// The license product version
- LicenseProductVersion string `xml:"licenseProductVersion,omitempty" json:"licenseProductVersion,omitempty" vim:"4.0"`
+ LicenseProductVersion string `xml:"licenseProductVersion,omitempty" json:"licenseProductVersion,omitempty"`
}
func init() {
@@ -190,7 +190,7 @@ type AccountUpdatedEvent struct {
Spec BaseHostAccountSpec `xml:"spec,typeattr" json:"spec"`
Group bool `xml:"group" json:"group"`
// The previous account description
- PrevDescription string `xml:"prevDescription,omitempty" json:"prevDescription,omitempty" vim:"6.5"`
+ PrevDescription string `xml:"prevDescription,omitempty" json:"prevDescription,omitempty"`
}
func init() {
@@ -402,7 +402,6 @@ type ActiveDirectoryFault struct {
func init() {
t["ActiveDirectoryFault"] = reflect.TypeOf((*ActiveDirectoryFault)(nil)).Elem()
- minAPIVersionForType["ActiveDirectoryFault"] = "4.1"
}
type ActiveDirectoryFaultFault BaseActiveDirectoryFault
@@ -423,7 +422,6 @@ type ActiveDirectoryProfile struct {
func init() {
t["ActiveDirectoryProfile"] = reflect.TypeOf((*ActiveDirectoryProfile)(nil)).Elem()
- minAPIVersionForType["ActiveDirectoryProfile"] = "4.1"
}
// An attempt to enable Enhanced VMotion Compatibility on a cluster, or to
@@ -440,7 +438,7 @@ type ActiveVMsBlockingEVC struct {
EVCConfigFault
// The requested EVC mode.
- EvcMode string `xml:"evcMode,omitempty" json:"evcMode,omitempty" vim:"4.0"`
+ EvcMode string `xml:"evcMode,omitempty" json:"evcMode,omitempty"`
// Hosts with active virtual machines that are blocking the operation,
// because the hosts expose compatibility-relevant CPU features not present
// in the baseline of the requested EVC mode.
@@ -452,14 +450,13 @@ type ActiveVMsBlockingEVC struct {
// beyond those present in the baseline for that EVC mode.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"4.0"`
+ Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// The names of the hosts in the host array.
- HostName []string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"4.0"`
+ HostName []string `xml:"hostName,omitempty" json:"hostName,omitempty"`
}
func init() {
t["ActiveVMsBlockingEVC"] = reflect.TypeOf((*ActiveVMsBlockingEVC)(nil)).Elem()
- minAPIVersionForType["ActiveVMsBlockingEVC"] = "2.5u2"
}
type ActiveVMsBlockingEVCFault ActiveVMsBlockingEVC
@@ -504,12 +501,12 @@ type AddCustomFieldDefRequestType struct {
Name string `xml:"name" json:"name"`
// The managed object type to which this field
// will apply
- MoType string `xml:"moType,omitempty" json:"moType,omitempty" vim:"2.5"`
+ MoType string `xml:"moType,omitempty" json:"moType,omitempty"`
// Privilege policy to apply to FieldDef being
// created
- FieldDefPolicy *PrivilegePolicyDef `xml:"fieldDefPolicy,omitempty" json:"fieldDefPolicy,omitempty" vim:"2.5"`
+ FieldDefPolicy *PrivilegePolicyDef `xml:"fieldDefPolicy,omitempty" json:"fieldDefPolicy,omitempty"`
// Privilege policy to apply to instances of field
- FieldPolicy *PrivilegePolicyDef `xml:"fieldPolicy,omitempty" json:"fieldPolicy,omitempty" vim:"2.5"`
+ FieldPolicy *PrivilegePolicyDef `xml:"fieldPolicy,omitempty" json:"fieldPolicy,omitempty"`
}
func init() {
@@ -679,7 +676,7 @@ type AddHostRequestType struct {
// Refers instance of `ResourcePool`.
ResourcePool *ManagedObjectReference `xml:"resourcePool,omitempty" json:"resourcePool,omitempty"`
// Provide a licenseKey or licenseKeyType. See `LicenseManager`
- License string `xml:"license,omitempty" json:"license,omitempty" vim:"4.0"`
+ License string `xml:"license,omitempty" json:"license,omitempty"`
}
func init() {
@@ -896,13 +893,13 @@ type AddStandaloneHostRequestType struct {
Spec HostConnectSpec `xml:"spec" json:"spec"`
// Optionally specify the configuration for the compute
// resource that will be created to contain the host.
- CompResSpec BaseComputeResourceConfigSpec `xml:"compResSpec,omitempty,typeattr" json:"compResSpec,omitempty" vim:"2.5"`
+ CompResSpec BaseComputeResourceConfigSpec `xml:"compResSpec,omitempty,typeattr" json:"compResSpec,omitempty"`
// Flag to specify whether or not the host should be
// connected as soon as it is added. The host will not
// be added if a connection attempt is made and fails.
AddConnected bool `xml:"addConnected" json:"addConnected"`
// Provide a licenseKey or licenseKeyType. See `LicenseManager`
- License string `xml:"license,omitempty" json:"license,omitempty" vim:"4.0"`
+ License string `xml:"license,omitempty" json:"license,omitempty"`
}
func init() {
@@ -970,7 +967,6 @@ type AdminDisabled struct {
func init() {
t["AdminDisabled"] = reflect.TypeOf((*AdminDisabled)(nil)).Elem()
- minAPIVersionForType["AdminDisabled"] = "2.5"
}
type AdminDisabledFault AdminDisabled
@@ -987,7 +983,6 @@ type AdminNotDisabled struct {
func init() {
t["AdminNotDisabled"] = reflect.TypeOf((*AdminNotDisabled)(nil)).Elem()
- minAPIVersionForType["AdminNotDisabled"] = "2.5"
}
type AdminNotDisabledFault AdminNotDisabled
@@ -1003,7 +998,6 @@ type AdminPasswordNotChangedEvent struct {
func init() {
t["AdminPasswordNotChangedEvent"] = reflect.TypeOf((*AdminPasswordNotChangedEvent)(nil)).Elem()
- minAPIVersionForType["AdminPasswordNotChangedEvent"] = "2.5"
}
// Virtual machine has a configured memory and/or CPU affinity that will
@@ -1056,11 +1050,11 @@ type AgentInstallFailed struct {
// The reason why the agent install failed, if known.
//
// Values should come from `AgentInstallFailedReason_enum`.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
// The status code returned by the agent installer, if it was run.
- StatusCode int32 `xml:"statusCode,omitempty" json:"statusCode,omitempty" vim:"4.0"`
+ StatusCode int32 `xml:"statusCode,omitempty" json:"statusCode,omitempty"`
// The output (stdout/stderr) from executing the agent installer.
- InstallerOutput string `xml:"installerOutput,omitempty" json:"installerOutput,omitempty" vim:"4.0"`
+ InstallerOutput string `xml:"installerOutput,omitempty" json:"installerOutput,omitempty"`
}
func init() {
@@ -1085,7 +1079,6 @@ type AlarmAcknowledgedEvent struct {
func init() {
t["AlarmAcknowledgedEvent"] = reflect.TypeOf((*AlarmAcknowledgedEvent)(nil)).Elem()
- minAPIVersionForType["AlarmAcknowledgedEvent"] = "5.0"
}
// Action invoked by triggered alarm.
@@ -1127,7 +1120,6 @@ type AlarmClearedEvent struct {
func init() {
t["AlarmClearedEvent"] = reflect.TypeOf((*AlarmClearedEvent)(nil)).Elem()
- minAPIVersionForType["AlarmClearedEvent"] = "5.0"
}
// This event records the creation of an alarm.
@@ -1158,11 +1150,11 @@ type AlarmDescription struct {
VirtualMachinePowerState []BaseElementDescription `xml:"virtualMachinePowerState,typeattr" json:"virtualMachinePowerState"`
// `DatastoreSummary.accessible` and
// `description`
- DatastoreConnectionState []BaseElementDescription `xml:"datastoreConnectionState,omitempty,typeattr" json:"datastoreConnectionState,omitempty" vim:"4.0"`
+ DatastoreConnectionState []BaseElementDescription `xml:"datastoreConnectionState,omitempty,typeattr" json:"datastoreConnectionState,omitempty"`
// *Host System Power State enum description*
- HostSystemPowerState []BaseElementDescription `xml:"hostSystemPowerState,omitempty,typeattr" json:"hostSystemPowerState,omitempty" vim:"4.0"`
+ HostSystemPowerState []BaseElementDescription `xml:"hostSystemPowerState,omitempty,typeattr" json:"hostSystemPowerState,omitempty"`
// *Guest Heartbeat Status enum description*
- VirtualMachineGuestHeartbeatStatus []BaseElementDescription `xml:"virtualMachineGuestHeartbeatStatus,omitempty,typeattr" json:"virtualMachineGuestHeartbeatStatus,omitempty" vim:"4.0"`
+ VirtualMachineGuestHeartbeatStatus []BaseElementDescription `xml:"virtualMachineGuestHeartbeatStatus,omitempty,typeattr" json:"virtualMachineGuestHeartbeatStatus,omitempty"`
// *ManagedEntity Status enum description*
EntityStatus []BaseElementDescription `xml:"entityStatus,typeattr" json:"entityStatus"`
// Action class descriptions for an alarm.
@@ -1257,7 +1249,6 @@ type AlarmFilterSpec struct {
func init() {
t["AlarmFilterSpec"] = reflect.TypeOf((*AlarmFilterSpec)(nil)).Elem()
- minAPIVersionForType["AlarmFilterSpec"] = "6.7"
}
// Attributes of an alarm.
@@ -1293,7 +1284,7 @@ type AlarmReconfiguredEvent struct {
// The entity with which the alarm is registered.
Entity ManagedEntityEventArgument `xml:"entity" json:"entity"`
// The configuration values changed during the reconfiguration.
- ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
+ ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty"`
}
func init() {
@@ -1418,7 +1409,7 @@ type AlarmSpec struct {
// allowed, i.e. when reconfiguring, the name passed in the new AlarmSpec
// should be equal to either the systemName or its localized version (the
// current name in the Alarm's info).
- SystemName string `xml:"systemName,omitempty" json:"systemName,omitempty" vim:"5.0"`
+ SystemName string `xml:"systemName,omitempty" json:"systemName,omitempty"`
// Description of the alarm.
Description string `xml:"description" json:"description"`
// Flag to indicate whether or not the alarm is enabled or disabled.
@@ -1429,7 +1420,7 @@ type AlarmSpec struct {
Action BaseAlarmAction `xml:"action,omitempty,typeattr" json:"action,omitempty"`
// Frequency in seconds, which specifies how often appropriate actions
// should repeat when an alarm does not change state.
- ActionFrequency int32 `xml:"actionFrequency,omitempty" json:"actionFrequency,omitempty" vim:"4.0"`
+ ActionFrequency int32 `xml:"actionFrequency,omitempty" json:"actionFrequency,omitempty"`
// Tolerance and maximum frequency settings.
Setting *AlarmSetting `xml:"setting,omitempty" json:"setting,omitempty"`
}
@@ -1470,26 +1461,26 @@ type AlarmState struct {
Time time.Time `xml:"time" json:"time"`
// Flag to indicate if the alarm's actions have been acknowledged for the
// associated ManagedEntity.
- Acknowledged *bool `xml:"acknowledged" json:"acknowledged,omitempty" vim:"4.0"`
+ Acknowledged *bool `xml:"acknowledged" json:"acknowledged,omitempty"`
// The user who acknowledged this triggering.
//
// If the triggering has not
// been acknowledged, then the value is not valid.
- AcknowledgedByUser string `xml:"acknowledgedByUser,omitempty" json:"acknowledgedByUser,omitempty" vim:"4.0"`
+ AcknowledgedByUser string `xml:"acknowledgedByUser,omitempty" json:"acknowledgedByUser,omitempty"`
// The time this triggering was acknowledged.
//
// If the triggering has not
// been acknowledged, then the value is not valid.
- AcknowledgedTime *time.Time `xml:"acknowledgedTime" json:"acknowledgedTime,omitempty" vim:"4.0"`
+ AcknowledgedTime *time.Time `xml:"acknowledgedTime" json:"acknowledgedTime,omitempty"`
// Contains the key of the event that has triggered the alarm.
//
// The value
// is set only for event based alarms. The value is not set for gray or
// manually reset alarms (via vim.AlarmManager.setAlarmStatus).
- EventKey int32 `xml:"eventKey,omitempty" json:"eventKey,omitempty" vim:"6.0"`
+ EventKey int32 `xml:"eventKey,omitempty" json:"eventKey,omitempty"`
// Flag to indicate if the alarm is disabled for the associated
// ManagedEntity.
- Disabled *bool `xml:"disabled" json:"disabled,omitempty" vim:"6.9.1"`
+ Disabled *bool `xml:"disabled" json:"disabled,omitempty"`
}
func init() {
@@ -1529,7 +1520,7 @@ type AlarmTriggeringAction struct {
// Indicates on which transitions this action executes and repeats.
//
// This is optional only for backwards compatibility.
- TransitionSpecs []AlarmTriggeringActionTransitionSpec `xml:"transitionSpecs,omitempty" json:"transitionSpecs,omitempty" vim:"4.0"`
+ TransitionSpecs []AlarmTriggeringActionTransitionSpec `xml:"transitionSpecs,omitempty" json:"transitionSpecs,omitempty"`
// Deprecated as of vSphere API 4.0, use
// `AlarmTriggeringActionTransitionSpec` .
//
@@ -1590,7 +1581,6 @@ type AlarmTriggeringActionTransitionSpec struct {
func init() {
t["AlarmTriggeringActionTransitionSpec"] = reflect.TypeOf((*AlarmTriggeringActionTransitionSpec)(nil)).Elem()
- minAPIVersionForType["AlarmTriggeringActionTransitionSpec"] = "4.0"
}
// This event records that the previously unlicensed virtual machines on
@@ -1607,7 +1597,6 @@ type AllVirtualMachinesLicensedEvent struct {
func init() {
t["AllVirtualMachinesLicensedEvent"] = reflect.TypeOf((*AllVirtualMachinesLicensedEvent)(nil)).Elem()
- minAPIVersionForType["AllVirtualMachinesLicensedEvent"] = "2.5"
}
type AllocateIpv4Address AllocateIpv4AddressRequestType
@@ -1757,11 +1746,11 @@ type AndAlarmExpression struct {
AlarmExpression
// List of alarm expressions that define the overall status of the alarm.
- // - The state of the alarm expression is gray if all subexpressions are gray.
- // Otherwise, gray subexpressions are ignored.
- // - The state is red if all subexpressions are red.
- // - Otherwise, the state is yellow if all subexpressions are red or yellow.
- // - Otherwise, the state of the alarm expression is green.
+ // - The state of the alarm expression is gray if all subexpressions are gray.
+ // Otherwise, gray subexpressions are ignored.
+ // - The state is red if all subexpressions are red.
+ // - Otherwise, the state is yellow if all subexpressions are red or yellow.
+ // - Otherwise, the state of the alarm expression is green.
Expression []BaseAlarmExpression `xml:"expression,typeattr" json:"expression"`
}
@@ -1800,7 +1789,6 @@ type AnswerFile struct {
func init() {
t["AnswerFile"] = reflect.TypeOf((*AnswerFile)(nil)).Elem()
- minAPIVersionForType["AnswerFile"] = "5.0"
}
// Base class for host-specific answer file options.
@@ -1812,12 +1800,11 @@ type AnswerFileCreateSpec struct {
// The default if not specified is "true".
// This option should be used with caution, since the resulting answer
// file will not be checked for errors.
- Validating *bool `xml:"validating" json:"validating,omitempty" vim:"6.0"`
+ Validating *bool `xml:"validating" json:"validating,omitempty"`
}
func init() {
t["AnswerFileCreateSpec"] = reflect.TypeOf((*AnswerFileCreateSpec)(nil)).Elem()
- minAPIVersionForType["AnswerFileCreateSpec"] = "5.0"
}
// The `AnswerFileOptionsCreateSpec`
@@ -1831,7 +1818,6 @@ type AnswerFileOptionsCreateSpec struct {
func init() {
t["AnswerFileOptionsCreateSpec"] = reflect.TypeOf((*AnswerFileOptionsCreateSpec)(nil)).Elem()
- minAPIVersionForType["AnswerFileOptionsCreateSpec"] = "5.0"
}
// The `AnswerFileSerializedCreateSpec` data object
@@ -1845,7 +1831,6 @@ type AnswerFileSerializedCreateSpec struct {
func init() {
t["AnswerFileSerializedCreateSpec"] = reflect.TypeOf((*AnswerFileSerializedCreateSpec)(nil)).Elem()
- minAPIVersionForType["AnswerFileSerializedCreateSpec"] = "5.0"
}
// The `AnswerFileStatusError` data object describes an answer file
@@ -1862,7 +1847,6 @@ type AnswerFileStatusError struct {
func init() {
t["AnswerFileStatusError"] = reflect.TypeOf((*AnswerFileStatusError)(nil)).Elem()
- minAPIVersionForType["AnswerFileStatusError"] = "5.0"
}
// The `AnswerFileStatusResult` data object shows the validity of the
@@ -1887,7 +1871,6 @@ type AnswerFileStatusResult struct {
func init() {
t["AnswerFileStatusResult"] = reflect.TypeOf((*AnswerFileStatusResult)(nil)).Elem()
- minAPIVersionForType["AnswerFileStatusResult"] = "5.0"
}
// Could not update the answer file as it has invalid inputs.
@@ -1900,7 +1883,6 @@ type AnswerFileUpdateFailed struct {
func init() {
t["AnswerFileUpdateFailed"] = reflect.TypeOf((*AnswerFileUpdateFailed)(nil)).Elem()
- minAPIVersionForType["AnswerFileUpdateFailed"] = "5.0"
}
type AnswerFileUpdateFailedFault AnswerFileUpdateFailed
@@ -1922,7 +1904,6 @@ type AnswerFileUpdateFailure struct {
func init() {
t["AnswerFileUpdateFailure"] = reflect.TypeOf((*AnswerFileUpdateFailure)(nil)).Elem()
- minAPIVersionForType["AnswerFileUpdateFailure"] = "5.0"
}
type AnswerVM AnswerVMRequestType
@@ -2042,7 +2023,7 @@ type ApplyHostConfigRequestType struct {
// `HostProfile*.*HostProfile.ExecuteHostProfile`
// method, contained in the `ProfileExecuteResult` object
// returned by the method.
- UserInput []ProfileDeferredPolicyOptionParameter `xml:"userInput,omitempty" json:"userInput,omitempty" vim:"5.0"`
+ UserInput []ProfileDeferredPolicyOptionParameter `xml:"userInput,omitempty" json:"userInput,omitempty"`
}
func init() {
@@ -2086,7 +2067,6 @@ type ApplyHostProfileConfigurationResult struct {
func init() {
t["ApplyHostProfileConfigurationResult"] = reflect.TypeOf((*ApplyHostProfileConfigurationResult)(nil)).Elem()
- minAPIVersionForType["ApplyHostProfileConfigurationResult"] = "6.5"
}
// The data object that contains the objects needed to remediate a host
@@ -2129,7 +2109,6 @@ type ApplyHostProfileConfigurationSpec struct {
func init() {
t["ApplyHostProfileConfigurationSpec"] = reflect.TypeOf((*ApplyHostProfileConfigurationSpec)(nil)).Elem()
- minAPIVersionForType["ApplyHostProfileConfigurationSpec"] = "6.5"
}
// The `ApplyProfile` data object is the base class for all data objects
@@ -2151,35 +2130,34 @@ type ApplyProfile struct {
// list.
Policy []ProfilePolicy `xml:"policy,omitempty" json:"policy,omitempty"`
// Identifies the profile type.
- ProfileTypeName string `xml:"profileTypeName,omitempty" json:"profileTypeName,omitempty" vim:"5.0"`
+ ProfileTypeName string `xml:"profileTypeName,omitempty" json:"profileTypeName,omitempty"`
// Profile engine version.
- ProfileVersion string `xml:"profileVersion,omitempty" json:"profileVersion,omitempty" vim:"5.0"`
+ ProfileVersion string `xml:"profileVersion,omitempty" json:"profileVersion,omitempty"`
// List of subprofiles for this profile.
//
// This list can change depending on which profile plug-ins are available in the system.
// Subprofiles can be nested to arbitrary depths to represent host capabilities.
- Property []ProfileApplyProfileProperty `xml:"property,omitempty" json:"property,omitempty" vim:"5.0"`
+ Property []ProfileApplyProfileProperty `xml:"property,omitempty" json:"property,omitempty"`
// Indicates whether this profile is marked as "favorite".
- Favorite *bool `xml:"favorite" json:"favorite,omitempty" vim:"6.5"`
+ Favorite *bool `xml:"favorite" json:"favorite,omitempty"`
// Indicates whether this profile is marked as to-be-merged.
- ToBeMerged *bool `xml:"toBeMerged" json:"toBeMerged,omitempty" vim:"6.5"`
+ ToBeMerged *bool `xml:"toBeMerged" json:"toBeMerged,omitempty"`
// Indicates whether the selected array elements, with the current
// as one of them, replace the profile array in the target host
// profile.
- ToReplaceWith *bool `xml:"toReplaceWith" json:"toReplaceWith,omitempty" vim:"6.5"`
+ ToReplaceWith *bool `xml:"toReplaceWith" json:"toReplaceWith,omitempty"`
// Indicates whether this profile is marked as to-be-deleted.
- ToBeDeleted *bool `xml:"toBeDeleted" json:"toBeDeleted,omitempty" vim:"6.5"`
+ ToBeDeleted *bool `xml:"toBeDeleted" json:"toBeDeleted,omitempty"`
// Indicates that the member variable enabled
of this profile
// will be copied from source profile to target profiles at host profile
// composition.
- CopyEnableStatus *bool `xml:"copyEnableStatus" json:"copyEnableStatus,omitempty" vim:"6.5"`
+ CopyEnableStatus *bool `xml:"copyEnableStatus" json:"copyEnableStatus,omitempty"`
// Indicates whether this profile will be displayed or not.
- Hidden *bool `xml:"hidden" json:"hidden,omitempty" vim:"6.7"`
+ Hidden *bool `xml:"hidden" json:"hidden,omitempty"`
}
func init() {
t["ApplyProfile"] = reflect.TypeOf((*ApplyProfile)(nil)).Elem()
- minAPIVersionForType["ApplyProfile"] = "4.0"
}
type ApplyRecommendation ApplyRecommendationRequestType
@@ -2273,7 +2251,6 @@ type ApplyStorageRecommendationResult struct {
func init() {
t["ApplyStorageRecommendationResult"] = reflect.TypeOf((*ApplyStorageRecommendationResult)(nil)).Elem()
- minAPIVersionForType["ApplyStorageRecommendationResult"] = "5.0"
}
type AreAlarmActionsEnabled AreAlarmActionsEnabledRequestType
@@ -2454,7 +2431,7 @@ func init() {
// A boxed array of `PrimitiveByte`. To be used in `Any` placeholders.
type ArrayOfByte struct {
- Byte []byte `xml:"byte,omitempty" json:"_value"`
+ Byte ByteSlice `xml:"byte,omitempty" json:"_value"`
}
func init() {
@@ -2551,6 +2528,16 @@ func init() {
t["ArrayOfClusterComputeResourceHostConfigurationInput"] = reflect.TypeOf((*ArrayOfClusterComputeResourceHostConfigurationInput)(nil)).Elem()
}
+// A boxed array of `ClusterComputeResourceHostEvacuationInfo`. To be used in `Any` placeholders.
+type ArrayOfClusterComputeResourceHostEvacuationInfo struct {
+ ClusterComputeResourceHostEvacuationInfo []ClusterComputeResourceHostEvacuationInfo `xml:"ClusterComputeResourceHostEvacuationInfo,omitempty" json:"_value"`
+}
+
+func init() {
+ t["ArrayOfClusterComputeResourceHostEvacuationInfo"] = reflect.TypeOf((*ArrayOfClusterComputeResourceHostEvacuationInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfClusterComputeResourceHostEvacuationInfo"] = "8.0.3.0"
+}
+
// A boxed array of `ClusterComputeResourceHostVmkNicInfo`. To be used in `Any` placeholders.
type ArrayOfClusterComputeResourceHostVmkNicInfo struct {
ClusterComputeResourceHostVmkNicInfo []ClusterComputeResourceHostVmkNicInfo `xml:"ClusterComputeResourceHostVmkNicInfo,omitempty" json:"_value"`
@@ -2576,6 +2563,7 @@ type ArrayOfClusterComputeResourceVcsSlots struct {
func init() {
t["ArrayOfClusterComputeResourceVcsSlots"] = reflect.TypeOf((*ArrayOfClusterComputeResourceVcsSlots)(nil)).Elem()
+ minAPIVersionForType["ArrayOfClusterComputeResourceVcsSlots"] = "7.0.1.1"
}
// A boxed array of `ClusterDasAamNodeState`. To be used in `Any` placeholders.
@@ -2630,6 +2618,7 @@ type ArrayOfClusterDatastoreUpdateSpec struct {
func init() {
t["ArrayOfClusterDatastoreUpdateSpec"] = reflect.TypeOf((*ArrayOfClusterDatastoreUpdateSpec)(nil)).Elem()
+ minAPIVersionForType["ArrayOfClusterDatastoreUpdateSpec"] = "7.0.3.0"
}
// A boxed array of `ClusterDpmHostConfigInfo`. To be used in `Any` placeholders.
@@ -2801,6 +2790,7 @@ type ArrayOfClusterTagCategoryUpdateSpec struct {
func init() {
t["ArrayOfClusterTagCategoryUpdateSpec"] = reflect.TypeOf((*ArrayOfClusterTagCategoryUpdateSpec)(nil)).Elem()
+ minAPIVersionForType["ArrayOfClusterTagCategoryUpdateSpec"] = "7.0.3.0"
}
// A boxed array of `ClusterVmOrchestrationInfo`. To be used in `Any` placeholders.
@@ -2909,6 +2899,7 @@ type ArrayOfCryptoManagerHostKeyStatus struct {
func init() {
t["ArrayOfCryptoManagerHostKeyStatus"] = reflect.TypeOf((*ArrayOfCryptoManagerHostKeyStatus)(nil)).Elem()
+ minAPIVersionForType["ArrayOfCryptoManagerHostKeyStatus"] = "8.0.1.0"
}
// A boxed array of `CryptoManagerKmipClusterStatus`. To be used in `Any` placeholders.
@@ -3017,6 +3008,7 @@ type ArrayOfDVSManagerPhysicalNicsList struct {
func init() {
t["ArrayOfDVSManagerPhysicalNicsList"] = reflect.TypeOf((*ArrayOfDVSManagerPhysicalNicsList)(nil)).Elem()
+ minAPIVersionForType["ArrayOfDVSManagerPhysicalNicsList"] = "8.0.0.1"
}
// A boxed array of `DVSNetworkResourcePool`. To be used in `Any` placeholders.
@@ -3107,6 +3099,7 @@ type ArrayOfDesiredSoftwareSpecComponentSpec struct {
func init() {
t["ArrayOfDesiredSoftwareSpecComponentSpec"] = reflect.TypeOf((*ArrayOfDesiredSoftwareSpecComponentSpec)(nil)).Elem()
+ minAPIVersionForType["ArrayOfDesiredSoftwareSpecComponentSpec"] = "7.0.2.0"
}
// A boxed array of `DiagnosticManagerBundleInfo`. To be used in `Any` placeholders.
@@ -3181,6 +3174,16 @@ func init() {
t["ArrayOfDistributedVirtualSwitchHostMemberConfigSpec"] = reflect.TypeOf((*ArrayOfDistributedVirtualSwitchHostMemberConfigSpec)(nil)).Elem()
}
+// A boxed array of `DistributedVirtualSwitchHostMemberHostUplinkState`. To be used in `Any` placeholders.
+type ArrayOfDistributedVirtualSwitchHostMemberHostUplinkState struct {
+ DistributedVirtualSwitchHostMemberHostUplinkState []DistributedVirtualSwitchHostMemberHostUplinkState `xml:"DistributedVirtualSwitchHostMemberHostUplinkState,omitempty" json:"_value"`
+}
+
+func init() {
+ t["ArrayOfDistributedVirtualSwitchHostMemberHostUplinkState"] = reflect.TypeOf((*ArrayOfDistributedVirtualSwitchHostMemberHostUplinkState)(nil)).Elem()
+ minAPIVersionForType["ArrayOfDistributedVirtualSwitchHostMemberHostUplinkState"] = "8.0.3.0"
+}
+
// A boxed array of `DistributedVirtualSwitchHostMemberPnicSpec`. To be used in `Any` placeholders.
type ArrayOfDistributedVirtualSwitchHostMemberPnicSpec struct {
DistributedVirtualSwitchHostMemberPnicSpec []DistributedVirtualSwitchHostMemberPnicSpec `xml:"DistributedVirtualSwitchHostMemberPnicSpec,omitempty" json:"_value"`
@@ -3251,6 +3254,7 @@ type ArrayOfDistributedVirtualSwitchNetworkOffloadSpec struct {
func init() {
t["ArrayOfDistributedVirtualSwitchNetworkOffloadSpec"] = reflect.TypeOf((*ArrayOfDistributedVirtualSwitchNetworkOffloadSpec)(nil)).Elem()
+ minAPIVersionForType["ArrayOfDistributedVirtualSwitchNetworkOffloadSpec"] = "8.0.0.1"
}
// A boxed array of `DistributedVirtualSwitchProductSpec`. To be used in `Any` placeholders.
@@ -3278,6 +3282,7 @@ type ArrayOfDpuStatusInfo struct {
func init() {
t["ArrayOfDpuStatusInfo"] = reflect.TypeOf((*ArrayOfDpuStatusInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfDpuStatusInfo"] = "8.0.0.1"
}
// A boxed array of `DpuStatusInfoOperationalInfo`. To be used in `Any` placeholders.
@@ -3287,6 +3292,7 @@ type ArrayOfDpuStatusInfoOperationalInfo struct {
func init() {
t["ArrayOfDpuStatusInfoOperationalInfo"] = reflect.TypeOf((*ArrayOfDpuStatusInfoOperationalInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfDpuStatusInfoOperationalInfo"] = "8.0.0.1"
}
// A boxed array of `DvsApplyOperationFaultFaultOnObject`. To be used in `Any` placeholders.
@@ -3647,6 +3653,7 @@ type ArrayOfFeatureEVCMode struct {
func init() {
t["ArrayOfFeatureEVCMode"] = reflect.TypeOf((*ArrayOfFeatureEVCMode)(nil)).Elem()
+ minAPIVersionForType["ArrayOfFeatureEVCMode"] = "7.0.1.0"
}
// A boxed array of `FileInfo`. To be used in `Any` placeholders.
@@ -3665,6 +3672,7 @@ type ArrayOfFileLockInfo struct {
func init() {
t["ArrayOfFileLockInfo"] = reflect.TypeOf((*ArrayOfFileLockInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfFileLockInfo"] = "8.0.2.0"
}
// A boxed array of `FileQuery`. To be used in `Any` placeholders.
@@ -4097,6 +4105,7 @@ type ArrayOfHostDvxClass struct {
func init() {
t["ArrayOfHostDvxClass"] = reflect.TypeOf((*ArrayOfHostDvxClass)(nil)).Elem()
+ minAPIVersionForType["ArrayOfHostDvxClass"] = "8.0.0.1"
}
// A boxed array of `HostEventArgument`. To be used in `Any` placeholders.
@@ -4367,6 +4376,7 @@ type ArrayOfHostMemoryTierInfo struct {
func init() {
t["ArrayOfHostMemoryTierInfo"] = reflect.TypeOf((*ArrayOfHostMemoryTierInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfHostMemoryTierInfo"] = "7.0.3.0"
}
// A boxed array of `HostMultipathInfoLogicalUnit`. To be used in `Any` placeholders.
@@ -4549,6 +4559,16 @@ func init() {
t["ArrayOfHostOpaqueSwitchPhysicalNicZone"] = reflect.TypeOf((*ArrayOfHostOpaqueSwitchPhysicalNicZone)(nil)).Elem()
}
+// A boxed array of `HostPartialMaintenanceModeRuntimeInfo`. To be used in `Any` placeholders.
+type ArrayOfHostPartialMaintenanceModeRuntimeInfo struct {
+ HostPartialMaintenanceModeRuntimeInfo []HostPartialMaintenanceModeRuntimeInfo `xml:"HostPartialMaintenanceModeRuntimeInfo,omitempty" json:"_value"`
+}
+
+func init() {
+ t["ArrayOfHostPartialMaintenanceModeRuntimeInfo"] = reflect.TypeOf((*ArrayOfHostPartialMaintenanceModeRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfHostPartialMaintenanceModeRuntimeInfo"] = "8.0.3.0"
+}
+
// A boxed array of `HostPatchManagerStatus`. To be used in `Any` placeholders.
type ArrayOfHostPatchManagerStatus struct {
HostPatchManagerStatus []HostPatchManagerStatus `xml:"HostPatchManagerStatus,omitempty" json:"_value"`
@@ -4781,6 +4801,7 @@ type ArrayOfHostPtpConfigPtpPort struct {
func init() {
t["ArrayOfHostPtpConfigPtpPort"] = reflect.TypeOf((*ArrayOfHostPtpConfigPtpPort)(nil)).Elem()
+ minAPIVersionForType["ArrayOfHostPtpConfigPtpPort"] = "7.0.3.0"
}
// A boxed array of `HostQualifiedName`. To be used in `Any` placeholders.
@@ -4790,6 +4811,7 @@ type ArrayOfHostQualifiedName struct {
func init() {
t["ArrayOfHostQualifiedName"] = reflect.TypeOf((*ArrayOfHostQualifiedName)(nil)).Elem()
+ minAPIVersionForType["ArrayOfHostQualifiedName"] = "7.0.3.0"
}
// A boxed array of `HostRdmaDevice`. To be used in `Any` placeholders.
@@ -5024,6 +5046,7 @@ type ArrayOfHostTrustAuthorityAttestationInfo struct {
func init() {
t["ArrayOfHostTrustAuthorityAttestationInfo"] = reflect.TypeOf((*ArrayOfHostTrustAuthorityAttestationInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfHostTrustAuthorityAttestationInfo"] = "7.0.1.0"
}
// A boxed array of `HostUnresolvedVmfsExtent`. To be used in `Any` placeholders.
@@ -5186,6 +5209,7 @@ type ArrayOfHostVvolNQN struct {
func init() {
t["ArrayOfHostVvolNQN"] = reflect.TypeOf((*ArrayOfHostVvolNQN)(nil)).Elem()
+ minAPIVersionForType["ArrayOfHostVvolNQN"] = "8.0.2.0"
}
// A boxed array of `HostVvolVolumeHostVvolNQN`. To be used in `Any` placeholders.
@@ -5195,6 +5219,7 @@ type ArrayOfHostVvolVolumeHostVvolNQN struct {
func init() {
t["ArrayOfHostVvolVolumeHostVvolNQN"] = reflect.TypeOf((*ArrayOfHostVvolVolumeHostVvolNQN)(nil)).Elem()
+ minAPIVersionForType["ArrayOfHostVvolVolumeHostVvolNQN"] = "8.0.2.0"
}
// A boxed array of `HttpNfcLeaseDatastoreLeaseInfo`. To be used in `Any` placeholders.
@@ -5240,6 +5265,7 @@ type ArrayOfHttpNfcLeaseProbeResult struct {
func init() {
t["ArrayOfHttpNfcLeaseProbeResult"] = reflect.TypeOf((*ArrayOfHttpNfcLeaseProbeResult)(nil)).Elem()
+ minAPIVersionForType["ArrayOfHttpNfcLeaseProbeResult"] = "7.0.2.0"
}
// A boxed array of `HttpNfcLeaseSourceFile`. To be used in `Any` placeholders.
@@ -5600,6 +5626,7 @@ type ArrayOfNoPermissionEntityPrivileges struct {
func init() {
t["ArrayOfNoPermissionEntityPrivileges"] = reflect.TypeOf((*ArrayOfNoPermissionEntityPrivileges)(nil)).Elem()
+ minAPIVersionForType["ArrayOfNoPermissionEntityPrivileges"] = "7.0.3.2"
}
// A boxed array of `NsxHostVNicProfile`. To be used in `Any` placeholders.
@@ -6589,6 +6616,7 @@ type ArrayOfVASAStorageArrayDiscoverySvcInfo struct {
func init() {
t["ArrayOfVASAStorageArrayDiscoverySvcInfo"] = reflect.TypeOf((*ArrayOfVASAStorageArrayDiscoverySvcInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVASAStorageArrayDiscoverySvcInfo"] = "8.0.0.0"
}
// A boxed array of `VAppCloneSpecNetworkMappingPair`. To be used in `Any` placeholders.
@@ -6886,6 +6914,7 @@ type ArrayOfVirtualMachineBaseIndependentFilterSpec struct {
func init() {
t["ArrayOfVirtualMachineBaseIndependentFilterSpec"] = reflect.TypeOf((*ArrayOfVirtualMachineBaseIndependentFilterSpec)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVirtualMachineBaseIndependentFilterSpec"] = "7.0.2.1"
}
// A boxed array of `VirtualMachineBootOptionsBootableDevice`. To be used in `Any` placeholders.
@@ -6913,6 +6942,7 @@ type ArrayOfVirtualMachineCertThumbprint struct {
func init() {
t["ArrayOfVirtualMachineCertThumbprint"] = reflect.TypeOf((*ArrayOfVirtualMachineCertThumbprint)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVirtualMachineCertThumbprint"] = "7.0.3.1"
}
// A boxed array of `VirtualMachineConfigInfoDatastoreUrlPair`. To be used in `Any` placeholders.
@@ -6949,6 +6979,7 @@ type ArrayOfVirtualMachineConnection struct {
func init() {
t["ArrayOfVirtualMachineConnection"] = reflect.TypeOf((*ArrayOfVirtualMachineConnection)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVirtualMachineConnection"] = "7.0.1.0"
}
// A boxed array of `VirtualMachineCpuIdInfoSpec`. To be used in `Any` placeholders.
@@ -7003,6 +7034,7 @@ type ArrayOfVirtualMachineDvxClassInfo struct {
func init() {
t["ArrayOfVirtualMachineDvxClassInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineDvxClassInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVirtualMachineDvxClassInfo"] = "8.0.0.1"
}
// A boxed array of `VirtualMachineDynamicPassthroughInfo`. To be used in `Any` placeholders.
@@ -7219,6 +7251,7 @@ type ArrayOfVirtualMachineQuickStatsMemoryTierStats struct {
func init() {
t["ArrayOfVirtualMachineQuickStatsMemoryTierStats"] = reflect.TypeOf((*ArrayOfVirtualMachineQuickStatsMemoryTierStats)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVirtualMachineQuickStatsMemoryTierStats"] = "7.0.3.0"
}
// A boxed array of `VirtualMachineRelocateSpecDiskLocator`. To be used in `Any` placeholders.
@@ -7336,6 +7369,7 @@ type ArrayOfVirtualMachineVMotionStunTimeInfo struct {
func init() {
t["ArrayOfVirtualMachineVMotionStunTimeInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineVMotionStunTimeInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVirtualMachineVMotionStunTimeInfo"] = "8.0.2.0"
}
// A boxed array of `VirtualMachineVcpuConfig`. To be used in `Any` placeholders.
@@ -7354,6 +7388,7 @@ type ArrayOfVirtualMachineVendorDeviceGroupInfo struct {
func init() {
t["ArrayOfVirtualMachineVendorDeviceGroupInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineVendorDeviceGroupInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVirtualMachineVendorDeviceGroupInfo"] = "8.0.0.1"
}
// A boxed array of `VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo`. To be used in `Any` placeholders.
@@ -7363,6 +7398,7 @@ type ArrayOfVirtualMachineVendorDeviceGroupInfoComponentDeviceInfo struct {
func init() {
t["ArrayOfVirtualMachineVendorDeviceGroupInfoComponentDeviceInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineVendorDeviceGroupInfoComponentDeviceInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVirtualMachineVendorDeviceGroupInfoComponentDeviceInfo"] = "8.0.0.1"
}
// A boxed array of `VirtualMachineVgpuDeviceInfo`. To be used in `Any` placeholders.
@@ -7372,6 +7408,7 @@ type ArrayOfVirtualMachineVgpuDeviceInfo struct {
func init() {
t["ArrayOfVirtualMachineVgpuDeviceInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineVgpuDeviceInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVirtualMachineVgpuDeviceInfo"] = "7.0.3.0"
}
// A boxed array of `VirtualMachineVgpuProfileInfo`. To be used in `Any` placeholders.
@@ -7381,6 +7418,7 @@ type ArrayOfVirtualMachineVgpuProfileInfo struct {
func init() {
t["ArrayOfVirtualMachineVgpuProfileInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineVgpuProfileInfo)(nil)).Elem()
+ minAPIVersionForType["ArrayOfVirtualMachineVgpuProfileInfo"] = "7.0.3.0"
}
// A boxed array of `VirtualMachineVirtualDeviceGroupsDeviceGroup`. To be used in `Any` placeholders.
@@ -7863,7 +7901,6 @@ type AuthenticationProfile struct {
func init() {
t["AuthenticationProfile"] = reflect.TypeOf((*AuthenticationProfile)(nil)).Elem()
- minAPIVersionForType["AuthenticationProfile"] = "4.1"
}
// Static strings for authorization.
@@ -8017,12 +8054,12 @@ type AutoStartPowerInfo struct {
// powered on at any time. Machines with a -1 value are typically powered on and
// off after all virtual machines with positive startOrder values. Failure to
// meet the following requirements results in an InvalidArgument exception:
- // - startOrder must be set to -1 if startAction is set to none
- // - startOrder must be -1 or positive integers. Values such as 0 or
- // \-2 are not valid.
- // - startOrder is relative to other virtual machines in the autostart
- // sequence. Hence specifying a startOrder of 4 when there are only 3
- // virtual machines in the Autostart sequence is not valid.
+ // - startOrder must be set to -1 if startAction is set to none
+ // - startOrder must be -1 or positive integers. Values such as 0 or
+ // \-2 are not valid.
+ // - startOrder is relative to other virtual machines in the autostart
+ // sequence. Hence specifying a startOrder of 4 when there are only 3
+ // virtual machines in the Autostart sequence is not valid.
//
// If a newly established or changed startOrder value for a virtual machine
// matches an existing startOrder value, the newly applied value takes
@@ -8116,7 +8153,6 @@ type BackupBlobReadFailure struct {
func init() {
t["BackupBlobReadFailure"] = reflect.TypeOf((*BackupBlobReadFailure)(nil)).Elem()
- minAPIVersionForType["BackupBlobReadFailure"] = "5.1"
}
type BackupBlobReadFailureFault BackupBlobReadFailure
@@ -8139,7 +8175,6 @@ type BackupBlobWriteFailure struct {
func init() {
t["BackupBlobWriteFailure"] = reflect.TypeOf((*BackupBlobWriteFailure)(nil)).Elem()
- minAPIVersionForType["BackupBlobWriteFailure"] = "5.1"
}
type BackupBlobWriteFailureFault BackupBlobWriteFailure
@@ -8200,19 +8235,19 @@ type BaseConfigInfo struct {
// Choice of the deletion behavior of this virtual storage object.
//
// If not set, the default value is false.
- KeepAfterDeleteVm *bool `xml:"keepAfterDeleteVm" json:"keepAfterDeleteVm,omitempty" vim:"6.7"`
+ KeepAfterDeleteVm *bool `xml:"keepAfterDeleteVm" json:"keepAfterDeleteVm,omitempty"`
// Is virtual storage object relocation disabled.
//
// If not set, the default value is false.
- RelocationDisabled *bool `xml:"relocationDisabled" json:"relocationDisabled,omitempty" vim:"6.7"`
+ RelocationDisabled *bool `xml:"relocationDisabled" json:"relocationDisabled,omitempty"`
// Is virtual storage object supports native snapshot.
//
// If not set, the default value is false.
- NativeSnapshotSupported *bool `xml:"nativeSnapshotSupported" json:"nativeSnapshotSupported,omitempty" vim:"6.7"`
+ NativeSnapshotSupported *bool `xml:"nativeSnapshotSupported" json:"nativeSnapshotSupported,omitempty"`
// If Virtua storage object has changed block tracking enabled.
//
// If not set, the default value is false.
- ChangedBlockTrackingEnabled *bool `xml:"changedBlockTrackingEnabled" json:"changedBlockTrackingEnabled,omitempty" vim:"6.7"`
+ ChangedBlockTrackingEnabled *bool `xml:"changedBlockTrackingEnabled" json:"changedBlockTrackingEnabled,omitempty"`
// Backing of this object.
Backing BaseBaseConfigInfoBackingInfo `xml:"backing,typeattr" json:"backing"`
// Metadata associated with the FCD if available.
@@ -8225,12 +8260,11 @@ type BaseConfigInfo struct {
//
// See `IoFilterInfo.id`.
// The client cannot modify this information on a virtual machine.
- Iofilter []string `xml:"iofilter,omitempty" json:"iofilter,omitempty" vim:"6.7"`
+ Iofilter []string `xml:"iofilter,omitempty" json:"iofilter,omitempty"`
}
func init() {
t["BaseConfigInfo"] = reflect.TypeOf((*BaseConfigInfo)(nil)).Elem()
- minAPIVersionForType["BaseConfigInfo"] = "6.5"
}
// The data object type is a base type of backing of a virtual
@@ -8246,7 +8280,6 @@ type BaseConfigInfoBackingInfo struct {
func init() {
t["BaseConfigInfoBackingInfo"] = reflect.TypeOf((*BaseConfigInfoBackingInfo)(nil)).Elem()
- minAPIVersionForType["BaseConfigInfoBackingInfo"] = "6.5"
}
// The data object type for disk file backing of a virtual storage
@@ -8266,7 +8299,6 @@ type BaseConfigInfoDiskFileBackingInfo struct {
func init() {
t["BaseConfigInfoDiskFileBackingInfo"] = reflect.TypeOf((*BaseConfigInfoDiskFileBackingInfo)(nil)).Elem()
- minAPIVersionForType["BaseConfigInfoDiskFileBackingInfo"] = "6.5"
}
// Information for file backing of a virtual storage
@@ -8300,12 +8332,11 @@ type BaseConfigInfoFileBackingInfo struct {
// `BaseConfigInfoFileBackingInfo.parent` is set.
DeltaSizeInMB int64 `xml:"deltaSizeInMB,omitempty" json:"deltaSizeInMB,omitempty"`
// key id used to encrypt the backing disk.
- KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty" vim:"7.0"`
+ KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty"`
}
func init() {
t["BaseConfigInfoFileBackingInfo"] = reflect.TypeOf((*BaseConfigInfoFileBackingInfo)(nil)).Elem()
- minAPIVersionForType["BaseConfigInfoFileBackingInfo"] = "6.5"
}
// This data object type contains information about raw device mapping.
@@ -8325,7 +8356,6 @@ type BaseConfigInfoRawDiskMappingBackingInfo struct {
func init() {
t["BaseConfigInfoRawDiskMappingBackingInfo"] = reflect.TypeOf((*BaseConfigInfoRawDiskMappingBackingInfo)(nil)).Elem()
- minAPIVersionForType["BaseConfigInfoRawDiskMappingBackingInfo"] = "6.5"
}
// The parameters of `Folder.BatchAddHostsToCluster_Task`.
@@ -8436,7 +8466,6 @@ type BatchResult struct {
func init() {
t["BatchResult"] = reflect.TypeOf((*BatchResult)(nil)).Elem()
- minAPIVersionForType["BatchResult"] = "6.0"
}
type BindVnic BindVnicRequestType
@@ -8470,7 +8499,6 @@ type BlockedByFirewall struct {
func init() {
t["BlockedByFirewall"] = reflect.TypeOf((*BlockedByFirewall)(nil)).Elem()
- minAPIVersionForType["BlockedByFirewall"] = "4.1"
}
type BlockedByFirewallFault BlockedByFirewall
@@ -8507,7 +8535,6 @@ type BoolPolicy struct {
func init() {
t["BoolPolicy"] = reflect.TypeOf((*BoolPolicy)(nil)).Elem()
- minAPIVersionForType["BoolPolicy"] = "4.0"
}
type BrowseDiagnosticLog BrowseDiagnosticLogRequestType
@@ -8556,7 +8583,6 @@ type CAMServerRefusedConnection struct {
func init() {
t["CAMServerRefusedConnection"] = reflect.TypeOf((*CAMServerRefusedConnection)(nil)).Elem()
- minAPIVersionForType["CAMServerRefusedConnection"] = "5.0"
}
type CAMServerRefusedConnectionFault CAMServerRefusedConnection
@@ -8578,7 +8604,7 @@ type CanProvisionObjectsRequestType struct {
Npbs []VsanNewPolicyBatch `xml:"npbs" json:"npbs"`
// Optionally populate PolicyCost even though
// object cannot be provisioned in the current cluster topology.
- IgnoreSatisfiability *bool `xml:"ignoreSatisfiability" json:"ignoreSatisfiability,omitempty" vim:"6.0"`
+ IgnoreSatisfiability *bool `xml:"ignoreSatisfiability" json:"ignoreSatisfiability,omitempty"`
}
func init() {
@@ -8745,7 +8771,7 @@ type CannotAccessNetwork struct {
// A reference to the network that cannot be accessed
//
// Refers instance of `Network`.
- Network *ManagedObjectReference `xml:"network,omitempty" json:"network,omitempty" vim:"6.0"`
+ Network *ManagedObjectReference `xml:"network,omitempty" json:"network,omitempty"`
}
func init() {
@@ -8862,7 +8888,6 @@ type CannotAddHostWithFTVmAsStandalone struct {
func init() {
t["CannotAddHostWithFTVmAsStandalone"] = reflect.TypeOf((*CannotAddHostWithFTVmAsStandalone)(nil)).Elem()
- minAPIVersionForType["CannotAddHostWithFTVmAsStandalone"] = "4.0"
}
type CannotAddHostWithFTVmAsStandaloneFault CannotAddHostWithFTVmAsStandalone
@@ -8879,7 +8904,6 @@ type CannotAddHostWithFTVmToDifferentCluster struct {
func init() {
t["CannotAddHostWithFTVmToDifferentCluster"] = reflect.TypeOf((*CannotAddHostWithFTVmToDifferentCluster)(nil)).Elem()
- minAPIVersionForType["CannotAddHostWithFTVmToDifferentCluster"] = "4.0"
}
type CannotAddHostWithFTVmToDifferentClusterFault CannotAddHostWithFTVmToDifferentCluster
@@ -8895,7 +8919,6 @@ type CannotAddHostWithFTVmToNonHACluster struct {
func init() {
t["CannotAddHostWithFTVmToNonHACluster"] = reflect.TypeOf((*CannotAddHostWithFTVmToNonHACluster)(nil)).Elem()
- minAPIVersionForType["CannotAddHostWithFTVmToNonHACluster"] = "4.0"
}
type CannotAddHostWithFTVmToNonHAClusterFault CannotAddHostWithFTVmToNonHACluster
@@ -8919,7 +8942,6 @@ type CannotChangeDrsBehaviorForFtSecondary struct {
func init() {
t["CannotChangeDrsBehaviorForFtSecondary"] = reflect.TypeOf((*CannotChangeDrsBehaviorForFtSecondary)(nil)).Elem()
- minAPIVersionForType["CannotChangeDrsBehaviorForFtSecondary"] = "4.1"
}
type CannotChangeDrsBehaviorForFtSecondaryFault CannotChangeDrsBehaviorForFtSecondary
@@ -8943,7 +8965,6 @@ type CannotChangeHaSettingsForFtSecondary struct {
func init() {
t["CannotChangeHaSettingsForFtSecondary"] = reflect.TypeOf((*CannotChangeHaSettingsForFtSecondary)(nil)).Elem()
- minAPIVersionForType["CannotChangeHaSettingsForFtSecondary"] = "4.1"
}
type CannotChangeHaSettingsForFtSecondaryFault CannotChangeHaSettingsForFtSecondary
@@ -8967,7 +8988,6 @@ type CannotChangeVsanClusterUuid struct {
func init() {
t["CannotChangeVsanClusterUuid"] = reflect.TypeOf((*CannotChangeVsanClusterUuid)(nil)).Elem()
- minAPIVersionForType["CannotChangeVsanClusterUuid"] = "5.5"
}
type CannotChangeVsanClusterUuidFault CannotChangeVsanClusterUuid
@@ -8988,7 +9008,6 @@ type CannotChangeVsanNodeUuid struct {
func init() {
t["CannotChangeVsanNodeUuid"] = reflect.TypeOf((*CannotChangeVsanNodeUuid)(nil)).Elem()
- minAPIVersionForType["CannotChangeVsanNodeUuid"] = "5.5"
}
type CannotChangeVsanNodeUuidFault CannotChangeVsanNodeUuid
@@ -9011,7 +9030,6 @@ type CannotComputeFTCompatibleHosts struct {
func init() {
t["CannotComputeFTCompatibleHosts"] = reflect.TypeOf((*CannotComputeFTCompatibleHosts)(nil)).Elem()
- minAPIVersionForType["CannotComputeFTCompatibleHosts"] = "6.0"
}
type CannotComputeFTCompatibleHostsFault CannotComputeFTCompatibleHosts
@@ -9028,7 +9046,6 @@ type CannotCreateFile struct {
func init() {
t["CannotCreateFile"] = reflect.TypeOf((*CannotCreateFile)(nil)).Elem()
- minAPIVersionForType["CannotCreateFile"] = "2.5"
}
type CannotCreateFileFault CannotCreateFile
@@ -9077,7 +9094,6 @@ type CannotDisableDrsOnClustersWithVApps struct {
func init() {
t["CannotDisableDrsOnClustersWithVApps"] = reflect.TypeOf((*CannotDisableDrsOnClustersWithVApps)(nil)).Elem()
- minAPIVersionForType["CannotDisableDrsOnClustersWithVApps"] = "4.1"
}
type CannotDisableDrsOnClustersWithVAppsFault CannotDisableDrsOnClustersWithVApps
@@ -9097,7 +9113,6 @@ type CannotDisableSnapshot struct {
func init() {
t["CannotDisableSnapshot"] = reflect.TypeOf((*CannotDisableSnapshot)(nil)).Elem()
- minAPIVersionForType["CannotDisableSnapshot"] = "2.5"
}
type CannotDisableSnapshotFault CannotDisableSnapshot
@@ -9117,7 +9132,6 @@ type CannotDisconnectHostWithFaultToleranceVm struct {
func init() {
t["CannotDisconnectHostWithFaultToleranceVm"] = reflect.TypeOf((*CannotDisconnectHostWithFaultToleranceVm)(nil)).Elem()
- minAPIVersionForType["CannotDisconnectHostWithFaultToleranceVm"] = "4.0"
}
type CannotDisconnectHostWithFaultToleranceVmFault CannotDisconnectHostWithFaultToleranceVm
@@ -9149,13 +9163,12 @@ type CannotEnableVmcpForCluster struct {
// for enabling vSphere VMCP.
//
// It can be the following reason.
- // - APDTimeout disabled.
+ // - APDTimeout disabled.
Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
t["CannotEnableVmcpForCluster"] = reflect.TypeOf((*CannotEnableVmcpForCluster)(nil)).Elem()
- minAPIVersionForType["CannotEnableVmcpForCluster"] = "6.0"
}
type CannotEnableVmcpForClusterFault CannotEnableVmcpForCluster
@@ -9213,7 +9226,6 @@ type CannotMoveFaultToleranceVm struct {
func init() {
t["CannotMoveFaultToleranceVm"] = reflect.TypeOf((*CannotMoveFaultToleranceVm)(nil)).Elem()
- minAPIVersionForType["CannotMoveFaultToleranceVm"] = "4.0"
}
type CannotMoveFaultToleranceVmFault CannotMoveFaultToleranceVm
@@ -9230,7 +9242,6 @@ type CannotMoveHostWithFaultToleranceVm struct {
func init() {
t["CannotMoveHostWithFaultToleranceVm"] = reflect.TypeOf((*CannotMoveHostWithFaultToleranceVm)(nil)).Elem()
- minAPIVersionForType["CannotMoveHostWithFaultToleranceVm"] = "4.0"
}
type CannotMoveHostWithFaultToleranceVmFault CannotMoveHostWithFaultToleranceVm
@@ -9250,7 +9261,6 @@ type CannotMoveVmWithDeltaDisk struct {
func init() {
t["CannotMoveVmWithDeltaDisk"] = reflect.TypeOf((*CannotMoveVmWithDeltaDisk)(nil)).Elem()
- minAPIVersionForType["CannotMoveVmWithDeltaDisk"] = "5.0"
}
type CannotMoveVmWithDeltaDiskFault CannotMoveVmWithDeltaDisk
@@ -9267,7 +9277,6 @@ type CannotMoveVmWithNativeDeltaDisk struct {
func init() {
t["CannotMoveVmWithNativeDeltaDisk"] = reflect.TypeOf((*CannotMoveVmWithNativeDeltaDisk)(nil)).Elem()
- minAPIVersionForType["CannotMoveVmWithNativeDeltaDisk"] = "5.0"
}
type CannotMoveVmWithNativeDeltaDiskFault CannotMoveVmWithNativeDeltaDisk
@@ -9289,7 +9298,6 @@ type CannotMoveVsanEnabledHost struct {
func init() {
t["CannotMoveVsanEnabledHost"] = reflect.TypeOf((*CannotMoveVsanEnabledHost)(nil)).Elem()
- minAPIVersionForType["CannotMoveVsanEnabledHost"] = "5.5"
}
type CannotMoveVsanEnabledHostFault BaseCannotMoveVsanEnabledHost
@@ -9307,7 +9315,6 @@ type CannotPlaceWithoutPrerequisiteMoves struct {
func init() {
t["CannotPlaceWithoutPrerequisiteMoves"] = reflect.TypeOf((*CannotPlaceWithoutPrerequisiteMoves)(nil)).Elem()
- minAPIVersionForType["CannotPlaceWithoutPrerequisiteMoves"] = "5.1"
}
type CannotPlaceWithoutPrerequisiteMovesFault CannotPlaceWithoutPrerequisiteMoves
@@ -9337,7 +9344,6 @@ type CannotPowerOffVmInCluster struct {
func init() {
t["CannotPowerOffVmInCluster"] = reflect.TypeOf((*CannotPowerOffVmInCluster)(nil)).Elem()
- minAPIVersionForType["CannotPowerOffVmInCluster"] = "5.0"
}
type CannotPowerOffVmInClusterFault CannotPowerOffVmInCluster
@@ -9356,7 +9362,6 @@ type CannotReconfigureVsanWhenHaEnabled struct {
func init() {
t["CannotReconfigureVsanWhenHaEnabled"] = reflect.TypeOf((*CannotReconfigureVsanWhenHaEnabled)(nil)).Elem()
- minAPIVersionForType["CannotReconfigureVsanWhenHaEnabled"] = "5.5"
}
type CannotReconfigureVsanWhenHaEnabledFault CannotReconfigureVsanWhenHaEnabled
@@ -9381,12 +9386,11 @@ type CannotUseNetwork struct {
// A reference to the network that cannot be used
//
// Refers instance of `Network`.
- Network *ManagedObjectReference `xml:"network,omitempty" json:"network,omitempty" vim:"6.0"`
+ Network *ManagedObjectReference `xml:"network,omitempty" json:"network,omitempty"`
}
func init() {
t["CannotUseNetwork"] = reflect.TypeOf((*CannotUseNetwork)(nil)).Elem()
- minAPIVersionForType["CannotUseNetwork"] = "5.5"
}
type CannotUseNetworkFault CannotUseNetwork
@@ -9422,26 +9426,26 @@ type Capability struct {
MultiHostSupported bool `xml:"multiHostSupported" json:"multiHostSupported"`
// Flag indicating whether host user accounts should have the option to
// be granted shell access
- UserShellAccessSupported bool `xml:"userShellAccessSupported" json:"userShellAccessSupported" vim:"2.5"`
+ UserShellAccessSupported bool `xml:"userShellAccessSupported" json:"userShellAccessSupported"`
// All supported Enhanced VMotion Compatibility modes.
- SupportedEVCMode []EVCMode `xml:"supportedEVCMode,omitempty" json:"supportedEVCMode,omitempty" vim:"4.0"`
+ SupportedEVCMode []EVCMode `xml:"supportedEVCMode,omitempty" json:"supportedEVCMode,omitempty"`
// All supported Enhanced VMotion Compatibility Graphics modes.
SupportedEVCGraphicsMode []FeatureEVCMode `xml:"supportedEVCGraphicsMode,omitempty" json:"supportedEVCGraphicsMode,omitempty" vim:"7.0.1.0"`
// Indicates whether network backup and restore feature is supported.
- NetworkBackupAndRestoreSupported *bool `xml:"networkBackupAndRestoreSupported" json:"networkBackupAndRestoreSupported,omitempty" vim:"5.1"`
+ NetworkBackupAndRestoreSupported *bool `xml:"networkBackupAndRestoreSupported" json:"networkBackupAndRestoreSupported,omitempty"`
// Is DRS supported for Fault Tolerance VMs without enabling EVC.
- FtDrsWithoutEvcSupported *bool `xml:"ftDrsWithoutEvcSupported" json:"ftDrsWithoutEvcSupported,omitempty" vim:"6.7"`
+ FtDrsWithoutEvcSupported *bool `xml:"ftDrsWithoutEvcSupported" json:"ftDrsWithoutEvcSupported,omitempty"`
// Specifies if the workflow for setting up a HCI cluster is supported.
- HciWorkflowSupported *bool `xml:"hciWorkflowSupported" json:"hciWorkflowSupported,omitempty" vim:"6.7.1"`
+ HciWorkflowSupported *bool `xml:"hciWorkflowSupported" json:"hciWorkflowSupported,omitempty"`
// Specifies the supported compute policy version.
- ComputePolicyVersion int32 `xml:"computePolicyVersion,omitempty" json:"computePolicyVersion,omitempty" vim:"6.8.7"`
+ ComputePolicyVersion int32 `xml:"computePolicyVersion,omitempty" json:"computePolicyVersion,omitempty"`
ClusterPlacementSupported *bool `xml:"clusterPlacementSupported" json:"clusterPlacementSupported,omitempty"`
// Specifies if lifecycle management of a Cluster is supported.
- LifecycleManagementSupported *bool `xml:"lifecycleManagementSupported" json:"lifecycleManagementSupported,omitempty" vim:"7.0"`
+ LifecycleManagementSupported *bool `xml:"lifecycleManagementSupported" json:"lifecycleManagementSupported,omitempty"`
// Specifies if host seeding for a cluster is supported.
HostSeedingSupported *bool `xml:"hostSeedingSupported" json:"hostSeedingSupported,omitempty" vim:"7.0.2.0"`
// Specifies if scalable shares for resource pools is supported.
- ScalableSharesSupported *bool `xml:"scalableSharesSupported" json:"scalableSharesSupported,omitempty" vim:"7.0"`
+ ScalableSharesSupported *bool `xml:"scalableSharesSupported" json:"scalableSharesSupported,omitempty"`
// Specifies if highly available distributed clustering service is supported.
HadcsSupported *bool `xml:"hadcsSupported" json:"hadcsSupported,omitempty" vim:"7.0.1.1"`
// Specifies if desired configuration management platform is supported
@@ -9724,7 +9728,6 @@ type ChangesInfoEventArgument struct {
func init() {
t["ChangesInfoEventArgument"] = reflect.TypeOf((*ChangesInfoEventArgument)(nil)).Elem()
- minAPIVersionForType["ChangesInfoEventArgument"] = "6.5"
}
// The parameters of `ClusterEVCManager.CheckAddHostEvc_Task`.
@@ -9864,24 +9867,24 @@ type CheckComplianceRequestType struct {
//
// E represents if Entity is specified.
//
- // P ^P
- // ---------------------------------------------------
- // | Check compliance | Profiles associated |
- // E| of each entity | with the specified |
- // | against each of the | entity will be used |
- // | profiles specified. | for checking |
- // | | compliance. |
- // | | |
- // | | |
- // ---------------------------------------------------
- // | All entities | InvalidArgument |
- // | associated with the | Exception is thrown. |
- // | profile are checked. | |
- // ^E| | |
- // | | |
- // | | |
- // | | |
- // ---------------------------------------------------
+ // P ^P
+ // ---------------------------------------------------
+ // | Check compliance | Profiles associated |
+ // E| of each entity | with the specified |
+ // | against each of the | entity will be used |
+ // | profiles specified. | for checking |
+ // | | compliance. |
+ // | | |
+ // | | |
+ // ---------------------------------------------------
+ // | All entities | InvalidArgument |
+ // | associated with the | Exception is thrown. |
+ // | profile are checked. | |
+ // ^E| | |
+ // | | |
+ // | | |
+ // | | |
+ // ---------------------------------------------------
//
// Refers instances of `Profile`.
Profile []ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
@@ -9981,10 +9984,10 @@ type CheckForUpdatesRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The data version currently known to the client. The value
// must be either
- // - the special initial version (an empty string)
- // - a data version returned from `PropertyCollector.CheckForUpdates` or `PropertyCollector.WaitForUpdates` by the same `PropertyCollector` on the same session.
- // - a non-truncated data version returned from `PropertyCollector.WaitForUpdatesEx` by the same `PropertyCollector` on the same
- // session.
+ // - the special initial version (an empty string)
+ // - a data version returned from `PropertyCollector.CheckForUpdates` or `PropertyCollector.WaitForUpdates` by the same `PropertyCollector` on the same session.
+ // - a non-truncated data version returned from `PropertyCollector.WaitForUpdatesEx` by the same `PropertyCollector` on the same
+ // session.
Version string `xml:"version,omitempty" json:"version,omitempty"`
}
@@ -10258,7 +10261,6 @@ type CheckResult struct {
func init() {
t["CheckResult"] = reflect.TypeOf((*CheckResult)(nil)).Elem()
- minAPIVersionForType["CheckResult"] = "4.0"
}
// The parameters of `VirtualMachineCompatibilityChecker.CheckVmConfig_Task`.
@@ -10442,7 +10444,6 @@ type ClockSkew struct {
func init() {
t["ClockSkew"] = reflect.TypeOf((*ClockSkew)(nil)).Elem()
- minAPIVersionForType["ClockSkew"] = "4.1"
}
type ClockSkewFault ClockSkew
@@ -10461,7 +10462,6 @@ type CloneFromSnapshotNotSupported struct {
func init() {
t["CloneFromSnapshotNotSupported"] = reflect.TypeOf((*CloneFromSnapshotNotSupported)(nil)).Elem()
- minAPIVersionForType["CloneFromSnapshotNotSupported"] = "4.0"
}
type CloneFromSnapshotNotSupportedFault CloneFromSnapshotNotSupported
@@ -10624,7 +10624,6 @@ type ClusterAction struct {
func init() {
t["ClusterAction"] = reflect.TypeOf((*ClusterAction)(nil)).Elem()
- minAPIVersionForType["ClusterAction"] = "2.5"
}
// Base class for all action history.
@@ -10639,7 +10638,6 @@ type ClusterActionHistory struct {
func init() {
t["ClusterActionHistory"] = reflect.TypeOf((*ClusterActionHistory)(nil)).Elem()
- minAPIVersionForType["ClusterActionHistory"] = "2.5"
}
// The `ClusterAffinityRuleSpec` data object defines a set
@@ -10694,7 +10692,6 @@ type ClusterAttemptedVmInfo struct {
func init() {
t["ClusterAttemptedVmInfo"] = reflect.TypeOf((*ClusterAttemptedVmInfo)(nil)).Elem()
- minAPIVersionForType["ClusterAttemptedVmInfo"] = "2.5"
}
// Describes an action for the initial placement of a virtual machine in a
@@ -10773,7 +10770,6 @@ type ClusterComplianceCheckedEvent struct {
func init() {
t["ClusterComplianceCheckedEvent"] = reflect.TypeOf((*ClusterComplianceCheckedEvent)(nil)).Elem()
- minAPIVersionForType["ClusterComplianceCheckedEvent"] = "4.0"
}
// ClusterConfigResult is the result returned for the `ClusterComputeResource.ConfigureHCI_Task`
@@ -10791,7 +10787,29 @@ type ClusterComputeResourceClusterConfigResult struct {
func init() {
t["ClusterComputeResourceClusterConfigResult"] = reflect.TypeOf((*ClusterComputeResourceClusterConfigResult)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceClusterConfigResult"] = "6.7.1"
+}
+
+// The encryption mode policy for a cluster.
+type ClusterComputeResourceCryptoModePolicy struct {
+ DynamicData
+
+ // The host key identifier.
+ //
+ // When set, all hosts in the cluster will use this key when enabling
+ // the crypto safe mode. Only one of `ClusterComputeResourceCryptoModePolicy.keyId` and
+ // `ClusterComputeResourceCryptoModePolicy.providerId` may be set.
+ KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty"`
+ // The host key provider identifier.
+ //
+ // When set, all hosts in the cluster will use a key from the specified
+ // key provider when enabling the crypto safe mode. Only one of
+ // `ClusterComputeResourceCryptoModePolicy.keyId` and `ClusterComputeResourceCryptoModePolicy.providerId` may be set.
+ ProviderId *KeyProviderId `xml:"providerId,omitempty" json:"providerId,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceCryptoModePolicy"] = reflect.TypeOf((*ClusterComputeResourceCryptoModePolicy)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceCryptoModePolicy"] = "8.0.3.0"
}
// Describes the validations applicable to the network settings.
@@ -10810,7 +10828,6 @@ type ClusterComputeResourceDVSConfigurationValidation struct {
func init() {
t["ClusterComputeResourceDVSConfigurationValidation"] = reflect.TypeOf((*ClusterComputeResourceDVSConfigurationValidation)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceDVSConfigurationValidation"] = "6.7.1"
}
// Contains reference to the DVS, list of physical nics attached to it,
@@ -10831,7 +10848,6 @@ type ClusterComputeResourceDVSSetting struct {
func init() {
t["ClusterComputeResourceDVSSetting"] = reflect.TypeOf((*ClusterComputeResourceDVSSetting)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceDVSSetting"] = "6.7.1"
}
type ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping struct {
@@ -10874,7 +10890,6 @@ type ClusterComputeResourceDvsProfile struct {
func init() {
t["ClusterComputeResourceDvsProfile"] = reflect.TypeOf((*ClusterComputeResourceDvsProfile)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceDvsProfile"] = "6.7.1"
}
type ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping struct {
@@ -10926,7 +10941,6 @@ type ClusterComputeResourceHCIConfigInfo struct {
func init() {
t["ClusterComputeResourceHCIConfigInfo"] = reflect.TypeOf((*ClusterComputeResourceHCIConfigInfo)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceHCIConfigInfo"] = "6.7.1"
}
// Specification to configure the cluster.
@@ -10956,13 +10970,13 @@ type ClusterComputeResourceHCIConfigSpec struct {
func init() {
t["ClusterComputeResourceHCIConfigSpec"] = reflect.TypeOf((*ClusterComputeResourceHCIConfigSpec)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceHCIConfigSpec"] = "6.7.1"
}
// Host configuration input to configure hosts in a cluster.
type ClusterComputeResourceHostConfigurationInput struct {
DynamicData
+ // Refers instance of `HostSystem`.
Host ManagedObjectReference `xml:"host" json:"host"`
HostVmkNics []ClusterComputeResourceHostVmkNicInfo `xml:"hostVmkNics,omitempty" json:"hostVmkNics,omitempty"`
// To apply configuration on the host, the host is expected to be in
@@ -10975,7 +10989,6 @@ type ClusterComputeResourceHostConfigurationInput struct {
func init() {
t["ClusterComputeResourceHostConfigurationInput"] = reflect.TypeOf((*ClusterComputeResourceHostConfigurationInput)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceHostConfigurationInput"] = "6.7.1"
}
// HostConfigurationProfile describes the configuration of services
@@ -10991,7 +11004,6 @@ type ClusterComputeResourceHostConfigurationProfile struct {
func init() {
t["ClusterComputeResourceHostConfigurationProfile"] = reflect.TypeOf((*ClusterComputeResourceHostConfigurationProfile)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceHostConfigurationProfile"] = "6.7.1"
}
// Describes the validations applicable to the settings on the host.
@@ -11015,7 +11027,35 @@ type ClusterComputeResourceHostConfigurationValidation struct {
func init() {
t["ClusterComputeResourceHostConfigurationValidation"] = reflect.TypeOf((*ClusterComputeResourceHostConfigurationValidation)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceHostConfigurationValidation"] = "6.7.1"
+}
+
+// This data object describes what evacuation actions should be made for a given host.
+type ClusterComputeResourceHostEvacuationInfo struct {
+ DynamicData
+
+ // Candidate host to be put into maintenance mode.
+ //
+ // Refers instance of `HostSystem`.
+ Host ManagedObjectReference `xml:"host" json:"host"`
+ // Specifies the list of required actions.
+ //
+ // Depending on the specified option values passed, additional
+ // actions such as ones related to evacuation of specific objects,
+ // additional memory reservation or allowing/disallowing certain groups
+ // of operations may be taken when entering the desired flavor of
+ // maintenance mode. The list of supported options and values may vary
+ // based on the version of the ESXi host and Virtual Center.
+ //
+ // If unset, a default list of actions will be assumed based on the
+ // selected flavor of maintenance mode as specified by the
+ // `ClusterComputeResourceMaintenanceInfo.partialMMId` field. See `HostPartialMaintenanceModeId_enum`
+ // for further information about individual flavors.
+ Action []BaseOptionValue `xml:"action,omitempty,typeattr" json:"action,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceHostEvacuationInfo"] = reflect.TypeOf((*ClusterComputeResourceHostEvacuationInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceHostEvacuationInfo"] = "8.0.3.0"
}
// This data object describes how a vmknic on a host must be configured.
@@ -11033,7 +11073,25 @@ type ClusterComputeResourceHostVmkNicInfo struct {
func init() {
t["ClusterComputeResourceHostVmkNicInfo"] = reflect.TypeOf((*ClusterComputeResourceHostVmkNicInfo)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceHostVmkNicInfo"] = "6.7.1"
+}
+
+// This data object describes how a given array of hosts will be put into maintenance mode.
+type ClusterComputeResourceMaintenanceInfo struct {
+ DynamicData
+
+ // Indicates the flavor of maintenance mode requested.
+ //
+ // If set, specifies the desired flavor of partial
+ // maintenance mode. Otherwise, full maintenance mode is assumed.
+ // See `HostPartialMaintenanceModeId_enum` for supported values.
+ PartialMMId string `xml:"partialMMId,omitempty" json:"partialMMId,omitempty"`
+ // Evaucation information for each host
+ HostEvacInfo []ClusterComputeResourceHostEvacuationInfo `xml:"hostEvacInfo,omitempty" json:"hostEvacInfo,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceMaintenanceInfo"] = reflect.TypeOf((*ClusterComputeResourceMaintenanceInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceMaintenanceInfo"] = "8.0.3.0"
}
// The `ClusterComputeResourceSummary` data object
@@ -11056,44 +11114,44 @@ type ClusterComputeResourceSummary struct {
//
// The actual type of admissionControlInfo will depend on what kind of
// `ClusterDasAdmissionControlPolicy` was used to configure the cluster.
- AdmissionControlInfo BaseClusterDasAdmissionControlInfo `xml:"admissionControlInfo,omitempty,typeattr" json:"admissionControlInfo,omitempty" vim:"4.0"`
+ AdmissionControlInfo BaseClusterDasAdmissionControlInfo `xml:"admissionControlInfo,omitempty,typeattr" json:"admissionControlInfo,omitempty"`
// Total number of migrations with VMotion that have been done internal to this
// cluster.
NumVmotions int32 `xml:"numVmotions" json:"numVmotions"`
// The target balance, in terms of standard deviation, for a DRS cluster.
//
// Units are thousandths. For example, 12 represents 0.012.
- TargetBalance int32 `xml:"targetBalance,omitempty" json:"targetBalance,omitempty" vim:"4.0"`
+ TargetBalance int32 `xml:"targetBalance,omitempty" json:"targetBalance,omitempty"`
// The current balance, in terms of standard deviation, for a DRS cluster.
//
// Units are thousandths. For example, 12 represents 0.012.
- CurrentBalance int32 `xml:"currentBalance,omitempty" json:"currentBalance,omitempty" vim:"4.0"`
+ CurrentBalance int32 `xml:"currentBalance,omitempty" json:"currentBalance,omitempty"`
// The DRS score of this cluster, in percentage.
- DrsScore int32 `xml:"drsScore,omitempty" json:"drsScore,omitempty" vim:"7.0"`
+ DrsScore int32 `xml:"drsScore,omitempty" json:"drsScore,omitempty"`
// The number of VMs in this cluster corresponding to each DRS score
// bucket.
//
// The buckets are defined as follows:
- // - 0% - 20%
- // - 21% - 40%
- // - 41% - 60%
- // - 61% - 80%
- // - 81% - 100%
- NumVmsPerDrsScoreBucket []int32 `xml:"numVmsPerDrsScoreBucket,omitempty" json:"numVmsPerDrsScoreBucket,omitempty" vim:"7.0"`
+ // - 0% - 20%
+ // - 21% - 40%
+ // - 41% - 60%
+ // - 61% - 80%
+ // - 81% - 100%
+ NumVmsPerDrsScoreBucket []int32 `xml:"numVmsPerDrsScoreBucket,omitempty" json:"numVmsPerDrsScoreBucket,omitempty"`
// The current usage summary for a DRS cluster.
- UsageSummary *ClusterUsageSummary `xml:"usageSummary,omitempty" json:"usageSummary,omitempty" vim:"6.0"`
+ UsageSummary *ClusterUsageSummary `xml:"usageSummary,omitempty" json:"usageSummary,omitempty"`
// The Enhanced VMotion Compatibility mode that is currently in effect
// for all hosts in this cluster; unset if no EVC mode is active.
//
// See also `Capability.supportedEVCMode`.
- CurrentEVCModeKey string `xml:"currentEVCModeKey,omitempty" json:"currentEVCModeKey,omitempty" vim:"4.0"`
+ CurrentEVCModeKey string `xml:"currentEVCModeKey,omitempty" json:"currentEVCModeKey,omitempty"`
// The Enhanced VMotion Compatibility Graphics mode that is currently in
// effect for all hosts in this cluster; unset if no EVC mode is active.
//
// See also `Capability.supportedEVCGraphicsMode`.
CurrentEVCGraphicsModeKey string `xml:"currentEVCGraphicsModeKey,omitempty" json:"currentEVCGraphicsModeKey,omitempty" vim:"7.0.1.0"`
// Data pertaining to DAS.
- DasData BaseClusterDasData `xml:"dasData,omitempty,typeattr" json:"dasData,omitempty" vim:"5.0"`
+ DasData BaseClusterDasData `xml:"dasData,omitempty,typeattr" json:"dasData,omitempty"`
// Configuration pertinent to state of the cluster maintenance mode.
//
// Valid values are enumerated by the `ClusterMaintenanceModeStatus`
@@ -11131,7 +11189,6 @@ type ClusterComputeResourceVCProfile struct {
func init() {
t["ClusterComputeResourceVCProfile"] = reflect.TypeOf((*ClusterComputeResourceVCProfile)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceVCProfile"] = "6.7.1"
}
// Describes the validation results.
@@ -11144,7 +11201,6 @@ type ClusterComputeResourceValidationResultBase struct {
func init() {
t["ClusterComputeResourceValidationResultBase"] = reflect.TypeOf((*ClusterComputeResourceValidationResultBase)(nil)).Elem()
- minAPIVersionForType["ClusterComputeResourceValidationResultBase"] = "6.7.1"
}
type ClusterComputeResourceVcsSlots struct {
@@ -11166,6 +11222,7 @@ type ClusterComputeResourceVcsSlots struct {
func init() {
t["ClusterComputeResourceVcsSlots"] = reflect.TypeOf((*ClusterComputeResourceVcsSlots)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceVcsSlots"] = "7.0.1.1"
}
// Deprecated as of VI API 2.5, use `ClusterConfigInfoEx`.
@@ -11235,7 +11292,7 @@ type ClusterConfigInfoEx struct {
// Cluster-wide rules.
Rule []BaseClusterRuleInfo `xml:"rule,omitempty,typeattr" json:"rule,omitempty"`
// Cluster-wide configuration of VM orchestration.
- Orchestration *ClusterOrchestrationInfo `xml:"orchestration,omitempty" json:"orchestration,omitempty" vim:"6.5"`
+ Orchestration *ClusterOrchestrationInfo `xml:"orchestration,omitempty" json:"orchestration,omitempty"`
// List of virtual machine configurations that apply during cluster wide
// VM orchestration.
//
@@ -11243,7 +11300,7 @@ type ClusterConfigInfoEx struct {
//
// If a virtual machine is not specified in this array, the service uses
// the default settings for that virtual machine.
- VmOrchestration []ClusterVmOrchestrationInfo `xml:"vmOrchestration,omitempty" json:"vmOrchestration,omitempty" vim:"6.5"`
+ VmOrchestration []ClusterVmOrchestrationInfo `xml:"vmOrchestration,omitempty" json:"vmOrchestration,omitempty"`
// Cluster-wide configuration of the VMware DPM service.
DpmConfigInfo *ClusterDpmConfigInfo `xml:"dpmConfigInfo,omitempty" json:"dpmConfigInfo,omitempty"`
// List of host configurations for the VMware DPM
@@ -11255,27 +11312,26 @@ type ClusterConfigInfoEx struct {
// the cluster default settings for that host.
DpmHostConfig []ClusterDpmHostConfigInfo `xml:"dpmHostConfig,omitempty" json:"dpmHostConfig,omitempty"`
// Cluster-wide configuration of the VMware VSAN service.
- VsanConfigInfo *VsanClusterConfigInfo `xml:"vsanConfigInfo,omitempty" json:"vsanConfigInfo,omitempty" vim:"5.5"`
+ VsanConfigInfo *VsanClusterConfigInfo `xml:"vsanConfigInfo,omitempty" json:"vsanConfigInfo,omitempty"`
// List of host configurations for the VMware VSAN service.
//
// Each entry applies to one host.
//
// If a host is not specified in this array, the service uses
// the cluster default settings for that host.
- VsanHostConfig []VsanHostConfigInfo `xml:"vsanHostConfig,omitempty" json:"vsanHostConfig,omitempty" vim:"5.5"`
+ VsanHostConfig []VsanHostConfigInfo `xml:"vsanHostConfig,omitempty" json:"vsanHostConfig,omitempty"`
// Cluster-wide groups.
- Group []BaseClusterGroupInfo `xml:"group,omitempty,typeattr" json:"group,omitempty" vim:"4.1"`
+ Group []BaseClusterGroupInfo `xml:"group,omitempty,typeattr" json:"group,omitempty"`
// Cluster-wide configuration of the VMware InfraUpdateHA service.
- InfraUpdateHaConfig *ClusterInfraUpdateHaConfigInfo `xml:"infraUpdateHaConfig,omitempty" json:"infraUpdateHaConfig,omitempty" vim:"6.5"`
+ InfraUpdateHaConfig *ClusterInfraUpdateHaConfigInfo `xml:"infraUpdateHaConfig,omitempty" json:"infraUpdateHaConfig,omitempty"`
// Cluster-wide configuration of the ProactiveDRS service.
- ProactiveDrsConfig *ClusterProactiveDrsConfigInfo `xml:"proactiveDrsConfig,omitempty" json:"proactiveDrsConfig,omitempty" vim:"6.5"`
+ ProactiveDrsConfig *ClusterProactiveDrsConfigInfo `xml:"proactiveDrsConfig,omitempty" json:"proactiveDrsConfig,omitempty"`
// Cluster-wide configuration of the encryption mode.
- CryptoConfig *ClusterCryptoConfigInfo `xml:"cryptoConfig,omitempty" json:"cryptoConfig,omitempty" vim:"7.0"`
+ CryptoConfig *ClusterCryptoConfigInfo `xml:"cryptoConfig,omitempty" json:"cryptoConfig,omitempty"`
}
func init() {
t["ClusterConfigInfoEx"] = reflect.TypeOf((*ClusterConfigInfoEx)(nil)).Elem()
- minAPIVersionForType["ClusterConfigInfoEx"] = "2.5"
}
// Deprecated as of VI API 2.5, use `ClusterConfigSpecEx`.
@@ -11530,13 +11586,13 @@ type ClusterConfigSpecEx struct {
// Cluster affinity and anti-affinity rule configuration.
RulesSpec []ClusterRuleSpec `xml:"rulesSpec,omitempty" json:"rulesSpec,omitempty"`
// Cluster configuration of VM orchestration.
- Orchestration *ClusterOrchestrationInfo `xml:"orchestration,omitempty" json:"orchestration,omitempty" vim:"6.5"`
+ Orchestration *ClusterOrchestrationInfo `xml:"orchestration,omitempty" json:"orchestration,omitempty"`
// List of specific VM configurations that apply during cluster wide
// VM orchestration.
//
// Each entry applies to one virtual machine, and
// overrides the cluster default settings.
- VmOrchestrationSpec []ClusterVmOrchestrationSpec `xml:"vmOrchestrationSpec,omitempty" json:"vmOrchestrationSpec,omitempty" vim:"6.5"`
+ VmOrchestrationSpec []ClusterVmOrchestrationSpec `xml:"vmOrchestrationSpec,omitempty" json:"vmOrchestrationSpec,omitempty"`
// DPM configuration; includes default settings for hosts.
DpmConfig *ClusterDpmConfigInfo `xml:"dpmConfig,omitempty" json:"dpmConfig,omitempty"`
// DPM configuration for individual hosts.
@@ -11552,35 +11608,34 @@ type ClusterConfigSpecEx struct {
// by using cluster reconfiguration task id as
// `TaskInfo.parentTaskKey`, and should be monitored
// and tracked separatedly.
- VsanConfig *VsanClusterConfigInfo `xml:"vsanConfig,omitempty" json:"vsanConfig,omitempty" vim:"5.5"`
+ VsanConfig *VsanClusterConfigInfo `xml:"vsanConfig,omitempty" json:"vsanConfig,omitempty"`
// VSAN configuration for individual hosts.
//
// The entries in this array override the cluster default settings
// as specified in `VsanClusterConfigInfo`.
- VsanHostConfigSpec []VsanHostConfigInfo `xml:"vsanHostConfigSpec,omitempty" json:"vsanHostConfigSpec,omitempty" vim:"5.5"`
+ VsanHostConfigSpec []VsanHostConfigInfo `xml:"vsanHostConfigSpec,omitempty" json:"vsanHostConfigSpec,omitempty"`
// Cluster-wide group configuration.
//
// The array contains one or more group specification objects.
// A group specification object contains a virtual machine group
// (`ClusterVmGroup`) or a host group (`ClusterHostGroup`).
// Groups can be related; see `ClusterVmHostRuleInfo`.
- GroupSpec []ClusterGroupSpec `xml:"groupSpec,omitempty" json:"groupSpec,omitempty" vim:"4.1"`
+ GroupSpec []ClusterGroupSpec `xml:"groupSpec,omitempty" json:"groupSpec,omitempty"`
// InfraUpdateHA configuration.
- InfraUpdateHaConfig *ClusterInfraUpdateHaConfigInfo `xml:"infraUpdateHaConfig,omitempty" json:"infraUpdateHaConfig,omitempty" vim:"6.5"`
+ InfraUpdateHaConfig *ClusterInfraUpdateHaConfigInfo `xml:"infraUpdateHaConfig,omitempty" json:"infraUpdateHaConfig,omitempty"`
// ProactiveDrs configuration.
- ProactiveDrsConfig *ClusterProactiveDrsConfigInfo `xml:"proactiveDrsConfig,omitempty" json:"proactiveDrsConfig,omitempty" vim:"6.5"`
+ ProactiveDrsConfig *ClusterProactiveDrsConfigInfo `xml:"proactiveDrsConfig,omitempty" json:"proactiveDrsConfig,omitempty"`
// Flag to place the cluster in the HCI workflow during cluster creation.
//
// This flag is specified only at the time of cluster creation.
// A cluster cannot be reconfigured to place it in the HCI workflow.
- InHciWorkflow *bool `xml:"inHciWorkflow" json:"inHciWorkflow,omitempty" vim:"6.7.1"`
+ InHciWorkflow *bool `xml:"inHciWorkflow" json:"inHciWorkflow,omitempty"`
// Cluster-wide configuration of encryption mode.
- CryptoConfig *ClusterCryptoConfigInfo `xml:"cryptoConfig,omitempty" json:"cryptoConfig,omitempty" vim:"7.0"`
+ CryptoConfig *ClusterCryptoConfigInfo `xml:"cryptoConfig,omitempty" json:"cryptoConfig,omitempty"`
}
func init() {
t["ClusterConfigSpecEx"] = reflect.TypeOf((*ClusterConfigSpecEx)(nil)).Elem()
- minAPIVersionForType["ClusterConfigSpecEx"] = "2.5"
}
// This event records when a cluster is created.
@@ -11602,6 +11657,11 @@ type ClusterCryptoConfigInfo struct {
//
// See `ClusterCryptoConfigInfoCryptoMode_enum` for supported values.
CryptoMode string `xml:"cryptoMode,omitempty" json:"cryptoMode,omitempty"`
+ // The encryption mode policy for the cluster.
+ //
+ // When unset, host keys will be automatically generated using the current
+ // default key provider.
+ Policy *ClusterComputeResourceCryptoModePolicy `xml:"policy,omitempty" json:"policy,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -11656,7 +11716,6 @@ type ClusterDasAamHostInfo struct {
func init() {
t["ClusterDasAamHostInfo"] = reflect.TypeOf((*ClusterDasAamHostInfo)(nil)).Elem()
- minAPIVersionForType["ClusterDasAamHostInfo"] = "4.0"
}
// Deprecated as of vSphere API 5.0, this object is no longer returned by
@@ -11708,7 +11767,6 @@ type ClusterDasAamNodeState struct {
func init() {
t["ClusterDasAamNodeState"] = reflect.TypeOf((*ClusterDasAamNodeState)(nil)).Elem()
- minAPIVersionForType["ClusterDasAamNodeState"] = "4.0"
}
// Base class for admission control related information of a vSphere HA cluster.
@@ -11718,7 +11776,6 @@ type ClusterDasAdmissionControlInfo struct {
func init() {
t["ClusterDasAdmissionControlInfo"] = reflect.TypeOf((*ClusterDasAdmissionControlInfo)(nil)).Elem()
- minAPIVersionForType["ClusterDasAdmissionControlInfo"] = "4.0"
}
// Base class for specifying how admission control should be done for vSphere HA.
@@ -11727,7 +11784,7 @@ type ClusterDasAdmissionControlPolicy struct {
// Percentage of resource reduction that a cluster of VMs can tolerate
// in case of a failover.
- ResourceReductionToToleratePercent *int32 `xml:"resourceReductionToToleratePercent" json:"resourceReductionToToleratePercent,omitempty" vim:"6.5"`
+ ResourceReductionToToleratePercent *int32 `xml:"resourceReductionToToleratePercent" json:"resourceReductionToToleratePercent,omitempty"`
// Flag that determines whether strict admission control for persistent
// memory is enabled.
//
@@ -11737,15 +11794,14 @@ type ClusterDasAdmissionControlPolicy struct {
// When you use persistent memory admission control, the following
// operations are prevented, if doing so would violate the
// `ClusterDasConfigInfo.admissionControlEnabled`.
- // - Creating a virtual machine with persistent memory.
- // - Adding a virtual persistent memory device to a virtual machine.
- // - Increasing the capacity of a virtual persistent memory device.
+ // - Creating a virtual machine with persistent memory.
+ // - Adding a virtual persistent memory device to a virtual machine.
+ // - Increasing the capacity of a virtual persistent memory device.
PMemAdmissionControlEnabled *bool `xml:"pMemAdmissionControlEnabled" json:"pMemAdmissionControlEnabled,omitempty" vim:"7.0.2.0"`
}
func init() {
t["ClusterDasAdmissionControlPolicy"] = reflect.TypeOf((*ClusterDasAdmissionControlPolicy)(nil)).Elem()
- minAPIVersionForType["ClusterDasAdmissionControlPolicy"] = "4.0"
}
// Base class for advanced runtime information related to the high
@@ -11756,15 +11812,14 @@ type ClusterDasAdvancedRuntimeInfo struct {
// The information pertaining to the HA agents on the hosts
DasHostInfo BaseClusterDasHostInfo `xml:"dasHostInfo,omitempty,typeattr" json:"dasHostInfo,omitempty"`
// Whether HA VM Component Protection can be enabled for the cluster.
- VmcpSupported *ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo `xml:"vmcpSupported,omitempty" json:"vmcpSupported,omitempty" vim:"6.0"`
+ VmcpSupported *ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo `xml:"vmcpSupported,omitempty" json:"vmcpSupported,omitempty"`
// The map of a datastore to the set of hosts that are using
// the datastore for storage heartbeating.
- HeartbeatDatastoreInfo []DasHeartbeatDatastoreInfo `xml:"heartbeatDatastoreInfo,omitempty" json:"heartbeatDatastoreInfo,omitempty" vim:"5.0"`
+ HeartbeatDatastoreInfo []DasHeartbeatDatastoreInfo `xml:"heartbeatDatastoreInfo,omitempty" json:"heartbeatDatastoreInfo,omitempty"`
}
func init() {
t["ClusterDasAdvancedRuntimeInfo"] = reflect.TypeOf((*ClusterDasAdvancedRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["ClusterDasAdvancedRuntimeInfo"] = "4.0"
}
// Class for capability to support VM Component Protection
@@ -11783,7 +11838,6 @@ type ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo struct {
func init() {
t["ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo"] = reflect.TypeOf((*ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo)(nil)).Elem()
- minAPIVersionForType["ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo"] = "6.0"
}
// The `ClusterDasConfigInfo` data object contains configuration data
@@ -11810,7 +11864,7 @@ type ClusterDasConfigInfo struct {
// The Service level specified for the cluster determines
// the possible monitoring settings that you can use for individual virtual machines.
// See `ClusterVmToolsMonitoringSettings*.*ClusterVmToolsMonitoringSettings.vmMonitoring`.
- VmMonitoring string `xml:"vmMonitoring,omitempty" json:"vmMonitoring,omitempty" vim:"4.0"`
+ VmMonitoring string `xml:"vmMonitoring,omitempty" json:"vmMonitoring,omitempty"`
// Determines whether HA restarts virtual machines after a host fails.
//
// The default value is
@@ -11830,7 +11884,7 @@ type ClusterDasConfigInfo struct {
// The rest of the cluster operations follow normal processing.
// No configuration information is lost and re-enabling the service
// is a quick operation.
- HostMonitoring string `xml:"hostMonitoring,omitempty" json:"hostMonitoring,omitempty" vim:"4.0"`
+ HostMonitoring string `xml:"hostMonitoring,omitempty" json:"hostMonitoring,omitempty"`
// This property indicates if vSphere HA VM Component Protection service
// is enabled.
//
@@ -11846,7 +11900,7 @@ type ClusterDasConfigInfo struct {
// by `ClusterVmComponentProtectionSettings` which is referenced by both cluster
// level configuration (`ClusterDasConfigInfo.defaultVmSettings`) and per-VM
// override `ClusterConfigInfoEx.dasVmConfig`.
- VmComponentProtecting string `xml:"vmComponentProtecting,omitempty" json:"vmComponentProtecting,omitempty" vim:"6.0"`
+ VmComponentProtecting string `xml:"vmComponentProtecting,omitempty" json:"vmComponentProtecting,omitempty"`
// Deprecated as of vSphere API 4.0, use
// `ClusterFailoverLevelAdmissionControlPolicy` to set
// `ClusterDasConfigInfo.admissionControlPolicy`.
@@ -11861,54 +11915,54 @@ type ClusterDasConfigInfo struct {
// Virtual machine admission control policy for vSphere HA.
//
// The policies specify resource availability for failover support.
- // - Failover host admission policy
- // `ClusterFailoverHostAdmissionControlPolicy` -
- // specify one or more dedicated failover hosts.
- // - Failover level policy
- // `ClusterFailoverLevelAdmissionControlPolicy` -
- // the limit of host failures for which resources are reserved.
- // When you use the failover level policy,
- // HA partitions resources into slots. A slot represents the minimum
- // CPU and memory resources that are required to support
- // any powered on virtual machine in the cluster.
- // To retrieve information about partitioned resources, use the
- // `ClusterComputeResource.RetrieveDasAdvancedRuntimeInfo`
- // method.
- // - Resources admission policy
- // `ClusterFailoverResourcesAdmissionControlPolicy` -
- // CPU and memory resources reserved for failover support.
- // When you use the resources policy, you can reserve
- // a percentage of the aggregate cluster resource for failover.
- AdmissionControlPolicy BaseClusterDasAdmissionControlPolicy `xml:"admissionControlPolicy,omitempty,typeattr" json:"admissionControlPolicy,omitempty" vim:"4.0"`
+ // - Failover host admission policy
+ // `ClusterFailoverHostAdmissionControlPolicy` -
+ // specify one or more dedicated failover hosts.
+ // - Failover level policy
+ // `ClusterFailoverLevelAdmissionControlPolicy` -
+ // the limit of host failures for which resources are reserved.
+ // When you use the failover level policy,
+ // HA partitions resources into slots. A slot represents the minimum
+ // CPU and memory resources that are required to support
+ // any powered on virtual machine in the cluster.
+ // To retrieve information about partitioned resources, use the
+ // `ClusterComputeResource.RetrieveDasAdvancedRuntimeInfo`
+ // method.
+ // - Resources admission policy
+ // `ClusterFailoverResourcesAdmissionControlPolicy` -
+ // CPU and memory resources reserved for failover support.
+ // When you use the resources policy, you can reserve
+ // a percentage of the aggregate cluster resource for failover.
+ AdmissionControlPolicy BaseClusterDasAdmissionControlPolicy `xml:"admissionControlPolicy,omitempty,typeattr" json:"admissionControlPolicy,omitempty"`
// Flag that determines whether strict admission control is enabled.
//
// When you use admission control, the following operations are
// prevented, if doing so would violate the `ClusterDasConfigInfo.admissionControlPolicy`.
- // - Powering on a virtual machine in the cluster.
- // - Migrating a virtual machine into the cluster.
- // - Increasing the CPU or memory reservation of powered-on
- // virtual machines in the cluster.
+ // - Powering on a virtual machine in the cluster.
+ // - Migrating a virtual machine into the cluster.
+ // - Increasing the CPU or memory reservation of powered-on
+ // virtual machines in the cluster.
//
// With admission control disabled, there is no assurance that
// all virtual machines in the HA cluster can be restarted after
// a host failure. VMware recommends that you do not disable
// admission control, but you might need to do so temporarily,
// for the following reasons:
- // - If you need to violate the failover constraints when there
- // are not enough resources to support them (for example,
- // if you are placing hosts in standby mode to test them
- // for use with DPM).
- // - If an automated process needs to take actions that might
- // temporarily violate the failover constraints (for example,
- // as part of an upgrade directed by VMware Update Manager).
- // - If you need to perform testing or maintenance operations.
+ // - If you need to violate the failover constraints when there
+ // are not enough resources to support them (for example,
+ // if you are placing hosts in standby mode to test them
+ // for use with DPM).
+ // - If an automated process needs to take actions that might
+ // temporarily violate the failover constraints (for example,
+ // as part of an upgrade directed by VMware Update Manager).
+ // - If you need to perform testing or maintenance operations.
AdmissionControlEnabled *bool `xml:"admissionControlEnabled" json:"admissionControlEnabled,omitempty"`
// Cluster-wide defaults for virtual machine HA settings.
//
// When a virtual machine has no HA configuration
// (`ClusterDasVmConfigSpec`), it uses the values
// specified here.
- DefaultVmSettings *ClusterDasVmSettings `xml:"defaultVmSettings,omitempty" json:"defaultVmSettings,omitempty" vim:"2.5"`
+ DefaultVmSettings *ClusterDasVmSettings `xml:"defaultVmSettings,omitempty" json:"defaultVmSettings,omitempty"`
// Advanced settings.
Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty"`
// The list of preferred datastores to use for storage heartbeating.
@@ -11928,14 +11982,14 @@ type ClusterDasConfigInfo struct {
// `ClusterDasAdvancedRuntimeInfo.heartbeatDatastoreInfo`.
//
// Refers instances of `Datastore`.
- HeartbeatDatastore []ManagedObjectReference `xml:"heartbeatDatastore,omitempty" json:"heartbeatDatastore,omitempty" vim:"5.0"`
+ HeartbeatDatastore []ManagedObjectReference `xml:"heartbeatDatastore,omitempty" json:"heartbeatDatastore,omitempty"`
// The policy on what datastores will be used by vCenter Server to choose
// heartbeat datastores.
//
// See `ClusterDasConfigInfoHBDatastoreCandidate_enum` for all options.
// The default value is
// `allFeasibleDsWithUserPreference`.
- HBDatastoreCandidatePolicy string `xml:"hBDatastoreCandidatePolicy,omitempty" json:"hBDatastoreCandidatePolicy,omitempty" vim:"5.0"`
+ HBDatastoreCandidatePolicy string `xml:"hBDatastoreCandidatePolicy,omitempty" json:"hBDatastoreCandidatePolicy,omitempty"`
}
func init() {
@@ -11949,7 +12003,6 @@ type ClusterDasData struct {
func init() {
t["ClusterDasData"] = reflect.TypeOf((*ClusterDasData)(nil)).Elem()
- minAPIVersionForType["ClusterDasData"] = "5.0"
}
// This class contains the summary of the data that DAS needs/uses.
@@ -11970,7 +12023,6 @@ type ClusterDasDataSummary struct {
func init() {
t["ClusterDasDataSummary"] = reflect.TypeOf((*ClusterDasDataSummary)(nil)).Elem()
- minAPIVersionForType["ClusterDasDataSummary"] = "5.0"
}
// Advanced runtime information related to the high availability service
@@ -12016,12 +12068,11 @@ type ClusterDasFailoverLevelAdvancedRuntimeInfo struct {
HostSlots []ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots `xml:"hostSlots,omitempty" json:"hostSlots,omitempty"`
// The list of virtual machines whose reservations and memory overhead are not
// satisfied by a single slot.
- VmsRequiringMultipleSlots []ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots `xml:"vmsRequiringMultipleSlots,omitempty" json:"vmsRequiringMultipleSlots,omitempty" vim:"5.1"`
+ VmsRequiringMultipleSlots []ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots `xml:"vmsRequiringMultipleSlots,omitempty" json:"vmsRequiringMultipleSlots,omitempty"`
}
func init() {
t["ClusterDasFailoverLevelAdvancedRuntimeInfo"] = reflect.TypeOf((*ClusterDasFailoverLevelAdvancedRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["ClusterDasFailoverLevelAdvancedRuntimeInfo"] = "4.0"
}
type ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots struct {
@@ -12065,7 +12116,6 @@ type ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo struct {
func init() {
t["ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo"] = reflect.TypeOf((*ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo)(nil)).Elem()
- minAPIVersionForType["ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo"] = "4.0"
}
type ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots struct {
@@ -12136,7 +12186,6 @@ type ClusterDasFdmHostState struct {
func init() {
t["ClusterDasFdmHostState"] = reflect.TypeOf((*ClusterDasFdmHostState)(nil)).Elem()
- minAPIVersionForType["ClusterDasFdmHostState"] = "5.0"
}
// HA specific advanced information pertaining to the hosts in the cluster.
@@ -12146,7 +12195,6 @@ type ClusterDasHostInfo struct {
func init() {
t["ClusterDasHostInfo"] = reflect.TypeOf((*ClusterDasHostInfo)(nil)).Elem()
- minAPIVersionForType["ClusterDasHostInfo"] = "4.0"
}
// A host recommendation for a virtual machine managed by the VMware
@@ -12168,7 +12216,6 @@ type ClusterDasHostRecommendation struct {
func init() {
t["ClusterDasHostRecommendation"] = reflect.TypeOf((*ClusterDasHostRecommendation)(nil)).Elem()
- minAPIVersionForType["ClusterDasHostRecommendation"] = "4.0"
}
// The `ClusterDasVmConfigInfo` data object contains
@@ -12215,7 +12262,7 @@ type ClusterDasVmConfigInfo struct {
//
// Values specified in this object override the cluster-wide
// defaults for virtual machines (`ClusterDasConfigInfo.defaultVmSettings`).
- DasSettings *ClusterDasVmSettings `xml:"dasSettings,omitempty" json:"dasSettings,omitempty" vim:"2.5"`
+ DasSettings *ClusterDasVmSettings `xml:"dasSettings,omitempty" json:"dasSettings,omitempty"`
}
func init() {
@@ -12271,7 +12318,7 @@ type ClusterDasVmSettings struct {
// Timeout specified in seconds. To use cluster setting for a VM override,
// set to -1 in per-VM.
// setting.
- RestartPriorityTimeout int32 `xml:"restartPriorityTimeout,omitempty" json:"restartPriorityTimeout,omitempty" vim:"6.5"`
+ RestartPriorityTimeout int32 `xml:"restartPriorityTimeout,omitempty" json:"restartPriorityTimeout,omitempty"`
// Indicates whether or not the virtual machine should be powered off if a
// host determines that it is isolated from the rest of the compute
// resource.
@@ -12282,20 +12329,20 @@ type ClusterDasVmSettings struct {
// See also `ClusterDasVmSettingsIsolationResponse_enum`.
IsolationResponse string `xml:"isolationResponse,omitempty" json:"isolationResponse,omitempty"`
// Configuration for the VM Health Monitoring Service.
- VmToolsMonitoringSettings *ClusterVmToolsMonitoringSettings `xml:"vmToolsMonitoringSettings,omitempty" json:"vmToolsMonitoringSettings,omitempty" vim:"4.0"`
+ VmToolsMonitoringSettings *ClusterVmToolsMonitoringSettings `xml:"vmToolsMonitoringSettings,omitempty" json:"vmToolsMonitoringSettings,omitempty"`
// Configuration for the VM Component Protection Service.
- VmComponentProtectionSettings *ClusterVmComponentProtectionSettings `xml:"vmComponentProtectionSettings,omitempty" json:"vmComponentProtectionSettings,omitempty" vim:"6.0"`
+ VmComponentProtectionSettings *ClusterVmComponentProtectionSettings `xml:"vmComponentProtectionSettings,omitempty" json:"vmComponentProtectionSettings,omitempty"`
}
func init() {
t["ClusterDasVmSettings"] = reflect.TypeOf((*ClusterDasVmSettings)(nil)).Elem()
- minAPIVersionForType["ClusterDasVmSettings"] = "2.5"
}
// An incremental update to a Datastore list.
type ClusterDatastoreUpdateSpec struct {
ArrayUpdateSpec
+ // Refers instance of `Datastore`.
Datastore *ManagedObjectReference `xml:"datastore,omitempty" json:"datastore,omitempty"`
}
@@ -12338,7 +12385,6 @@ type ClusterDependencyRuleInfo struct {
func init() {
t["ClusterDependencyRuleInfo"] = reflect.TypeOf((*ClusterDependencyRuleInfo)(nil)).Elem()
- minAPIVersionForType["ClusterDependencyRuleInfo"] = "6.5"
}
// This event records when a cluster is destroyed.
@@ -12373,7 +12419,7 @@ type ClusterDpmConfigInfo struct {
//
// Ratings vary from 1 to 5. This setting applies
// to both manual and automated (@link DpmBehavior) DPM clusters.
- HostPowerActionRate int32 `xml:"hostPowerActionRate,omitempty" json:"hostPowerActionRate,omitempty" vim:"4.0"`
+ HostPowerActionRate int32 `xml:"hostPowerActionRate,omitempty" json:"hostPowerActionRate,omitempty"`
// Deprecated as of vSphere API 4.1, use
// `ClusterDrsConfigInfo.option`.
//
@@ -12383,7 +12429,6 @@ type ClusterDpmConfigInfo struct {
func init() {
t["ClusterDpmConfigInfo"] = reflect.TypeOf((*ClusterDpmConfigInfo)(nil)).Elem()
- minAPIVersionForType["ClusterDpmConfigInfo"] = "2.5"
}
// DPM configuration for a single host.
@@ -12415,7 +12460,6 @@ type ClusterDpmHostConfigInfo struct {
func init() {
t["ClusterDpmHostConfigInfo"] = reflect.TypeOf((*ClusterDpmHostConfigInfo)(nil)).Elem()
- minAPIVersionForType["ClusterDpmHostConfigInfo"] = "2.5"
}
// The `ClusterDpmHostConfigSpec` data object provides information
@@ -12461,7 +12505,6 @@ type ClusterDpmHostConfigSpec struct {
func init() {
t["ClusterDpmHostConfigSpec"] = reflect.TypeOf((*ClusterDpmHostConfigSpec)(nil)).Elem()
- minAPIVersionForType["ClusterDpmHostConfigSpec"] = "2.5"
}
// The `ClusterDrsConfigInfo` data object contains configuration information
@@ -12507,7 +12550,7 @@ type ClusterDrsConfigInfo struct {
// you cannot override the virtual machine setting
// (`ClusterConfigSpecEx.drsVmConfigSpec`)
// for Fault Tolerance virtual machines.
- EnableVmBehaviorOverrides *bool `xml:"enableVmBehaviorOverrides" json:"enableVmBehaviorOverrides,omitempty" vim:"4.0"`
+ EnableVmBehaviorOverrides *bool `xml:"enableVmBehaviorOverrides" json:"enableVmBehaviorOverrides,omitempty"`
// Specifies the cluster-wide default DRS behavior for virtual machines.
//
// You can override the default behavior for a virtual machine
@@ -12535,7 +12578,7 @@ type ClusterDrsConfigInfo struct {
// is equivalent to setting the
// `ResourceConfigSpec.scaleDescendantsShares` on the root
// resource pool.
- ScaleDescendantsShares string `xml:"scaleDescendantsShares,omitempty" json:"scaleDescendantsShares,omitempty" vim:"7.0"`
+ ScaleDescendantsShares string `xml:"scaleDescendantsShares,omitempty" json:"scaleDescendantsShares,omitempty"`
// Advanced settings.
Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty"`
}
@@ -12560,7 +12603,6 @@ type ClusterDrsFaults struct {
func init() {
t["ClusterDrsFaults"] = reflect.TypeOf((*ClusterDrsFaults)(nil)).Elem()
- minAPIVersionForType["ClusterDrsFaults"] = "4.0"
}
// The faults generated by storage DRS when it tries to move a virtual disk.
@@ -12577,7 +12619,6 @@ type ClusterDrsFaultsFaultsByVirtualDisk struct {
func init() {
t["ClusterDrsFaultsFaultsByVirtualDisk"] = reflect.TypeOf((*ClusterDrsFaultsFaultsByVirtualDisk)(nil)).Elem()
- minAPIVersionForType["ClusterDrsFaultsFaultsByVirtualDisk"] = "5.0"
}
// FaultsByVm is the faults generated by DRS when it tries to
@@ -12597,7 +12638,6 @@ type ClusterDrsFaultsFaultsByVm struct {
func init() {
t["ClusterDrsFaultsFaultsByVm"] = reflect.TypeOf((*ClusterDrsFaultsFaultsByVm)(nil)).Elem()
- minAPIVersionForType["ClusterDrsFaultsFaultsByVm"] = "4.0"
}
// Describes a single virtual machine migration.
@@ -12827,7 +12867,8 @@ type ClusterEnterMaintenanceModeRequestType struct {
// An array of `OptionValue`
// options for this query. The specified options override the
// advanced options in `ClusterDrsConfigInfo`.
- Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty"`
+ Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty"`
+ Info *ClusterComputeResourceMaintenanceInfo `xml:"info,omitempty" json:"info,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -12860,7 +12901,6 @@ type ClusterEnterMaintenanceResult struct {
func init() {
t["ClusterEnterMaintenanceResult"] = reflect.TypeOf((*ClusterEnterMaintenanceResult)(nil)).Elem()
- minAPIVersionForType["ClusterEnterMaintenanceResult"] = "5.0"
}
// These are cluster events.
@@ -12883,7 +12923,6 @@ type ClusterFailoverHostAdmissionControlInfo struct {
func init() {
t["ClusterFailoverHostAdmissionControlInfo"] = reflect.TypeOf((*ClusterFailoverHostAdmissionControlInfo)(nil)).Elem()
- minAPIVersionForType["ClusterFailoverHostAdmissionControlInfo"] = "4.0"
}
// Data object containing the status of a failover host.
@@ -12907,7 +12946,6 @@ type ClusterFailoverHostAdmissionControlInfoHostStatus struct {
func init() {
t["ClusterFailoverHostAdmissionControlInfoHostStatus"] = reflect.TypeOf((*ClusterFailoverHostAdmissionControlInfoHostStatus)(nil)).Elem()
- minAPIVersionForType["ClusterFailoverHostAdmissionControlInfoHostStatus"] = "4.0"
}
// The `ClusterFailoverHostAdmissionControlPolicy` dedicates
@@ -12939,12 +12977,11 @@ type ClusterFailoverHostAdmissionControlPolicy struct {
// sufficient resources to restart virtual machines on available hosts.
//
// If not set, we assume 1.
- FailoverLevel int32 `xml:"failoverLevel,omitempty" json:"failoverLevel,omitempty" vim:"6.5"`
+ FailoverLevel int32 `xml:"failoverLevel,omitempty" json:"failoverLevel,omitempty"`
}
func init() {
t["ClusterFailoverHostAdmissionControlPolicy"] = reflect.TypeOf((*ClusterFailoverHostAdmissionControlPolicy)(nil)).Elem()
- minAPIVersionForType["ClusterFailoverHostAdmissionControlPolicy"] = "4.0"
}
// The current admission control related information if the cluster was
@@ -12963,7 +13000,6 @@ type ClusterFailoverLevelAdmissionControlInfo struct {
func init() {
t["ClusterFailoverLevelAdmissionControlInfo"] = reflect.TypeOf((*ClusterFailoverLevelAdmissionControlInfo)(nil)).Elem()
- minAPIVersionForType["ClusterFailoverLevelAdmissionControlInfo"] = "4.0"
}
// The `ClusterFailoverLevelAdmissionControlPolicy`
@@ -13029,12 +13065,11 @@ type ClusterFailoverLevelAdmissionControlPolicy struct {
// If left unset, the slot is
// computed using the maximum reservations and memory overhead of any
// powered on virtual machine in the cluster.
- SlotPolicy BaseClusterSlotPolicy `xml:"slotPolicy,omitempty,typeattr" json:"slotPolicy,omitempty" vim:"5.1"`
+ SlotPolicy BaseClusterSlotPolicy `xml:"slotPolicy,omitempty,typeattr" json:"slotPolicy,omitempty"`
}
func init() {
t["ClusterFailoverLevelAdmissionControlPolicy"] = reflect.TypeOf((*ClusterFailoverLevelAdmissionControlPolicy)(nil)).Elem()
- minAPIVersionForType["ClusterFailoverLevelAdmissionControlPolicy"] = "4.0"
}
// The current admission control related information if the cluster was configured
@@ -13053,7 +13088,6 @@ type ClusterFailoverResourcesAdmissionControlInfo struct {
func init() {
t["ClusterFailoverResourcesAdmissionControlInfo"] = reflect.TypeOf((*ClusterFailoverResourcesAdmissionControlInfo)(nil)).Elem()
- minAPIVersionForType["ClusterFailoverResourcesAdmissionControlInfo"] = "4.0"
}
// The `ClusterFailoverResourcesAdmissionControlPolicy`
@@ -13095,7 +13129,7 @@ type ClusterFailoverResourcesAdmissionControlPolicy struct {
// sufficient resources to restart virtual machines on available hosts.
//
// If not set, we assume 1.
- FailoverLevel int32 `xml:"failoverLevel,omitempty" json:"failoverLevel,omitempty" vim:"6.5"`
+ FailoverLevel int32 `xml:"failoverLevel,omitempty" json:"failoverLevel,omitempty"`
// Flag to enable user input values for
// `ClusterFailoverResourcesAdmissionControlPolicy.cpuFailoverResourcesPercent`
// and
@@ -13106,7 +13140,7 @@ type ClusterFailoverResourcesAdmissionControlPolicy struct {
//
// If users want to override the percentage values,
// they must disable the auto-compute by setting this field to false.
- AutoComputePercentages *bool `xml:"autoComputePercentages" json:"autoComputePercentages,omitempty" vim:"6.5"`
+ AutoComputePercentages *bool `xml:"autoComputePercentages" json:"autoComputePercentages,omitempty"`
// Percentage of persistent memory resources in the cluster to reserve for
// the failover.
//
@@ -13124,7 +13158,6 @@ type ClusterFailoverResourcesAdmissionControlPolicy struct {
func init() {
t["ClusterFailoverResourcesAdmissionControlPolicy"] = reflect.TypeOf((*ClusterFailoverResourcesAdmissionControlPolicy)(nil)).Elem()
- minAPIVersionForType["ClusterFailoverResourcesAdmissionControlPolicy"] = "4.0"
}
// This policy allows setting a fixed slot size
@@ -13139,7 +13172,55 @@ type ClusterFixedSizeSlotPolicy struct {
func init() {
t["ClusterFixedSizeSlotPolicy"] = reflect.TypeOf((*ClusterFixedSizeSlotPolicy)(nil)).Elem()
- minAPIVersionForType["ClusterFixedSizeSlotPolicy"] = "5.1"
+}
+
+// An `ClusterFtVmHostRuleInfo` object provides control of the
+// placement of virtual machines across two host groups. The virtual machines
+// and hosts referenced by an FT VM-Host rule must be in the same cluster.
+//
+// An FT VM-Host rule identifies the following groups.
+// - A virtual machine group name (`ClusterVmGroup`).
+// - An array of two host groups (`ClusterHostGroup`).
+//
+// `ClusterFtVmHostRuleInfo` stores only the names of the relevant
+// virtual machine and host groups. The group contents are stored in
+// the virtual machine and host group objects.
+//
+// When employing this rule, take care to ensure that the specified
+// host groups have sufficient resources to support the requirements
+// of all VMs specified.
+type ClusterFtVmHostRuleInfo struct {
+ ClusterRuleInfo
+
+ // Virtual machine group name
+ // (`ClusterVmGroup*.*ClusterGroupInfo.name`).
+ //
+ // The named virtual machine group may have zero or more VMs.
+ // A virtual machine in this group may be a normal virtual machine
+ // or a fault tolerant primary virtual machine; it cannot
+ // be a fault tolerant secondary virtual machine.
+ //
+ // Control of FT secondary virtual machines is implied by the presence
+ // of the primary FT virtual machine.
+ //
+ // A virtual machine in this group should not be referenced in any other
+ // FT VM-Host rule or VM-Host rule `ClusterVmHostRuleInfo`.
+ VmGroupName string `xml:"vmGroupName" json:"vmGroupName"`
+ // Array of two Host Groups (`ClusterHostGroup`).
+ //
+ // The hostGroup array must have two host groups. Each host group in the
+ // hostGroup array will have a set of hosts. For each Fault Tolerance primary
+ // VM that is part of VmGroup, the primary and secondary VMs would be placed
+ // on hosts that are not part of the same host group.
+ //
+ // The members of each host group should be disjoint from the members
+ // of all other host group specified.
+ HostGroupName []string `xml:"hostGroupName,omitempty" json:"hostGroupName,omitempty"`
+}
+
+func init() {
+ t["ClusterFtVmHostRuleInfo"] = reflect.TypeOf((*ClusterFtVmHostRuleInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterFtVmHostRuleInfo"] = "8.0.3.0"
}
// `ClusterGroupInfo` is the base type for all virtual machine
@@ -13153,17 +13234,16 @@ type ClusterGroupInfo struct {
// Unique name of the group.
Name string `xml:"name" json:"name"`
// Flag to indicate whether the group is created by the user or the system.
- UserCreated *bool `xml:"userCreated" json:"userCreated,omitempty" vim:"5.0"`
+ UserCreated *bool `xml:"userCreated" json:"userCreated,omitempty"`
// Unique ID for the group.
//
// uniqueID is unique within a cluster.
// Groups residing in different clusters might share a uniqueID.
- UniqueID string `xml:"uniqueID,omitempty" json:"uniqueID,omitempty" vim:"6.0"`
+ UniqueID string `xml:"uniqueID,omitempty" json:"uniqueID,omitempty"`
}
func init() {
t["ClusterGroupInfo"] = reflect.TypeOf((*ClusterGroupInfo)(nil)).Elem()
- minAPIVersionForType["ClusterGroupInfo"] = "4.1"
}
// An incremental update to the cluster-wide groups.
@@ -13175,7 +13255,6 @@ type ClusterGroupSpec struct {
func init() {
t["ClusterGroupSpec"] = reflect.TypeOf((*ClusterGroupSpec)(nil)).Elem()
- minAPIVersionForType["ClusterGroupSpec"] = "4.1"
}
// The `ClusterHostGroup` data object identifies hosts for VM-Host rules.
@@ -13196,7 +13275,6 @@ type ClusterHostGroup struct {
func init() {
t["ClusterHostGroup"] = reflect.TypeOf((*ClusterHostGroup)(nil)).Elem()
- minAPIVersionForType["ClusterHostGroup"] = "4.1"
}
// Describes a HostSystem's quarantine or maintenance mode change action.
@@ -13212,7 +13290,6 @@ type ClusterHostInfraUpdateHaModeAction struct {
func init() {
t["ClusterHostInfraUpdateHaModeAction"] = reflect.TypeOf((*ClusterHostInfraUpdateHaModeAction)(nil)).Elem()
- minAPIVersionForType["ClusterHostInfraUpdateHaModeAction"] = "6.5"
}
// Describes a single host power action.
@@ -13246,7 +13323,6 @@ type ClusterHostPowerAction struct {
func init() {
t["ClusterHostPowerAction"] = reflect.TypeOf((*ClusterHostPowerAction)(nil)).Elem()
- minAPIVersionForType["ClusterHostPowerAction"] = "2.5"
}
// A DRS recommended host for either powering on, resuming or
@@ -13313,7 +13389,6 @@ type ClusterInfraUpdateHaConfigInfo struct {
func init() {
t["ClusterInfraUpdateHaConfigInfo"] = reflect.TypeOf((*ClusterInfraUpdateHaConfigInfo)(nil)).Elem()
- minAPIVersionForType["ClusterInfraUpdateHaConfigInfo"] = "6.5"
}
// Describes an initial placement of a single virtual machine
@@ -13333,7 +13408,6 @@ type ClusterInitialPlacementAction struct {
func init() {
t["ClusterInitialPlacementAction"] = reflect.TypeOf((*ClusterInitialPlacementAction)(nil)).Elem()
- minAPIVersionForType["ClusterInitialPlacementAction"] = "2.5"
}
// Information about an IO Filter on a compute resource.
@@ -13352,12 +13426,11 @@ type ClusterIoFilterInfo struct {
// The URL of the VIB package that the IO Filter is installed from.
//
// The property is unset if the information is not available.
- VibUrl string `xml:"vibUrl,omitempty" json:"vibUrl,omitempty" vim:"6.5"`
+ VibUrl string `xml:"vibUrl,omitempty" json:"vibUrl,omitempty"`
}
func init() {
t["ClusterIoFilterInfo"] = reflect.TypeOf((*ClusterIoFilterInfo)(nil)).Elem()
- minAPIVersionForType["ClusterIoFilterInfo"] = "6.0"
}
// Describes a single VM migration action.
@@ -13370,7 +13443,6 @@ type ClusterMigrationAction struct {
func init() {
t["ClusterMigrationAction"] = reflect.TypeOf((*ClusterMigrationAction)(nil)).Elem()
- minAPIVersionForType["ClusterMigrationAction"] = "2.5"
}
// The Cluster network config spec allows specification of
@@ -13397,7 +13469,6 @@ type ClusterNetworkConfigSpec struct {
func init() {
t["ClusterNetworkConfigSpec"] = reflect.TypeOf((*ClusterNetworkConfigSpec)(nil)).Elem()
- minAPIVersionForType["ClusterNetworkConfigSpec"] = "6.5"
}
// This data class reports one virtual machine powerOn failure.
@@ -13414,7 +13485,6 @@ type ClusterNotAttemptedVmInfo struct {
func init() {
t["ClusterNotAttemptedVmInfo"] = reflect.TypeOf((*ClusterNotAttemptedVmInfo)(nil)).Elem()
- minAPIVersionForType["ClusterNotAttemptedVmInfo"] = "2.5"
}
// vSphere cluster VM orchestration settings.
@@ -13438,7 +13508,6 @@ type ClusterOrchestrationInfo struct {
func init() {
t["ClusterOrchestrationInfo"] = reflect.TypeOf((*ClusterOrchestrationInfo)(nil)).Elem()
- minAPIVersionForType["ClusterOrchestrationInfo"] = "6.5"
}
// This event records when a cluster's host capacity cannot satisfy resource
@@ -13470,7 +13539,6 @@ type ClusterPowerOnVmResult struct {
func init() {
t["ClusterPowerOnVmResult"] = reflect.TypeOf((*ClusterPowerOnVmResult)(nil)).Elem()
- minAPIVersionForType["ClusterPowerOnVmResult"] = "2.5"
}
// The `ClusterPreemptibleVmPairInfo` data object contains the monitored and the
@@ -13563,7 +13631,6 @@ type ClusterProfileCompleteConfigSpec struct {
func init() {
t["ClusterProfileCompleteConfigSpec"] = reflect.TypeOf((*ClusterProfileCompleteConfigSpec)(nil)).Elem()
- minAPIVersionForType["ClusterProfileCompleteConfigSpec"] = "4.0"
}
type ClusterProfileConfigInfo struct {
@@ -13594,7 +13661,6 @@ type ClusterProfileConfigServiceCreateSpec struct {
func init() {
t["ClusterProfileConfigServiceCreateSpec"] = reflect.TypeOf((*ClusterProfileConfigServiceCreateSpec)(nil)).Elem()
- minAPIVersionForType["ClusterProfileConfigServiceCreateSpec"] = "4.0"
}
// DataObject which is a baseclass for other configuration
@@ -13605,7 +13671,6 @@ type ClusterProfileConfigSpec struct {
func init() {
t["ClusterProfileConfigSpec"] = reflect.TypeOf((*ClusterProfileConfigSpec)(nil)).Elem()
- minAPIVersionForType["ClusterProfileConfigSpec"] = "4.0"
}
// Base class for Cluster CreateSpecs
@@ -13615,7 +13680,6 @@ type ClusterProfileCreateSpec struct {
func init() {
t["ClusterProfileCreateSpec"] = reflect.TypeOf((*ClusterProfileCreateSpec)(nil)).Elem()
- minAPIVersionForType["ClusterProfileCreateSpec"] = "4.0"
}
// Recommendation is the base class for any packaged group of
@@ -13644,9 +13708,9 @@ type ClusterRecommendation struct {
ReasonText string `xml:"reasonText" json:"reasonText"`
// Text that provides warnings about potential adverse implications of
// applying this recommendation
- WarningText string `xml:"warningText,omitempty" json:"warningText,omitempty" vim:"6.0"`
+ WarningText string `xml:"warningText,omitempty" json:"warningText,omitempty"`
// Warning about potential adverse implications of applying a recommendation
- WarningDetails *LocalizableMessage `xml:"warningDetails,omitempty" json:"warningDetails,omitempty" vim:"6.0"`
+ WarningDetails *LocalizableMessage `xml:"warningDetails,omitempty" json:"warningDetails,omitempty"`
// This recommendation may depend on some other recommendations.
//
// The prerequisite recommendations are listed by their keys.
@@ -13659,7 +13723,6 @@ type ClusterRecommendation struct {
func init() {
t["ClusterRecommendation"] = reflect.TypeOf((*ClusterRecommendation)(nil)).Elem()
- minAPIVersionForType["ClusterRecommendation"] = "2.5"
}
// This event records when a cluster is reconfigured.
@@ -13667,7 +13730,7 @@ type ClusterReconfiguredEvent struct {
ClusterEvent
// The configuration values changed during the reconfiguration.
- ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
+ ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty"`
}
func init() {
@@ -13691,7 +13754,6 @@ type ClusterResourceUsageSummary struct {
func init() {
t["ClusterResourceUsageSummary"] = reflect.TypeOf((*ClusterResourceUsageSummary)(nil)).Elem()
- minAPIVersionForType["ClusterResourceUsageSummary"] = "6.0"
}
// The `ClusterRuleInfo` data object is the base type for affinity
@@ -13779,27 +13841,27 @@ type ClusterRuleInfo struct {
// Flag to indicate whether compliance with this rule is mandatory or optional.
//
// The default value is false (optional).
- // - A mandatory rule will prevent a virtual machine from being powered on
- // or migrated to a host that does not satisfy the rule.
- // - An optional rule specifies a preference. DRS takes an optional rule
- // into consideration when it places a virtual machine in the cluster.
- // DRS will act on an optional rule as long as it does not impact
- // the ability of the host to satisfy current CPU or memory requirements
- // for virtual machines on the system. (As long as the operation does not
- // cause any host to be more than 100% utilized.)
- Mandatory *bool `xml:"mandatory" json:"mandatory,omitempty" vim:"4.1"`
+ // - A mandatory rule will prevent a virtual machine from being powered on
+ // or migrated to a host that does not satisfy the rule.
+ // - An optional rule specifies a preference. DRS takes an optional rule
+ // into consideration when it places a virtual machine in the cluster.
+ // DRS will act on an optional rule as long as it does not impact
+ // the ability of the host to satisfy current CPU or memory requirements
+ // for virtual machines on the system. (As long as the operation does not
+ // cause any host to be more than 100% utilized.)
+ Mandatory *bool `xml:"mandatory" json:"mandatory,omitempty"`
// Flag to indicate whether the rule is created by the user or the system.
- UserCreated *bool `xml:"userCreated" json:"userCreated,omitempty" vim:"4.1"`
+ UserCreated *bool `xml:"userCreated" json:"userCreated,omitempty"`
// Flag to indicate whether or not the placement of Virtual Machines is currently
// in compliance with this rule.
//
// The Server does not currently use this property.
- InCompliance *bool `xml:"inCompliance" json:"inCompliance,omitempty" vim:"4.1"`
+ InCompliance *bool `xml:"inCompliance" json:"inCompliance,omitempty"`
// UUID for the rule.
//
// When adding a new rule, do not specify this
// property. The Server will assign the key.
- RuleUuid string `xml:"ruleUuid,omitempty" json:"ruleUuid,omitempty" vim:"6.0"`
+ RuleUuid string `xml:"ruleUuid,omitempty" json:"ruleUuid,omitempty"`
}
func init() {
@@ -13835,7 +13897,6 @@ type ClusterSlotPolicy struct {
func init() {
t["ClusterSlotPolicy"] = reflect.TypeOf((*ClusterSlotPolicy)(nil)).Elem()
- minAPIVersionForType["ClusterSlotPolicy"] = "5.1"
}
// This event records when a cluster's overall status changed.
@@ -13957,7 +14018,6 @@ type ClusterUsageSummary struct {
func init() {
t["ClusterUsageSummary"] = reflect.TypeOf((*ClusterUsageSummary)(nil)).Elem()
- minAPIVersionForType["ClusterUsageSummary"] = "6.0"
}
// vSphere HA Virtual Machine Component Protection Service settings.
@@ -13988,19 +14048,19 @@ type ClusterVmComponentProtectionSettings struct {
// When an APD condition happens and the host begins timing out I/Os
// (@link vim.host.MountInfo.InaccessibleReason#AllPathsDown\_Timeout}, VM Component
// Protection service will react based on the specific value of this property:
- // - `**disabled**`, no reaction, i.e., no
- // VM failover and no event reporting for the failures.
- // - `**warning**`, service will issue events,
- // alarms and/or config issues for component failures.
- // - `**restartConservative**`, service will
- // terminate the impacted VMs after a preconfigured time interval
- // (`ClusterVmComponentProtectionSettings.vmTerminateDelayForAPDSec`) if they are to be restarted.
- // - `**restartAggressive**`, service might
- // terminate the impacted VMs after a preconfigured time interval
- // (`ClusterVmComponentProtectionSettings.vmTerminateDelayForAPDSec`). In some cases, a VM is terminated
- // even if it may not able to be restarted or lose Fault Tolerance redundancy.
- // - `**clusterDefault**`, service will implement
- // cluster default.
+ // - `**disabled**`, no reaction, i.e., no
+ // VM failover and no event reporting for the failures.
+ // - `**warning**`, service will issue events,
+ // alarms and/or config issues for component failures.
+ // - `**restartConservative**`, service will
+ // terminate the impacted VMs after a preconfigured time interval
+ // (`ClusterVmComponentProtectionSettings.vmTerminateDelayForAPDSec`) if they are to be restarted.
+ // - `**restartAggressive**`, service might
+ // terminate the impacted VMs after a preconfigured time interval
+ // (`ClusterVmComponentProtectionSettings.vmTerminateDelayForAPDSec`). In some cases, a VM is terminated
+ // even if it may not able to be restarted or lose Fault Tolerance redundancy.
+ // - `**clusterDefault**`, service will implement
+ // cluster default.
VmStorageProtectionForAPD string `xml:"vmStorageProtectionForAPD,omitempty" json:"vmStorageProtectionForAPD,omitempty"`
// This property indicates if APD timeout will be enabled for all the hosts
// in the cluster when vSphere HA is configured.
@@ -14059,7 +14119,6 @@ type ClusterVmComponentProtectionSettings struct {
func init() {
t["ClusterVmComponentProtectionSettings"] = reflect.TypeOf((*ClusterVmComponentProtectionSettings)(nil)).Elem()
- minAPIVersionForType["ClusterVmComponentProtectionSettings"] = "6.0"
}
// The `ClusterVmGroup` data object identifies virtual machines
@@ -14086,7 +14145,6 @@ type ClusterVmGroup struct {
func init() {
t["ClusterVmGroup"] = reflect.TypeOf((*ClusterVmGroup)(nil)).Elem()
- minAPIVersionForType["ClusterVmGroup"] = "4.1"
}
// A `ClusterVmHostRuleInfo` object identifies virtual machines
@@ -14132,7 +14190,6 @@ type ClusterVmHostRuleInfo struct {
func init() {
t["ClusterVmHostRuleInfo"] = reflect.TypeOf((*ClusterVmHostRuleInfo)(nil)).Elem()
- minAPIVersionForType["ClusterVmHostRuleInfo"] = "4.1"
}
// The `ClusterVmOrchestrationInfo` data object contains the orchestration
@@ -14157,7 +14214,6 @@ type ClusterVmOrchestrationInfo struct {
func init() {
t["ClusterVmOrchestrationInfo"] = reflect.TypeOf((*ClusterVmOrchestrationInfo)(nil)).Elem()
- minAPIVersionForType["ClusterVmOrchestrationInfo"] = "6.5"
}
// An incremental update to the per-VM orchestration config.
@@ -14169,7 +14225,6 @@ type ClusterVmOrchestrationSpec struct {
func init() {
t["ClusterVmOrchestrationSpec"] = reflect.TypeOf((*ClusterVmOrchestrationSpec)(nil)).Elem()
- minAPIVersionForType["ClusterVmOrchestrationSpec"] = "6.5"
}
// VM readiness policy specifies when a VM is deemed ready.
@@ -14199,7 +14254,6 @@ type ClusterVmReadiness struct {
func init() {
t["ClusterVmReadiness"] = reflect.TypeOf((*ClusterVmReadiness)(nil)).Elem()
- minAPIVersionForType["ClusterVmReadiness"] = "6.5"
}
// The `ClusterVmToolsMonitoringSettings` data object contains
@@ -14228,9 +14282,9 @@ type ClusterVmToolsMonitoringSettings struct {
//
// Specify a string value corresponding to one of the
// following `ClusterDasConfigInfoVmMonitoringState_enum` values:
- // - vmMonitoringDisabled
(the default value)
- // - vmMonitoringOnly
- // - vmAndAppMonitoring
+ // - vmMonitoringDisabled
(the default value)
+ // - vmMonitoringOnly
+ // - vmAndAppMonitoring
//
// The individual VMware Tools setting for virtual machine monitoring depends on
// the HA Virtual Machine Health Monitoring Service level that is
@@ -14238,12 +14292,12 @@ type ClusterVmToolsMonitoringSettings struct {
// (`ClusterDasConfigInfo*.*ClusterDasConfigInfo.vmMonitoring`).
// The following list indicates the supported VMware Tools vmMonitoring
values
// according to the cluster configuration.
- // - If the cluster configuration specifies vmMonitoringDisabled
,
- // the Service is disabled and the HA Service ignores the VMware Tools monitoring setting.
- // - If the cluster configuration specifies vmMonitoringOnly
,
- // the Service supports vmMonitoringOnly
or vmMonitoringDisabled
only.
- // - If the cluster configuration specifies vmAndAppMonitoring
,
- // you can use any of the `ClusterDasConfigInfoVmMonitoringState_enum` values.
+ // - If the cluster configuration specifies vmMonitoringDisabled
,
+ // the Service is disabled and the HA Service ignores the VMware Tools monitoring setting.
+ // - If the cluster configuration specifies vmMonitoringOnly
,
+ // the Service supports vmMonitoringOnly
or vmMonitoringDisabled
only.
+ // - If the cluster configuration specifies vmAndAppMonitoring
,
+ // you can use any of the `ClusterDasConfigInfoVmMonitoringState_enum` values.
//
// The `ClusterVmToolsMonitoringSettings.clusterSettings` value has no
// effect on the constraint imposed by the HA Virtual Machine Health Monitoring Service
@@ -14254,7 +14308,7 @@ type ClusterVmToolsMonitoringSettings struct {
// currently configured type of virtual machine monitoring.
// You can use these events even if monitoring is being disabled
// or set to vmMonitoringOnly
.
- VmMonitoring string `xml:"vmMonitoring,omitempty" json:"vmMonitoring,omitempty" vim:"4.1"`
+ VmMonitoring string `xml:"vmMonitoring,omitempty" json:"vmMonitoring,omitempty"`
// Flag indicating whether to use the cluster settings or the per VM settings.
//
// The default value is true.
@@ -14296,7 +14350,6 @@ type ClusterVmToolsMonitoringSettings struct {
func init() {
t["ClusterVmToolsMonitoringSettings"] = reflect.TypeOf((*ClusterVmToolsMonitoringSettings)(nil)).Elem()
- minAPIVersionForType["ClusterVmToolsMonitoringSettings"] = "4.0"
}
// The distributed virtual switch received a reconfiguration request to
@@ -14310,7 +14363,6 @@ type CollectorAddressUnset struct {
func init() {
t["CollectorAddressUnset"] = reflect.TypeOf((*CollectorAddressUnset)(nil)).Elem()
- minAPIVersionForType["CollectorAddressUnset"] = "5.1"
}
type CollectorAddressUnsetFault CollectorAddressUnset
@@ -14333,7 +14385,7 @@ type ComplianceFailure struct {
// If complianceStatus is non-compliant, failureValues will
// contain values of the non-compliant fields on the host and
// in the profile.
- FailureValues []ComplianceFailureComplianceFailureValues `xml:"failureValues,omitempty" json:"failureValues,omitempty" vim:"6.5"`
+ FailureValues []ComplianceFailureComplianceFailureValues `xml:"failureValues,omitempty" json:"failureValues,omitempty"`
}
func init() {
@@ -14374,7 +14426,6 @@ type ComplianceLocator struct {
func init() {
t["ComplianceLocator"] = reflect.TypeOf((*ComplianceLocator)(nil)).Elem()
- minAPIVersionForType["ComplianceLocator"] = "4.0"
}
// DataObject contains the verifications that need to be done
@@ -14390,7 +14441,6 @@ type ComplianceProfile struct {
func init() {
t["ComplianceProfile"] = reflect.TypeOf((*ComplianceProfile)(nil)).Elem()
- minAPIVersionForType["ComplianceProfile"] = "4.0"
}
// DataObject representing the result from a ComplianceCheck
@@ -14420,13 +14470,14 @@ type ComplianceResult struct {
func init() {
t["ComplianceResult"] = reflect.TypeOf((*ComplianceResult)(nil)).Elem()
- minAPIVersionForType["ComplianceResult"] = "4.0"
}
// The parameters of `HostProfileManager.CompositeHostProfile_Task`.
type CompositeHostProfileRequestType struct {
- This ManagedObjectReference `xml:"_this" json:"-"`
- Source ManagedObjectReference `xml:"source" json:"source"`
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // Refers instance of `Profile`.
+ Source ManagedObjectReference `xml:"source" json:"source"`
+ // Refers instances of `Profile`.
Targets []ManagedObjectReference `xml:"targets,omitempty" json:"targets,omitempty"`
ToBeMerged *HostApplyProfile `xml:"toBeMerged,omitempty" json:"toBeMerged,omitempty"`
ToBeReplacedWith *HostApplyProfile `xml:"toBeReplacedWith,omitempty" json:"toBeReplacedWith,omitempty"`
@@ -14473,7 +14524,6 @@ type CompositePolicyOption struct {
func init() {
t["CompositePolicyOption"] = reflect.TypeOf((*CompositePolicyOption)(nil)).Elem()
- minAPIVersionForType["CompositePolicyOption"] = "4.0"
}
type ComputeDiskPartitionInfo ComputeDiskPartitionInfoRequestType
@@ -14501,7 +14551,7 @@ type ComputeDiskPartitionInfoForResizeRequestType struct {
// computed from the block range.
// If partitionFormat is not specified, the existing partitionFormat
// on disk is used, if the disk is not blank and mbr otherwise.
- PartitionFormat string `xml:"partitionFormat,omitempty" json:"partitionFormat,omitempty" vim:"5.0"`
+ PartitionFormat string `xml:"partitionFormat,omitempty" json:"partitionFormat,omitempty"`
}
func init() {
@@ -14523,7 +14573,7 @@ type ComputeDiskPartitionInfoRequestType struct {
// computed from the block range.
// If partitionFormat is not specified, the existing partitionFormat
// on disk is used, if the disk is not blank and mbr otherwise.
- PartitionFormat string `xml:"partitionFormat,omitempty" json:"partitionFormat,omitempty" vim:"5.0"`
+ PartitionFormat string `xml:"partitionFormat,omitempty" json:"partitionFormat,omitempty"`
}
func init() {
@@ -14546,17 +14596,17 @@ type ComputeResourceConfigInfo struct {
// property; the default is "vmDirectory". This setting will be honored
// for each virtual machine within the compute resource for which the
// following is true:
- // - The virtual machine is executing on a host that has the
- // `perVmSwapFiles` capability.
- // - The virtual machine configuration's
- // `swapPlacement` property is set
- // to "inherit".
+ // - The virtual machine is executing on a host that has the
+ // `perVmSwapFiles` capability.
+ // - The virtual machine configuration's
+ // `swapPlacement` property is set
+ // to "inherit".
//
// See also `VirtualMachineConfigInfoSwapPlacementType_enum`.
VmSwapPlacement string `xml:"vmSwapPlacement" json:"vmSwapPlacement"`
// Flag indicating whether or not the SPBM(Storage Policy Based Management)
// feature is enabled on this compute resource
- SpbmEnabled *bool `xml:"spbmEnabled" json:"spbmEnabled,omitempty" vim:"5.0"`
+ SpbmEnabled *bool `xml:"spbmEnabled" json:"spbmEnabled,omitempty"`
// Key for Default Hardware Version used on this compute resource
// in the format of `VirtualMachineConfigOptionDescriptor.key`.
//
@@ -14564,7 +14614,7 @@ type ComputeResourceConfigInfo struct {
// `VirtualMachineConfigOptionDescriptor.defaultConfigOption` returned
// by `ComputeResource.environmentBrowser` of this object and all its children
// with this field unset.
- DefaultHardwareVersionKey string `xml:"defaultHardwareVersionKey,omitempty" json:"defaultHardwareVersionKey,omitempty" vim:"5.1"`
+ DefaultHardwareVersionKey string `xml:"defaultHardwareVersionKey,omitempty" json:"defaultHardwareVersionKey,omitempty"`
// Key for Maximum Hardware Version used on this compute resource
// in the format of `VirtualMachineConfigOptionDescriptor.key`.
//
@@ -14577,7 +14627,6 @@ type ComputeResourceConfigInfo struct {
func init() {
t["ComputeResourceConfigInfo"] = reflect.TypeOf((*ComputeResourceConfigInfo)(nil)).Elem()
- minAPIVersionForType["ComputeResourceConfigInfo"] = "2.5"
}
// Changes to apply to the compute resource configuration.
@@ -14597,7 +14646,7 @@ type ComputeResourceConfigSpec struct {
VmSwapPlacement string `xml:"vmSwapPlacement,omitempty" json:"vmSwapPlacement,omitempty"`
// Flag indicating whether or not the SPBM(Storage Policy Based Management)
// feature is enabled on this compute resource
- SpbmEnabled *bool `xml:"spbmEnabled" json:"spbmEnabled,omitempty" vim:"5.0"`
+ SpbmEnabled *bool `xml:"spbmEnabled" json:"spbmEnabled,omitempty"`
// Key for Default Hardware Version to be used on this compute resource
// in the format of `VirtualMachineConfigOptionDescriptor.key`.
//
@@ -14605,12 +14654,12 @@ type ComputeResourceConfigSpec struct {
// `VirtualMachineConfigOptionDescriptor.defaultConfigOption` returned
// by `ComputeResource.environmentBrowser` of this object and all its children
// with this field unset.
- DefaultHardwareVersionKey string `xml:"defaultHardwareVersionKey,omitempty" json:"defaultHardwareVersionKey,omitempty" vim:"5.1"`
+ DefaultHardwareVersionKey string `xml:"defaultHardwareVersionKey,omitempty" json:"defaultHardwareVersionKey,omitempty"`
// Desired software spec for the set of physical compute resources.
//
// This
// parameter is only supported in vim.Folder#createClusterEx operation.
- DesiredSoftwareSpec *DesiredSoftwareSpec `xml:"desiredSoftwareSpec,omitempty" json:"desiredSoftwareSpec,omitempty" vim:"7.0"`
+ DesiredSoftwareSpec *DesiredSoftwareSpec `xml:"desiredSoftwareSpec,omitempty" json:"desiredSoftwareSpec,omitempty"`
// Key for Maximum Hardware Version to be used on this compute resource
// in the format of `VirtualMachineConfigOptionDescriptor.key`.
//
@@ -14627,11 +14676,12 @@ type ComputeResourceConfigSpec struct {
// default. This parameter is only supported in `Folder.CreateClusterEx`
// operation.
EnableConfigManager *bool `xml:"enableConfigManager" json:"enableConfigManager,omitempty" vim:"7.0.3.1"`
+ // Specification for the host seeding operation.
+ HostSeedSpec *ComputeResourceHostSeedSpec `xml:"hostSeedSpec,omitempty" json:"hostSeedSpec,omitempty" vim:"8.0.3.0"`
}
func init() {
t["ComputeResourceConfigSpec"] = reflect.TypeOf((*ComputeResourceConfigSpec)(nil)).Elem()
- minAPIVersionForType["ComputeResourceConfigSpec"] = "2.5"
}
// The event argument is a ComputeResource object.
@@ -14654,13 +14704,25 @@ func init() {
type ComputeResourceHostSPBMLicenseInfo struct {
DynamicData
+ // Refers instance of `HostSystem`.
Host ManagedObjectReference `xml:"host" json:"host"`
LicenseState ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState `xml:"licenseState" json:"licenseState"`
}
func init() {
t["ComputeResourceHostSPBMLicenseInfo"] = reflect.TypeOf((*ComputeResourceHostSPBMLicenseInfo)(nil)).Elem()
- minAPIVersionForType["ComputeResourceHostSPBMLicenseInfo"] = "5.0"
+}
+
+type ComputeResourceHostSeedSpec struct {
+ DynamicData
+
+ // Specification for the seed host.
+ SingleHostSpec ComputeResourceHostSeedSpecSingleHostSpec `xml:"singleHostSpec" json:"singleHostSpec"`
+}
+
+func init() {
+ t["ComputeResourceHostSeedSpec"] = reflect.TypeOf((*ComputeResourceHostSeedSpec)(nil)).Elem()
+ minAPIVersionForType["ComputeResourceHostSeedSpec"] = "8.0.3.0"
}
// This data object contains a specification for a single candidate host
@@ -14787,22 +14849,22 @@ type ConfigTarget struct {
// Maximum number of CPUs available on a single host.
//
// For standalone hosts, this value will be the same as numCpus.
- MaxCpusPerHost int32 `xml:"maxCpusPerHost,omitempty" json:"maxCpusPerHost,omitempty" vim:"7.0"`
+ MaxCpusPerHost int32 `xml:"maxCpusPerHost,omitempty" json:"maxCpusPerHost,omitempty"`
// Presence of System Management Controller, indicates the host is
// Apple hardware, and thus capable of running Mac OS guest as VM.
- SmcPresent *bool `xml:"smcPresent" json:"smcPresent,omitempty" vim:"5.0"`
+ SmcPresent *bool `xml:"smcPresent" json:"smcPresent,omitempty"`
// List of datastores available for virtual disks and associated storage.
Datastore []VirtualMachineDatastoreInfo `xml:"datastore,omitempty" json:"datastore,omitempty"`
// List of networks available for virtual network adapters.
Network []VirtualMachineNetworkInfo `xml:"network,omitempty" json:"network,omitempty"`
// List of opaque networks available for virtual network adapters.
- OpaqueNetwork []OpaqueNetworkTargetInfo `xml:"opaqueNetwork,omitempty" json:"opaqueNetwork,omitempty" vim:"5.5"`
+ OpaqueNetwork []OpaqueNetworkTargetInfo `xml:"opaqueNetwork,omitempty" json:"opaqueNetwork,omitempty"`
// List of networks available from DistributedVirtualSwitch for virtual
// network adapters.
- DistributedVirtualPortgroup []DistributedVirtualPortgroupInfo `xml:"distributedVirtualPortgroup,omitempty" json:"distributedVirtualPortgroup,omitempty" vim:"4.0"`
+ DistributedVirtualPortgroup []DistributedVirtualPortgroupInfo `xml:"distributedVirtualPortgroup,omitempty" json:"distributedVirtualPortgroup,omitempty"`
// List of distributed virtual switch available for virtual network
// adapters.
- DistributedVirtualSwitch []DistributedVirtualSwitchInfo `xml:"distributedVirtualSwitch,omitempty" json:"distributedVirtualSwitch,omitempty" vim:"4.0"`
+ DistributedVirtualSwitch []DistributedVirtualSwitchInfo `xml:"distributedVirtualSwitch,omitempty" json:"distributedVirtualSwitch,omitempty"`
// List of CD-ROM devices available for use by virtual CD-ROMs.
//
// Used for
@@ -14822,13 +14884,13 @@ type ConfigTarget struct {
//
// Used for
// `VirtualSoundCardDeviceBackingInfo`.
- Sound []VirtualMachineSoundInfo `xml:"sound,omitempty" json:"sound,omitempty" vim:"2.5"`
+ Sound []VirtualMachineSoundInfo `xml:"sound,omitempty" json:"sound,omitempty"`
// List of USB devices on the host that are available to support
// virtualization.
//
// Used for
// `VirtualUSBUSBBackingInfo`.
- Usb []VirtualMachineUsbInfo `xml:"usb,omitempty" json:"usb,omitempty" vim:"2.5"`
+ Usb []VirtualMachineUsbInfo `xml:"usb,omitempty" json:"usb,omitempty"`
// List of floppy devices available for use by virtual floppies.
//
// Used for
@@ -14851,7 +14913,7 @@ type ConfigTarget struct {
// `GuestOsDescriptor.supportedMaxMemMB`. When invoked on the
// cluster, maximum size that can be created on at least one host
// in the cluster is reported.
- SupportedMaxMemMB int32 `xml:"supportedMaxMemMB,omitempty" json:"supportedMaxMemMB,omitempty" vim:"7.0"`
+ SupportedMaxMemMB int32 `xml:"supportedMaxMemMB,omitempty" json:"supportedMaxMemMB,omitempty"`
// Information about the current available resources on the current resource pool
// for a virtual machine.
//
@@ -14864,26 +14926,26 @@ type ConfigTarget struct {
// virtual machine.
AutoVmotion *bool `xml:"autoVmotion" json:"autoVmotion,omitempty"`
// List of generic PCI devices.
- PciPassthrough []BaseVirtualMachinePciPassthroughInfo `xml:"pciPassthrough,omitempty,typeattr" json:"pciPassthrough,omitempty" vim:"4.0"`
+ PciPassthrough []BaseVirtualMachinePciPassthroughInfo `xml:"pciPassthrough,omitempty,typeattr" json:"pciPassthrough,omitempty"`
// List of SRIOV devices.
- Sriov []VirtualMachineSriovInfo `xml:"sriov,omitempty" json:"sriov,omitempty" vim:"5.5"`
+ Sriov []VirtualMachineSriovInfo `xml:"sriov,omitempty" json:"sriov,omitempty"`
// List of vFlash modules.
- VFlashModule []VirtualMachineVFlashModuleInfo `xml:"vFlashModule,omitempty" json:"vFlashModule,omitempty" vim:"5.5"`
+ VFlashModule []VirtualMachineVFlashModuleInfo `xml:"vFlashModule,omitempty" json:"vFlashModule,omitempty"`
// List of shared GPU passthrough types.
- SharedGpuPassthroughTypes []VirtualMachinePciSharedGpuPassthroughInfo `xml:"sharedGpuPassthroughTypes,omitempty" json:"sharedGpuPassthroughTypes,omitempty" vim:"6.0"`
+ SharedGpuPassthroughTypes []VirtualMachinePciSharedGpuPassthroughInfo `xml:"sharedGpuPassthroughTypes,omitempty" json:"sharedGpuPassthroughTypes,omitempty"`
// Maximum available persistent memory reservation on a compute resource
// in MB.
- AvailablePersistentMemoryReservationMB int64 `xml:"availablePersistentMemoryReservationMB,omitempty" json:"availablePersistentMemoryReservationMB,omitempty" vim:"6.7"`
+ AvailablePersistentMemoryReservationMB int64 `xml:"availablePersistentMemoryReservationMB,omitempty" json:"availablePersistentMemoryReservationMB,omitempty"`
// List of Dynamic DirectPath PCI devices.
- DynamicPassthrough []VirtualMachineDynamicPassthroughInfo `xml:"dynamicPassthrough,omitempty" json:"dynamicPassthrough,omitempty" vim:"7.0"`
+ DynamicPassthrough []VirtualMachineDynamicPassthroughInfo `xml:"dynamicPassthrough,omitempty" json:"dynamicPassthrough,omitempty"`
// Intel SGX information.
- SgxTargetInfo *VirtualMachineSgxTargetInfo `xml:"sgxTargetInfo,omitempty" json:"sgxTargetInfo,omitempty" vim:"7.0"`
+ SgxTargetInfo *VirtualMachineSgxTargetInfo `xml:"sgxTargetInfo,omitempty" json:"sgxTargetInfo,omitempty"`
// List of host clock resources available to support virtual precision
// clock device.
//
// Used for
// `VirtualPrecisionClockSystemClockBackingInfo`
- PrecisionClockInfo []VirtualMachinePrecisionClockInfo `xml:"precisionClockInfo,omitempty" json:"precisionClockInfo,omitempty" vim:"7.0"`
+ PrecisionClockInfo []VirtualMachinePrecisionClockInfo `xml:"precisionClockInfo,omitempty" json:"precisionClockInfo,omitempty"`
// Indicates whether the compute resource is capable of running AMD Secure
// Encrypted Virtualization (SEV) enabled virtual machines.
//
@@ -15170,7 +15232,6 @@ type ConflictingConfiguration struct {
func init() {
t["ConflictingConfiguration"] = reflect.TypeOf((*ConflictingConfiguration)(nil)).Elem()
- minAPIVersionForType["ConflictingConfiguration"] = "5.5"
}
// This class defines the configuration that is in conflict.
@@ -15187,7 +15248,6 @@ type ConflictingConfigurationConfig struct {
func init() {
t["ConflictingConfigurationConfig"] = reflect.TypeOf((*ConflictingConfigurationConfig)(nil)).Elem()
- minAPIVersionForType["ConflictingConfigurationConfig"] = "5.5"
}
type ConflictingConfigurationFault ConflictingConfiguration
@@ -15210,7 +15270,6 @@ type ConflictingDatastoreFound struct {
func init() {
t["ConflictingDatastoreFound"] = reflect.TypeOf((*ConflictingDatastoreFound)(nil)).Elem()
- minAPIVersionForType["ConflictingDatastoreFound"] = "5.1"
}
type ConflictingDatastoreFoundFault ConflictingDatastoreFound
@@ -15235,6 +15294,7 @@ type ConnectNvmeControllerExRequestType struct {
func init() {
t["ConnectNvmeControllerExRequestType"] = reflect.TypeOf((*ConnectNvmeControllerExRequestType)(nil)).Elem()
+ minAPIVersionForType["ConnectNvmeControllerExRequestType"] = "7.0.3.0"
}
type ConnectNvmeControllerEx_Task ConnectNvmeControllerExRequestType
@@ -15474,7 +15534,6 @@ type CpuHotPlugNotSupported struct {
func init() {
t["CpuHotPlugNotSupported"] = reflect.TypeOf((*CpuHotPlugNotSupported)(nil)).Elem()
- minAPIVersionForType["CpuHotPlugNotSupported"] = "4.0"
}
type CpuHotPlugNotSupportedFault CpuHotPlugNotSupported
@@ -15509,16 +15568,16 @@ type CpuIncompatible struct {
// format.
//
// The '-' character indicates an unknown value.
- RegisterBits string `xml:"registerBits,omitempty" json:"registerBits,omitempty" vim:"2.5"`
+ RegisterBits string `xml:"registerBits,omitempty" json:"registerBits,omitempty"`
// The desired values for the register's bits.
//
// The 'x' character indicates
// don't-care.
- DesiredBits string `xml:"desiredBits,omitempty" json:"desiredBits,omitempty" vim:"2.5"`
+ DesiredBits string `xml:"desiredBits,omitempty" json:"desiredBits,omitempty"`
// The host that is not compatible with the requirements.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"2.5"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
}
func init() {
@@ -15536,7 +15595,7 @@ type CpuIncompatible1ECX struct {
// Flag to indicate bit 0 is incompatible.
Sse3 bool `xml:"sse3" json:"sse3"`
// Flag to indicate bit 1 is incompatible.
- Pclmulqdq *bool `xml:"pclmulqdq" json:"pclmulqdq,omitempty" vim:"5.0"`
+ Pclmulqdq *bool `xml:"pclmulqdq" json:"pclmulqdq,omitempty"`
// Flag to indicate bit 9 is incompatible.
Ssse3 bool `xml:"ssse3" json:"ssse3"`
// Flag to indicate bit 19 is incompatible.
@@ -15544,7 +15603,7 @@ type CpuIncompatible1ECX struct {
// Flag to indicate bit 20 is incompatible.
Sse42 bool `xml:"sse42" json:"sse42"`
// Flag to indicate bit 25 is incompatible.
- Aes *bool `xml:"aes" json:"aes,omitempty" vim:"5.0"`
+ Aes *bool `xml:"aes" json:"aes,omitempty"`
// Flag to indicate that bits other than 0/1/9/19/20/25 are incompatible.
//
// I.e. the detected incompatibilities cannot be completely described by
@@ -15560,7 +15619,6 @@ type CpuIncompatible1ECX struct {
func init() {
t["CpuIncompatible1ECX"] = reflect.TypeOf((*CpuIncompatible1ECX)(nil)).Elem()
- minAPIVersionForType["CpuIncompatible1ECX"] = "2.5"
}
type CpuIncompatible1ECXFault CpuIncompatible1ECX
@@ -15600,7 +15658,6 @@ type CpuIncompatible81EDX struct {
func init() {
t["CpuIncompatible81EDX"] = reflect.TypeOf((*CpuIncompatible81EDX)(nil)).Elem()
- minAPIVersionForType["CpuIncompatible81EDX"] = "2.5"
}
type CpuIncompatible81EDXFault CpuIncompatible81EDX
@@ -15758,6 +15815,30 @@ type CreateCollectorForTasksResponse struct {
Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+type CreateCollectorWithInfoFilterForTasks CreateCollectorWithInfoFilterForTasksRequestType
+
+func init() {
+ t["CreateCollectorWithInfoFilterForTasks"] = reflect.TypeOf((*CreateCollectorWithInfoFilterForTasks)(nil)).Elem()
+}
+
+// The parameters of `TaskManager.CreateCollectorWithInfoFilterForTasks`.
+type CreateCollectorWithInfoFilterForTasksRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // The specification for the task query filter.
+ Filter TaskFilterSpec `xml:"filter" json:"filter"`
+ // The specification for the task info filter.
+ InfoFilter *TaskInfoFilterSpec `xml:"infoFilter,omitempty" json:"infoFilter,omitempty"`
+}
+
+func init() {
+ t["CreateCollectorWithInfoFilterForTasksRequestType"] = reflect.TypeOf((*CreateCollectorWithInfoFilterForTasksRequestType)(nil)).Elem()
+ minAPIVersionForType["CreateCollectorWithInfoFilterForTasksRequestType"] = "8.0.3.0"
+}
+
+type CreateCollectorWithInfoFilterForTasksResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
+}
+
type CreateContainerView CreateContainerViewRequestType
func init() {
@@ -15793,46 +15874,46 @@ type CreateContainerViewRequestType struct {
// Depending on the container type, the server will use the following
// properties of the container instance to obtain objects for the
// view's object list:
- // - `Folder` object - `Folder.childEntity`
- // property.
- // If recursive is false, the container list includes the reference
- // to the child entity in the folder instance.
- // If recursive is true, the server will follow the child
- // folder path(s) to collect additional childEntity references.
- // - `ResourcePool` object - `ResourcePool.vm`
- // and `ResourcePool.resourcePool` properties.
- // If recursive is false, the object list will contain references
- // to the virtual machines associated with this resource pool,
- // and references to virtual machines associated with the
- // immediate child resource pools. If recursive is true,
- // the server will follow all child resource pool paths
- // extending from the immediate children (and their children,
- // and so on) to collect additional references to virtual machines.
- // - `ComputeResource` object - `ComputeResource.host`
- // and `ComputeResource.resourcePool` properties.
- // If recursive is false, the object list will contain references
- // to the host systems associated with this compute resource,
- // references to virtual machines associated with the
- // host systems, and references to virtual machines associated
- // with the immediate child resource pools.
- // If recursive is true, the server will follow the child
- // resource pool paths (and their child resource pool paths,
- // and so on) to collect additional references to virtual machines.
- // - `Datacenter` object - `Datacenter.vmFolder`,
- // `Datacenter.hostFolder`,
- // `Datacenter.datastoreFolder`, and
- // `Datacenter.networkFolder` properties.
- // If recursive is set to false, the server uses the
- // immediate child folders for the virtual machines,
- // hosts, datastores, and networks associated with this
- // datacenter. If recursive is set to true, the server
- // will follow the folder paths to collect references
- // to additional objects.
- // - `HostSystem` object - `HostSystem.vm`
- // property.
- // The view object list contains references to the virtual machines
- // associated with this host system. The value of recursive does not
- // affect this behavior.
+ // - `Folder` object - `Folder.childEntity`
+ // property.
+ // If recursive is false, the container list includes the reference
+ // to the child entity in the folder instance.
+ // If recursive is true, the server will follow the child
+ // folder path(s) to collect additional childEntity references.
+ // - `ResourcePool` object - `ResourcePool.vm`
+ // and `ResourcePool.resourcePool` properties.
+ // If recursive is false, the object list will contain references
+ // to the virtual machines associated with this resource pool,
+ // and references to virtual machines associated with the
+ // immediate child resource pools. If recursive is true,
+ // the server will follow all child resource pool paths
+ // extending from the immediate children (and their children,
+ // and so on) to collect additional references to virtual machines.
+ // - `ComputeResource` object - `ComputeResource.host`
+ // and `ComputeResource.resourcePool` properties.
+ // If recursive is false, the object list will contain references
+ // to the host systems associated with this compute resource,
+ // references to virtual machines associated with the
+ // host systems, and references to virtual machines associated
+ // with the immediate child resource pools.
+ // If recursive is true, the server will follow the child
+ // resource pool paths (and their child resource pool paths,
+ // and so on) to collect additional references to virtual machines.
+ // - `Datacenter` object - `Datacenter.vmFolder`,
+ // `Datacenter.hostFolder`,
+ // `Datacenter.datastoreFolder`, and
+ // `Datacenter.networkFolder` properties.
+ // If recursive is set to false, the server uses the
+ // immediate child folders for the virtual machines,
+ // hosts, datastores, and networks associated with this
+ // datacenter. If recursive is set to true, the server
+ // will follow the folder paths to collect references
+ // to additional objects.
+ // - `HostSystem` object - `HostSystem.vm`
+ // property.
+ // The view object list contains references to the virtual machines
+ // associated with this host system. The value of recursive does not
+ // affect this behavior.
Recursive bool `xml:"recursive" json:"recursive"`
}
@@ -15947,11 +16028,11 @@ type CreateDefaultProfileRequestType struct {
// containing data for the named profile. The type name does not have
// to be system-defined. A user-defined profile can include various
// dynamically-defined profiles.
- ProfileTypeName string `xml:"profileTypeName,omitempty" json:"profileTypeName,omitempty" vim:"5.0"`
+ ProfileTypeName string `xml:"profileTypeName,omitempty" json:"profileTypeName,omitempty"`
// Base profile used during the operation.
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"5.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
}
func init() {
@@ -16816,6 +16897,7 @@ type CreateSoftwareAdapterRequestType struct {
func init() {
t["CreateSoftwareAdapterRequestType"] = reflect.TypeOf((*CreateSoftwareAdapterRequestType)(nil)).Elem()
+ minAPIVersionForType["CreateSoftwareAdapterRequestType"] = "7.0.3.0"
}
type CreateSoftwareAdapterResponse struct {
@@ -16862,7 +16944,6 @@ type CreateTaskAction struct {
func init() {
t["CreateTaskAction"] = reflect.TypeOf((*CreateTaskAction)(nil)).Elem()
- minAPIVersionForType["CreateTaskAction"] = "2.5"
}
// The parameters of `TaskManager.CreateTask`.
@@ -16880,11 +16961,11 @@ type CreateTaskRequestType struct {
// false otherwise
Cancelable bool `xml:"cancelable" json:"cancelable"`
// Key of the task that is the parent of this task
- ParentTaskKey string `xml:"parentTaskKey,omitempty" json:"parentTaskKey,omitempty" vim:"4.0"`
+ ParentTaskKey string `xml:"parentTaskKey,omitempty" json:"parentTaskKey,omitempty"`
// Activation Id is a client-provided token to link an
// API call with a task. When provided, the activationId is added to the
// `TaskInfo`
- ActivationId string `xml:"activationId,omitempty" json:"activationId,omitempty" vim:"6.0"`
+ ActivationId string `xml:"activationId,omitempty" json:"activationId,omitempty"`
}
func init() {
@@ -17144,7 +17225,6 @@ type CryptoKeyId struct {
func init() {
t["CryptoKeyId"] = reflect.TypeOf((*CryptoKeyId)(nil)).Elem()
- minAPIVersionForType["CryptoKeyId"] = "6.5"
}
// Data Object representing a plain text cryptographic key.
@@ -17158,7 +17238,6 @@ type CryptoKeyPlain struct {
func init() {
t["CryptoKeyPlain"] = reflect.TypeOf((*CryptoKeyPlain)(nil)).Elem()
- minAPIVersionForType["CryptoKeyPlain"] = "6.5"
}
// CryptoKeyResult.java --
@@ -17175,7 +17254,6 @@ type CryptoKeyResult struct {
func init() {
t["CryptoKeyResult"] = reflect.TypeOf((*CryptoKeyResult)(nil)).Elem()
- minAPIVersionForType["CryptoKeyResult"] = "6.5"
}
type CryptoManagerHostDisable CryptoManagerHostDisableRequestType
@@ -17227,6 +17305,8 @@ type CryptoManagerHostKeyStatus struct {
//
// See `CryptoManagerHostKeyManagementType_enum` for valid values.
ManagementType string `xml:"managementType,omitempty" json:"managementType,omitempty"`
+ // Whether the provider of the key has been granted access.
+ AccessGranted *bool `xml:"accessGranted" json:"accessGranted,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -17289,6 +17369,7 @@ type CryptoManagerKmipCertSignRequest struct {
func init() {
t["CryptoManagerKmipCertSignRequest"] = reflect.TypeOf((*CryptoManagerKmipCertSignRequest)(nil)).Elem()
+ minAPIVersionForType["CryptoManagerKmipCertSignRequest"] = "8.0.1.0"
}
// Basic information of a certificate.
@@ -17325,7 +17406,6 @@ type CryptoManagerKmipCertificateInfo struct {
func init() {
t["CryptoManagerKmipCertificateInfo"] = reflect.TypeOf((*CryptoManagerKmipCertificateInfo)(nil)).Elem()
- minAPIVersionForType["CryptoManagerKmipCertificateInfo"] = "6.5"
}
// Status of a KMIP cluster.
@@ -17335,11 +17415,11 @@ type CryptoManagerKmipClusterStatus struct {
// The ID of the KMIP cluster.
ClusterId KeyProviderId `xml:"clusterId" json:"clusterId"`
// KMS cluster overall status.
- OverallStatus ManagedEntityStatus `xml:"overallStatus,omitempty" json:"overallStatus,omitempty" vim:"7.0"`
+ OverallStatus ManagedEntityStatus `xml:"overallStatus,omitempty" json:"overallStatus,omitempty"`
// Key provider management type.
//
// See `KmipClusterInfoKmsManagementType_enum` for valid values.
- ManagementType string `xml:"managementType,omitempty" json:"managementType,omitempty" vim:"7.0"`
+ ManagementType string `xml:"managementType,omitempty" json:"managementType,omitempty"`
// Status of the KMIP servers in this cluster.
Servers []CryptoManagerKmipServerStatus `xml:"servers" json:"servers"`
// The basic information about the client's certificate.
@@ -17348,7 +17428,6 @@ type CryptoManagerKmipClusterStatus struct {
func init() {
t["CryptoManagerKmipClusterStatus"] = reflect.TypeOf((*CryptoManagerKmipClusterStatus)(nil)).Elem()
- minAPIVersionForType["CryptoManagerKmipClusterStatus"] = "6.5"
}
// Status of a Crypto key
@@ -17377,7 +17456,6 @@ type CryptoManagerKmipCryptoKeyStatus struct {
func init() {
t["CryptoManagerKmipCryptoKeyStatus"] = reflect.TypeOf((*CryptoManagerKmipCryptoKeyStatus)(nil)).Elem()
- minAPIVersionForType["CryptoManagerKmipCryptoKeyStatus"] = "6.7.2"
}
// Crypto key custom attribute spec
@@ -17407,7 +17485,6 @@ type CryptoManagerKmipServerCertInfo struct {
func init() {
t["CryptoManagerKmipServerCertInfo"] = reflect.TypeOf((*CryptoManagerKmipServerCertInfo)(nil)).Elem()
- minAPIVersionForType["CryptoManagerKmipServerCertInfo"] = "6.5"
}
// Status of a KMIP server.
@@ -17430,7 +17507,6 @@ type CryptoManagerKmipServerStatus struct {
func init() {
t["CryptoManagerKmipServerStatus"] = reflect.TypeOf((*CryptoManagerKmipServerStatus)(nil)).Elem()
- minAPIVersionForType["CryptoManagerKmipServerStatus"] = "6.5"
}
// This data object type encapsulates virtual machine or disk encryption
@@ -17441,7 +17517,6 @@ type CryptoSpec struct {
func init() {
t["CryptoSpec"] = reflect.TypeOf((*CryptoSpec)(nil)).Elem()
- minAPIVersionForType["CryptoSpec"] = "6.5"
}
// This data object type encapsulates virtual machine or disk encryption
@@ -17452,7 +17527,6 @@ type CryptoSpecDecrypt struct {
func init() {
t["CryptoSpecDecrypt"] = reflect.TypeOf((*CryptoSpecDecrypt)(nil)).Elem()
- minAPIVersionForType["CryptoSpecDecrypt"] = "6.5"
}
// This data object type encapsulates virtual machine or disk cryptographic
@@ -17465,7 +17539,6 @@ type CryptoSpecDeepRecrypt struct {
func init() {
t["CryptoSpecDeepRecrypt"] = reflect.TypeOf((*CryptoSpecDeepRecrypt)(nil)).Elem()
- minAPIVersionForType["CryptoSpecDeepRecrypt"] = "6.5"
}
// This data object type encapsulates virtual machine or disk cryptohraphic
@@ -17478,7 +17551,6 @@ type CryptoSpecEncrypt struct {
func init() {
t["CryptoSpecEncrypt"] = reflect.TypeOf((*CryptoSpecEncrypt)(nil)).Elem()
- minAPIVersionForType["CryptoSpecEncrypt"] = "6.5"
}
// This data object type indicates that the encryption settings of the
@@ -17489,7 +17561,6 @@ type CryptoSpecNoOp struct {
func init() {
t["CryptoSpecNoOp"] = reflect.TypeOf((*CryptoSpecNoOp)(nil)).Elem()
- minAPIVersionForType["CryptoSpecNoOp"] = "6.5"
}
// This data object type indicates that the operation requires keys to be sent
@@ -17504,7 +17575,6 @@ type CryptoSpecRegister struct {
func init() {
t["CryptoSpecRegister"] = reflect.TypeOf((*CryptoSpecRegister)(nil)).Elem()
- minAPIVersionForType["CryptoSpecRegister"] = "6.5"
}
// This data object type encapsulates virtual machine or disk cryptographic
@@ -17517,7 +17587,6 @@ type CryptoSpecShallowRecrypt struct {
func init() {
t["CryptoSpecShallowRecrypt"] = reflect.TypeOf((*CryptoSpecShallowRecrypt)(nil)).Elem()
- minAPIVersionForType["CryptoSpecShallowRecrypt"] = "6.5"
}
type CryptoUnlockRequestType struct {
@@ -17574,11 +17643,11 @@ type CustomFieldDef struct {
//
// If not specified,
// the field is valid for all managed objects.
- ManagedObjectType string `xml:"managedObjectType,omitempty" json:"managedObjectType,omitempty" vim:"2.5"`
+ ManagedObjectType string `xml:"managedObjectType,omitempty" json:"managedObjectType,omitempty"`
// The set of privileges to apply on this field definition
- FieldDefPrivileges *PrivilegePolicyDef `xml:"fieldDefPrivileges,omitempty" json:"fieldDefPrivileges,omitempty" vim:"2.5"`
+ FieldDefPrivileges *PrivilegePolicyDef `xml:"fieldDefPrivileges,omitempty" json:"fieldDefPrivileges,omitempty"`
// The set of privileges to apply on instances of this field
- FieldInstancePrivileges *PrivilegePolicyDef `xml:"fieldInstancePrivileges,omitempty" json:"fieldInstancePrivileges,omitempty" vim:"2.5"`
+ FieldInstancePrivileges *PrivilegePolicyDef `xml:"fieldInstancePrivileges,omitempty" json:"fieldInstancePrivileges,omitempty"`
}
func init() {
@@ -17674,7 +17743,7 @@ type CustomFieldValueChangedEvent struct {
// The new value that was set.
Value string `xml:"value" json:"value"`
// The previous service state.
- PrevState string `xml:"prevState,omitempty" json:"prevState,omitempty" vim:"6.5"`
+ PrevState string `xml:"prevState,omitempty" json:"prevState,omitempty"`
}
func init() {
@@ -17718,7 +17787,6 @@ type CustomizationAutoIpV6Generator struct {
func init() {
t["CustomizationAutoIpV6Generator"] = reflect.TypeOf((*CustomizationAutoIpV6Generator)(nil)).Elem()
- minAPIVersionForType["CustomizationAutoIpV6Generator"] = "4.0"
}
// Guest customization settings to customize a Linux guest operating
@@ -17774,7 +17842,6 @@ type CustomizationCustomIpV6Generator struct {
func init() {
t["CustomizationCustomIpV6Generator"] = reflect.TypeOf((*CustomizationCustomIpV6Generator)(nil)).Elem()
- minAPIVersionForType["CustomizationCustomIpV6Generator"] = "4.0"
}
// Specifies that the VirtualCenter server will launch an external application to
@@ -17812,7 +17879,6 @@ type CustomizationDhcpIpV6Generator struct {
func init() {
t["CustomizationDhcpIpV6Generator"] = reflect.TypeOf((*CustomizationDhcpIpV6Generator)(nil)).Elem()
- minAPIVersionForType["CustomizationDhcpIpV6Generator"] = "4.0"
}
// Base for customization events.
@@ -17826,7 +17892,6 @@ type CustomizationEvent struct {
func init() {
t["CustomizationEvent"] = reflect.TypeOf((*CustomizationEvent)(nil)).Elem()
- minAPIVersionForType["CustomizationEvent"] = "2.5"
}
// The customization sequence in the guest failed.
@@ -17834,12 +17899,11 @@ type CustomizationFailed struct {
CustomizationEvent
// Reason why the customization failed @see CustomizationFailed.ReasonCode .
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"7.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
t["CustomizationFailed"] = reflect.TypeOf((*CustomizationFailed)(nil)).Elem()
- minAPIVersionForType["CustomizationFailed"] = "2.5"
}
// Base for exceptions that can be thrown from the customizer.
@@ -17878,7 +17942,6 @@ type CustomizationFixedIpV6 struct {
func init() {
t["CustomizationFixedIpV6"] = reflect.TypeOf((*CustomizationFixedIpV6)(nil)).Elem()
- minAPIVersionForType["CustomizationFixedIpV6"] = "4.0"
}
// A fixed name.
@@ -18005,7 +18068,7 @@ type CustomizationIPSettings struct {
Gateway []string `xml:"gateway,omitempty" json:"gateway,omitempty"`
// This contains the IpGenerator, subnet mask and gateway info for all
// the ipv6 addresses associated with the virtual network adapter.
- IpV6Spec *CustomizationIPSettingsIpV6AddressSpec `xml:"ipV6Spec,omitempty" json:"ipV6Spec,omitempty" vim:"4.0"`
+ IpV6Spec *CustomizationIPSettingsIpV6AddressSpec `xml:"ipV6Spec,omitempty" json:"ipV6Spec,omitempty"`
// A list of server IP addresses to use for DNS lookup in a Windows guest operating
// system.
//
@@ -18048,7 +18111,6 @@ type CustomizationIPSettingsIpV6AddressSpec struct {
func init() {
t["CustomizationIPSettingsIpV6AddressSpec"] = reflect.TypeOf((*CustomizationIPSettingsIpV6AddressSpec)(nil)).Elem()
- minAPIVersionForType["CustomizationIPSettingsIpV6AddressSpec"] = "4.0"
}
// The Identification data object type provides information needed to join a workgroup
@@ -18120,7 +18182,6 @@ type CustomizationIpV6Generator struct {
func init() {
t["CustomizationIpV6Generator"] = reflect.TypeOf((*CustomizationIpV6Generator)(nil)).Elem()
- minAPIVersionForType["CustomizationIpV6Generator"] = "4.0"
}
// The LicenseFilePrintData type maps directly to the LicenseFilePrintData key in the
@@ -18155,7 +18216,6 @@ type CustomizationLinuxIdentityFailed struct {
func init() {
t["CustomizationLinuxIdentityFailed"] = reflect.TypeOf((*CustomizationLinuxIdentityFailed)(nil)).Elem()
- minAPIVersionForType["CustomizationLinuxIdentityFailed"] = "2.5"
}
// Base object type for optional operations supported by the customization process for
@@ -18190,13 +18250,27 @@ type CustomizationLinuxPrep struct {
// other regional designation.
//
// See the List of supported time zones for different vSphere versions in Linux/Unix systems.
- TimeZone string `xml:"timeZone,omitempty" json:"timeZone,omitempty" vim:"4.0"`
+ TimeZone string `xml:"timeZone,omitempty" json:"timeZone,omitempty"`
// Specifies whether the hardware clock is in UTC or local time.
- // - True when the hardware clock is in UTC.
- // - False when the hardware clock is in local time.
- HwClockUTC *bool `xml:"hwClockUTC" json:"hwClockUTC,omitempty" vim:"4.0"`
+ // - True when the hardware clock is in UTC.
+ // - False when the hardware clock is in local time.
+ HwClockUTC *bool `xml:"hwClockUTC" json:"hwClockUTC,omitempty"`
// The script to run before and after GOS customization.
- ScriptText string `xml:"scriptText,omitempty" json:"scriptText,omitempty" vim:"7.0"`
+ ScriptText string `xml:"scriptText,omitempty" json:"scriptText,omitempty"`
+ // The compatible customization method is an identifier of a customization
+ // strategy which is implementable in a group of Linux operating systems.
+ //
+ // This value does not need to be set if your operating system is officially
+ // supported by VMware guest operating system customization. When using a
+ // Linux operating system which hasn't been officially supported and it is
+ // designed to be 100% bug-for-bug compatible with an officially supported
+ // Linux operating system, it can be customized by an existing customization
+ // method.
+ //
+ // Please set the compatible customization method to a supported string value
+ // e.g. "GOSC\_METHOD\_1".
+ // See Supported compatible customization method list.
+ CompatibleCustomizationMethod string `xml:"compatibleCustomizationMethod,omitempty" json:"compatibleCustomizationMethod,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -18220,7 +18294,6 @@ type CustomizationNetworkSetupFailed struct {
func init() {
t["CustomizationNetworkSetupFailed"] = reflect.TypeOf((*CustomizationNetworkSetupFailed)(nil)).Elem()
- minAPIVersionForType["CustomizationNetworkSetupFailed"] = "2.5"
}
// Base object type for optional operations supported by the customization process.
@@ -18258,7 +18331,6 @@ type CustomizationPending struct {
func init() {
t["CustomizationPending"] = reflect.TypeOf((*CustomizationPending)(nil)).Elem()
- minAPIVersionForType["CustomizationPending"] = "2.5"
}
type CustomizationPendingFault CustomizationPending
@@ -18313,7 +18385,7 @@ type CustomizationSpec struct {
// Both the client and the server can use this to determine if
// stored passwords can be decrypted by the server or if the passwords need to be
// re-entered and re-encrypted before the specification can be used.
- EncryptionKey []byte `xml:"encryptionKey,omitempty" json:"encryptionKey,omitempty"`
+ EncryptionKey ByteSlice `xml:"encryptionKey,omitempty" json:"encryptionKey,omitempty"`
}
func init() {
@@ -18396,7 +18468,6 @@ type CustomizationStartedEvent struct {
func init() {
t["CustomizationStartedEvent"] = reflect.TypeOf((*CustomizationStartedEvent)(nil)).Elem()
- minAPIVersionForType["CustomizationStartedEvent"] = "2.5"
}
// Use stateless autoconfiguration to configure to ipv6 address
@@ -18406,7 +18477,6 @@ type CustomizationStatelessIpV6Generator struct {
func init() {
t["CustomizationStatelessIpV6Generator"] = reflect.TypeOf((*CustomizationStatelessIpV6Generator)(nil)).Elem()
- minAPIVersionForType["CustomizationStatelessIpV6Generator"] = "4.0"
}
// The customization sequence completed successfully in the guest.
@@ -18416,7 +18486,6 @@ type CustomizationSucceeded struct {
func init() {
t["CustomizationSucceeded"] = reflect.TypeOf((*CustomizationSucceeded)(nil)).Elem()
- minAPIVersionForType["CustomizationSucceeded"] = "2.5"
}
// An object representation of a Windows `sysprep.xml` answer file.
@@ -18463,7 +18532,6 @@ type CustomizationSysprepFailed struct {
func init() {
t["CustomizationSysprepFailed"] = reflect.TypeOf((*CustomizationSysprepFailed)(nil)).Elem()
- minAPIVersionForType["CustomizationSysprepFailed"] = "2.5"
}
// An alternate way to specify the `sysprep.xml` answer file.
@@ -18491,7 +18559,6 @@ type CustomizationUnknownFailure struct {
func init() {
t["CustomizationUnknownFailure"] = reflect.TypeOf((*CustomizationUnknownFailure)(nil)).Elem()
- minAPIVersionForType["CustomizationUnknownFailure"] = "2.5"
}
// The IP address is left unspecified.
@@ -18516,7 +18583,6 @@ type CustomizationUnknownIpV6Generator struct {
func init() {
t["CustomizationUnknownIpV6Generator"] = reflect.TypeOf((*CustomizationUnknownIpV6Generator)(nil)).Elem()
- minAPIVersionForType["CustomizationUnknownIpV6Generator"] = "4.0"
}
// Indicates that the name is not specified in advance.
@@ -18606,7 +18672,7 @@ type CustomizationWinOptions struct {
// taken after running sysprep.
//
// Defaults to "reboot".
- Reboot CustomizationSysprepRebootOption `xml:"reboot,omitempty" json:"reboot,omitempty" vim:"2.5"`
+ Reboot CustomizationSysprepRebootOption `xml:"reboot,omitempty" json:"reboot,omitempty"`
}
func init() {
@@ -18696,7 +18762,6 @@ type DVPortConfigInfo struct {
func init() {
t["DVPortConfigInfo"] = reflect.TypeOf((*DVPortConfigInfo)(nil)).Elem()
- minAPIVersionForType["DVPortConfigInfo"] = "4.0"
}
// Specification to reconfigure a `DistributedVirtualPort`.
@@ -18707,8 +18772,8 @@ type DVPortConfigSpec struct {
//
// The valid values
// are:
- // - `edit`
- // - `remove`
+ // - `edit`
+ // - `remove`
Operation string `xml:"operation" json:"operation"`
// Key of the port to be reconfigured.
Key string `xml:"key,omitempty" json:"key,omitempty"`
@@ -18731,7 +18796,6 @@ type DVPortConfigSpec struct {
func init() {
t["DVPortConfigSpec"] = reflect.TypeOf((*DVPortConfigSpec)(nil)).Elem()
- minAPIVersionForType["DVPortConfigSpec"] = "4.0"
}
// The virtual machine is configured to use a DVPort, which is not
@@ -18746,7 +18810,6 @@ type DVPortNotSupported struct {
func init() {
t["DVPortNotSupported"] = reflect.TypeOf((*DVPortNotSupported)(nil)).Elem()
- minAPIVersionForType["DVPortNotSupported"] = "4.1"
}
type DVPortNotSupportedFault DVPortNotSupported
@@ -18775,7 +18838,7 @@ type DVPortSetting struct {
// `DVSFeatureCapability`,
// `HostCapability`, `PhysicalNic`,
// and `VirtualEthernetCardOption` objects.
- VmDirectPathGen2Allowed *BoolPolicy `xml:"vmDirectPathGen2Allowed,omitempty" json:"vmDirectPathGen2Allowed,omitempty" vim:"4.1"`
+ VmDirectPathGen2Allowed *BoolPolicy `xml:"vmDirectPathGen2Allowed,omitempty" json:"vmDirectPathGen2Allowed,omitempty"`
// Network shaping policy for controlling throughput of inbound traffic.
InShapingPolicy *DVSTrafficShapingPolicy `xml:"inShapingPolicy,omitempty" json:"inShapingPolicy,omitempty"`
// Network shaping policy for controlling throughput of outbound traffic.
@@ -18790,14 +18853,13 @@ type DVPortSetting struct {
//
// The default value for this property is "-1", indicating that
// this port is not associated with any network resource pool.
- NetworkResourcePoolKey *StringPolicy `xml:"networkResourcePoolKey,omitempty" json:"networkResourcePoolKey,omitempty" vim:"5.0"`
+ NetworkResourcePoolKey *StringPolicy `xml:"networkResourcePoolKey,omitempty" json:"networkResourcePoolKey,omitempty"`
// Configuration for Network Filter Policy.
- FilterPolicy *DvsFilterPolicy `xml:"filterPolicy,omitempty" json:"filterPolicy,omitempty" vim:"5.5"`
+ FilterPolicy *DvsFilterPolicy `xml:"filterPolicy,omitempty" json:"filterPolicy,omitempty"`
}
func init() {
t["DVPortSetting"] = reflect.TypeOf((*DVPortSetting)(nil)).Elem()
- minAPIVersionForType["DVPortSetting"] = "4.0"
}
// The state of a DistributedVirtualPort.
@@ -18816,7 +18878,6 @@ type DVPortState struct {
func init() {
t["DVPortState"] = reflect.TypeOf((*DVPortState)(nil)).Elem()
- minAPIVersionForType["DVPortState"] = "4.0"
}
// The `DVPortStatus` data object
@@ -18845,7 +18906,7 @@ type DVPortStatus struct {
// The MAC address that is used at this port.
MacAddress string `xml:"macAddress,omitempty" json:"macAddress,omitempty"`
// Additional information regarding the current status of the port.
- StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty" vim:"4.1"`
+ StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer
// supported and there is no replacement.
//
@@ -18859,7 +18920,7 @@ type DVPortStatus struct {
// If the host software is not capable of VMDirectPath Gen 2,
// this property will be unset. See
// `HostCapability*.*HostCapability.vmDirectPathGen2Supported`.
- VmDirectPathGen2Active *bool `xml:"vmDirectPathGen2Active" json:"vmDirectPathGen2Active,omitempty" vim:"4.1"`
+ VmDirectPathGen2Active *bool `xml:"vmDirectPathGen2Active" json:"vmDirectPathGen2Active,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer
// supported and there is no replacement.
//
@@ -18878,7 +18939,7 @@ type DVPortStatus struct {
// with an additional explanation provided by the platform.
//
// Note that this list of reasons is not guaranteed to be exhaustive.
- VmDirectPathGen2InactiveReasonNetwork []string `xml:"vmDirectPathGen2InactiveReasonNetwork,omitempty" json:"vmDirectPathGen2InactiveReasonNetwork,omitempty" vim:"4.1"`
+ VmDirectPathGen2InactiveReasonNetwork []string `xml:"vmDirectPathGen2InactiveReasonNetwork,omitempty" json:"vmDirectPathGen2InactiveReasonNetwork,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer
// supported and there is no replacement.
//
@@ -18899,7 +18960,7 @@ type DVPortStatus struct {
// Note that this list of reasons is not guaranteed to be exhaustive.
//
// See also `HostCapability.vmDirectPathGen2Supported`.
- VmDirectPathGen2InactiveReasonOther []string `xml:"vmDirectPathGen2InactiveReasonOther,omitempty" json:"vmDirectPathGen2InactiveReasonOther,omitempty" vim:"4.1"`
+ VmDirectPathGen2InactiveReasonOther []string `xml:"vmDirectPathGen2InactiveReasonOther,omitempty" json:"vmDirectPathGen2InactiveReasonOther,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer
// supported and there is no replacement.
//
@@ -18907,12 +18968,11 @@ type DVPortStatus struct {
// contain an explanation provided by the platform, beyond the reasons
// (if any) listed in `DVPortStatus.vmDirectPathGen2InactiveReasonNetwork`
// and/or `DVPortStatus.vmDirectPathGen2InactiveReasonOther`.
- VmDirectPathGen2InactiveReasonExtended string `xml:"vmDirectPathGen2InactiveReasonExtended,omitempty" json:"vmDirectPathGen2InactiveReasonExtended,omitempty" vim:"4.1"`
+ VmDirectPathGen2InactiveReasonExtended string `xml:"vmDirectPathGen2InactiveReasonExtended,omitempty" json:"vmDirectPathGen2InactiveReasonExtended,omitempty"`
}
func init() {
t["DVPortStatus"] = reflect.TypeOf((*DVPortStatus)(nil)).Elem()
- minAPIVersionForType["DVPortStatus"] = "4.0"
}
// The `DVPortgroupConfigInfo` data object defines
@@ -18950,7 +19010,7 @@ type DVPortgroupConfigInfo struct {
// `DistributedVirtualPortgroup*.*DistributedVirtualPortgroupBackingType_enum`
// for possible values.
// The default value is "standard"
- BackingType string `xml:"backingType,omitempty" json:"backingType,omitempty" vim:"7.0"`
+ BackingType string `xml:"backingType,omitempty" json:"backingType,omitempty"`
// Portgroup policy.
Policy BaseDVPortgroupPolicy `xml:"policy,typeattr" json:"policy"`
// If set, a name will be automatically generated based on this format
@@ -19006,7 +19066,7 @@ type DVPortgroupConfigInfo struct {
// likely to be deleted automatically, as a part of auto-shrink step, if there are more
// than certain number of free ports. If the portgroup never auto-expanded, then it will
// never lose any free ports.
- AutoExpand *bool `xml:"autoExpand" json:"autoExpand,omitempty" vim:"5.0"`
+ AutoExpand *bool `xml:"autoExpand" json:"autoExpand,omitempty"`
// The key of virtual NIC network resource pool to be associated with a portgroup.
//
// The default value for this property is unset, indicating that
@@ -19014,22 +19074,21 @@ type DVPortgroupConfigInfo struct {
// To clear the value of this property and revert to unset, set the
// `DVPortgroupConfigSpec.vmVnicNetworkResourcePoolKey`
// to "-1" in an update operation.
- VmVnicNetworkResourcePoolKey string `xml:"vmVnicNetworkResourcePoolKey,omitempty" json:"vmVnicNetworkResourcePoolKey,omitempty" vim:"6.0"`
+ VmVnicNetworkResourcePoolKey string `xml:"vmVnicNetworkResourcePoolKey,omitempty" json:"vmVnicNetworkResourcePoolKey,omitempty"`
// Indicates whether the portgroup is an uplink portroup.
- Uplink *bool `xml:"uplink" json:"uplink,omitempty" vim:"6.5"`
+ Uplink *bool `xml:"uplink" json:"uplink,omitempty"`
// The UUID of transport zone to be associated with a NSX portgroup.
- TransportZoneUuid string `xml:"transportZoneUuid,omitempty" json:"transportZoneUuid,omitempty" vim:"7.0"`
+ TransportZoneUuid string `xml:"transportZoneUuid,omitempty" json:"transportZoneUuid,omitempty"`
// The name of transport zone to be associated with a NSX portgroup.
- TransportZoneName string `xml:"transportZoneName,omitempty" json:"transportZoneName,omitempty" vim:"7.0"`
+ TransportZoneName string `xml:"transportZoneName,omitempty" json:"transportZoneName,omitempty"`
// The logical switch UUID, which is used by NSX portgroup
- LogicalSwitchUuid string `xml:"logicalSwitchUuid,omitempty" json:"logicalSwitchUuid,omitempty" vim:"7.0"`
+ LogicalSwitchUuid string `xml:"logicalSwitchUuid,omitempty" json:"logicalSwitchUuid,omitempty"`
// The segment ID of logical switch
- SegmentId string `xml:"segmentId,omitempty" json:"segmentId,omitempty" vim:"7.0"`
+ SegmentId string `xml:"segmentId,omitempty" json:"segmentId,omitempty"`
}
func init() {
t["DVPortgroupConfigInfo"] = reflect.TypeOf((*DVPortgroupConfigInfo)(nil)).Elem()
- minAPIVersionForType["DVPortgroupConfigInfo"] = "4.0"
}
// The `DVPortgroupConfigSpec`
@@ -19083,7 +19142,7 @@ type DVPortgroupConfigSpec struct {
// `DistributedVirtualPortgroup*.*DistributedVirtualPortgroupBackingType_enum`
// for possible values.
// The default value is "standard"
- BackingType string `xml:"backingType,omitempty" json:"backingType,omitempty" vim:"7.0"`
+ BackingType string `xml:"backingType,omitempty" json:"backingType,omitempty"`
// Deprecated as of vSphere API 5.5.
//
// Eligible entities that can connect to the port.
@@ -19109,25 +19168,24 @@ type DVPortgroupConfigSpec struct {
// likely to be deleted automatically, as a part of auto-shrink step, if there are more
// than certain number of free ports. If the portgroup never auto-expanded, then it will
// never lose any free ports.
- AutoExpand *bool `xml:"autoExpand" json:"autoExpand,omitempty" vim:"5.0"`
+ AutoExpand *bool `xml:"autoExpand" json:"autoExpand,omitempty"`
// The key of virtual NIC network resource pool to be associated with a portgroup.
//
// Setting this property to "-1", would mean that this portgroup
// is not associated with any virtual NIC network resource pool.
- VmVnicNetworkResourcePoolKey string `xml:"vmVnicNetworkResourcePoolKey,omitempty" json:"vmVnicNetworkResourcePoolKey,omitempty" vim:"6.0"`
+ VmVnicNetworkResourcePoolKey string `xml:"vmVnicNetworkResourcePoolKey,omitempty" json:"vmVnicNetworkResourcePoolKey,omitempty"`
// The UUID of transport zone to be associated with a NSX portgroup.
- TransportZoneUuid string `xml:"transportZoneUuid,omitempty" json:"transportZoneUuid,omitempty" vim:"7.0"`
+ TransportZoneUuid string `xml:"transportZoneUuid,omitempty" json:"transportZoneUuid,omitempty"`
// The name of transport zone to be associated with a NSX portgroup.
- TransportZoneName string `xml:"transportZoneName,omitempty" json:"transportZoneName,omitempty" vim:"7.0"`
+ TransportZoneName string `xml:"transportZoneName,omitempty" json:"transportZoneName,omitempty"`
// The logical switch UUID, which is used by NSX portgroup
- LogicalSwitchUuid string `xml:"logicalSwitchUuid,omitempty" json:"logicalSwitchUuid,omitempty" vim:"7.0"`
+ LogicalSwitchUuid string `xml:"logicalSwitchUuid,omitempty" json:"logicalSwitchUuid,omitempty"`
// The segment ID of logical switch
- SegmentId string `xml:"segmentId,omitempty" json:"segmentId,omitempty" vim:"7.0"`
+ SegmentId string `xml:"segmentId,omitempty" json:"segmentId,omitempty"`
}
func init() {
t["DVPortgroupConfigSpec"] = reflect.TypeOf((*DVPortgroupConfigSpec)(nil)).Elem()
- minAPIVersionForType["DVPortgroupConfigSpec"] = "4.0"
}
// Two distributed virtual portgroup was created.
@@ -19137,7 +19195,6 @@ type DVPortgroupCreatedEvent struct {
func init() {
t["DVPortgroupCreatedEvent"] = reflect.TypeOf((*DVPortgroupCreatedEvent)(nil)).Elem()
- minAPIVersionForType["DVPortgroupCreatedEvent"] = "4.0"
}
// Two distributed virtual portgroup was destroyed.
@@ -19147,7 +19204,6 @@ type DVPortgroupDestroyedEvent struct {
func init() {
t["DVPortgroupDestroyedEvent"] = reflect.TypeOf((*DVPortgroupDestroyedEvent)(nil)).Elem()
- minAPIVersionForType["DVPortgroupDestroyedEvent"] = "4.0"
}
// DVPortgroup related events.
@@ -19157,7 +19213,6 @@ type DVPortgroupEvent struct {
func init() {
t["DVPortgroupEvent"] = reflect.TypeOf((*DVPortgroupEvent)(nil)).Elem()
- minAPIVersionForType["DVPortgroupEvent"] = "4.0"
}
// The DistributedVirtualPortgroup policies.
@@ -19194,18 +19249,17 @@ type DVPortgroupPolicy struct {
// individual port to override the setting in
// `DVPortgroupConfigInfo.defaultPortConfig`
// of a portgroup.
- NetworkResourcePoolOverrideAllowed *bool `xml:"networkResourcePoolOverrideAllowed" json:"networkResourcePoolOverrideAllowed,omitempty" vim:"5.0"`
+ NetworkResourcePoolOverrideAllowed *bool `xml:"networkResourcePoolOverrideAllowed" json:"networkResourcePoolOverrideAllowed,omitempty"`
// Allow the setting of
// `DVPortSetting.filterPolicy`,
// for an individual port to override the setting in
// `DVPortgroupConfigInfo.defaultPortConfig` of
// a portgroup.
- TrafficFilterOverrideAllowed *bool `xml:"trafficFilterOverrideAllowed" json:"trafficFilterOverrideAllowed,omitempty" vim:"5.5"`
+ TrafficFilterOverrideAllowed *bool `xml:"trafficFilterOverrideAllowed" json:"trafficFilterOverrideAllowed,omitempty"`
}
func init() {
t["DVPortgroupPolicy"] = reflect.TypeOf((*DVPortgroupPolicy)(nil)).Elem()
- minAPIVersionForType["DVPortgroupPolicy"] = "4.0"
}
// Two distributed virtual portgroup was reconfigured.
@@ -19215,12 +19269,11 @@ type DVPortgroupReconfiguredEvent struct {
// The reconfiguration spec.
ConfigSpec DVPortgroupConfigSpec `xml:"configSpec" json:"configSpec"`
// The configuration values changed during the reconfiguration.
- ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
+ ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty"`
}
func init() {
t["DVPortgroupReconfiguredEvent"] = reflect.TypeOf((*DVPortgroupReconfiguredEvent)(nil)).Elem()
- minAPIVersionForType["DVPortgroupReconfiguredEvent"] = "4.0"
}
// Two distributed virtual portgroup was renamed.
@@ -19235,7 +19288,6 @@ type DVPortgroupRenamedEvent struct {
func init() {
t["DVPortgroupRenamedEvent"] = reflect.TypeOf((*DVPortgroupRenamedEvent)(nil)).Elem()
- minAPIVersionForType["DVPortgroupRenamedEvent"] = "4.0"
}
// The parameters of `DistributedVirtualPortgroup.DVPortgroupRollback_Task`.
@@ -19271,7 +19323,6 @@ type DVPortgroupSelection struct {
func init() {
t["DVPortgroupSelection"] = reflect.TypeOf((*DVPortgroupSelection)(nil)).Elem()
- minAPIVersionForType["DVPortgroupSelection"] = "5.0"
}
// The `DVSBackupRestoreCapability` data object
@@ -19290,7 +19341,6 @@ type DVSBackupRestoreCapability struct {
func init() {
t["DVSBackupRestoreCapability"] = reflect.TypeOf((*DVSBackupRestoreCapability)(nil)).Elem()
- minAPIVersionForType["DVSBackupRestoreCapability"] = "5.1"
}
// The `DVSCapability` data object
@@ -19323,12 +19373,11 @@ type DVSCapability struct {
// `DVSFeatureCapability*.*DVSFeatureCapability.vmDirectPathGen2Supported`
// during switch creation or when you call the
// `DistributedVirtualSwitch.UpdateDvsCapability` method.
- FeaturesSupported BaseDVSFeatureCapability `xml:"featuresSupported,omitempty,typeattr" json:"featuresSupported,omitempty" vim:"4.1"`
+ FeaturesSupported BaseDVSFeatureCapability `xml:"featuresSupported,omitempty,typeattr" json:"featuresSupported,omitempty"`
}
func init() {
t["DVSCapability"] = reflect.TypeOf((*DVSCapability)(nil)).Elem()
- minAPIVersionForType["DVSCapability"] = "4.0"
}
// Configuration of a `DistributedVirtualSwitch`.
@@ -19393,39 +19442,38 @@ type DVSConfigInfo struct {
//
// The
// utility of this address is defined by other switch features.
- SwitchIpAddress string `xml:"switchIpAddress,omitempty" json:"switchIpAddress,omitempty" vim:"5.0"`
+ SwitchIpAddress string `xml:"switchIpAddress,omitempty" json:"switchIpAddress,omitempty"`
// Create time of the switch.
CreateTime time.Time `xml:"createTime" json:"createTime"`
// Boolean to indicate if network I/O control is enabled on the
// switch.
- NetworkResourceManagementEnabled *bool `xml:"networkResourceManagementEnabled" json:"networkResourceManagementEnabled,omitempty" vim:"4.1"`
+ NetworkResourceManagementEnabled *bool `xml:"networkResourceManagementEnabled" json:"networkResourceManagementEnabled,omitempty"`
// Default host proxy switch maximum port number
- DefaultProxySwitchMaxNumPorts int32 `xml:"defaultProxySwitchMaxNumPorts,omitempty" json:"defaultProxySwitchMaxNumPorts,omitempty" vim:"5.1"`
+ DefaultProxySwitchMaxNumPorts int32 `xml:"defaultProxySwitchMaxNumPorts,omitempty" json:"defaultProxySwitchMaxNumPorts,omitempty"`
// VDS health check configuration.
- HealthCheckConfig []BaseDVSHealthCheckConfig `xml:"healthCheckConfig,omitempty,typeattr" json:"healthCheckConfig,omitempty" vim:"5.1"`
+ HealthCheckConfig []BaseDVSHealthCheckConfig `xml:"healthCheckConfig,omitempty,typeattr" json:"healthCheckConfig,omitempty"`
// Host infrastructure traffic class resource configuration.
- InfrastructureTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"infrastructureTrafficResourceConfig,omitempty" json:"infrastructureTrafficResourceConfig,omitempty" vim:"6.0"`
+ InfrastructureTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"infrastructureTrafficResourceConfig,omitempty" json:"infrastructureTrafficResourceConfig,omitempty"`
// Dynamic Host infrastructure traffic class resource configuration.
- NetResourcePoolTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"netResourcePoolTrafficResourceConfig,omitempty" json:"netResourcePoolTrafficResourceConfig,omitempty" vim:"6.7"`
+ NetResourcePoolTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"netResourcePoolTrafficResourceConfig,omitempty" json:"netResourcePoolTrafficResourceConfig,omitempty"`
// Network resource control version of the switch.
//
// Possible value can be of
// `DistributedVirtualSwitchNetworkResourceControlVersion_enum`.
- NetworkResourceControlVersion string `xml:"networkResourceControlVersion,omitempty" json:"networkResourceControlVersion,omitempty" vim:"6.0"`
+ NetworkResourceControlVersion string `xml:"networkResourceControlVersion,omitempty" json:"networkResourceControlVersion,omitempty"`
// The Virtual NIC network resource pool information for the switch.
- VmVnicNetworkResourcePool []DVSVmVnicNetworkResourcePool `xml:"vmVnicNetworkResourcePool,omitempty" json:"vmVnicNetworkResourcePool,omitempty" vim:"6.0"`
+ VmVnicNetworkResourcePool []DVSVmVnicNetworkResourcePool `xml:"vmVnicNetworkResourcePool,omitempty" json:"vmVnicNetworkResourcePool,omitempty"`
// The percentage of physical nic link speed
// `PhysicalNicLinkInfo.speedMb`
// available for infrastructure traffic reservation.
//
// If this value is 75, then for a 1Gbps physical nic, only
// 750Mbps is allowed for all infrastructure traffic reservations.
- PnicCapacityRatioForReservation int32 `xml:"pnicCapacityRatioForReservation,omitempty" json:"pnicCapacityRatioForReservation,omitempty" vim:"6.0"`
+ PnicCapacityRatioForReservation int32 `xml:"pnicCapacityRatioForReservation,omitempty" json:"pnicCapacityRatioForReservation,omitempty"`
}
func init() {
t["DVSConfigInfo"] = reflect.TypeOf((*DVSConfigInfo)(nil)).Elem()
- minAPIVersionForType["DVSConfigInfo"] = "4.0"
}
// The `DVSConfigSpec`
@@ -19502,28 +19550,27 @@ type DVSConfigSpec struct {
// IPv6 address is not supported for this property.
// The utility of this address is defined by other switch features.
// switchIpAddress would be ignored when IPFIX collector uses IPv6.
- SwitchIpAddress string `xml:"switchIpAddress,omitempty" json:"switchIpAddress,omitempty" vim:"5.0"`
+ SwitchIpAddress string `xml:"switchIpAddress,omitempty" json:"switchIpAddress,omitempty"`
// The default host proxy switch maximum port number
- DefaultProxySwitchMaxNumPorts int32 `xml:"defaultProxySwitchMaxNumPorts,omitempty" json:"defaultProxySwitchMaxNumPorts,omitempty" vim:"5.1"`
+ DefaultProxySwitchMaxNumPorts int32 `xml:"defaultProxySwitchMaxNumPorts,omitempty" json:"defaultProxySwitchMaxNumPorts,omitempty"`
// The host infrastructure traffic resource allocation specification.
//
// Only the traffic class resource allocations identified in the list
// will be updated. The other traffic class resource allocations that are not
// specified will not change.
- InfrastructureTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"infrastructureTrafficResourceConfig,omitempty" json:"infrastructureTrafficResourceConfig,omitempty" vim:"6.0"`
+ InfrastructureTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"infrastructureTrafficResourceConfig,omitempty" json:"infrastructureTrafficResourceConfig,omitempty"`
// The dynamic host infrastructure traffic resource allocation
// specification.
- NetResourcePoolTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"netResourcePoolTrafficResourceConfig,omitempty" json:"netResourcePoolTrafficResourceConfig,omitempty" vim:"6.7"`
+ NetResourcePoolTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"netResourcePoolTrafficResourceConfig,omitempty" json:"netResourcePoolTrafficResourceConfig,omitempty"`
// Indicates the Network Resource Control APIs that are supported on the switch.
//
// Possible value can be of
// `DistributedVirtualSwitchNetworkResourceControlVersion_enum`.
- NetworkResourceControlVersion string `xml:"networkResourceControlVersion,omitempty" json:"networkResourceControlVersion,omitempty" vim:"6.0"`
+ NetworkResourceControlVersion string `xml:"networkResourceControlVersion,omitempty" json:"networkResourceControlVersion,omitempty"`
}
func init() {
t["DVSConfigSpec"] = reflect.TypeOf((*DVSConfigSpec)(nil)).Elem()
- minAPIVersionForType["DVSConfigSpec"] = "4.0"
}
// Contact information of a human operator.
@@ -19538,7 +19585,6 @@ type DVSContactInfo struct {
func init() {
t["DVSContactInfo"] = reflect.TypeOf((*DVSContactInfo)(nil)).Elem()
- minAPIVersionForType["DVSContactInfo"] = "4.0"
}
// Specification to create a `DistributedVirtualSwitch`.
@@ -19559,7 +19605,6 @@ type DVSCreateSpec struct {
func init() {
t["DVSCreateSpec"] = reflect.TypeOf((*DVSCreateSpec)(nil)).Elem()
- minAPIVersionForType["DVSCreateSpec"] = "4.0"
}
// This data object type describes the network adapter failover
@@ -19569,12 +19614,12 @@ type DVSFailureCriteria struct {
// To use link speed as the criteria, _checkSpeed_ must be one of
// the following values:
- // - `*exact*`: Use exact speed to detect link failure.
- // `*speed*` is the configured exact speed in megabits per second.
- // - `*minimum*`: Use minimum speed to detect failure.
- // `*speed*` is the configured minimum speed in megabits per second.
- // - **empty string**: Do not use link speed to detect failure.
- // `*speed*` is unused in this case.
+ // - `*exact*`: Use exact speed to detect link failure.
+ // `*speed*` is the configured exact speed in megabits per second.
+ // - `*minimum*`: Use minimum speed to detect failure.
+ // `*speed*` is the configured minimum speed in megabits per second.
+ // - **empty string**: Do not use link speed to detect failure.
+ // `*speed*` is unused in this case.
CheckSpeed *StringPolicy `xml:"checkSpeed,omitempty" json:"checkSpeed,omitempty"`
// See also `DVSFailureCriteria.checkSpeed`.
Speed *IntPolicy `xml:"speed,omitempty" json:"speed,omitempty"`
@@ -19615,7 +19660,6 @@ type DVSFailureCriteria struct {
func init() {
t["DVSFailureCriteria"] = reflect.TypeOf((*DVSFailureCriteria)(nil)).Elem()
- minAPIVersionForType["DVSFailureCriteria"] = "4.0"
}
// The `DVSFeatureCapability` data object
@@ -19671,14 +19715,14 @@ type DVSFeatureCapability struct {
NetworkResourcePoolHighShareValue int32 `xml:"networkResourcePoolHighShareValue,omitempty" json:"networkResourcePoolHighShareValue,omitempty"`
// Network resource management capabilities supported by a
// distributed virtual switch.
- NetworkResourceManagementCapability *DVSNetworkResourceManagementCapability `xml:"networkResourceManagementCapability,omitempty" json:"networkResourceManagementCapability,omitempty" vim:"5.0"`
+ NetworkResourceManagementCapability *DVSNetworkResourceManagementCapability `xml:"networkResourceManagementCapability,omitempty" json:"networkResourceManagementCapability,omitempty"`
// Health check capabilities supported by a `VmwareDistributedVirtualSwitch`.
- HealthCheckCapability BaseDVSHealthCheckCapability `xml:"healthCheckCapability,omitempty,typeattr" json:"healthCheckCapability,omitempty" vim:"5.1"`
+ HealthCheckCapability BaseDVSHealthCheckCapability `xml:"healthCheckCapability,omitempty,typeattr" json:"healthCheckCapability,omitempty"`
// Host rollback capability.
//
// If rollbackCapability
.`DVSRollbackCapability.rollbackSupported`
// is true, network operations that disconnect the the host are rolled back.
- RollbackCapability *DVSRollbackCapability `xml:"rollbackCapability,omitempty" json:"rollbackCapability,omitempty" vim:"5.1"`
+ RollbackCapability *DVSRollbackCapability `xml:"rollbackCapability,omitempty" json:"rollbackCapability,omitempty"`
// Backup, restore, and rollback capabilities.
//
// Backup and restore
@@ -19693,18 +19737,160 @@ type DVSFeatureCapability struct {
// `DistributedVirtualSwitch*.*DistributedVirtualSwitch.DVSRollback_Task`
// and `DistributedVirtualPortgroup*.*DistributedVirtualPortgroup.DVPortgroupRollback_Task`
// methods.
- BackupRestoreCapability *DVSBackupRestoreCapability `xml:"backupRestoreCapability,omitempty" json:"backupRestoreCapability,omitempty" vim:"5.1"`
+ BackupRestoreCapability *DVSBackupRestoreCapability `xml:"backupRestoreCapability,omitempty" json:"backupRestoreCapability,omitempty"`
// Indicates whether Network Filter feature is
// supported in vSphere Distributed Switch.
- NetworkFilterSupported *bool `xml:"networkFilterSupported" json:"networkFilterSupported,omitempty" vim:"5.5"`
+ NetworkFilterSupported *bool `xml:"networkFilterSupported" json:"networkFilterSupported,omitempty"`
// Indicates whether MAC learning feature is
// supported in vSphere Distributed Switch.
- MacLearningSupported *bool `xml:"macLearningSupported" json:"macLearningSupported,omitempty" vim:"6.7"`
+ MacLearningSupported *bool `xml:"macLearningSupported" json:"macLearningSupported,omitempty"`
}
func init() {
t["DVSFeatureCapability"] = reflect.TypeOf((*DVSFeatureCapability)(nil)).Elem()
- minAPIVersionForType["DVSFeatureCapability"] = "4.1"
+}
+
+// Base class for connectee filters.
+//
+// This class serves as a base for different types of connectee filters.
+// It has three sub-classes.
+type DVSFilterSpecConnecteeSpec struct {
+ DynamicData
+}
+
+func init() {
+ t["DVSFilterSpecConnecteeSpec"] = reflect.TypeOf((*DVSFilterSpecConnecteeSpec)(nil)).Elem()
+ minAPIVersionForType["DVSFilterSpecConnecteeSpec"] = "8.0.3.0"
+}
+
+// Sub-class for connectee filters.
+//
+// This is for the connectee type to be pnic.
+// Two filters will apply, which are pnicName and hostName.
+// This connectee whole-name will be made up from two names: pnicName and hostName.
+type DVSFilterSpecPnicConnecteeSpec struct {
+ DVSFilterSpecConnecteeSpec
+
+ // The pnic name to be filtered in the connectee column.
+ //
+ // If set, port's connectee type being a pnic whose whole-name including this string are qualified.
+ PnicNameSpec string `xml:"pnicNameSpec,omitempty" json:"pnicNameSpec,omitempty"`
+}
+
+func init() {
+ t["DVSFilterSpecPnicConnecteeSpec"] = reflect.TypeOf((*DVSFilterSpecPnicConnecteeSpec)(nil)).Elem()
+ minAPIVersionForType["DVSFilterSpecPnicConnecteeSpec"] = "8.0.3.0"
+}
+
+// Sub-class for Vlan filters.
+//
+// This is for the Vlan type to be private Vlan.
+type DVSFilterSpecPvlanSpec struct {
+ DVSFilterSpecVlanSpec
+
+ // The private VLAN ID for ports.
+ //
+ // Possible values:
+ // A value of 0 specifies that you do not want the port associated
+ // with a VLAN.
+ // A value from 1 to 4094 specifies a VLAN ID for the port.
+ // If set, port private vlans matching are qualified.
+ PvlanId int32 `xml:"pvlanId,omitempty" json:"pvlanId,omitempty"`
+}
+
+func init() {
+ t["DVSFilterSpecPvlanSpec"] = reflect.TypeOf((*DVSFilterSpecPvlanSpec)(nil)).Elem()
+ minAPIVersionForType["DVSFilterSpecPvlanSpec"] = "8.0.3.0"
+}
+
+// Sub-class for Vlan filters.
+//
+// This is for the Vlan type to be trunking.
+type DVSFilterSpecTrunkVlanSpec struct {
+ DVSFilterSpecVlanSpec
+
+ // The VlanId range for the trunk port.
+ //
+ // The valid VlanId range is
+ // from 0 to 4094. Overlapping ranges are allowed.
+ // If set, port trunk ranges matching are qualified.
+ Range *NumericRange `xml:"range,omitempty" json:"range,omitempty"`
+}
+
+func init() {
+ t["DVSFilterSpecTrunkVlanSpec"] = reflect.TypeOf((*DVSFilterSpecTrunkVlanSpec)(nil)).Elem()
+ minAPIVersionForType["DVSFilterSpecTrunkVlanSpec"] = "8.0.3.0"
+}
+
+// Sub-class for Vlan filters.
+//
+// This is for the Vlan type to be Vlan.
+type DVSFilterSpecVlanIdSpec struct {
+ DVSFilterSpecVlanSpec
+
+ // The VLAN ID for ports.
+ //
+ // Possible values:
+ // A value of 0 specifies that you do not want the port associated
+ // with a VLAN.
+ // A value from 1 to 4094 specifies a VLAN ID for the port.
+ // If set,port vlans matching are qualified.
+ VlanId int32 `xml:"vlanId,omitempty" json:"vlanId,omitempty"`
+}
+
+func init() {
+ t["DVSFilterSpecVlanIdSpec"] = reflect.TypeOf((*DVSFilterSpecVlanIdSpec)(nil)).Elem()
+ minAPIVersionForType["DVSFilterSpecVlanIdSpec"] = "8.0.3.0"
+}
+
+// Base class for VlanSpec filters.
+//
+// This class serves as a base for different types of VlanSpec filters.
+// It has three sub-classes.
+type DVSFilterSpecVlanSpec struct {
+ DynamicData
+}
+
+func init() {
+ t["DVSFilterSpecVlanSpec"] = reflect.TypeOf((*DVSFilterSpecVlanSpec)(nil)).Elem()
+ minAPIVersionForType["DVSFilterSpecVlanSpec"] = "8.0.3.0"
+}
+
+// Sub-class for connectee filters.
+//
+// This is for the connectee type to be vm.
+// Only one filter will apply, whici is vmName.
+type DVSFilterSpecVmConnecteeSpec struct {
+ DVSFilterSpecConnecteeSpec
+
+ // The vm name to be filtered in the connectee column.
+ //
+ // If set, port's connectee type being a vm whose name including this string are qualified.
+ VmNameSpec string `xml:"vmNameSpec,omitempty" json:"vmNameSpec,omitempty"`
+}
+
+func init() {
+ t["DVSFilterSpecVmConnecteeSpec"] = reflect.TypeOf((*DVSFilterSpecVmConnecteeSpec)(nil)).Elem()
+ minAPIVersionForType["DVSFilterSpecVmConnecteeSpec"] = "8.0.3.0"
+}
+
+// Sub-class for connectee filters.
+//
+// This is for the connectee type to be vmknic.
+// Two filters will apply, which are vmknicName and hostName.
+// This connectee whole-name will be made up from two names: vmknicName and hostName.
+type DVSFilterSpecVmknicConnecteeSpec struct {
+ DVSFilterSpecConnecteeSpec
+
+ // The vmknic name to be filtered in the connectee column.
+ //
+ // If set, port's connectee type being a vmknic whose whole-name including this string are qualified.
+ VmknicNameSpec string `xml:"vmknicNameSpec,omitempty" json:"vmknicNameSpec,omitempty"`
+}
+
+func init() {
+ t["DVSFilterSpecVmknicConnecteeSpec"] = reflect.TypeOf((*DVSFilterSpecVmknicConnecteeSpec)(nil)).Elem()
+ minAPIVersionForType["DVSFilterSpecVmknicConnecteeSpec"] = "8.0.3.0"
}
// Health check capabilities of health check supported by the
@@ -19715,7 +19901,6 @@ type DVSHealthCheckCapability struct {
func init() {
t["DVSHealthCheckCapability"] = reflect.TypeOf((*DVSHealthCheckCapability)(nil)).Elem()
- minAPIVersionForType["DVSHealthCheckCapability"] = "5.1"
}
// The `DVSHealthCheckConfig` data object
@@ -19731,7 +19916,6 @@ type DVSHealthCheckConfig struct {
func init() {
t["DVSHealthCheckConfig"] = reflect.TypeOf((*DVSHealthCheckConfig)(nil)).Elem()
- minAPIVersionForType["DVSHealthCheckConfig"] = "5.1"
}
// This data object type describes the information about the host local port.
@@ -19753,7 +19937,6 @@ type DVSHostLocalPortInfo struct {
func init() {
t["DVSHostLocalPortInfo"] = reflect.TypeOf((*DVSHostLocalPortInfo)(nil)).Elem()
- minAPIVersionForType["DVSHostLocalPortInfo"] = "5.1"
}
// This data object type describes MAC learning policy of a port.
@@ -19775,7 +19958,6 @@ type DVSMacLearningPolicy struct {
func init() {
t["DVSMacLearningPolicy"] = reflect.TypeOf((*DVSMacLearningPolicy)(nil)).Elem()
- minAPIVersionForType["DVSMacLearningPolicy"] = "6.7"
}
// This data object type describes MAC management policy of a port.
@@ -19798,7 +19980,6 @@ type DVSMacManagementPolicy struct {
func init() {
t["DVSMacManagementPolicy"] = reflect.TypeOf((*DVSMacManagementPolicy)(nil)).Elem()
- minAPIVersionForType["DVSMacManagementPolicy"] = "6.7"
}
// Configuration specification for a DistributedVirtualSwitch or
@@ -19814,7 +19995,6 @@ type DVSManagerDvsConfigTarget struct {
func init() {
t["DVSManagerDvsConfigTarget"] = reflect.TypeOf((*DVSManagerDvsConfigTarget)(nil)).Elem()
- minAPIVersionForType["DVSManagerDvsConfigTarget"] = "4.0"
}
// The parameters of `DistributedVirtualSwitchManager.DVSManagerExportEntity_Task`.
@@ -19893,6 +20073,7 @@ type DVSManagerLookupDvPortGroupResponse struct {
type DVSManagerPhysicalNicsList struct {
DynamicData
+ // Refers instance of `HostSystem`.
Host ManagedObjectReference `xml:"host" json:"host"`
PhysicalNics []PhysicalNic `xml:"physicalNics,omitempty" json:"physicalNics,omitempty"`
}
@@ -19928,7 +20109,6 @@ type DVSNameArrayUplinkPortPolicy struct {
func init() {
t["DVSNameArrayUplinkPortPolicy"] = reflect.TypeOf((*DVSNameArrayUplinkPortPolicy)(nil)).Elem()
- minAPIVersionForType["DVSNameArrayUplinkPortPolicy"] = "4.0"
}
// Dataobject representing the feature capabilities of network resource management
@@ -19968,23 +20148,22 @@ type DVSNetworkResourceManagementCapability struct {
// Flag to indicate whether Network Resource Control version 3 is supported.
//
// The API supported by Network Resouce Control version 3 include:
- // 1. VM virtual NIC network resource specification
- // `VirtualEthernetCardResourceAllocation`
- // 2. VM virtual NIC network resource pool specification
- // `DVSVmVnicNetworkResourcePool`
- // 3. Host infrastructure traffic network resource specification
- // `DvsHostInfrastructureTrafficResource`
+ // 1. VM virtual NIC network resource specification
+ // `VirtualEthernetCardResourceAllocation`
+ // 2. VM virtual NIC network resource pool specification
+ // `DVSVmVnicNetworkResourcePool`
+ // 3. Host infrastructure traffic network resource specification
+ // `DvsHostInfrastructureTrafficResource`
//
// Network Resource Control version 3 is supported for Switch Version 6.0 or later.
- NetworkResourceControlVersion3Supported *bool `xml:"networkResourceControlVersion3Supported" json:"networkResourceControlVersion3Supported,omitempty" vim:"6.0"`
+ NetworkResourceControlVersion3Supported *bool `xml:"networkResourceControlVersion3Supported" json:"networkResourceControlVersion3Supported,omitempty"`
// Indicates whether user defined infrastructure traffic pool
// supported in vSphere Distributed Switch.
- UserDefinedInfraTrafficPoolSupported *bool `xml:"userDefinedInfraTrafficPoolSupported" json:"userDefinedInfraTrafficPoolSupported,omitempty" vim:"6.7"`
+ UserDefinedInfraTrafficPoolSupported *bool `xml:"userDefinedInfraTrafficPoolSupported" json:"userDefinedInfraTrafficPoolSupported,omitempty"`
}
func init() {
t["DVSNetworkResourceManagementCapability"] = reflect.TypeOf((*DVSNetworkResourceManagementCapability)(nil)).Elem()
- minAPIVersionForType["DVSNetworkResourceManagementCapability"] = "5.0"
}
// Deprecated as of vSphere API 6.0
@@ -20013,7 +20192,6 @@ type DVSNetworkResourcePool struct {
func init() {
t["DVSNetworkResourcePool"] = reflect.TypeOf((*DVSNetworkResourcePool)(nil)).Elem()
- minAPIVersionForType["DVSNetworkResourcePool"] = "4.1"
}
// Resource allocation information for a network resource pool.
@@ -20046,12 +20224,11 @@ type DVSNetworkResourcePoolAllocationInfo struct {
//
// The tag is a priority value
// in the range 0..7 for Quality of Service operations on network traffic.
- PriorityTag int32 `xml:"priorityTag,omitempty" json:"priorityTag,omitempty" vim:"5.0"`
+ PriorityTag int32 `xml:"priorityTag,omitempty" json:"priorityTag,omitempty"`
}
func init() {
t["DVSNetworkResourcePoolAllocationInfo"] = reflect.TypeOf((*DVSNetworkResourcePoolAllocationInfo)(nil)).Elem()
- minAPIVersionForType["DVSNetworkResourcePoolAllocationInfo"] = "4.1"
}
// The `DVSNetworkResourcePoolConfigSpec` data object
@@ -20090,14 +20267,13 @@ type DVSNetworkResourcePoolConfigSpec struct {
// The property is required for
// `DistributedVirtualSwitch*.*DistributedVirtualSwitch.AddNetworkResourcePool`
// operations.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"5.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// User-defined description for the resource pool.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"5.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
}
func init() {
t["DVSNetworkResourcePoolConfigSpec"] = reflect.TypeOf((*DVSNetworkResourcePoolConfigSpec)(nil)).Elem()
- minAPIVersionForType["DVSNetworkResourcePoolConfigSpec"] = "4.1"
}
// The switch usage policy types
@@ -20121,7 +20297,6 @@ type DVSPolicy struct {
func init() {
t["DVSPolicy"] = reflect.TypeOf((*DVSPolicy)(nil)).Elem()
- minAPIVersionForType["DVSPolicy"] = "4.0"
}
// The `DVSRollbackCapability` data object
@@ -20135,7 +20310,6 @@ type DVSRollbackCapability struct {
func init() {
t["DVSRollbackCapability"] = reflect.TypeOf((*DVSRollbackCapability)(nil)).Elem()
- minAPIVersionForType["DVSRollbackCapability"] = "5.1"
}
// The parameters of `DistributedVirtualSwitch.DVSRollback_Task`.
@@ -20169,12 +20343,11 @@ type DVSRuntimeInfo struct {
// Runtime information of the hosts that joined the switch.
HostMemberRuntime []HostMemberRuntimeInfo `xml:"hostMemberRuntime,omitempty" json:"hostMemberRuntime,omitempty"`
// The bandwidth reservation information for the switch.
- ResourceRuntimeInfo *DvsResourceRuntimeInfo `xml:"resourceRuntimeInfo,omitempty" json:"resourceRuntimeInfo,omitempty" vim:"6.0"`
+ ResourceRuntimeInfo *DvsResourceRuntimeInfo `xml:"resourceRuntimeInfo,omitempty" json:"resourceRuntimeInfo,omitempty"`
}
func init() {
t["DVSRuntimeInfo"] = reflect.TypeOf((*DVSRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["DVSRuntimeInfo"] = "5.1"
}
// This data object type describes security policy governing ports.
@@ -20195,7 +20368,6 @@ type DVSSecurityPolicy struct {
func init() {
t["DVSSecurityPolicy"] = reflect.TypeOf((*DVSSecurityPolicy)(nil)).Elem()
- minAPIVersionForType["DVSSecurityPolicy"] = "4.0"
}
// Class to specify selection criteria of vSphere Distributed Switch.
@@ -20208,7 +20380,6 @@ type DVSSelection struct {
func init() {
t["DVSSelection"] = reflect.TypeOf((*DVSSelection)(nil)).Elem()
- minAPIVersionForType["DVSSelection"] = "5.0"
}
// Summary of the distributed switch configuration.
@@ -20256,12 +20427,11 @@ type DVSSummary struct {
//
// The value of this property
// is not affected by the privileges granted to the current user.
- NumHosts int32 `xml:"numHosts,omitempty" json:"numHosts,omitempty" vim:"5.5"`
+ NumHosts int32 `xml:"numHosts,omitempty" json:"numHosts,omitempty"`
}
func init() {
t["DVSSummary"] = reflect.TypeOf((*DVSSummary)(nil)).Elem()
- minAPIVersionForType["DVSSummary"] = "4.0"
}
// This data object type describes traffic shaping policy.
@@ -20284,7 +20454,6 @@ type DVSTrafficShapingPolicy struct {
func init() {
t["DVSTrafficShapingPolicy"] = reflect.TypeOf((*DVSTrafficShapingPolicy)(nil)).Elem()
- minAPIVersionForType["DVSTrafficShapingPolicy"] = "4.0"
}
// The base class for uplink port policy.
@@ -20294,7 +20463,6 @@ type DVSUplinkPortPolicy struct {
func init() {
t["DVSUplinkPortPolicy"] = reflect.TypeOf((*DVSUplinkPortPolicy)(nil)).Elem()
- minAPIVersionForType["DVSUplinkPortPolicy"] = "4.0"
}
// This data object type describes vendor specific configuration.
@@ -20307,7 +20475,6 @@ type DVSVendorSpecificConfig struct {
func init() {
t["DVSVendorSpecificConfig"] = reflect.TypeOf((*DVSVendorSpecificConfig)(nil)).Elem()
- minAPIVersionForType["DVSVendorSpecificConfig"] = "4.0"
}
// DataObject describing the resource configuration and management of
@@ -20329,7 +20496,6 @@ type DVSVmVnicNetworkResourcePool struct {
func init() {
t["DVSVmVnicNetworkResourcePool"] = reflect.TypeOf((*DVSVmVnicNetworkResourcePool)(nil)).Elem()
- minAPIVersionForType["DVSVmVnicNetworkResourcePool"] = "6.0"
}
// The `DailyTaskScheduler` data object sets the time for daily
@@ -20420,7 +20586,6 @@ type DasClusterIsolatedEvent struct {
func init() {
t["DasClusterIsolatedEvent"] = reflect.TypeOf((*DasClusterIsolatedEvent)(nil)).Elem()
- minAPIVersionForType["DasClusterIsolatedEvent"] = "4.0"
}
// This fault indicates that some error has occurred during the
@@ -20433,11 +20598,11 @@ type DasConfigFault struct {
// The reason why the HA configuration failed, if known.
//
// Values should come from `DasConfigFaultDasConfigFaultReason_enum`.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
// The output (stdout/stderr) from executing the configuration.
- Output string `xml:"output,omitempty" json:"output,omitempty" vim:"4.0"`
+ Output string `xml:"output,omitempty" json:"output,omitempty"`
// The list of events containing details why the configuration failed, if known.
- Event []BaseEvent `xml:"event,omitempty,typeattr" json:"event,omitempty" vim:"4.0"`
+ Event []BaseEvent `xml:"event,omitempty,typeattr" json:"event,omitempty"`
}
func init() {
@@ -20472,13 +20637,14 @@ func init() {
type DasHeartbeatDatastoreInfo struct {
DynamicData
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
- Hosts []ManagedObjectReference `xml:"hosts" json:"hosts"`
+ // Refers instance of `Datastore`.
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
+ // Refers instances of `HostSystem`.
+ Hosts []ManagedObjectReference `xml:"hosts" json:"hosts"`
}
func init() {
t["DasHeartbeatDatastoreInfo"] = reflect.TypeOf((*DasHeartbeatDatastoreInfo)(nil)).Elem()
- minAPIVersionForType["DasHeartbeatDatastoreInfo"] = "5.0"
}
// This event records when a host failure has been detected by HA.
@@ -20542,7 +20708,6 @@ type DatabaseSizeEstimate struct {
func init() {
t["DatabaseSizeEstimate"] = reflect.TypeOf((*DatabaseSizeEstimate)(nil)).Elem()
- minAPIVersionForType["DatabaseSizeEstimate"] = "4.0"
}
// DatabaseSizeParam contains information about a sample inventory.
@@ -20568,7 +20733,6 @@ type DatabaseSizeParam struct {
func init() {
t["DatabaseSizeParam"] = reflect.TypeOf((*DatabaseSizeParam)(nil)).Elem()
- minAPIVersionForType["DatabaseSizeParam"] = "4.0"
}
// BasicConnectInfo consists of essential information about the host.
@@ -20603,7 +20767,6 @@ type DatacenterBasicConnectInfo struct {
func init() {
t["DatacenterBasicConnectInfo"] = reflect.TypeOf((*DatacenterBasicConnectInfo)(nil)).Elem()
- minAPIVersionForType["DatacenterBasicConnectInfo"] = "6.7.1"
}
// Configuration of the datacenter.
@@ -20630,7 +20793,6 @@ type DatacenterConfigInfo struct {
func init() {
t["DatacenterConfigInfo"] = reflect.TypeOf((*DatacenterConfigInfo)(nil)).Elem()
- minAPIVersionForType["DatacenterConfigInfo"] = "5.1"
}
// Changes to apply to the datacenter configuration.
@@ -20657,7 +20819,6 @@ type DatacenterConfigSpec struct {
func init() {
t["DatacenterConfigSpec"] = reflect.TypeOf((*DatacenterConfigSpec)(nil)).Elem()
- minAPIVersionForType["DatacenterConfigSpec"] = "5.1"
}
type DatacenterCreatedEvent struct {
@@ -20678,7 +20839,6 @@ type DatacenterEvent struct {
func init() {
t["DatacenterEvent"] = reflect.TypeOf((*DatacenterEvent)(nil)).Elem()
- minAPIVersionForType["DatacenterEvent"] = "2.5"
}
// The event argument is a Datacenter object.
@@ -20767,37 +20927,39 @@ type DatastoreCapability struct {
// They do not support configuring this on a per file basis, so for NAS systems
// this value is also false.
PerFileThinProvisioningSupported bool `xml:"perFileThinProvisioningSupported" json:"perFileThinProvisioningSupported"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Indicates whether the datastore supports Storage I/O Resource Management.
- StorageIORMSupported *bool `xml:"storageIORMSupported" json:"storageIORMSupported,omitempty" vim:"4.1"`
+ StorageIORMSupported *bool `xml:"storageIORMSupported" json:"storageIORMSupported,omitempty"`
// Indicates whether the datastore supports native snapshot feature which is
// based on Copy-On-Write.
- NativeSnapshotSupported *bool `xml:"nativeSnapshotSupported" json:"nativeSnapshotSupported,omitempty" vim:"5.1"`
+ NativeSnapshotSupported *bool `xml:"nativeSnapshotSupported" json:"nativeSnapshotSupported,omitempty"`
// Indicates whether the datastore supports traditional top-level
// directory creation.
//
// See also `DatastoreNamespaceManager`.
- TopLevelDirectoryCreateSupported *bool `xml:"topLevelDirectoryCreateSupported" json:"topLevelDirectoryCreateSupported,omitempty" vim:"5.5"`
+ TopLevelDirectoryCreateSupported *bool `xml:"topLevelDirectoryCreateSupported" json:"topLevelDirectoryCreateSupported,omitempty"`
// Indicates whether the datastore supports the Flex-SE(SeSparse) feature.
- SeSparseSupported *bool `xml:"seSparseSupported" json:"seSparseSupported,omitempty" vim:"5.5"`
+ SeSparseSupported *bool `xml:"seSparseSupported" json:"seSparseSupported,omitempty"`
// Indicates whether the datastore supports the vmfsSparse feature.
//
// True for VMFS3/VMFS5/NFS/NFS41, False for VMFS6.
// If value is undefined, then it should be read as supported.
- VmfsSparseSupported *bool `xml:"vmfsSparseSupported" json:"vmfsSparseSupported,omitempty" vim:"6.5"`
+ VmfsSparseSupported *bool `xml:"vmfsSparseSupported" json:"vmfsSparseSupported,omitempty"`
// Indicates whether the datastore supports the vsanSparse feature.
- VsanSparseSupported *bool `xml:"vsanSparseSupported" json:"vsanSparseSupported,omitempty" vim:"6.5"`
+ VsanSparseSupported *bool `xml:"vsanSparseSupported" json:"vsanSparseSupported,omitempty"`
// Deprecated as of vSphere API 8.0, and there is no replacement for it.
//
// Indicates whether the datastore supports the upit feature.
- UpitSupported *bool `xml:"upitSupported" json:"upitSupported,omitempty" vim:"6.5"`
+ UpitSupported *bool `xml:"upitSupported" json:"upitSupported,omitempty"`
// On certain datastores (e.g.
//
// 2016 PMEM datastore) VMDK expand is not supported.
// This field tells user if VMDK on this datastore can be expanded or not.
// If value is undefined, then it should be read as supported.
- VmdkExpandSupported *bool `xml:"vmdkExpandSupported" json:"vmdkExpandSupported,omitempty" vim:"6.7"`
+ VmdkExpandSupported *bool `xml:"vmdkExpandSupported" json:"vmdkExpandSupported,omitempty"`
// Indicates whether the datastore supports clustered VMDK feature.
- ClusteredVmdkSupported *bool `xml:"clusteredVmdkSupported" json:"clusteredVmdkSupported,omitempty" vim:"7.0"`
+ ClusteredVmdkSupported *bool `xml:"clusteredVmdkSupported" json:"clusteredVmdkSupported,omitempty"`
}
func init() {
@@ -20819,7 +20981,6 @@ type DatastoreCapacityIncreasedEvent struct {
func init() {
t["DatastoreCapacityIncreasedEvent"] = reflect.TypeOf((*DatastoreCapacityIncreasedEvent)(nil)).Elem()
- minAPIVersionForType["DatastoreCapacityIncreasedEvent"] = "4.0"
}
// This event records when a datastore is removed from VirtualCenter.
@@ -20930,7 +21091,6 @@ type DatastoreFileCopiedEvent struct {
func init() {
t["DatastoreFileCopiedEvent"] = reflect.TypeOf((*DatastoreFileCopiedEvent)(nil)).Elem()
- minAPIVersionForType["DatastoreFileCopiedEvent"] = "4.0"
}
// This event records deletion of a file or directory.
@@ -20940,7 +21100,6 @@ type DatastoreFileDeletedEvent struct {
func init() {
t["DatastoreFileDeletedEvent"] = reflect.TypeOf((*DatastoreFileDeletedEvent)(nil)).Elem()
- minAPIVersionForType["DatastoreFileDeletedEvent"] = "4.0"
}
// Base class for events related to datastore file and directory
@@ -20955,14 +21114,13 @@ type DatastoreFileEvent struct {
// Datastore path of the target file or directory.
TargetFile string `xml:"targetFile" json:"targetFile"`
// Identifier of the initiator of the file operation.
- SourceOfOperation string `xml:"sourceOfOperation,omitempty" json:"sourceOfOperation,omitempty" vim:"6.5"`
+ SourceOfOperation string `xml:"sourceOfOperation,omitempty" json:"sourceOfOperation,omitempty"`
// Indicator whether the datastore file operation succeeded.
- Succeeded *bool `xml:"succeeded" json:"succeeded,omitempty" vim:"6.5"`
+ Succeeded *bool `xml:"succeeded" json:"succeeded,omitempty"`
}
func init() {
t["DatastoreFileEvent"] = reflect.TypeOf((*DatastoreFileEvent)(nil)).Elem()
- minAPIVersionForType["DatastoreFileEvent"] = "4.0"
}
// This event records move of a file or directory.
@@ -20977,7 +21135,6 @@ type DatastoreFileMovedEvent struct {
func init() {
t["DatastoreFileMovedEvent"] = reflect.TypeOf((*DatastoreFileMovedEvent)(nil)).Elem()
- minAPIVersionForType["DatastoreFileMovedEvent"] = "4.0"
}
// Host-specific datastore information.
@@ -21004,7 +21161,6 @@ type DatastoreIORMReconfiguredEvent struct {
func init() {
t["DatastoreIORMReconfiguredEvent"] = reflect.TypeOf((*DatastoreIORMReconfiguredEvent)(nil)).Elem()
- minAPIVersionForType["DatastoreIORMReconfiguredEvent"] = "4.1"
}
// Detailed information about a datastore.
@@ -21028,21 +21184,21 @@ type DatastoreInfo struct {
// The maximum size of a file that can reside on this file system volume.
MaxFileSize int64 `xml:"maxFileSize" json:"maxFileSize"`
// The maximum capacity of a virtual disk which can be created on this volume.
- MaxVirtualDiskCapacity int64 `xml:"maxVirtualDiskCapacity,omitempty" json:"maxVirtualDiskCapacity,omitempty" vim:"5.5"`
+ MaxVirtualDiskCapacity int64 `xml:"maxVirtualDiskCapacity,omitempty" json:"maxVirtualDiskCapacity,omitempty"`
// The maximum size of a snapshot or a swap file that can reside on this file system volume.
- MaxMemoryFileSize int64 `xml:"maxMemoryFileSize,omitempty" json:"maxMemoryFileSize,omitempty" vim:"6.0"`
+ MaxMemoryFileSize int64 `xml:"maxMemoryFileSize,omitempty" json:"maxMemoryFileSize,omitempty"`
// Time when the free-space and capacity values in `DatastoreInfo` and
// `DatastoreSummary` were updated.
- Timestamp *time.Time `xml:"timestamp" json:"timestamp,omitempty" vim:"4.0"`
+ Timestamp *time.Time `xml:"timestamp" json:"timestamp,omitempty"`
// The unique container ID of the datastore, if applicable.
- ContainerId string `xml:"containerId,omitempty" json:"containerId,omitempty" vim:"5.5"`
+ ContainerId string `xml:"containerId,omitempty" json:"containerId,omitempty"`
// vSAN datastore container that this datastore is alias of.
//
// If this
// field is unset then this datastore is not alias of any other vSAN
// datastore.
// See `DatastoreInfo.containerId`.
- AliasOf string `xml:"aliasOf,omitempty" json:"aliasOf,omitempty" vim:"6.7.1"`
+ AliasOf string `xml:"aliasOf,omitempty" json:"aliasOf,omitempty"`
}
func init() {
@@ -21066,7 +21222,6 @@ type DatastoreMountPathDatastorePair struct {
func init() {
t["DatastoreMountPathDatastorePair"] = reflect.TypeOf((*DatastoreMountPathDatastorePair)(nil)).Elem()
- minAPIVersionForType["DatastoreMountPathDatastorePair"] = "4.1"
}
type DatastoreNamespaceManagerDirectoryInfo struct {
@@ -21080,6 +21235,7 @@ type DatastoreNamespaceManagerDirectoryInfo struct {
func init() {
t["DatastoreNamespaceManagerDirectoryInfo"] = reflect.TypeOf((*DatastoreNamespaceManagerDirectoryInfo)(nil)).Elem()
+ minAPIVersionForType["DatastoreNamespaceManagerDirectoryInfo"] = "8.0.1.0"
}
// This exception is thrown if a datastore is not
@@ -21211,7 +21367,7 @@ type DatastoreSummary struct {
// value.
// It can be explicitly refreshed with the `Datastore.RefreshDatastoreStorageInfo` operation.
// This property is valid only if `DatastoreSummary.accessible` is true.
- Uncommitted int64 `xml:"uncommitted,omitempty" json:"uncommitted,omitempty" vim:"4.0"`
+ Uncommitted int64 `xml:"uncommitted,omitempty" json:"uncommitted,omitempty"`
// The connectivity status of this datastore.
//
// If this is set to false, meaning the
@@ -21240,7 +21396,7 @@ type DatastoreSummary struct {
//
// The set of
// possible values is described in `DatastoreSummaryMaintenanceModeState_enum`.
- MaintenanceMode string `xml:"maintenanceMode,omitempty" json:"maintenanceMode,omitempty" vim:"5.0"`
+ MaintenanceMode string `xml:"maintenanceMode,omitempty" json:"maintenanceMode,omitempty"`
}
func init() {
@@ -21263,7 +21419,6 @@ type DatastoreVVolContainerFailoverPair struct {
func init() {
t["DatastoreVVolContainerFailoverPair"] = reflect.TypeOf((*DatastoreVVolContainerFailoverPair)(nil)).Elem()
- minAPIVersionForType["DatastoreVVolContainerFailoverPair"] = "6.5"
}
// The `DateTimeProfile` data object represents host date and time configuration.
@@ -21277,7 +21432,6 @@ type DateTimeProfile struct {
func init() {
t["DateTimeProfile"] = reflect.TypeOf((*DateTimeProfile)(nil)).Elem()
- minAPIVersionForType["DateTimeProfile"] = "4.0"
}
type DecodeLicense DecodeLicenseRequestType
@@ -21719,6 +21873,7 @@ type DeleteVStorageObjectExRequestType struct {
func init() {
t["DeleteVStorageObjectExRequestType"] = reflect.TypeOf((*DeleteVStorageObjectExRequestType)(nil)).Elem()
+ minAPIVersionForType["DeleteVStorageObjectExRequestType"] = "7.0.2.0"
}
type DeleteVStorageObjectEx_Task DeleteVStorageObjectExRequestType
@@ -21865,7 +22020,6 @@ type DeltaDiskFormatNotSupported struct {
func init() {
t["DeltaDiskFormatNotSupported"] = reflect.TypeOf((*DeltaDiskFormatNotSupported)(nil)).Elem()
- minAPIVersionForType["DeltaDiskFormatNotSupported"] = "5.0"
}
type DeltaDiskFormatNotSupportedFault DeltaDiskFormatNotSupported
@@ -21942,11 +22096,15 @@ type DesiredSoftwareSpec struct {
// These components would override the components present in
// `DesiredSoftwareSpec.vendorAddOnSpec` and `DesiredSoftwareSpec.baseImageSpec`.
Components []DesiredSoftwareSpecComponentSpec `xml:"components,omitempty" json:"components,omitempty" vim:"7.0.2.0"`
+ // Components which should not be part of the desired software
+ // spec.
+ //
+ // These components are not applied on the host.
+ RemovedComponents []string `xml:"removedComponents,omitempty" json:"removedComponents,omitempty" vim:"8.0.3.0"`
}
func init() {
t["DesiredSoftwareSpec"] = reflect.TypeOf((*DesiredSoftwareSpec)(nil)).Elem()
- minAPIVersionForType["DesiredSoftwareSpec"] = "7.0"
}
// Describes base-image spec for the ESX host.
@@ -21959,7 +22117,6 @@ type DesiredSoftwareSpecBaseImageSpec struct {
func init() {
t["DesiredSoftwareSpecBaseImageSpec"] = reflect.TypeOf((*DesiredSoftwareSpecBaseImageSpec)(nil)).Elem()
- minAPIVersionForType["DesiredSoftwareSpecBaseImageSpec"] = "7.0"
}
// Component information for the ESX host.
@@ -21992,7 +22149,6 @@ type DesiredSoftwareSpecVendorAddOnSpec struct {
func init() {
t["DesiredSoftwareSpecVendorAddOnSpec"] = reflect.TypeOf((*DesiredSoftwareSpecVendorAddOnSpec)(nil)).Elem()
- minAPIVersionForType["DesiredSoftwareSpecVendorAddOnSpec"] = "7.0"
}
// For one of the networks that the virtual machine is using, the corresponding
@@ -22033,7 +22189,6 @@ type DestinationVsanDisabled struct {
func init() {
t["DestinationVsanDisabled"] = reflect.TypeOf((*DestinationVsanDisabled)(nil)).Elem()
- minAPIVersionForType["DestinationVsanDisabled"] = "5.5"
}
type DestinationVsanDisabledFault DestinationVsanDisabled
@@ -22344,7 +22499,6 @@ type DeviceBackedVirtualDiskSpec struct {
func init() {
t["DeviceBackedVirtualDiskSpec"] = reflect.TypeOf((*DeviceBackedVirtualDiskSpec)(nil)).Elem()
- minAPIVersionForType["DeviceBackedVirtualDiskSpec"] = "2.5"
}
// The device is backed by a backing type which is not supported
@@ -22364,7 +22518,6 @@ type DeviceBackingNotSupported struct {
func init() {
t["DeviceBackingNotSupported"] = reflect.TypeOf((*DeviceBackingNotSupported)(nil)).Elem()
- minAPIVersionForType["DeviceBackingNotSupported"] = "2.5"
}
type DeviceBackingNotSupportedFault BaseDeviceBackingNotSupported
@@ -22390,7 +22543,6 @@ type DeviceControllerNotSupported struct {
func init() {
t["DeviceControllerNotSupported"] = reflect.TypeOf((*DeviceControllerNotSupported)(nil)).Elem()
- minAPIVersionForType["DeviceControllerNotSupported"] = "2.5"
}
type DeviceControllerNotSupportedFault DeviceControllerNotSupported
@@ -22409,7 +22561,6 @@ type DeviceGroupId struct {
func init() {
t["DeviceGroupId"] = reflect.TypeOf((*DeviceGroupId)(nil)).Elem()
- minAPIVersionForType["DeviceGroupId"] = "6.5"
}
// A DeviceHotPlugNotSupported exception is thrown if the specified device
@@ -22421,7 +22572,6 @@ type DeviceHotPlugNotSupported struct {
func init() {
t["DeviceHotPlugNotSupported"] = reflect.TypeOf((*DeviceHotPlugNotSupported)(nil)).Elem()
- minAPIVersionForType["DeviceHotPlugNotSupported"] = "2.5 U2"
}
type DeviceHotPlugNotSupportedFault DeviceHotPlugNotSupported
@@ -22470,7 +22620,7 @@ type DeviceNotSupported struct {
// if this doesn't make sense in the context. For example,
// in the `DisallowedMigrationDeviceAttached` context
// we already know the problem.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"2.5"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
@@ -22496,7 +22646,6 @@ type DeviceUnsupportedForVmPlatform struct {
func init() {
t["DeviceUnsupportedForVmPlatform"] = reflect.TypeOf((*DeviceUnsupportedForVmPlatform)(nil)).Elem()
- minAPIVersionForType["DeviceUnsupportedForVmPlatform"] = "2.5 U2"
}
type DeviceUnsupportedForVmPlatformFault DeviceUnsupportedForVmPlatform
@@ -22519,7 +22668,6 @@ type DeviceUnsupportedForVmVersion struct {
func init() {
t["DeviceUnsupportedForVmVersion"] = reflect.TypeOf((*DeviceUnsupportedForVmVersion)(nil)).Elem()
- minAPIVersionForType["DeviceUnsupportedForVmVersion"] = "2.5 U2"
}
type DeviceUnsupportedForVmVersionFault DeviceUnsupportedForVmVersion
@@ -22548,6 +22696,7 @@ type DiagnosticManagerAuditRecordResult struct {
func init() {
t["DiagnosticManagerAuditRecordResult"] = reflect.TypeOf((*DiagnosticManagerAuditRecordResult)(nil)).Elem()
+ minAPIVersionForType["DiagnosticManagerAuditRecordResult"] = "7.0.3.0"
}
// Describes a location of a diagnostic bundle and the server to which
@@ -22601,7 +22750,7 @@ type DiagnosticManagerLogDescriptor struct {
//
// Typical
// mime-types include:
- // - text/plain - for a plain log file
+ // - text/plain - for a plain log file
MimeType string `xml:"mimeType" json:"mimeType"`
// Localized description of log file.
Info BaseDescription `xml:"info,typeattr" json:"info"`
@@ -22643,7 +22792,6 @@ type DigestNotSupported struct {
func init() {
t["DigestNotSupported"] = reflect.TypeOf((*DigestNotSupported)(nil)).Elem()
- minAPIVersionForType["DigestNotSupported"] = "6.0"
}
type DigestNotSupportedFault DigestNotSupported
@@ -22660,7 +22808,6 @@ type DirectoryNotEmpty struct {
func init() {
t["DirectoryNotEmpty"] = reflect.TypeOf((*DirectoryNotEmpty)(nil)).Elem()
- minAPIVersionForType["DirectoryNotEmpty"] = "5.0"
}
type DirectoryNotEmptyFault DirectoryNotEmpty
@@ -22679,7 +22826,6 @@ type DisableAdminNotSupported struct {
func init() {
t["DisableAdminNotSupported"] = reflect.TypeOf((*DisableAdminNotSupported)(nil)).Elem()
- minAPIVersionForType["DisableAdminNotSupported"] = "2.5"
}
type DisableAdminNotSupportedFault DisableAdminNotSupported
@@ -22903,7 +23049,6 @@ type DisallowedChangeByService struct {
func init() {
t["DisallowedChangeByService"] = reflect.TypeOf((*DisallowedChangeByService)(nil)).Elem()
- minAPIVersionForType["DisallowedChangeByService"] = "5.0"
}
type DisallowedChangeByServiceFault DisallowedChangeByService
@@ -22974,7 +23119,6 @@ type DisallowedOperationOnFailoverHost struct {
func init() {
t["DisallowedOperationOnFailoverHost"] = reflect.TypeOf((*DisallowedOperationOnFailoverHost)(nil)).Elem()
- minAPIVersionForType["DisallowedOperationOnFailoverHost"] = "4.0"
}
type DisallowedOperationOnFailoverHostFault DisallowedOperationOnFailoverHost
@@ -23017,6 +23161,7 @@ type DisconnectNvmeControllerExRequestType struct {
func init() {
t["DisconnectNvmeControllerExRequestType"] = reflect.TypeOf((*DisconnectNvmeControllerExRequestType)(nil)).Elem()
+ minAPIVersionForType["DisconnectNvmeControllerExRequestType"] = "7.0.3.0"
}
type DisconnectNvmeControllerEx_Task DisconnectNvmeControllerExRequestType
@@ -23053,7 +23198,6 @@ type DisconnectedHostsBlockingEVC struct {
func init() {
t["DisconnectedHostsBlockingEVC"] = reflect.TypeOf((*DisconnectedHostsBlockingEVC)(nil)).Elem()
- minAPIVersionForType["DisconnectedHostsBlockingEVC"] = "2.5u2"
}
type DisconnectedHostsBlockingEVCFault DisconnectedHostsBlockingEVC
@@ -23115,7 +23259,6 @@ type DiskChangeExtent struct {
func init() {
t["DiskChangeExtent"] = reflect.TypeOf((*DiskChangeExtent)(nil)).Elem()
- minAPIVersionForType["DiskChangeExtent"] = "4.0"
}
// Data structure to describe areas in a disk associated with this VM that have
@@ -23141,7 +23284,6 @@ type DiskChangeInfo struct {
func init() {
t["DiskChangeInfo"] = reflect.TypeOf((*DiskChangeInfo)(nil)).Elem()
- minAPIVersionForType["DiskChangeInfo"] = "4.0"
}
// This data object type contains the crypto information of all disks along
@@ -23157,7 +23299,6 @@ type DiskCryptoSpec struct {
func init() {
t["DiskCryptoSpec"] = reflect.TypeOf((*DiskCryptoSpec)(nil)).Elem()
- minAPIVersionForType["DiskCryptoSpec"] = "7.0"
}
// Fault used for disks which have existing, non-VSAN partitions.
@@ -23169,7 +23310,6 @@ type DiskHasPartitions struct {
func init() {
t["DiskHasPartitions"] = reflect.TypeOf((*DiskHasPartitions)(nil)).Elem()
- minAPIVersionForType["DiskHasPartitions"] = "5.5"
}
type DiskHasPartitionsFault DiskHasPartitions
@@ -23188,7 +23328,6 @@ type DiskIsLastRemainingNonSSD struct {
func init() {
t["DiskIsLastRemainingNonSSD"] = reflect.TypeOf((*DiskIsLastRemainingNonSSD)(nil)).Elem()
- minAPIVersionForType["DiskIsLastRemainingNonSSD"] = "5.5"
}
type DiskIsLastRemainingNonSSDFault DiskIsLastRemainingNonSSD
@@ -23207,7 +23346,6 @@ type DiskIsNonLocal struct {
func init() {
t["DiskIsNonLocal"] = reflect.TypeOf((*DiskIsNonLocal)(nil)).Elem()
- minAPIVersionForType["DiskIsNonLocal"] = "5.5"
}
type DiskIsNonLocalFault DiskIsNonLocal
@@ -23226,7 +23364,6 @@ type DiskIsUSB struct {
func init() {
t["DiskIsUSB"] = reflect.TypeOf((*DiskIsUSB)(nil)).Elem()
- minAPIVersionForType["DiskIsUSB"] = "5.5"
}
type DiskIsUSBFault DiskIsUSB
@@ -23244,7 +23381,6 @@ type DiskMoveTypeNotSupported struct {
func init() {
t["DiskMoveTypeNotSupported"] = reflect.TypeOf((*DiskMoveTypeNotSupported)(nil)).Elem()
- minAPIVersionForType["DiskMoveTypeNotSupported"] = "4.0"
}
type DiskMoveTypeNotSupportedFault DiskMoveTypeNotSupported
@@ -23284,7 +23420,6 @@ type DiskTooSmall struct {
func init() {
t["DiskTooSmall"] = reflect.TypeOf((*DiskTooSmall)(nil)).Elem()
- minAPIVersionForType["DiskTooSmall"] = "5.5"
}
type DiskTooSmallFault DiskTooSmall
@@ -23390,17 +23525,16 @@ type DistributedVirtualPort struct {
// to resurrect the management network connection on a VMkernel virtual NIC.
// You cannot use vCenter Server to reconfigure this port and you cannot
// reassign the port.
- HostLocalPort *bool `xml:"hostLocalPort" json:"hostLocalPort,omitempty" vim:"5.1"`
+ HostLocalPort *bool `xml:"hostLocalPort" json:"hostLocalPort,omitempty"`
// Populate the Id assigned to vmknic or vnic by external management plane
// to port, if the port is connected to the nics.
- ExternalId string `xml:"externalId,omitempty" json:"externalId,omitempty" vim:"7.0"`
+ ExternalId string `xml:"externalId,omitempty" json:"externalId,omitempty"`
// Populate the segmentPortId assigned to LSP.
- SegmentPortId string `xml:"segmentPortId,omitempty" json:"segmentPortId,omitempty" vim:"7.0"`
+ SegmentPortId string `xml:"segmentPortId,omitempty" json:"segmentPortId,omitempty"`
}
func init() {
t["DistributedVirtualPort"] = reflect.TypeOf((*DistributedVirtualPort)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualPort"] = "4.0"
}
// This class describes a DistributedVirtualPortgroup that a device backing
@@ -23428,23 +23562,22 @@ type DistributedVirtualPortgroupInfo struct {
Portgroup ManagedObjectReference `xml:"portgroup" json:"portgroup"`
// Indicates whether network bandwidth reservation is supported on
// the portgroup
- NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty" vim:"6.0"`
+ NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty"`
// Backing type of portgroup.
//
// See
// `DistributedVirtualPortgroup*.*DistributedVirtualPortgroupBackingType_enum`
// for possible values.
// The default value is "standard".
- BackingType string `xml:"backingType,omitempty" json:"backingType,omitempty" vim:"7.0"`
+ BackingType string `xml:"backingType,omitempty" json:"backingType,omitempty"`
// The logical switch UUID, which is used by NSX portgroup
- LogicalSwitchUuid string `xml:"logicalSwitchUuid,omitempty" json:"logicalSwitchUuid,omitempty" vim:"7.0"`
+ LogicalSwitchUuid string `xml:"logicalSwitchUuid,omitempty" json:"logicalSwitchUuid,omitempty"`
// The segment ID of logical switch, which is used by NSX portroup
- SegmentId string `xml:"segmentId,omitempty" json:"segmentId,omitempty" vim:"7.0"`
+ SegmentId string `xml:"segmentId,omitempty" json:"segmentId,omitempty"`
}
func init() {
t["DistributedVirtualPortgroupInfo"] = reflect.TypeOf((*DistributedVirtualPortgroupInfo)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualPortgroupInfo"] = "4.0"
}
// The `DistributedVirtualPortgroupNsxPortgroupOperationResult`
@@ -23468,7 +23601,6 @@ type DistributedVirtualPortgroupNsxPortgroupOperationResult struct {
func init() {
t["DistributedVirtualPortgroupNsxPortgroupOperationResult"] = reflect.TypeOf((*DistributedVirtualPortgroupNsxPortgroupOperationResult)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualPortgroupNsxPortgroupOperationResult"] = "7.0"
}
// The `DistributedVirtualPortgroupProblem`
@@ -23484,7 +23616,6 @@ type DistributedVirtualPortgroupProblem struct {
func init() {
t["DistributedVirtualPortgroupProblem"] = reflect.TypeOf((*DistributedVirtualPortgroupProblem)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualPortgroupProblem"] = "7.0"
}
// The `DistributedVirtualSwitchHostMember` data object represents an ESXi host that
@@ -23499,7 +23630,7 @@ type DistributedVirtualSwitchHostMember struct {
DynamicData
// Host member runtime state.
- RuntimeState *DistributedVirtualSwitchHostMemberRuntimeState `xml:"runtimeState,omitempty" json:"runtimeState,omitempty" vim:"5.0"`
+ RuntimeState *DistributedVirtualSwitchHostMemberRuntimeState `xml:"runtimeState,omitempty" json:"runtimeState,omitempty"`
// Host member configuration.
Config DistributedVirtualSwitchHostMemberConfigInfo `xml:"config" json:"config"`
// Vendor, product and version information for the proxy switch
@@ -23522,12 +23653,11 @@ type DistributedVirtualSwitchHostMember struct {
// `HostMemberRuntimeInfo*.*HostMemberRuntimeInfo.statusDetail` instead.
//
// Additional information regarding the host's current status.
- StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty" vim:"4.1"`
+ StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty"`
}
func init() {
t["DistributedVirtualSwitchHostMember"] = reflect.TypeOf((*DistributedVirtualSwitchHostMember)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostMember"] = "4.0"
}
// Base class.
@@ -23537,7 +23667,6 @@ type DistributedVirtualSwitchHostMemberBacking struct {
func init() {
t["DistributedVirtualSwitchHostMemberBacking"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberBacking)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostMemberBacking"] = "4.0"
}
// The `DistributedVirtualSwitchHostMemberConfigInfo` data object
@@ -23566,21 +23695,21 @@ type DistributedVirtualSwitchHostMemberConfigInfo struct {
Backing BaseDistributedVirtualSwitchHostMemberBacking `xml:"backing,typeattr" json:"backing"`
// Indicate whether the proxy switch is used by NSX on this particular
// host member of the VDS.
- NsxSwitch *bool `xml:"nsxSwitch" json:"nsxSwitch,omitempty" vim:"7.0"`
+ NsxSwitch *bool `xml:"nsxSwitch" json:"nsxSwitch,omitempty"`
// Indicate if ENS is enabled for this particular host member of
// the VDS.
//
// It is read only.
- EnsEnabled *bool `xml:"ensEnabled" json:"ensEnabled,omitempty" vim:"7.0"`
+ EnsEnabled *bool `xml:"ensEnabled" json:"ensEnabled,omitempty"`
// Indicate if ENS interrupt mode is enabled for this particular host
// member of the VDS.
//
// It is read only.
- EnsInterruptEnabled *bool `xml:"ensInterruptEnabled" json:"ensInterruptEnabled,omitempty" vim:"7.0"`
+ EnsInterruptEnabled *bool `xml:"ensInterruptEnabled" json:"ensInterruptEnabled,omitempty"`
// Indicate which transport zones this host joins by this VDS.
- TransportZones []DistributedVirtualSwitchHostMemberTransportZoneInfo `xml:"transportZones,omitempty" json:"transportZones,omitempty" vim:"7.0"`
+ TransportZones []DistributedVirtualSwitchHostMemberTransportZoneInfo `xml:"transportZones,omitempty" json:"transportZones,omitempty"`
// Indicate which uplink ports are used by NSX-T.
- NsxtUsedUplinkNames []string `xml:"nsxtUsedUplinkNames,omitempty" json:"nsxtUsedUplinkNames,omitempty" vim:"7.0"`
+ NsxtUsedUplinkNames []string `xml:"nsxtUsedUplinkNames,omitempty" json:"nsxtUsedUplinkNames,omitempty"`
// Indicate if network offloading is enabled for this particular host
// member of the VDS.
//
@@ -23590,7 +23719,6 @@ type DistributedVirtualSwitchHostMemberConfigInfo struct {
func init() {
t["DistributedVirtualSwitchHostMemberConfigInfo"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberConfigInfo)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostMemberConfigInfo"] = "4.0"
}
// Specification to create or reconfigure ESXi host membership
@@ -23624,7 +23752,23 @@ type DistributedVirtualSwitchHostMemberConfigSpec struct {
func init() {
t["DistributedVirtualSwitchHostMemberConfigSpec"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberConfigSpec)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostMemberConfigSpec"] = "4.0"
+}
+
+// The runtime state of uplink on the host.
+type DistributedVirtualSwitchHostMemberHostUplinkState struct {
+ DynamicData
+
+ // Name of the uplink.
+ UplinkName string `xml:"uplinkName" json:"uplinkName"`
+ // The runtime state of the uplink.
+ //
+ // See `DistributedVirtualSwitchHostMemberHostUplinkStateState_enum` for supported values.
+ State string `xml:"state" json:"state"`
+}
+
+func init() {
+ t["DistributedVirtualSwitchHostMemberHostUplinkState"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberHostUplinkState)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMemberHostUplinkState"] = "8.0.3.0"
}
// The `DistributedVirtualSwitchHostMemberPnicBacking` data object
@@ -23646,7 +23790,6 @@ type DistributedVirtualSwitchHostMemberPnicBacking struct {
func init() {
t["DistributedVirtualSwitchHostMemberPnicBacking"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberPnicBacking)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostMemberPnicBacking"] = "4.0"
}
// Specification for an individual physical NIC.
@@ -23676,7 +23819,6 @@ type DistributedVirtualSwitchHostMemberPnicSpec struct {
func init() {
t["DistributedVirtualSwitchHostMemberPnicSpec"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberPnicSpec)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostMemberPnicSpec"] = "4.0"
}
// Runtime state of a host member.
@@ -23690,7 +23832,6 @@ type DistributedVirtualSwitchHostMemberRuntimeState struct {
func init() {
t["DistributedVirtualSwitchHostMemberRuntimeState"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberRuntimeState)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostMemberRuntimeState"] = "5.0"
}
// Transport zone information.
@@ -23707,7 +23848,6 @@ type DistributedVirtualSwitchHostMemberTransportZoneInfo struct {
func init() {
t["DistributedVirtualSwitchHostMemberTransportZoneInfo"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberTransportZoneInfo)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostMemberTransportZoneInfo"] = "7.0"
}
// This data object type is a subset of `AboutInfo`.
@@ -23727,7 +23867,6 @@ type DistributedVirtualSwitchHostProductSpec struct {
func init() {
t["DistributedVirtualSwitchHostProductSpec"] = reflect.TypeOf((*DistributedVirtualSwitchHostProductSpec)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchHostProductSpec"] = "4.0"
}
// This class describes a DistributedVirtualSwitch that a device backing
@@ -23745,12 +23884,11 @@ type DistributedVirtualSwitchInfo struct {
DistributedVirtualSwitch ManagedObjectReference `xml:"distributedVirtualSwitch" json:"distributedVirtualSwitch"`
// Indicates whether network bandwidth reservation is supported on
// the switch
- NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty" vim:"6.0"`
+ NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty"`
}
func init() {
t["DistributedVirtualSwitchInfo"] = reflect.TypeOf((*DistributedVirtualSwitchInfo)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchInfo"] = "4.0"
}
// This class defines a data structure to hold opaque binary data
@@ -23769,7 +23907,6 @@ type DistributedVirtualSwitchKeyedOpaqueBlob struct {
func init() {
t["DistributedVirtualSwitchKeyedOpaqueBlob"] = reflect.TypeOf((*DistributedVirtualSwitchKeyedOpaqueBlob)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchKeyedOpaqueBlob"] = "4.0"
}
// This is the return type for the checkCompatibility method.
@@ -23799,7 +23936,6 @@ type DistributedVirtualSwitchManagerCompatibilityResult struct {
func init() {
t["DistributedVirtualSwitchManagerCompatibilityResult"] = reflect.TypeOf((*DistributedVirtualSwitchManagerCompatibilityResult)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchManagerCompatibilityResult"] = "4.1"
}
// This class is used to specify ProductSpec for the DVS.
@@ -23820,7 +23956,6 @@ type DistributedVirtualSwitchManagerDvsProductSpec struct {
func init() {
t["DistributedVirtualSwitchManagerDvsProductSpec"] = reflect.TypeOf((*DistributedVirtualSwitchManagerDvsProductSpec)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchManagerDvsProductSpec"] = "4.1"
}
// Check host compatibility against all hosts specified in the array.
@@ -23835,7 +23970,6 @@ type DistributedVirtualSwitchManagerHostArrayFilter struct {
func init() {
t["DistributedVirtualSwitchManagerHostArrayFilter"] = reflect.TypeOf((*DistributedVirtualSwitchManagerHostArrayFilter)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchManagerHostArrayFilter"] = "4.1"
}
// Check host compatibility for all hosts in the container.
@@ -23864,7 +23998,6 @@ type DistributedVirtualSwitchManagerHostContainer struct {
func init() {
t["DistributedVirtualSwitchManagerHostContainer"] = reflect.TypeOf((*DistributedVirtualSwitchManagerHostContainer)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchManagerHostContainer"] = "4.1"
}
// Check host compatibility against all hosts in this
@@ -23878,7 +24011,6 @@ type DistributedVirtualSwitchManagerHostContainerFilter struct {
func init() {
t["DistributedVirtualSwitchManagerHostContainerFilter"] = reflect.TypeOf((*DistributedVirtualSwitchManagerHostContainerFilter)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchManagerHostContainerFilter"] = "4.1"
}
// Base class for filters to check host compatibility.
@@ -23894,7 +24026,6 @@ type DistributedVirtualSwitchManagerHostDvsFilterSpec struct {
func init() {
t["DistributedVirtualSwitchManagerHostDvsFilterSpec"] = reflect.TypeOf((*DistributedVirtualSwitchManagerHostDvsFilterSpec)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchManagerHostDvsFilterSpec"] = "4.1"
}
// Check host compatibility against all hosts in the DVS (or not in the DVS if
@@ -23902,12 +24033,12 @@ func init() {
type DistributedVirtualSwitchManagerHostDvsMembershipFilter struct {
DistributedVirtualSwitchManagerHostDvsFilterSpec
+ // Refers instance of `DistributedVirtualSwitch`.
DistributedVirtualSwitch ManagedObjectReference `xml:"distributedVirtualSwitch" json:"distributedVirtualSwitch"`
}
func init() {
t["DistributedVirtualSwitchManagerHostDvsMembershipFilter"] = reflect.TypeOf((*DistributedVirtualSwitchManagerHostDvsMembershipFilter)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchManagerHostDvsMembershipFilter"] = "4.1"
}
// The `DistributedVirtualSwitchManagerImportResult`
@@ -23935,7 +24066,6 @@ type DistributedVirtualSwitchManagerImportResult struct {
func init() {
t["DistributedVirtualSwitchManagerImportResult"] = reflect.TypeOf((*DistributedVirtualSwitchManagerImportResult)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchManagerImportResult"] = "5.1"
}
// Describe the network offload specification of a
@@ -23980,7 +24110,6 @@ type DistributedVirtualSwitchPortConnectee struct {
func init() {
t["DistributedVirtualSwitchPortConnectee"] = reflect.TypeOf((*DistributedVirtualSwitchPortConnectee)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchPortConnectee"] = "4.0"
}
// The `DistributedVirtualSwitchPortConnection` data object represents a connection
@@ -24027,7 +24156,6 @@ type DistributedVirtualSwitchPortConnection struct {
func init() {
t["DistributedVirtualSwitchPortConnection"] = reflect.TypeOf((*DistributedVirtualSwitchPortConnection)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchPortConnection"] = "4.0"
}
// The criteria specification for selecting ports.
@@ -24048,7 +24176,7 @@ type DistributedVirtualSwitchPortCriteria struct {
// If set to false, only
// non-NSX ports are qualified.
// NSX ports are ports of NSX port group.
- NsxPort *bool `xml:"nsxPort" json:"nsxPort,omitempty" vim:"7.0"`
+ NsxPort *bool `xml:"nsxPort" json:"nsxPort,omitempty"`
// Deprecated as of vSphere API 5.5.
//
// If set, only the ports of which the scope covers the entity are
@@ -24074,12 +24202,11 @@ type DistributedVirtualSwitchPortCriteria struct {
// If set, only the ports that are present in one of the host are qualified.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"6.5"`
+ Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
}
func init() {
t["DistributedVirtualSwitchPortCriteria"] = reflect.TypeOf((*DistributedVirtualSwitchPortCriteria)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchPortCriteria"] = "4.0"
}
// Statistic data of a DistributedVirtualPort.
@@ -24120,15 +24247,14 @@ type DistributedVirtualSwitchPortStatistics struct {
PacketsOutException int64 `xml:"packetsOutException" json:"packetsOutException"`
// The number of bytes received at a pnic on the behalf of a port's
// connectee (inter-host rx).
- BytesInFromPnic int64 `xml:"bytesInFromPnic,omitempty" json:"bytesInFromPnic,omitempty" vim:"6.5"`
+ BytesInFromPnic int64 `xml:"bytesInFromPnic,omitempty" json:"bytesInFromPnic,omitempty"`
// The number of bytes transmitted at a pnic on the behalf of a port's
// connectee (inter-host tx).
- BytesOutToPnic int64 `xml:"bytesOutToPnic,omitempty" json:"bytesOutToPnic,omitempty" vim:"6.5"`
+ BytesOutToPnic int64 `xml:"bytesOutToPnic,omitempty" json:"bytesOutToPnic,omitempty"`
}
func init() {
t["DistributedVirtualSwitchPortStatistics"] = reflect.TypeOf((*DistributedVirtualSwitchPortStatistics)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchPortStatistics"] = "4.0"
}
// This data object type is a subset of `AboutInfo`.
@@ -24164,7 +24290,6 @@ type DistributedVirtualSwitchProductSpec struct {
func init() {
t["DistributedVirtualSwitchProductSpec"] = reflect.TypeOf((*DistributedVirtualSwitchProductSpec)(nil)).Elem()
- minAPIVersionForType["DistributedVirtualSwitchProductSpec"] = "4.0"
}
type DoesCustomizationSpecExist DoesCustomizationSpecExistRequestType
@@ -24198,7 +24323,6 @@ type DomainNotFound struct {
func init() {
t["DomainNotFound"] = reflect.TypeOf((*DomainNotFound)(nil)).Elem()
- minAPIVersionForType["DomainNotFound"] = "4.1"
}
type DomainNotFoundFault DomainNotFound
@@ -24289,6 +24413,7 @@ type DropConnectionsRequestType struct {
func init() {
t["DropConnectionsRequestType"] = reflect.TypeOf((*DropConnectionsRequestType)(nil)).Elem()
+ minAPIVersionForType["DropConnectionsRequestType"] = "7.0.1.0"
}
type DropConnectionsResponse struct {
@@ -24312,7 +24437,6 @@ type DrsDisabledOnVm struct {
func init() {
t["DrsDisabledOnVm"] = reflect.TypeOf((*DrsDisabledOnVm)(nil)).Elem()
- minAPIVersionForType["DrsDisabledOnVm"] = "4.0"
}
type DrsDisabledOnVmFault DrsDisabledOnVm
@@ -24344,7 +24468,6 @@ type DrsEnteredStandbyModeEvent struct {
func init() {
t["DrsEnteredStandbyModeEvent"] = reflect.TypeOf((*DrsEnteredStandbyModeEvent)(nil)).Elem()
- minAPIVersionForType["DrsEnteredStandbyModeEvent"] = "2.5"
}
// This event records that a host has begun the process of
@@ -24355,7 +24478,6 @@ type DrsEnteringStandbyModeEvent struct {
func init() {
t["DrsEnteringStandbyModeEvent"] = reflect.TypeOf((*DrsEnteringStandbyModeEvent)(nil)).Elem()
- minAPIVersionForType["DrsEnteringStandbyModeEvent"] = "4.0"
}
// This event records that Distributed Power Management tried to bring a host out
@@ -24366,7 +24488,6 @@ type DrsExitStandbyModeFailedEvent struct {
func init() {
t["DrsExitStandbyModeFailedEvent"] = reflect.TypeOf((*DrsExitStandbyModeFailedEvent)(nil)).Elem()
- minAPIVersionForType["DrsExitStandbyModeFailedEvent"] = "4.0"
}
// This event records that Distributed Power Management brings this host
@@ -24377,7 +24498,6 @@ type DrsExitedStandbyModeEvent struct {
func init() {
t["DrsExitedStandbyModeEvent"] = reflect.TypeOf((*DrsExitedStandbyModeEvent)(nil)).Elem()
- minAPIVersionForType["DrsExitedStandbyModeEvent"] = "2.5"
}
// This event records that a host has begun the process of
@@ -24388,7 +24508,6 @@ type DrsExitingStandbyModeEvent struct {
func init() {
t["DrsExitingStandbyModeEvent"] = reflect.TypeOf((*DrsExitingStandbyModeEvent)(nil)).Elem()
- minAPIVersionForType["DrsExitingStandbyModeEvent"] = "4.0"
}
// This event records DRS invocation failure.
@@ -24398,7 +24517,6 @@ type DrsInvocationFailedEvent struct {
func init() {
t["DrsInvocationFailedEvent"] = reflect.TypeOf((*DrsInvocationFailedEvent)(nil)).Elem()
- minAPIVersionForType["DrsInvocationFailedEvent"] = "4.0"
}
// This event records that DRS has recovered from failure.
@@ -24410,7 +24528,6 @@ type DrsRecoveredFromFailureEvent struct {
func init() {
t["DrsRecoveredFromFailureEvent"] = reflect.TypeOf((*DrsRecoveredFromFailureEvent)(nil)).Elem()
- minAPIVersionForType["DrsRecoveredFromFailureEvent"] = "4.0"
}
// This event records when resource configuration
@@ -24443,7 +24560,6 @@ type DrsRuleComplianceEvent struct {
func init() {
t["DrsRuleComplianceEvent"] = reflect.TypeOf((*DrsRuleComplianceEvent)(nil)).Elem()
- minAPIVersionForType["DrsRuleComplianceEvent"] = "4.1"
}
// This event records when a virtual machine violates a DRS VM-Host rule.
@@ -24453,7 +24569,6 @@ type DrsRuleViolationEvent struct {
func init() {
t["DrsRuleViolationEvent"] = reflect.TypeOf((*DrsRuleViolationEvent)(nil)).Elem()
- minAPIVersionForType["DrsRuleViolationEvent"] = "4.1"
}
// This event records when a virtual machine violates a soft VM-Host rule.
@@ -24463,7 +24578,6 @@ type DrsSoftRuleViolationEvent struct {
func init() {
t["DrsSoftRuleViolationEvent"] = reflect.TypeOf((*DrsSoftRuleViolationEvent)(nil)).Elem()
- minAPIVersionForType["DrsSoftRuleViolationEvent"] = "6.0"
}
// This event records a virtual machine migration that was recommended by DRS.
@@ -24482,7 +24596,6 @@ type DrsVmPoweredOnEvent struct {
func init() {
t["DrsVmPoweredOnEvent"] = reflect.TypeOf((*DrsVmPoweredOnEvent)(nil)).Elem()
- minAPIVersionForType["DrsVmPoweredOnEvent"] = "2.5"
}
// This fault is thrown when DRS tries to migrate a virtual machine to a host,
@@ -24498,7 +24611,6 @@ type DrsVmotionIncompatibleFault struct {
func init() {
t["DrsVmotionIncompatibleFault"] = reflect.TypeOf((*DrsVmotionIncompatibleFault)(nil)).Elem()
- minAPIVersionForType["DrsVmotionIncompatibleFault"] = "4.0"
}
type DrsVmotionIncompatibleFaultFault DrsVmotionIncompatibleFault
@@ -24537,7 +24649,6 @@ type DuplicateDisks struct {
func init() {
t["DuplicateDisks"] = reflect.TypeOf((*DuplicateDisks)(nil)).Elem()
- minAPIVersionForType["DuplicateDisks"] = "5.5"
}
type DuplicateDisksFault DuplicateDisks
@@ -24560,7 +24671,6 @@ type DuplicateIpDetectedEvent struct {
func init() {
t["DuplicateIpDetectedEvent"] = reflect.TypeOf((*DuplicateIpDetectedEvent)(nil)).Elem()
- minAPIVersionForType["DuplicateIpDetectedEvent"] = "2.5"
}
// A DuplicateName exception is thrown because a name already exists
@@ -24597,7 +24707,6 @@ type DuplicateVsanNetworkInterface struct {
func init() {
t["DuplicateVsanNetworkInterface"] = reflect.TypeOf((*DuplicateVsanNetworkInterface)(nil)).Elem()
- minAPIVersionForType["DuplicateVsanNetworkInterface"] = "5.5"
}
type DuplicateVsanNetworkInterfaceFault DuplicateVsanNetworkInterface
@@ -24619,7 +24728,6 @@ type DvpgImportEvent struct {
func init() {
t["DvpgImportEvent"] = reflect.TypeOf((*DvpgImportEvent)(nil)).Elem()
- minAPIVersionForType["DvpgImportEvent"] = "5.1"
}
// This event is generated when a restore operation is
@@ -24630,7 +24738,6 @@ type DvpgRestoreEvent struct {
func init() {
t["DvpgRestoreEvent"] = reflect.TypeOf((*DvpgRestoreEvent)(nil)).Elem()
- minAPIVersionForType["DvpgRestoreEvent"] = "5.1"
}
// This class defines network rule action to accept packets.
@@ -24640,7 +24747,6 @@ type DvsAcceptNetworkRuleAction struct {
func init() {
t["DvsAcceptNetworkRuleAction"] = reflect.TypeOf((*DvsAcceptNetworkRuleAction)(nil)).Elem()
- minAPIVersionForType["DvsAcceptNetworkRuleAction"] = "5.5"
}
// Thrown if a vSphere Distributed Switch apply operation failed to set or remove
@@ -24654,7 +24760,6 @@ type DvsApplyOperationFault struct {
func init() {
t["DvsApplyOperationFault"] = reflect.TypeOf((*DvsApplyOperationFault)(nil)).Elem()
- minAPIVersionForType["DvsApplyOperationFault"] = "5.1"
}
type DvsApplyOperationFaultFault DvsApplyOperationFault
@@ -24680,7 +24785,6 @@ type DvsApplyOperationFaultFaultOnObject struct {
func init() {
t["DvsApplyOperationFaultFaultOnObject"] = reflect.TypeOf((*DvsApplyOperationFaultFaultOnObject)(nil)).Elem()
- minAPIVersionForType["DvsApplyOperationFaultFaultOnObject"] = "5.1"
}
// This class defines network rule action to copy the packet to an
@@ -24692,7 +24796,6 @@ type DvsCopyNetworkRuleAction struct {
func init() {
t["DvsCopyNetworkRuleAction"] = reflect.TypeOf((*DvsCopyNetworkRuleAction)(nil)).Elem()
- minAPIVersionForType["DvsCopyNetworkRuleAction"] = "5.5"
}
// A distributed virtual switch was created.
@@ -24705,7 +24808,6 @@ type DvsCreatedEvent struct {
func init() {
t["DvsCreatedEvent"] = reflect.TypeOf((*DvsCreatedEvent)(nil)).Elem()
- minAPIVersionForType["DvsCreatedEvent"] = "4.0"
}
// A distributed virtual switch was destroyed.
@@ -24715,7 +24817,6 @@ type DvsDestroyedEvent struct {
func init() {
t["DvsDestroyedEvent"] = reflect.TypeOf((*DvsDestroyedEvent)(nil)).Elem()
- minAPIVersionForType["DvsDestroyedEvent"] = "4.0"
}
// This class defines network rule action to drop packets.
@@ -24725,7 +24826,6 @@ type DvsDropNetworkRuleAction struct {
func init() {
t["DvsDropNetworkRuleAction"] = reflect.TypeOf((*DvsDropNetworkRuleAction)(nil)).Elem()
- minAPIVersionForType["DvsDropNetworkRuleAction"] = "5.5"
}
// These are dvs-related events.
@@ -24735,7 +24835,6 @@ type DvsEvent struct {
func init() {
t["DvsEvent"] = reflect.TypeOf((*DvsEvent)(nil)).Elem()
- minAPIVersionForType["DvsEvent"] = "4.0"
}
// The event argument is a Host object.
@@ -24750,7 +24849,6 @@ type DvsEventArgument struct {
func init() {
t["DvsEventArgument"] = reflect.TypeOf((*DvsEventArgument)(nil)).Elem()
- minAPIVersionForType["DvsEventArgument"] = "4.0"
}
// Base class for faults that can be thrown while invoking a distributed virtual switch
@@ -24761,7 +24859,6 @@ type DvsFault struct {
func init() {
t["DvsFault"] = reflect.TypeOf((*DvsFault)(nil)).Elem()
- minAPIVersionForType["DvsFault"] = "4.0"
}
type DvsFaultFault BaseDvsFault
@@ -24820,7 +24917,6 @@ type DvsFilterConfig struct {
func init() {
t["DvsFilterConfig"] = reflect.TypeOf((*DvsFilterConfig)(nil)).Elem()
- minAPIVersionForType["DvsFilterConfig"] = "5.5"
}
// The specification to reconfigure Network Filter.
@@ -24855,7 +24951,6 @@ type DvsFilterConfigSpec struct {
func init() {
t["DvsFilterConfigSpec"] = reflect.TypeOf((*DvsFilterConfigSpec)(nil)).Elem()
- minAPIVersionForType["DvsFilterConfigSpec"] = "5.5"
}
// This class defines Network Filter parameter.
@@ -24868,7 +24963,6 @@ type DvsFilterParameter struct {
func init() {
t["DvsFilterParameter"] = reflect.TypeOf((*DvsFilterParameter)(nil)).Elem()
- minAPIVersionForType["DvsFilterParameter"] = "5.5"
}
// This class defines Network Filter Policy.
@@ -24904,7 +24998,6 @@ type DvsFilterPolicy struct {
func init() {
t["DvsFilterPolicy"] = reflect.TypeOf((*DvsFilterPolicy)(nil)).Elem()
- minAPIVersionForType["DvsFilterPolicy"] = "5.5"
}
// This class defines network rule action to GRE Encapsulate a packet.
@@ -24919,7 +25012,6 @@ type DvsGreEncapNetworkRuleAction struct {
func init() {
t["DvsGreEncapNetworkRuleAction"] = reflect.TypeOf((*DvsGreEncapNetworkRuleAction)(nil)).Elem()
- minAPIVersionForType["DvsGreEncapNetworkRuleAction"] = "5.5"
}
// Health check status of an switch is changed.
@@ -24934,7 +25026,6 @@ type DvsHealthStatusChangeEvent struct {
func init() {
t["DvsHealthStatusChangeEvent"] = reflect.TypeOf((*DvsHealthStatusChangeEvent)(nil)).Elem()
- minAPIVersionForType["DvsHealthStatusChangeEvent"] = "5.1"
}
// The DVS configuration on the host was synchronized with that of
@@ -24949,7 +25040,6 @@ type DvsHostBackInSyncEvent struct {
func init() {
t["DvsHostBackInSyncEvent"] = reflect.TypeOf((*DvsHostBackInSyncEvent)(nil)).Elem()
- minAPIVersionForType["DvsHostBackInSyncEvent"] = "4.0"
}
// This class defines the resource allocation for a host infrastructure
@@ -24972,7 +25062,6 @@ type DvsHostInfrastructureTrafficResource struct {
func init() {
t["DvsHostInfrastructureTrafficResource"] = reflect.TypeOf((*DvsHostInfrastructureTrafficResource)(nil)).Elem()
- minAPIVersionForType["DvsHostInfrastructureTrafficResource"] = "6.0"
}
// Resource allocation information for a
@@ -25008,7 +25097,6 @@ type DvsHostInfrastructureTrafficResourceAllocation struct {
func init() {
t["DvsHostInfrastructureTrafficResourceAllocation"] = reflect.TypeOf((*DvsHostInfrastructureTrafficResourceAllocation)(nil)).Elem()
- minAPIVersionForType["DvsHostInfrastructureTrafficResourceAllocation"] = "6.0"
}
// A host joined the distributed virtual switch.
@@ -25021,7 +25109,6 @@ type DvsHostJoinedEvent struct {
func init() {
t["DvsHostJoinedEvent"] = reflect.TypeOf((*DvsHostJoinedEvent)(nil)).Elem()
- minAPIVersionForType["DvsHostJoinedEvent"] = "4.0"
}
// A host left the distributed virtual switch.
@@ -25034,7 +25121,6 @@ type DvsHostLeftEvent struct {
func init() {
t["DvsHostLeftEvent"] = reflect.TypeOf((*DvsHostLeftEvent)(nil)).Elem()
- minAPIVersionForType["DvsHostLeftEvent"] = "4.0"
}
// A host has it's status or statusDetail updated.
@@ -25055,7 +25141,6 @@ type DvsHostStatusUpdated struct {
func init() {
t["DvsHostStatusUpdated"] = reflect.TypeOf((*DvsHostStatusUpdated)(nil)).Elem()
- minAPIVersionForType["DvsHostStatusUpdated"] = "4.1"
}
// The `DvsHostVNicProfile` data object describes the IP configuration
@@ -25071,7 +25156,6 @@ type DvsHostVNicProfile struct {
func init() {
t["DvsHostVNicProfile"] = reflect.TypeOf((*DvsHostVNicProfile)(nil)).Elem()
- minAPIVersionForType["DvsHostVNicProfile"] = "4.0"
}
// The DVS configuration on the host diverged from that of
@@ -25085,7 +25169,6 @@ type DvsHostWentOutOfSyncEvent struct {
func init() {
t["DvsHostWentOutOfSyncEvent"] = reflect.TypeOf((*DvsHostWentOutOfSyncEvent)(nil)).Elem()
- minAPIVersionForType["DvsHostWentOutOfSyncEvent"] = "4.0"
}
// This event is generated when a import operation is
@@ -25101,7 +25184,6 @@ type DvsImportEvent struct {
func init() {
t["DvsImportEvent"] = reflect.TypeOf((*DvsImportEvent)(nil)).Elem()
- minAPIVersionForType["DvsImportEvent"] = "5.1"
}
// This class defines the IP Rule Qualifier.
@@ -25138,7 +25220,6 @@ type DvsIpNetworkRuleQualifier struct {
func init() {
t["DvsIpNetworkRuleQualifier"] = reflect.TypeOf((*DvsIpNetworkRuleQualifier)(nil)).Elem()
- minAPIVersionForType["DvsIpNetworkRuleQualifier"] = "5.5"
}
// Base class for specifying Ports.
@@ -25150,7 +25231,6 @@ type DvsIpPort struct {
func init() {
t["DvsIpPort"] = reflect.TypeOf((*DvsIpPort)(nil)).Elem()
- minAPIVersionForType["DvsIpPort"] = "5.5"
}
// This class defines a range of Ports.
@@ -25165,7 +25245,6 @@ type DvsIpPortRange struct {
func init() {
t["DvsIpPortRange"] = reflect.TypeOf((*DvsIpPortRange)(nil)).Elem()
- minAPIVersionForType["DvsIpPortRange"] = "5.5"
}
// This class defines network rule action to just log the rule.
@@ -25175,7 +25254,6 @@ type DvsLogNetworkRuleAction struct {
func init() {
t["DvsLogNetworkRuleAction"] = reflect.TypeOf((*DvsLogNetworkRuleAction)(nil)).Elem()
- minAPIVersionForType["DvsLogNetworkRuleAction"] = "5.5"
}
// This class defines the MAC Rule Qualifier.
@@ -25205,7 +25283,6 @@ type DvsMacNetworkRuleQualifier struct {
func init() {
t["DvsMacNetworkRuleQualifier"] = reflect.TypeOf((*DvsMacNetworkRuleQualifier)(nil)).Elem()
- minAPIVersionForType["DvsMacNetworkRuleQualifier"] = "5.5"
}
// This class defines network rule action to MAC Rewrite.
@@ -25218,7 +25295,6 @@ type DvsMacRewriteNetworkRuleAction struct {
func init() {
t["DvsMacRewriteNetworkRuleAction"] = reflect.TypeOf((*DvsMacRewriteNetworkRuleAction)(nil)).Elem()
- minAPIVersionForType["DvsMacRewriteNetworkRuleAction"] = "5.5"
}
// Two distributed virtual switches was merged.
@@ -25233,7 +25309,6 @@ type DvsMergedEvent struct {
func init() {
t["DvsMergedEvent"] = reflect.TypeOf((*DvsMergedEvent)(nil)).Elem()
- minAPIVersionForType["DvsMergedEvent"] = "4.0"
}
// This class is the base class for network rule action.
@@ -25243,7 +25318,6 @@ type DvsNetworkRuleAction struct {
func init() {
t["DvsNetworkRuleAction"] = reflect.TypeOf((*DvsNetworkRuleAction)(nil)).Elem()
- minAPIVersionForType["DvsNetworkRuleAction"] = "5.5"
}
// This class is the base class for identifying network traffic.
@@ -25256,7 +25330,6 @@ type DvsNetworkRuleQualifier struct {
func init() {
t["DvsNetworkRuleQualifier"] = reflect.TypeOf((*DvsNetworkRuleQualifier)(nil)).Elem()
- minAPIVersionForType["DvsNetworkRuleQualifier"] = "5.5"
}
// Thrown if
@@ -25274,7 +25347,6 @@ type DvsNotAuthorized struct {
func init() {
t["DvsNotAuthorized"] = reflect.TypeOf((*DvsNotAuthorized)(nil)).Elem()
- minAPIVersionForType["DvsNotAuthorized"] = "4.0"
}
type DvsNotAuthorizedFault DvsNotAuthorized
@@ -25293,7 +25365,6 @@ type DvsOperationBulkFault struct {
func init() {
t["DvsOperationBulkFault"] = reflect.TypeOf((*DvsOperationBulkFault)(nil)).Elem()
- minAPIVersionForType["DvsOperationBulkFault"] = "4.0"
}
type DvsOperationBulkFaultFault DvsOperationBulkFault
@@ -25316,7 +25387,6 @@ type DvsOperationBulkFaultFaultOnHost struct {
func init() {
t["DvsOperationBulkFaultFaultOnHost"] = reflect.TypeOf((*DvsOperationBulkFaultFaultOnHost)(nil)).Elem()
- minAPIVersionForType["DvsOperationBulkFaultFaultOnHost"] = "4.0"
}
// The host on which the DVS configuration is different from that
@@ -25333,7 +25403,6 @@ type DvsOutOfSyncHostArgument struct {
func init() {
t["DvsOutOfSyncHostArgument"] = reflect.TypeOf((*DvsOutOfSyncHostArgument)(nil)).Elem()
- minAPIVersionForType["DvsOutOfSyncHostArgument"] = "4.0"
}
// A port is blocked in the distributed virtual switch.
@@ -25343,18 +25412,17 @@ type DvsPortBlockedEvent struct {
// The port key.
PortKey string `xml:"portKey" json:"portKey"`
// Reason for port's current status
- StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty" vim:"4.1"`
+ StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty"`
// The port runtime information.
- RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
+ RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty"`
// Previous state of the DvsPort.
//
// See `DvsEventPortBlockState_enum`
- PrevBlockState string `xml:"prevBlockState,omitempty" json:"prevBlockState,omitempty" vim:"6.5"`
+ PrevBlockState string `xml:"prevBlockState,omitempty" json:"prevBlockState,omitempty"`
}
func init() {
t["DvsPortBlockedEvent"] = reflect.TypeOf((*DvsPortBlockedEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortBlockedEvent"] = "4.0"
}
// A port is connected in the distributed virtual switch.
@@ -25369,7 +25437,6 @@ type DvsPortConnectedEvent struct {
func init() {
t["DvsPortConnectedEvent"] = reflect.TypeOf((*DvsPortConnectedEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortConnectedEvent"] = "4.0"
}
// New ports are created in the distributed virtual switch.
@@ -25382,7 +25449,6 @@ type DvsPortCreatedEvent struct {
func init() {
t["DvsPortCreatedEvent"] = reflect.TypeOf((*DvsPortCreatedEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortCreatedEvent"] = "4.0"
}
// Existing ports are deleted in the distributed virtual switch.
@@ -25395,7 +25461,6 @@ type DvsPortDeletedEvent struct {
func init() {
t["DvsPortDeletedEvent"] = reflect.TypeOf((*DvsPortDeletedEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortDeletedEvent"] = "4.0"
}
// A port is disconnected in the distributed virtual switch.
@@ -25410,7 +25475,6 @@ type DvsPortDisconnectedEvent struct {
func init() {
t["DvsPortDisconnectedEvent"] = reflect.TypeOf((*DvsPortDisconnectedEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortDisconnectedEvent"] = "4.0"
}
// A port has entered passthrough mode on the distributed virtual switch.
@@ -25420,12 +25484,11 @@ type DvsPortEnteredPassthruEvent struct {
// The port key.
PortKey string `xml:"portKey" json:"portKey"`
// The port runtime information.
- RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
+ RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty"`
}
func init() {
t["DvsPortEnteredPassthruEvent"] = reflect.TypeOf((*DvsPortEnteredPassthruEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortEnteredPassthruEvent"] = "4.1"
}
// A port has exited passthrough mode on the distributed virtual switch.
@@ -25435,12 +25498,11 @@ type DvsPortExitedPassthruEvent struct {
// The port key.
PortKey string `xml:"portKey" json:"portKey"`
// The port runtime information.
- RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
+ RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty"`
}
func init() {
t["DvsPortExitedPassthruEvent"] = reflect.TypeOf((*DvsPortExitedPassthruEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortExitedPassthruEvent"] = "4.1"
}
// A port was moved into the distributed virtual portgroup.
@@ -25457,7 +25519,6 @@ type DvsPortJoinPortgroupEvent struct {
func init() {
t["DvsPortJoinPortgroupEvent"] = reflect.TypeOf((*DvsPortJoinPortgroupEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortJoinPortgroupEvent"] = "4.0"
}
// A port was moved out of the distributed virtual portgroup.
@@ -25474,7 +25535,6 @@ type DvsPortLeavePortgroupEvent struct {
func init() {
t["DvsPortLeavePortgroupEvent"] = reflect.TypeOf((*DvsPortLeavePortgroupEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortLeavePortgroupEvent"] = "4.0"
}
// A port of which link status is changed to down in the distributed
@@ -25485,12 +25545,11 @@ type DvsPortLinkDownEvent struct {
// The port key.
PortKey string `xml:"portKey" json:"portKey"`
// The port runtime information.
- RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
+ RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty"`
}
func init() {
t["DvsPortLinkDownEvent"] = reflect.TypeOf((*DvsPortLinkDownEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortLinkDownEvent"] = "4.0"
}
// A port of which link status is changed to up in the distributed
@@ -25501,12 +25560,11 @@ type DvsPortLinkUpEvent struct {
// The port key.
PortKey string `xml:"portKey" json:"portKey"`
// The port runtime information.
- RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
+ RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty"`
}
func init() {
t["DvsPortLinkUpEvent"] = reflect.TypeOf((*DvsPortLinkUpEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortLinkUpEvent"] = "4.0"
}
// Existing ports are reconfigured in the distributed virtual switch.
@@ -25516,12 +25574,11 @@ type DvsPortReconfiguredEvent struct {
// The key of the ports that are reconfigured.
PortKey []string `xml:"portKey" json:"portKey"`
// The configuration values changed during the reconfiguration.
- ConfigChanges []ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
+ ConfigChanges []ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty"`
}
func init() {
t["DvsPortReconfiguredEvent"] = reflect.TypeOf((*DvsPortReconfiguredEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortReconfiguredEvent"] = "4.0"
}
// A port of which runtime information is changed in the vNetwork Distributed
@@ -25537,7 +25594,6 @@ type DvsPortRuntimeChangeEvent struct {
func init() {
t["DvsPortRuntimeChangeEvent"] = reflect.TypeOf((*DvsPortRuntimeChangeEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortRuntimeChangeEvent"] = "5.1"
}
// A port is unblocked in the distributed virtual switch.
@@ -25547,16 +25603,15 @@ type DvsPortUnblockedEvent struct {
// The port key.
PortKey string `xml:"portKey" json:"portKey"`
// The port runtime information.
- RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
+ RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty"`
// Previous state of the DvsPort.
//
// See `DvsEventPortBlockState_enum`
- PrevBlockState string `xml:"prevBlockState,omitempty" json:"prevBlockState,omitempty" vim:"6.5"`
+ PrevBlockState string `xml:"prevBlockState,omitempty" json:"prevBlockState,omitempty"`
}
func init() {
t["DvsPortUnblockedEvent"] = reflect.TypeOf((*DvsPortUnblockedEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortUnblockedEvent"] = "4.0"
}
// A port of which vendor specific state is changed in the vNetwork Distributed
@@ -25570,7 +25625,6 @@ type DvsPortVendorSpecificStateChangeEvent struct {
func init() {
t["DvsPortVendorSpecificStateChangeEvent"] = reflect.TypeOf((*DvsPortVendorSpecificStateChangeEvent)(nil)).Elem()
- minAPIVersionForType["DvsPortVendorSpecificStateChangeEvent"] = "5.1"
}
// The `DvsProfile` data object represents the distributed virtual switch
@@ -25595,7 +25649,6 @@ type DvsProfile struct {
func init() {
t["DvsProfile"] = reflect.TypeOf((*DvsProfile)(nil)).Elem()
- minAPIVersionForType["DvsProfile"] = "4.0"
}
// This class defines network rule action to punt.
@@ -25608,7 +25661,6 @@ type DvsPuntNetworkRuleAction struct {
func init() {
t["DvsPuntNetworkRuleAction"] = reflect.TypeOf((*DvsPuntNetworkRuleAction)(nil)).Elem()
- minAPIVersionForType["DvsPuntNetworkRuleAction"] = "5.5"
}
// This class defines network rule action to ratelimit packets.
@@ -25621,7 +25673,6 @@ type DvsRateLimitNetworkRuleAction struct {
func init() {
t["DvsRateLimitNetworkRuleAction"] = reflect.TypeOf((*DvsRateLimitNetworkRuleAction)(nil)).Elem()
- minAPIVersionForType["DvsRateLimitNetworkRuleAction"] = "5.5"
}
// The parameters of `DistributedVirtualSwitch.DvsReconfigureVmVnicNetworkResourcePool_Task`.
@@ -25652,12 +25703,11 @@ type DvsReconfiguredEvent struct {
// The reconfiguration spec.
ConfigSpec BaseDVSConfigSpec `xml:"configSpec,typeattr" json:"configSpec"`
// The configuration values changed during the reconfiguration.
- ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
+ ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty"`
}
func init() {
t["DvsReconfiguredEvent"] = reflect.TypeOf((*DvsReconfiguredEvent)(nil)).Elem()
- minAPIVersionForType["DvsReconfiguredEvent"] = "4.0"
}
// A distributed virtual switch was renamed.
@@ -25672,7 +25722,6 @@ type DvsRenamedEvent struct {
func init() {
t["DvsRenamedEvent"] = reflect.TypeOf((*DvsRenamedEvent)(nil)).Elem()
- minAPIVersionForType["DvsRenamedEvent"] = "4.0"
}
// This class defines the bandwidth reservation information for the
@@ -25706,7 +25755,6 @@ type DvsResourceRuntimeInfo struct {
func init() {
t["DvsResourceRuntimeInfo"] = reflect.TypeOf((*DvsResourceRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["DvsResourceRuntimeInfo"] = "6.0"
}
// This event is generated when a restore operation is
@@ -25717,7 +25765,6 @@ type DvsRestoreEvent struct {
func init() {
t["DvsRestoreEvent"] = reflect.TypeOf((*DvsRestoreEvent)(nil)).Elem()
- minAPIVersionForType["DvsRestoreEvent"] = "5.1"
}
// Deprecated as of vSphere API 5.5.
@@ -25739,7 +25786,6 @@ type DvsScopeViolated struct {
func init() {
t["DvsScopeViolated"] = reflect.TypeOf((*DvsScopeViolated)(nil)).Elem()
- minAPIVersionForType["DvsScopeViolated"] = "4.0"
}
type DvsScopeViolatedFault DvsScopeViolated
@@ -25761,7 +25807,6 @@ type DvsServiceConsoleVNicProfile struct {
func init() {
t["DvsServiceConsoleVNicProfile"] = reflect.TypeOf((*DvsServiceConsoleVNicProfile)(nil)).Elem()
- minAPIVersionForType["DvsServiceConsoleVNicProfile"] = "4.0"
}
// This class defines a Single Port
@@ -25774,7 +25819,6 @@ type DvsSingleIpPort struct {
func init() {
t["DvsSingleIpPort"] = reflect.TypeOf((*DvsSingleIpPort)(nil)).Elem()
- minAPIVersionForType["DvsSingleIpPort"] = "5.5"
}
// This class defines the System Traffic Qualifier.
@@ -25793,7 +25837,6 @@ type DvsSystemTrafficNetworkRuleQualifier struct {
func init() {
t["DvsSystemTrafficNetworkRuleQualifier"] = reflect.TypeOf((*DvsSystemTrafficNetworkRuleQualifier)(nil)).Elem()
- minAPIVersionForType["DvsSystemTrafficNetworkRuleQualifier"] = "5.5"
}
// This class defines Traffic Filter configuration.
@@ -25834,7 +25877,6 @@ type DvsTrafficFilterConfig struct {
func init() {
t["DvsTrafficFilterConfig"] = reflect.TypeOf((*DvsTrafficFilterConfig)(nil)).Elem()
- minAPIVersionForType["DvsTrafficFilterConfig"] = "5.5"
}
// The specification to reconfigure Traffic Filter.
@@ -25869,7 +25911,6 @@ type DvsTrafficFilterConfigSpec struct {
func init() {
t["DvsTrafficFilterConfigSpec"] = reflect.TypeOf((*DvsTrafficFilterConfigSpec)(nil)).Elem()
- minAPIVersionForType["DvsTrafficFilterConfigSpec"] = "5.5"
}
// This class defines a single rule that will be applied to network traffic.
@@ -25907,7 +25948,6 @@ type DvsTrafficRule struct {
func init() {
t["DvsTrafficRule"] = reflect.TypeOf((*DvsTrafficRule)(nil)).Elem()
- minAPIVersionForType["DvsTrafficRule"] = "5.5"
}
// This class defines a ruleset(set of rules) that will be
@@ -25930,7 +25970,6 @@ type DvsTrafficRuleset struct {
func init() {
t["DvsTrafficRuleset"] = reflect.TypeOf((*DvsTrafficRuleset)(nil)).Elem()
- minAPIVersionForType["DvsTrafficRuleset"] = "5.5"
}
// This class defines network rule action to tag packets(qos,dscp) or
@@ -25959,7 +25998,6 @@ type DvsUpdateTagNetworkRuleAction struct {
func init() {
t["DvsUpdateTagNetworkRuleAction"] = reflect.TypeOf((*DvsUpdateTagNetworkRuleAction)(nil)).Elem()
- minAPIVersionForType["DvsUpdateTagNetworkRuleAction"] = "5.5"
}
// An upgrade for the distributed virtual switch is available.
@@ -25972,7 +26010,6 @@ type DvsUpgradeAvailableEvent struct {
func init() {
t["DvsUpgradeAvailableEvent"] = reflect.TypeOf((*DvsUpgradeAvailableEvent)(nil)).Elem()
- minAPIVersionForType["DvsUpgradeAvailableEvent"] = "4.0"
}
// An upgrade for the distributed virtual switch is in progress.
@@ -25985,7 +26022,6 @@ type DvsUpgradeInProgressEvent struct {
func init() {
t["DvsUpgradeInProgressEvent"] = reflect.TypeOf((*DvsUpgradeInProgressEvent)(nil)).Elem()
- minAPIVersionForType["DvsUpgradeInProgressEvent"] = "4.0"
}
// An upgrade for the distributed virtual switch is rejected.
@@ -25998,7 +26034,6 @@ type DvsUpgradeRejectedEvent struct {
func init() {
t["DvsUpgradeRejectedEvent"] = reflect.TypeOf((*DvsUpgradeRejectedEvent)(nil)).Elem()
- minAPIVersionForType["DvsUpgradeRejectedEvent"] = "4.0"
}
// The distributed virtual switch was upgraded.
@@ -26011,7 +26046,6 @@ type DvsUpgradedEvent struct {
func init() {
t["DvsUpgradedEvent"] = reflect.TypeOf((*DvsUpgradedEvent)(nil)).Elem()
- minAPIVersionForType["DvsUpgradedEvent"] = "4.0"
}
// The `DvsVNicProfile` data object is the base object
@@ -26031,7 +26065,6 @@ type DvsVNicProfile struct {
func init() {
t["DvsVNicProfile"] = reflect.TypeOf((*DvsVNicProfile)(nil)).Elem()
- minAPIVersionForType["DvsVNicProfile"] = "4.0"
}
// This class defines the runtime information for the
@@ -26078,7 +26111,6 @@ type DvsVmVnicNetworkResourcePoolRuntimeInfo struct {
func init() {
t["DvsVmVnicNetworkResourcePoolRuntimeInfo"] = reflect.TypeOf((*DvsVmVnicNetworkResourcePoolRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["DvsVmVnicNetworkResourcePoolRuntimeInfo"] = "6.0"
}
// Resource allocation information for a virtual NIC network resource pool.
@@ -26093,7 +26125,6 @@ type DvsVmVnicResourceAllocation struct {
func init() {
t["DvsVmVnicResourceAllocation"] = reflect.TypeOf((*DvsVmVnicResourceAllocation)(nil)).Elem()
- minAPIVersionForType["DvsVmVnicResourceAllocation"] = "6.0"
}
// The configuration specification data object to update the resource configuration
@@ -26136,7 +26167,6 @@ type DvsVmVnicResourcePoolConfigSpec struct {
func init() {
t["DvsVmVnicResourcePoolConfigSpec"] = reflect.TypeOf((*DvsVmVnicResourcePoolConfigSpec)(nil)).Elem()
- minAPIVersionForType["DvsVmVnicResourcePoolConfigSpec"] = "6.0"
}
// This class defines the allocated resource information on a virtual NIC
@@ -26157,7 +26187,6 @@ type DvsVnicAllocatedResource struct {
func init() {
t["DvsVnicAllocatedResource"] = reflect.TypeOf((*DvsVnicAllocatedResource)(nil)).Elem()
- minAPIVersionForType["DvsVnicAllocatedResource"] = "6.0"
}
// DynamicArray is a data object type that represents an array of dynamically-typed
@@ -26203,12 +26232,11 @@ type EVCAdmissionFailed struct {
// (e.g.
//
// FeatureRequirementsNotMet faults).
- Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty" vim:"5.1"`
+ Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty"`
}
func init() {
t["EVCAdmissionFailed"] = reflect.TypeOf((*EVCAdmissionFailed)(nil)).Elem()
- minAPIVersionForType["EVCAdmissionFailed"] = "4.0"
}
// The host's CPU hardware is a family/model that should support the
@@ -26224,7 +26252,6 @@ type EVCAdmissionFailedCPUFeaturesForMode struct {
func init() {
t["EVCAdmissionFailedCPUFeaturesForMode"] = reflect.TypeOf((*EVCAdmissionFailedCPUFeaturesForMode)(nil)).Elem()
- minAPIVersionForType["EVCAdmissionFailedCPUFeaturesForMode"] = "4.0"
}
type EVCAdmissionFailedCPUFeaturesForModeFault EVCAdmissionFailedCPUFeaturesForMode
@@ -26241,7 +26268,6 @@ type EVCAdmissionFailedCPUModel struct {
func init() {
t["EVCAdmissionFailedCPUModel"] = reflect.TypeOf((*EVCAdmissionFailedCPUModel)(nil)).Elem()
- minAPIVersionForType["EVCAdmissionFailedCPUModel"] = "4.0"
}
type EVCAdmissionFailedCPUModelFault EVCAdmissionFailedCPUModel
@@ -26262,7 +26288,6 @@ type EVCAdmissionFailedCPUModelForMode struct {
func init() {
t["EVCAdmissionFailedCPUModelForMode"] = reflect.TypeOf((*EVCAdmissionFailedCPUModelForMode)(nil)).Elem()
- minAPIVersionForType["EVCAdmissionFailedCPUModelForMode"] = "4.0"
}
type EVCAdmissionFailedCPUModelForModeFault EVCAdmissionFailedCPUModelForMode
@@ -26284,7 +26309,6 @@ type EVCAdmissionFailedCPUVendor struct {
func init() {
t["EVCAdmissionFailedCPUVendor"] = reflect.TypeOf((*EVCAdmissionFailedCPUVendor)(nil)).Elem()
- minAPIVersionForType["EVCAdmissionFailedCPUVendor"] = "4.0"
}
type EVCAdmissionFailedCPUVendorFault EVCAdmissionFailedCPUVendor
@@ -26301,7 +26325,6 @@ type EVCAdmissionFailedCPUVendorUnknown struct {
func init() {
t["EVCAdmissionFailedCPUVendorUnknown"] = reflect.TypeOf((*EVCAdmissionFailedCPUVendorUnknown)(nil)).Elem()
- minAPIVersionForType["EVCAdmissionFailedCPUVendorUnknown"] = "4.0"
}
type EVCAdmissionFailedCPUVendorUnknownFault EVCAdmissionFailedCPUVendorUnknown
@@ -26324,7 +26347,6 @@ type EVCAdmissionFailedHostDisconnected struct {
func init() {
t["EVCAdmissionFailedHostDisconnected"] = reflect.TypeOf((*EVCAdmissionFailedHostDisconnected)(nil)).Elem()
- minAPIVersionForType["EVCAdmissionFailedHostDisconnected"] = "4.0"
}
type EVCAdmissionFailedHostDisconnectedFault EVCAdmissionFailedHostDisconnected
@@ -26340,7 +26362,6 @@ type EVCAdmissionFailedHostSoftware struct {
func init() {
t["EVCAdmissionFailedHostSoftware"] = reflect.TypeOf((*EVCAdmissionFailedHostSoftware)(nil)).Elem()
- minAPIVersionForType["EVCAdmissionFailedHostSoftware"] = "4.0"
}
type EVCAdmissionFailedHostSoftwareFault EVCAdmissionFailedHostSoftware
@@ -26357,7 +26378,6 @@ type EVCAdmissionFailedHostSoftwareForMode struct {
func init() {
t["EVCAdmissionFailedHostSoftwareForMode"] = reflect.TypeOf((*EVCAdmissionFailedHostSoftwareForMode)(nil)).Elem()
- minAPIVersionForType["EVCAdmissionFailedHostSoftwareForMode"] = "4.0"
}
type EVCAdmissionFailedHostSoftwareForModeFault EVCAdmissionFailedHostSoftwareForMode
@@ -26386,7 +26406,6 @@ type EVCAdmissionFailedVmActive struct {
func init() {
t["EVCAdmissionFailedVmActive"] = reflect.TypeOf((*EVCAdmissionFailedVmActive)(nil)).Elem()
- minAPIVersionForType["EVCAdmissionFailedVmActive"] = "4.0"
}
type EVCAdmissionFailedVmActiveFault EVCAdmissionFailedVmActive
@@ -26401,12 +26420,11 @@ type EVCConfigFault struct {
// The faults that caused this EVC test to fail,
// such as `FeatureRequirementsNotMet` faults.
- Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty" vim:"5.1"`
+ Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty"`
}
func init() {
t["EVCConfigFault"] = reflect.TypeOf((*EVCConfigFault)(nil)).Elem()
- minAPIVersionForType["EVCConfigFault"] = "2.5u2"
}
type EVCConfigFaultFault BaseEVCConfigFault
@@ -26466,20 +26484,20 @@ type EVCMode struct {
// those CPU features are guaranteed, either because the host
// hardware naturally matches those features or because CPU feature override
// is used to mask out differences and enforce a match.
- GuaranteedCPUFeatures []HostCpuIdInfo `xml:"guaranteedCPUFeatures,omitempty" json:"guaranteedCPUFeatures,omitempty" vim:"4.1"`
+ GuaranteedCPUFeatures []HostCpuIdInfo `xml:"guaranteedCPUFeatures,omitempty" json:"guaranteedCPUFeatures,omitempty"`
// Describes the feature capability baseline associated with the EVC mode.
//
// On the cluster where a particular EVC mode is configured,
// these features capabilities are guaranteed, either because the host
// hardware naturally matches those features or because feature masks
// are used to mask out differences and enforce a match.
- FeatureCapability []HostFeatureCapability `xml:"featureCapability,omitempty" json:"featureCapability,omitempty" vim:"5.1"`
+ FeatureCapability []HostFeatureCapability `xml:"featureCapability,omitempty" json:"featureCapability,omitempty"`
// The masks (modifications to a host's feature capabilities) that limit a
// host's capabilities to that of the EVC mode baseline.
- FeatureMask []HostFeatureMask `xml:"featureMask,omitempty" json:"featureMask,omitempty" vim:"5.1"`
+ FeatureMask []HostFeatureMask `xml:"featureMask,omitempty" json:"featureMask,omitempty"`
// The conditions that must be true of a host's feature capabilities in order
// for the host to meet the minimum requirements of the EVC mode baseline.
- FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty" vim:"5.1"`
+ FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty"`
// CPU hardware vendor required for this mode.
Vendor string `xml:"vendor" json:"vendor"`
// Identifiers for feature groups that are at least partially present in
@@ -26488,7 +26506,7 @@ type EVCMode struct {
// Use this property to compare track values from two modes.
// Do not use this property to determine the presence or absence of
// specific features.
- Track []string `xml:"track,omitempty" json:"track,omitempty" vim:"4.1"`
+ Track []string `xml:"track,omitempty" json:"track,omitempty"`
// Index for ordering the set of modes that apply to a given CPU vendor.
//
// Use this property to compare vendor tier values from two modes.
@@ -26499,7 +26517,6 @@ type EVCMode struct {
func init() {
t["EVCMode"] = reflect.TypeOf((*EVCMode)(nil)).Elem()
- minAPIVersionForType["EVCMode"] = "4.0"
}
// An attempt to enable Enhanced VMotion Compatibility on a cluster, or change
@@ -26517,7 +26534,6 @@ type EVCModeIllegalByVendor struct {
func init() {
t["EVCModeIllegalByVendor"] = reflect.TypeOf((*EVCModeIllegalByVendor)(nil)).Elem()
- minAPIVersionForType["EVCModeIllegalByVendor"] = "2.5u2"
}
type EVCModeIllegalByVendorFault EVCModeIllegalByVendor
@@ -26545,7 +26561,6 @@ type EVCModeUnsupportedByHosts struct {
func init() {
t["EVCModeUnsupportedByHosts"] = reflect.TypeOf((*EVCModeUnsupportedByHosts)(nil)).Elem()
- minAPIVersionForType["EVCModeUnsupportedByHosts"] = "4.0"
}
type EVCModeUnsupportedByHostsFault EVCModeUnsupportedByHosts
@@ -26571,7 +26586,6 @@ type EVCUnsupportedByHostHardware struct {
func init() {
t["EVCUnsupportedByHostHardware"] = reflect.TypeOf((*EVCUnsupportedByHostHardware)(nil)).Elem()
- minAPIVersionForType["EVCUnsupportedByHostHardware"] = "4.1"
}
type EVCUnsupportedByHostHardwareFault EVCUnsupportedByHostHardware
@@ -26597,7 +26611,6 @@ type EVCUnsupportedByHostSoftware struct {
func init() {
t["EVCUnsupportedByHostSoftware"] = reflect.TypeOf((*EVCUnsupportedByHostSoftware)(nil)).Elem()
- minAPIVersionForType["EVCUnsupportedByHostSoftware"] = "4.1"
}
type EVCUnsupportedByHostSoftwareFault EVCUnsupportedByHostSoftware
@@ -26652,7 +26665,6 @@ type EightHostLimitViolated struct {
func init() {
t["EightHostLimitViolated"] = reflect.TypeOf((*EightHostLimitViolated)(nil)).Elem()
- minAPIVersionForType["EightHostLimitViolated"] = "4.0"
}
type EightHostLimitViolatedFault EightHostLimitViolated
@@ -26688,6 +26700,7 @@ type EmitSyslogMarkRequestType struct {
func init() {
t["EmitSyslogMarkRequestType"] = reflect.TypeOf((*EmitSyslogMarkRequestType)(nil)).Elem()
+ minAPIVersionForType["EmitSyslogMarkRequestType"] = "8.0.0.2"
}
type EmitSyslogMarkResponse struct {
@@ -26956,7 +26969,6 @@ type EncryptionKeyRequired struct {
func init() {
t["EncryptionKeyRequired"] = reflect.TypeOf((*EncryptionKeyRequired)(nil)).Elem()
- minAPIVersionForType["EncryptionKeyRequired"] = "6.7"
}
type EncryptionKeyRequiredFault EncryptionKeyRequired
@@ -26999,11 +27011,11 @@ type EnterMaintenanceModeRequestType struct {
// reasons: (a) no compatible host found for reregistration, (b) DRS
// is disabled for the virtual machine. If set to false, powered-off
// virtual machines do not need to be moved.
- EvacuatePoweredOffVms *bool `xml:"evacuatePoweredOffVms" json:"evacuatePoweredOffVms,omitempty" vim:"2.5"`
+ EvacuatePoweredOffVms *bool `xml:"evacuatePoweredOffVms" json:"evacuatePoweredOffVms,omitempty"`
// Any additional actions to be taken by the host upon
// entering maintenance mode. If omitted, default actions will
// be taken as documented in the `HostMaintenanceSpec`.
- MaintenanceSpec *HostMaintenanceSpec `xml:"maintenanceSpec,omitempty" json:"maintenanceSpec,omitempty" vim:"5.5"`
+ MaintenanceSpec *HostMaintenanceSpec `xml:"maintenanceSpec,omitempty" json:"maintenanceSpec,omitempty"`
}
func init() {
@@ -27044,7 +27056,6 @@ type EnteredStandbyModeEvent struct {
func init() {
t["EnteredStandbyModeEvent"] = reflect.TypeOf((*EnteredStandbyModeEvent)(nil)).Elem()
- minAPIVersionForType["EnteredStandbyModeEvent"] = "2.5"
}
// This event records that a host has begun the process of entering
@@ -27081,7 +27092,6 @@ type EnteringStandbyModeEvent struct {
func init() {
t["EnteringStandbyModeEvent"] = reflect.TypeOf((*EnteringStandbyModeEvent)(nil)).Elem()
- minAPIVersionForType["EnteringStandbyModeEvent"] = "2.5"
}
// `EntityBackup` is an abstract data object that contains
@@ -27098,7 +27108,6 @@ type EntityBackup struct {
func init() {
t["EntityBackup"] = reflect.TypeOf((*EntityBackup)(nil)).Elem()
- minAPIVersionForType["EntityBackup"] = "5.1"
}
// The `EntityBackupConfig` data object
@@ -27137,14 +27146,14 @@ type EntityBackupConfig struct {
ConfigBlob []byte `xml:"configBlob" json:"configBlob"`
// Unique identifier of the exported entity or the entity to be restored
// through an import operation.
- // - If you are importing a virtual distributed switch and the import type is
- // `applyToEntitySpecified`,
- // set the key
to
- // `DistributedVirtualSwitch*.*DistributedVirtualSwitch.uuid`.
- // - If you are importing a virtual distributed portgroup and the import type is
- // `applyToEntitySpecified`,
- // set the key
to
- // `DistributedVirtualPortgroup*.*DistributedVirtualPortgroup.key`.
+ // - If you are importing a virtual distributed switch and the import type is
+ // `applyToEntitySpecified`,
+ // set the key
to
+ // `DistributedVirtualSwitch*.*DistributedVirtualSwitch.uuid`.
+ // - If you are importing a virtual distributed portgroup and the import type is
+ // `applyToEntitySpecified`,
+ // set the key
to
+ // `DistributedVirtualPortgroup*.*DistributedVirtualPortgroup.key`.
//
// The Server ignores the key value when the import operation creates a new entity.
Key string `xml:"key,omitempty" json:"key,omitempty"`
@@ -27169,7 +27178,6 @@ type EntityBackupConfig struct {
func init() {
t["EntityBackupConfig"] = reflect.TypeOf((*EntityBackupConfig)(nil)).Elem()
- minAPIVersionForType["EntityBackupConfig"] = "5.1"
}
// The event argument is a managed entity object.
@@ -27201,7 +27209,6 @@ type EntityPrivilege struct {
func init() {
t["EntityPrivilege"] = reflect.TypeOf((*EntityPrivilege)(nil)).Elem()
- minAPIVersionForType["EntityPrivilege"] = "5.5"
}
// Static strings used for describing an enumerated type.
@@ -27216,7 +27223,6 @@ type EnumDescription struct {
func init() {
t["EnumDescription"] = reflect.TypeOf((*EnumDescription)(nil)).Elem()
- minAPIVersionForType["EnumDescription"] = "4.0"
}
// Represent search criteria and filters on a `VirtualMachineConfigOption`
@@ -27239,7 +27245,6 @@ type EnvironmentBrowserConfigOptionQuerySpec struct {
func init() {
t["EnvironmentBrowserConfigOptionQuerySpec"] = reflect.TypeOf((*EnvironmentBrowserConfigOptionQuerySpec)(nil)).Elem()
- minAPIVersionForType["EnvironmentBrowserConfigOptionQuerySpec"] = "6.0"
}
// This event is a general error event from upgrade.
@@ -27359,7 +27364,6 @@ type EvaluationLicenseSource struct {
func init() {
t["EvaluationLicenseSource"] = reflect.TypeOf((*EvaluationLicenseSource)(nil)).Elem()
- minAPIVersionForType["EvaluationLicenseSource"] = "2.5"
}
type EvcManager EvcManagerRequestType
@@ -27406,17 +27410,17 @@ type Event struct {
// The VirtualMachine object of the event.
Vm *VmEventArgument `xml:"vm,omitempty" json:"vm,omitempty"`
// The Datastore object of the event.
- Ds *DatastoreEventArgument `xml:"ds,omitempty" json:"ds,omitempty" vim:"4.0"`
+ Ds *DatastoreEventArgument `xml:"ds,omitempty" json:"ds,omitempty"`
// The Network object of the event.
- Net *NetworkEventArgument `xml:"net,omitempty" json:"net,omitempty" vim:"4.0"`
+ Net *NetworkEventArgument `xml:"net,omitempty" json:"net,omitempty"`
// The DistributedVirtualSwitch object of the event.
- Dvs *DvsEventArgument `xml:"dvs,omitempty" json:"dvs,omitempty" vim:"4.0"`
+ Dvs *DvsEventArgument `xml:"dvs,omitempty" json:"dvs,omitempty"`
// A formatted text message describing the event.
//
// The message may be localized.
FullFormattedMessage string `xml:"fullFormattedMessage,omitempty" json:"fullFormattedMessage,omitempty"`
// The user entered tag to identify the operations and their side effects
- ChangeTag string `xml:"changeTag,omitempty" json:"changeTag,omitempty" vim:"4.0"`
+ ChangeTag string `xml:"changeTag,omitempty" json:"changeTag,omitempty"`
}
func init() {
@@ -27430,7 +27434,7 @@ type EventAlarmExpression struct {
AlarmExpression
// The attributes/values to compare.
- Comparisons []EventAlarmExpressionComparison `xml:"comparisons,omitempty" json:"comparisons,omitempty" vim:"4.0"`
+ Comparisons []EventAlarmExpressionComparison `xml:"comparisons,omitempty" json:"comparisons,omitempty"`
// Deprecated use eventTypeId
instead.
//
// The type of the event to trigger the alarm on.
@@ -27438,11 +27442,11 @@ type EventAlarmExpression struct {
// The eventTypeId of the event to match.
//
// The semantics of how eventTypeId matching is done is as follows:
- // - If the event being matched is of type `EventEx`
- // or `ExtendedEvent`, then we match this value
- // against the eventTypeId
(for EventEx
) or
- // eventId
(for ExtendedEvent
) member of the Event.
- // - Otherwise, we match it against the type of the Event itself.
+ // - If the event being matched is of type `EventEx`
+ // or `ExtendedEvent`, then we match this value
+ // against the eventTypeId
(for EventEx
) or
+ // eventId
(for ExtendedEvent
) member of the Event.
+ // - Otherwise, we match it against the type of the Event itself.
//
// Either eventType
or eventTypeId
_must_
// be set.
@@ -27453,15 +27457,15 @@ type EventAlarmExpression struct {
// is propagated to child entities in the VirtualCenter inventory depending
// on the value of this attribute. If objectType is any of the following,
// the alarm is propagated down to all children of that type:
- // - A datacenter: `Datacenter`.
- // - A cluster of host systems: `ClusterComputeResource`.
- // - A single host system: `HostSystem`.
- // - A resource pool representing a set of physical resources on a single host:
- // `ResourcePool`.
- // - A virtual machine: `VirtualMachine`.
- // - A datastore: `Datastore`.
- // - A network: `Network`.
- // - A distributed virtual switch: `DistributedVirtualSwitch`.
+ // - A datacenter: `Datacenter`.
+ // - A cluster of host systems: `ClusterComputeResource`.
+ // - A single host system: `HostSystem`.
+ // - A resource pool representing a set of physical resources on a single host:
+ // `ResourcePool`.
+ // - A virtual machine: `VirtualMachine`.
+ // - A datastore: `Datastore`.
+ // - A network: `Network`.
+ // - A distributed virtual switch: `DistributedVirtualSwitch`.
//
// If objectType is unspecified or not contained in the above list,
// the event alarm is not propagated down to child entities in the
@@ -27470,17 +27474,16 @@ type EventAlarmExpression struct {
// It is possible to specify an event alarm containing two (or more) different
// EventAlarmExpression's which contain different objectTypes. In such a case,
// the event is propagated to all child entities with specified type(s).
- ObjectType string `xml:"objectType,omitempty" json:"objectType,omitempty" vim:"4.0"`
+ ObjectType string `xml:"objectType,omitempty" json:"objectType,omitempty"`
// The alarm's new state when this condition is evaluated and satisfied.
//
// If not specified then there is no change to alarm status, and all
// actions are fired (rather than those for the transition).
- Status ManagedEntityStatus `xml:"status,omitempty" json:"status,omitempty" vim:"4.0"`
+ Status ManagedEntityStatus `xml:"status,omitempty" json:"status,omitempty"`
}
func init() {
t["EventAlarmExpression"] = reflect.TypeOf((*EventAlarmExpression)(nil)).Elem()
- minAPIVersionForType["EventAlarmExpression"] = "2.5"
}
// Encapsulates Comparison of an event's attribute to a value.
@@ -27497,7 +27500,6 @@ type EventAlarmExpressionComparison struct {
func init() {
t["EventAlarmExpressionComparison"] = reflect.TypeOf((*EventAlarmExpressionComparison)(nil)).Elem()
- minAPIVersionForType["EventAlarmExpressionComparison"] = "4.0"
}
// Describes an available event argument name for an Event type, which
@@ -27520,7 +27522,6 @@ type EventArgDesc struct {
func init() {
t["EventArgDesc"] = reflect.TypeOf((*EventArgDesc)(nil)).Elem()
- minAPIVersionForType["EventArgDesc"] = "4.0"
}
// This is the base type for event argument types.
@@ -27546,7 +27547,7 @@ type EventDescription struct {
EventInfo []EventDescriptionEventDetail `xml:"eventInfo" json:"eventInfo"`
// Localized descriptions of all enumerated types that are used for
// member declarations in event classes.
- EnumeratedTypes []EnumDescription `xml:"enumeratedTypes,omitempty" json:"enumeratedTypes,omitempty" vim:"4.0"`
+ EnumeratedTypes []EnumDescription `xml:"enumeratedTypes,omitempty" json:"enumeratedTypes,omitempty"`
}
func init() {
@@ -27578,7 +27579,7 @@ type EventDescriptionEventDetail struct {
//
// E.g., for `VmPoweredOnEvent`, the eventDescription
// in English might say "VM Powered On".
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// A category of events.
Category string `xml:"category" json:"category"`
// A string that is appropriate in the context of a specific
@@ -27631,25 +27632,25 @@ type EventDescriptionEventDetail struct {
// For example, the BadUserNameSessionEvent may produce the
// following string:
//
- //
- //
- // The user could not be logged in because of an unknown or invalid
- // user name.
- //
- //
- // The user name was unknown to the system
- // Use a user name known to the system user directory
- // (On Linux) Check if the user directory is correctly
- // configured.
- // Check the health of the domain controller (if you are using
- // Active Directory)
- //
- //
- // The user provided an invalid password
- // Supply the correct password
- //
- //
- LongDescription string `xml:"longDescription,omitempty" json:"longDescription,omitempty" vim:"4.1"`
+ //
+ //
+ // The user could not be logged in because of an unknown or invalid
+ // user name.
+ //
+ //
+ // The user name was unknown to the system
+ // Use a user name known to the system user directory
+ // (On Linux) Check if the user directory is correctly
+ // configured.
+ // Check the health of the domain controller (if you are using
+ // Active Directory)
+ //
+ //
+ // The user provided an invalid password
+ // Supply the correct password
+ //
+ //
+ LongDescription string `xml:"longDescription,omitempty" json:"longDescription,omitempty"`
}
func init() {
@@ -27694,14 +27695,13 @@ type EventEx struct {
// the type of the object, if known to the VirtualCenter inventory
ObjectType string `xml:"objectType,omitempty" json:"objectType,omitempty"`
// The name of the object
- ObjectName string `xml:"objectName,omitempty" json:"objectName,omitempty" vim:"4.1"`
+ ObjectName string `xml:"objectName,omitempty" json:"objectName,omitempty"`
// The fault that triggered the event, if any
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"4.1"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
t["EventEx"] = reflect.TypeOf((*EventEx)(nil)).Elem()
- minAPIVersionForType["EventEx"] = "4.0"
}
// Event filter used to query events in the history collector database.
@@ -27770,7 +27770,7 @@ type EventFilterSpec struct {
//
// If not set, or the size of it 0, the tag of an event is
// disregarded. A blank string indicates events without tags.
- Tag []string `xml:"tag,omitempty" json:"tag,omitempty" vim:"4.0"`
+ Tag []string `xml:"tag,omitempty" json:"tag,omitempty"`
// This property, if set, limits the set of collected events to those
// specified types.
//
@@ -27778,21 +27778,26 @@ type EventFilterSpec struct {
// exception may be thrown by `EventManager.CreateCollectorForEvents`.
//
// The semantics of how eventTypeId matching is done is as follows:
- // - If the event being collected is of type `EventEx`
- // or `ExtendedEvent`, then we match against the
- // eventTypeId
(for EventEx
) or
- // eventId
(for ExtendedEvent
) member of the Event.
- // - Otherwise, we match against the type of the Event itself.
+ // - If the event being collected is of type `EventEx`
+ // or `ExtendedEvent`, then we match against the
+ // eventTypeId
(for EventEx
) or
+ // eventId
(for ExtendedEvent
) member of the Event.
+ // - Otherwise, we match against the type of the Event itself.
//
// If neither this property, nor type
, is set, events are
// collected regardless of their types.
- EventTypeId []string `xml:"eventTypeId,omitempty" json:"eventTypeId,omitempty" vim:"4.0"`
+ EventTypeId []string `xml:"eventTypeId,omitempty" json:"eventTypeId,omitempty"`
// This property, if set, specifies the maximum number of returned events.
//
// If unset, the default maximum number will be used.
// Using this property with `EventManager.CreateCollectorForEvents` is more
// efficient than a call to `HistoryCollector.SetCollectorPageSize`.
- MaxCount int32 `xml:"maxCount,omitempty" json:"maxCount,omitempty" vim:"6.5"`
+ MaxCount int32 `xml:"maxCount,omitempty" json:"maxCount,omitempty"`
+ // This property, if set, specifies whether latest page should be populated on Collector creation.
+ //
+ // True for delayed population and false for immediate.
+ // If unset, the latest page is populated immediately.
+ DelayedInit *bool `xml:"delayedInit" json:"delayedInit,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -27963,7 +27968,6 @@ type ExitStandbyModeFailedEvent struct {
func init() {
t["ExitStandbyModeFailedEvent"] = reflect.TypeOf((*ExitStandbyModeFailedEvent)(nil)).Elem()
- minAPIVersionForType["ExitStandbyModeFailedEvent"] = "4.0"
}
// This event records that the host is no longer in
@@ -27974,7 +27978,6 @@ type ExitedStandbyModeEvent struct {
func init() {
t["ExitedStandbyModeEvent"] = reflect.TypeOf((*ExitedStandbyModeEvent)(nil)).Elem()
- minAPIVersionForType["ExitedStandbyModeEvent"] = "2.5"
}
// This event records that a host has begun the process of
@@ -27985,7 +27988,6 @@ type ExitingStandbyModeEvent struct {
func init() {
t["ExitingStandbyModeEvent"] = reflect.TypeOf((*ExitingStandbyModeEvent)(nil)).Elem()
- minAPIVersionForType["ExitingStandbyModeEvent"] = "4.0"
}
type ExpandVmfsDatastore ExpandVmfsDatastoreRequestType
@@ -28045,7 +28047,6 @@ type ExpiredAddonLicense struct {
func init() {
t["ExpiredAddonLicense"] = reflect.TypeOf((*ExpiredAddonLicense)(nil)).Elem()
- minAPIVersionForType["ExpiredAddonLicense"] = "2.5"
}
type ExpiredAddonLicenseFault ExpiredAddonLicense
@@ -28062,7 +28063,6 @@ type ExpiredEditionLicense struct {
func init() {
t["ExpiredEditionLicense"] = reflect.TypeOf((*ExpiredEditionLicense)(nil)).Elem()
- minAPIVersionForType["ExpiredEditionLicense"] = "2.5"
}
type ExpiredEditionLicenseFault ExpiredEditionLicense
@@ -28083,7 +28083,6 @@ type ExpiredFeatureLicense struct {
func init() {
t["ExpiredFeatureLicense"] = reflect.TypeOf((*ExpiredFeatureLicense)(nil)).Elem()
- minAPIVersionForType["ExpiredFeatureLicense"] = "2.5"
}
type ExpiredFeatureLicenseFault BaseExpiredFeatureLicense
@@ -28205,7 +28204,6 @@ type ExtExtendedProductInfo struct {
func init() {
t["ExtExtendedProductInfo"] = reflect.TypeOf((*ExtExtendedProductInfo)(nil)).Elem()
- minAPIVersionForType["ExtExtendedProductInfo"] = "5.0"
}
// This data object contains information about entities managed by this
@@ -28239,7 +28237,7 @@ type ExtManagedEntityInfo struct {
// This icon will be scaled to 16x16, 32x32, 64x64, and
// 128x128 if needed. The icon is shown for all entities of this type
// managed by this extension.
- IconUrl string `xml:"iconUrl,omitempty" json:"iconUrl,omitempty" vim:"5.1"`
+ IconUrl string `xml:"iconUrl,omitempty" json:"iconUrl,omitempty"`
// Description of this managed entity type.
//
// This is typically displayed
@@ -28250,7 +28248,6 @@ type ExtManagedEntityInfo struct {
func init() {
t["ExtManagedEntityInfo"] = reflect.TypeOf((*ExtManagedEntityInfo)(nil)).Elem()
- minAPIVersionForType["ExtManagedEntityInfo"] = "5.0"
}
// This data object encapsulates the Solution Manager configuration for
@@ -28275,7 +28272,6 @@ type ExtSolutionManagerInfo struct {
func init() {
t["ExtSolutionManagerInfo"] = reflect.TypeOf((*ExtSolutionManagerInfo)(nil)).Elem()
- minAPIVersionForType["ExtSolutionManagerInfo"] = "5.0"
}
// Deprecated as of vSphere API 5.1.
@@ -28297,7 +28293,6 @@ type ExtSolutionManagerInfoTabInfo struct {
func init() {
t["ExtSolutionManagerInfoTabInfo"] = reflect.TypeOf((*ExtSolutionManagerInfoTabInfo)(nil)).Elem()
- minAPIVersionForType["ExtSolutionManagerInfoTabInfo"] = "5.0"
}
// The parameters of `VcenterVStorageObjectManager.ExtendDisk_Task`.
@@ -28404,7 +28399,7 @@ type ExtendVirtualDiskRequestType struct {
NewCapacityKb int64 `xml:"newCapacityKb" json:"newCapacityKb"`
// If true, the extended part of the disk will be
// explicitly filled with zeroes.
- EagerZero *bool `xml:"eagerZero" json:"eagerZero,omitempty" vim:"4.0"`
+ EagerZero *bool `xml:"eagerZero" json:"eagerZero,omitempty"`
}
func init() {
@@ -28513,7 +28508,6 @@ type ExtendedEvent struct {
func init() {
t["ExtendedEvent"] = reflect.TypeOf((*ExtendedEvent)(nil)).Elem()
- minAPIVersionForType["ExtendedEvent"] = "2.5"
}
// key/value pair
@@ -28526,7 +28520,6 @@ type ExtendedEventPair struct {
func init() {
t["ExtendedEventPair"] = reflect.TypeOf((*ExtendedEventPair)(nil)).Elem()
- minAPIVersionForType["ExtendedEventPair"] = "2.5"
}
// This fault is the container for faults logged by extensions.
@@ -28541,7 +28534,6 @@ type ExtendedFault struct {
func init() {
t["ExtendedFault"] = reflect.TypeOf((*ExtendedFault)(nil)).Elem()
- minAPIVersionForType["ExtendedFault"] = "2.5"
}
type ExtendedFaultFault ExtendedFault
@@ -28567,16 +28559,16 @@ type Extension struct {
// Extension names can only contain characters belonging to the
// lower ASCII character set (UTF-7) with the exception of the
// following characters:
- // 1. All whitespace characters ("space" - ascii character 0x20 is allowed)
- // 2. Control characters
- // 3. Comma (ascii 0x2c), Forward slash (ascii 0x2f), Backward slash (ascii 0x5c),
- // Hash/Pound (ascii 0x23), Plus (ascii 0x2b), Greater (ascii 0x3e), Lesser (ascii 0x3c),
- // Equals (ascii 0x3d), Semi-colon (ascii 0x3b) and Double quote (ascii 0x22).
+ // 1. All whitespace characters ("space" - ascii character 0x20 is allowed)
+ // 2. Control characters
+ // 3. Comma (ascii 0x2c), Forward slash (ascii 0x2f), Backward slash (ascii 0x5c),
+ // Hash/Pound (ascii 0x23), Plus (ascii 0x2b), Greater (ascii 0x3e), Lesser (ascii 0x3c),
+ // Equals (ascii 0x3d), Semi-colon (ascii 0x3b) and Double quote (ascii 0x22).
Key string `xml:"key" json:"key"`
// Company information.
- Company string `xml:"company,omitempty" json:"company,omitempty" vim:"4.0"`
+ Company string `xml:"company,omitempty" json:"company,omitempty"`
// Type of extension (example may include CP-DVS, NUOVA-DVS, etc.).
- Type string `xml:"type,omitempty" json:"type,omitempty" vim:"4.0"`
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
// Extension version number as a dot-separated string.
//
// For example, "1.0.0"
@@ -28600,31 +28592,30 @@ type Extension struct {
// Last extension heartbeat time.
LastHeartbeatTime time.Time `xml:"lastHeartbeatTime" json:"lastHeartbeatTime"`
// Health specification provided by this extension.
- HealthInfo *ExtensionHealthInfo `xml:"healthInfo,omitempty" json:"healthInfo,omitempty" vim:"4.0"`
+ HealthInfo *ExtensionHealthInfo `xml:"healthInfo,omitempty" json:"healthInfo,omitempty"`
// OVF consumer specification provided by this extension.
- OvfConsumerInfo *ExtensionOvfConsumerInfo `xml:"ovfConsumerInfo,omitempty" json:"ovfConsumerInfo,omitempty" vim:"5.0"`
+ OvfConsumerInfo *ExtensionOvfConsumerInfo `xml:"ovfConsumerInfo,omitempty" json:"ovfConsumerInfo,omitempty"`
// Extended product information, such as URLs to vendor, product, etc.
- ExtendedProductInfo *ExtExtendedProductInfo `xml:"extendedProductInfo,omitempty" json:"extendedProductInfo,omitempty" vim:"5.0"`
+ ExtendedProductInfo *ExtExtendedProductInfo `xml:"extendedProductInfo,omitempty" json:"extendedProductInfo,omitempty"`
// Information about entities managed by this extension.
//
// An extension can
// register virtual machines as managed by itself, by setting the
// `managedBy` property of the virtual
// machine.
- ManagedEntityInfo []ExtManagedEntityInfo `xml:"managedEntityInfo,omitempty" json:"managedEntityInfo,omitempty" vim:"5.0"`
+ ManagedEntityInfo []ExtManagedEntityInfo `xml:"managedEntityInfo,omitempty" json:"managedEntityInfo,omitempty"`
// Opt-in to the Solution Manager.
//
// If set to true, this extension will be
// shown in the Solution Manager. If not set, or set to false, this extension
// is not shown in the Solution Manager.
- ShownInSolutionManager *bool `xml:"shownInSolutionManager" json:"shownInSolutionManager,omitempty" vim:"5.0"`
+ ShownInSolutionManager *bool `xml:"shownInSolutionManager" json:"shownInSolutionManager,omitempty"`
// Solution Manager configuration for this extension.
- SolutionManagerInfo *ExtSolutionManagerInfo `xml:"solutionManagerInfo,omitempty" json:"solutionManagerInfo,omitempty" vim:"5.0"`
+ SolutionManagerInfo *ExtSolutionManagerInfo `xml:"solutionManagerInfo,omitempty" json:"solutionManagerInfo,omitempty"`
}
func init() {
t["Extension"] = reflect.TypeOf((*Extension)(nil)).Elem()
- minAPIVersionForType["Extension"] = "2.5"
}
// This data object type describes a client of the extension.
@@ -28647,7 +28638,6 @@ type ExtensionClientInfo struct {
func init() {
t["ExtensionClientInfo"] = reflect.TypeOf((*ExtensionClientInfo)(nil)).Elem()
- minAPIVersionForType["ExtensionClientInfo"] = "2.5"
}
// This data object type describes event types defined by the extension.
@@ -28663,43 +28653,44 @@ type ExtensionEventTypeInfo struct {
//
// The structure of this descriptor is:
//
- //
- // eventID
- // Optional description for event eventID
- // <-- Optional arguments: -->
- //
- // <-- Zero or more of: -->
- //
- // argName
- // argtype
- //
- //
- //
+ //
+ // eventID
+ // Optional description for event eventID
+ // <-- Optional arguments: -->
+ //
+ // <-- Zero or more of: -->
+ //
+ // argName
+ // argtype
+ //
+ //
+ //
+ //
// where _argtype_ can be one of the following:
- // - This is an example list and should be considered as incomplete.
+ // - This is an example list and should be considered as incomplete.
+ //
//
- // - Primitive types:
- // - _string_
- // - _bool_
- // - _int_
- // - _long_
- // - _float_
- // - _moid_
- // - Entity reference types:
- // - _vm_
- // - _host_
- // - _resourcepool_
- // - _computeresource_
- // - _datacenter_
- // - _datastore_
- // - _network_
- // - _dvs_
- EventTypeSchema string `xml:"eventTypeSchema,omitempty" json:"eventTypeSchema,omitempty" vim:"4.0"`
+ // - Primitive types:
+ // - _string_
+ // - _bool_
+ // - _int_
+ // - _long_
+ // - _float_
+ // - _moid_
+ // - Entity reference types:
+ // - _vm_
+ // - _host_
+ // - _resourcepool_
+ // - _computeresource_
+ // - _datacenter_
+ // - _datastore_
+ // - _network_
+ // - _dvs_
+ EventTypeSchema string `xml:"eventTypeSchema,omitempty" json:"eventTypeSchema,omitempty"`
}
func init() {
t["ExtensionEventTypeInfo"] = reflect.TypeOf((*ExtensionEventTypeInfo)(nil)).Elem()
- minAPIVersionForType["ExtensionEventTypeInfo"] = "2.5"
}
// This data object type describes fault types defined by the extension.
@@ -28715,7 +28706,6 @@ type ExtensionFaultTypeInfo struct {
func init() {
t["ExtensionFaultTypeInfo"] = reflect.TypeOf((*ExtensionFaultTypeInfo)(nil)).Elem()
- minAPIVersionForType["ExtensionFaultTypeInfo"] = "2.5"
}
// This data object encapsulates the health specification for the
@@ -28728,7 +28718,6 @@ type ExtensionHealthInfo struct {
func init() {
t["ExtensionHealthInfo"] = reflect.TypeOf((*ExtensionHealthInfo)(nil)).Elem()
- minAPIVersionForType["ExtensionHealthInfo"] = "4.0"
}
// This data object type contains usage information about an
@@ -28745,7 +28734,6 @@ type ExtensionManagerIpAllocationUsage struct {
func init() {
t["ExtensionManagerIpAllocationUsage"] = reflect.TypeOf((*ExtensionManagerIpAllocationUsage)(nil)).Elem()
- minAPIVersionForType["ExtensionManagerIpAllocationUsage"] = "5.1"
}
// This data object contains configuration for extensions that also extend the OVF
@@ -28780,7 +28768,6 @@ type ExtensionOvfConsumerInfo struct {
func init() {
t["ExtensionOvfConsumerInfo"] = reflect.TypeOf((*ExtensionOvfConsumerInfo)(nil)).Elem()
- minAPIVersionForType["ExtensionOvfConsumerInfo"] = "5.0"
}
// This data object type describes privileges defined by the extension.
@@ -28808,7 +28795,6 @@ type ExtensionPrivilegeInfo struct {
func init() {
t["ExtensionPrivilegeInfo"] = reflect.TypeOf((*ExtensionPrivilegeInfo)(nil)).Elem()
- minAPIVersionForType["ExtensionPrivilegeInfo"] = "2.5"
}
// This data object encapsulates the message resources for all locales.
@@ -28825,7 +28811,6 @@ type ExtensionResourceInfo struct {
func init() {
t["ExtensionResourceInfo"] = reflect.TypeOf((*ExtensionResourceInfo)(nil)).Elem()
- minAPIVersionForType["ExtensionResourceInfo"] = "2.5"
}
// This data object type describes a server for the extension.
@@ -28843,7 +28828,7 @@ type ExtensionServerInfo struct {
// Extension administrator email addresses.
AdminEmail []string `xml:"adminEmail" json:"adminEmail"`
// Thumbprint of the extension server certificate presented to clients
- ServerThumbprint string `xml:"serverThumbprint,omitempty" json:"serverThumbprint,omitempty" vim:"4.1"`
+ ServerThumbprint string `xml:"serverThumbprint,omitempty" json:"serverThumbprint,omitempty"`
// X.509 certificate of the extension server presented to clients in PEM
// format according to RFC 7468
ServerCertificate string `xml:"serverCertificate,omitempty" json:"serverCertificate,omitempty" vim:"8.0.2.0"`
@@ -28851,7 +28836,6 @@ type ExtensionServerInfo struct {
func init() {
t["ExtensionServerInfo"] = reflect.TypeOf((*ExtensionServerInfo)(nil)).Elem()
- minAPIVersionForType["ExtensionServerInfo"] = "2.5"
}
// This data object type describes task types defined by the extension.
@@ -28867,7 +28851,6 @@ type ExtensionTaskTypeInfo struct {
func init() {
t["ExtensionTaskTypeInfo"] = reflect.TypeOf((*ExtensionTaskTypeInfo)(nil)).Elem()
- minAPIVersionForType["ExtensionTaskTypeInfo"] = "2.5"
}
type ExtractOvfEnvironment ExtractOvfEnvironmentRequestType
@@ -28906,7 +28889,6 @@ type FailToEnableSPBM struct {
func init() {
t["FailToEnableSPBM"] = reflect.TypeOf((*FailToEnableSPBM)(nil)).Elem()
- minAPIVersionForType["FailToEnableSPBM"] = "5.0"
}
type FailToEnableSPBMFault FailToEnableSPBM
@@ -28934,7 +28916,6 @@ type FailToLockFaultToleranceVMs struct {
func init() {
t["FailToLockFaultToleranceVMs"] = reflect.TypeOf((*FailToLockFaultToleranceVMs)(nil)).Elem()
- minAPIVersionForType["FailToLockFaultToleranceVMs"] = "4.1"
}
type FailToLockFaultToleranceVMsFault FailToLockFaultToleranceVMs
@@ -28991,7 +28972,6 @@ type FaultDomainId struct {
func init() {
t["FaultDomainId"] = reflect.TypeOf((*FaultDomainId)(nil)).Elem()
- minAPIVersionForType["FaultDomainId"] = "6.5"
}
// More than one VM in the same fault tolerance group are placed on the same host
@@ -29008,7 +28988,6 @@ type FaultToleranceAntiAffinityViolated struct {
func init() {
t["FaultToleranceAntiAffinityViolated"] = reflect.TypeOf((*FaultToleranceAntiAffinityViolated)(nil)).Elem()
- minAPIVersionForType["FaultToleranceAntiAffinityViolated"] = "4.0"
}
type FaultToleranceAntiAffinityViolatedFault FaultToleranceAntiAffinityViolated
@@ -29032,7 +29011,6 @@ type FaultToleranceCannotEditMem struct {
func init() {
t["FaultToleranceCannotEditMem"] = reflect.TypeOf((*FaultToleranceCannotEditMem)(nil)).Elem()
- minAPIVersionForType["FaultToleranceCannotEditMem"] = "4.1"
}
type FaultToleranceCannotEditMemFault FaultToleranceCannotEditMem
@@ -29062,12 +29040,11 @@ type FaultToleranceConfigInfo struct {
ConfigPaths []string `xml:"configPaths" json:"configPaths"`
// Indicates whether a secondary VM is orphaned (no longer associated with
// the primary VM).
- Orphaned *bool `xml:"orphaned" json:"orphaned,omitempty" vim:"6.0"`
+ Orphaned *bool `xml:"orphaned" json:"orphaned,omitempty"`
}
func init() {
t["FaultToleranceConfigInfo"] = reflect.TypeOf((*FaultToleranceConfigInfo)(nil)).Elem()
- minAPIVersionForType["FaultToleranceConfigInfo"] = "4.0"
}
// FaultToleranceConfigSpec contains information about the metadata file
@@ -29079,11 +29056,26 @@ type FaultToleranceConfigSpec struct {
MetaDataPath *FaultToleranceMetaSpec `xml:"metaDataPath,omitempty" json:"metaDataPath,omitempty"`
// Placement information for secondary
SecondaryVmSpec *FaultToleranceVMConfigSpec `xml:"secondaryVmSpec,omitempty" json:"secondaryVmSpec,omitempty"`
+ // Indicates whether FT Metro Cluster is enabled/disabled.
+ //
+ // \- If TRUE, FT Metro Cluster is enabled for the VM. An implicit
+ // Anti-HostGroup will be generated from HostGroup defined for FT
+ // primary, then affine the primary with one HostGroup and affine the
+ // secondary with another HostGroup.
+ // \- If FALSE or unset, FT Metro Cluster is disabled for the VM. Both FT
+ // primary and secondary will be put in the same HostGroup.
+ MetroFtEnabled *bool `xml:"metroFtEnabled" json:"metroFtEnabled,omitempty" vim:"8.0.3.0"`
+ // Indicate the Host Group (`ClusterHostGroup`) for FT
+ // Metro Cluster enabled Virtual Machine.
+ //
+ // Based on the selected Host Group, FT can divide the hosts in the cluster
+ // into two groups and ensure to place FT primary and FT secondary in
+ // different groups.
+ MetroFtHostGroup string `xml:"metroFtHostGroup,omitempty" json:"metroFtHostGroup,omitempty" vim:"8.0.3.0"`
}
func init() {
t["FaultToleranceConfigSpec"] = reflect.TypeOf((*FaultToleranceConfigSpec)(nil)).Elem()
- minAPIVersionForType["FaultToleranceConfigSpec"] = "6.0"
}
// Convenience subclass for calling out some named features among the
@@ -29101,7 +29093,6 @@ type FaultToleranceCpuIncompatible struct {
func init() {
t["FaultToleranceCpuIncompatible"] = reflect.TypeOf((*FaultToleranceCpuIncompatible)(nil)).Elem()
- minAPIVersionForType["FaultToleranceCpuIncompatible"] = "4.0"
}
type FaultToleranceCpuIncompatibleFault FaultToleranceCpuIncompatible
@@ -29125,7 +29116,6 @@ type FaultToleranceDiskSpec struct {
func init() {
t["FaultToleranceDiskSpec"] = reflect.TypeOf((*FaultToleranceDiskSpec)(nil)).Elem()
- minAPIVersionForType["FaultToleranceDiskSpec"] = "6.0"
}
// This data object encapsulates the Datastore for the shared metadata file
@@ -29141,7 +29131,6 @@ type FaultToleranceMetaSpec struct {
func init() {
t["FaultToleranceMetaSpec"] = reflect.TypeOf((*FaultToleranceMetaSpec)(nil)).Elem()
- minAPIVersionForType["FaultToleranceMetaSpec"] = "6.0"
}
// Fault Tolerance VM requires thick disks
@@ -29154,7 +29143,6 @@ type FaultToleranceNeedsThickDisk struct {
func init() {
t["FaultToleranceNeedsThickDisk"] = reflect.TypeOf((*FaultToleranceNeedsThickDisk)(nil)).Elem()
- minAPIVersionForType["FaultToleranceNeedsThickDisk"] = "4.1"
}
type FaultToleranceNeedsThickDiskFault FaultToleranceNeedsThickDisk
@@ -29176,7 +29164,6 @@ type FaultToleranceNotLicensed struct {
func init() {
t["FaultToleranceNotLicensed"] = reflect.TypeOf((*FaultToleranceNotLicensed)(nil)).Elem()
- minAPIVersionForType["FaultToleranceNotLicensed"] = "4.0"
}
type FaultToleranceNotLicensedFault FaultToleranceNotLicensed
@@ -29196,7 +29183,6 @@ type FaultToleranceNotSameBuild struct {
func init() {
t["FaultToleranceNotSameBuild"] = reflect.TypeOf((*FaultToleranceNotSameBuild)(nil)).Elem()
- minAPIVersionForType["FaultToleranceNotSameBuild"] = "4.0"
}
type FaultToleranceNotSameBuildFault FaultToleranceNotSameBuild
@@ -29210,12 +29196,12 @@ func init() {
type FaultTolerancePrimaryConfigInfo struct {
FaultToleranceConfigInfo
+ // Refers instances of `VirtualMachine`.
Secondaries []ManagedObjectReference `xml:"secondaries" json:"secondaries"`
}
func init() {
t["FaultTolerancePrimaryConfigInfo"] = reflect.TypeOf((*FaultTolerancePrimaryConfigInfo)(nil)).Elem()
- minAPIVersionForType["FaultTolerancePrimaryConfigInfo"] = "4.0"
}
// This fault is used to report that VirtualCenter did not attempt to power on
@@ -29236,7 +29222,6 @@ type FaultTolerancePrimaryPowerOnNotAttempted struct {
func init() {
t["FaultTolerancePrimaryPowerOnNotAttempted"] = reflect.TypeOf((*FaultTolerancePrimaryPowerOnNotAttempted)(nil)).Elem()
- minAPIVersionForType["FaultTolerancePrimaryPowerOnNotAttempted"] = "4.0"
}
type FaultTolerancePrimaryPowerOnNotAttemptedFault FaultTolerancePrimaryPowerOnNotAttempted
@@ -29250,12 +29235,12 @@ func init() {
type FaultToleranceSecondaryConfigInfo struct {
FaultToleranceConfigInfo
+ // Refers instance of `VirtualMachine`.
PrimaryVM ManagedObjectReference `xml:"primaryVM" json:"primaryVM"`
}
func init() {
t["FaultToleranceSecondaryConfigInfo"] = reflect.TypeOf((*FaultToleranceSecondaryConfigInfo)(nil)).Elem()
- minAPIVersionForType["FaultToleranceSecondaryConfigInfo"] = "4.0"
}
// FaultToleranceSecondaryOpResult is a data object that reports on
@@ -29292,7 +29277,6 @@ type FaultToleranceSecondaryOpResult struct {
func init() {
t["FaultToleranceSecondaryOpResult"] = reflect.TypeOf((*FaultToleranceSecondaryOpResult)(nil)).Elem()
- minAPIVersionForType["FaultToleranceSecondaryOpResult"] = "4.0"
}
// FaultToleranceVMConfigSpec contains information about placement of
@@ -29313,7 +29297,6 @@ type FaultToleranceVMConfigSpec struct {
func init() {
t["FaultToleranceVMConfigSpec"] = reflect.TypeOf((*FaultToleranceVMConfigSpec)(nil)).Elem()
- minAPIVersionForType["FaultToleranceVMConfigSpec"] = "6.0"
}
// A FaultToleranceVmNotDasProtected fault occurs when an Fault Tolerance VM
@@ -29332,7 +29315,6 @@ type FaultToleranceVmNotDasProtected struct {
func init() {
t["FaultToleranceVmNotDasProtected"] = reflect.TypeOf((*FaultToleranceVmNotDasProtected)(nil)).Elem()
- minAPIVersionForType["FaultToleranceVmNotDasProtected"] = "5.0"
}
type FaultToleranceVmNotDasProtectedFault FaultToleranceVmNotDasProtected
@@ -29358,7 +29340,6 @@ type FaultsByHost struct {
func init() {
t["FaultsByHost"] = reflect.TypeOf((*FaultsByHost)(nil)).Elem()
- minAPIVersionForType["FaultsByHost"] = "6.7"
}
// VM specific faults.
@@ -29378,7 +29359,6 @@ type FaultsByVM struct {
func init() {
t["FaultsByVM"] = reflect.TypeOf((*FaultsByVM)(nil)).Elem()
- minAPIVersionForType["FaultsByVM"] = "6.7"
}
// This data object type describes an FCoE configuration as it pertains
@@ -29412,7 +29392,6 @@ type FcoeConfig struct {
func init() {
t["FcoeConfig"] = reflect.TypeOf((*FcoeConfig)(nil)).Elem()
- minAPIVersionForType["FcoeConfig"] = "5.0"
}
// Flags which indicate what parameters are settable for this FcoeConfig.
@@ -29426,7 +29405,6 @@ type FcoeConfigFcoeCapabilities struct {
func init() {
t["FcoeConfigFcoeCapabilities"] = reflect.TypeOf((*FcoeConfigFcoeCapabilities)(nil)).Elem()
- minAPIVersionForType["FcoeConfigFcoeCapabilities"] = "5.0"
}
// An FcoeSpecification contains values relevant to issuing FCoE discovery.
@@ -29453,7 +29431,6 @@ type FcoeConfigFcoeSpecification struct {
func init() {
t["FcoeConfigFcoeSpecification"] = reflect.TypeOf((*FcoeConfigFcoeSpecification)(nil)).Elem()
- minAPIVersionForType["FcoeConfigFcoeSpecification"] = "5.0"
}
// Used to represent inclusive intervals of VLAN IDs.
@@ -29469,7 +29446,6 @@ type FcoeConfigVlanRange struct {
func init() {
t["FcoeConfigVlanRange"] = reflect.TypeOf((*FcoeConfigVlanRange)(nil)).Elem()
- minAPIVersionForType["FcoeConfigVlanRange"] = "5.0"
}
// Deprecated as of vSphere API 8.0. Software FCoE not supported.
@@ -29481,7 +29457,6 @@ type FcoeFault struct {
func init() {
t["FcoeFault"] = reflect.TypeOf((*FcoeFault)(nil)).Elem()
- minAPIVersionForType["FcoeFault"] = "5.0"
}
type FcoeFaultFault BaseFcoeFault
@@ -29502,7 +29477,6 @@ type FcoeFaultPnicHasNoPortSet struct {
func init() {
t["FcoeFaultPnicHasNoPortSet"] = reflect.TypeOf((*FcoeFaultPnicHasNoPortSet)(nil)).Elem()
- minAPIVersionForType["FcoeFaultPnicHasNoPortSet"] = "5.0"
}
type FcoeFaultPnicHasNoPortSetFault FcoeFaultPnicHasNoPortSet
@@ -29569,7 +29543,6 @@ type FeatureRequirementsNotMet struct {
func init() {
t["FeatureRequirementsNotMet"] = reflect.TypeOf((*FeatureRequirementsNotMet)(nil)).Elem()
- minAPIVersionForType["FeatureRequirementsNotMet"] = "5.1"
}
type FeatureRequirementsNotMetFault FeatureRequirementsNotMet
@@ -29595,6 +29568,7 @@ type FetchAuditRecordsRequestType struct {
func init() {
t["FetchAuditRecordsRequestType"] = reflect.TypeOf((*FetchAuditRecordsRequestType)(nil)).Elem()
+ minAPIVersionForType["FetchAuditRecordsRequestType"] = "7.0.3.0"
}
type FetchAuditRecordsResponse struct {
@@ -29717,7 +29691,6 @@ type FileBackedPortNotSupported struct {
func init() {
t["FileBackedPortNotSupported"] = reflect.TypeOf((*FileBackedPortNotSupported)(nil)).Elem()
- minAPIVersionForType["FileBackedPortNotSupported"] = "2.5"
}
type FileBackedPortNotSupportedFault FileBackedPortNotSupported
@@ -29740,14 +29713,13 @@ type FileBackedVirtualDiskSpec struct {
// interact with it.
// This is an optional parameter and if user doesn't specify profile,
// the default behavior will apply.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.5"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
// Encryption options for the new virtual disk.
- Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty" vim:"6.5"`
+ Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty"`
}
func init() {
t["FileBackedVirtualDiskSpec"] = reflect.TypeOf((*FileBackedVirtualDiskSpec)(nil)).Elem()
- minAPIVersionForType["FileBackedVirtualDiskSpec"] = "2.5"
}
// The common base type for all file-related exceptions.
@@ -29781,13 +29753,13 @@ type FileInfo struct {
// The path relative to the folder path in the search results.
Path string `xml:"path" json:"path"`
// User friendly name.
- FriendlyName string `xml:"friendlyName,omitempty" json:"friendlyName,omitempty" vim:"6.5"`
+ FriendlyName string `xml:"friendlyName,omitempty" json:"friendlyName,omitempty"`
// The size of the file in bytes.
FileSize int64 `xml:"fileSize,omitempty" json:"fileSize,omitempty"`
// The last date and time the file was modified.
Modification *time.Time `xml:"modification" json:"modification,omitempty"`
// The user name of the owner of the file.
- Owner string `xml:"owner,omitempty" json:"owner,omitempty" vim:"4.0"`
+ Owner string `xml:"owner,omitempty" json:"owner,omitempty"`
}
func init() {
@@ -29835,6 +29807,7 @@ type FileLockInfoResult struct {
func init() {
t["FileLockInfoResult"] = reflect.TypeOf((*FileLockInfoResult)(nil)).Elem()
+ minAPIVersionForType["FileLockInfoResult"] = "8.0.2.0"
}
// Thrown if an attempt is made to lock a file that is already in use.
@@ -29860,7 +29833,6 @@ type FileNameTooLong struct {
func init() {
t["FileNameTooLong"] = reflect.TypeOf((*FileNameTooLong)(nil)).Elem()
- minAPIVersionForType["FileNameTooLong"] = "5.0"
}
type FileNameTooLongFault FileNameTooLong
@@ -29934,7 +29906,7 @@ type FileQueryFlags struct {
// last modified.
Modification bool `xml:"modification" json:"modification"`
// The flag to indicate whether or not to return the file owner.
- FileOwner *bool `xml:"fileOwner" json:"fileOwner,omitempty" vim:"4.0"`
+ FileOwner *bool `xml:"fileOwner" json:"fileOwner,omitempty"`
}
func init() {
@@ -29956,7 +29928,6 @@ type FileTooLarge struct {
func init() {
t["FileTooLarge"] = reflect.TypeOf((*FileTooLarge)(nil)).Elem()
- minAPIVersionForType["FileTooLarge"] = "2.5"
}
type FileTooLargeFault FileTooLarge
@@ -29985,7 +29956,6 @@ type FileTransferInformation struct {
// Multiple GET requests cannot be sent to the URL simultaneously. URL
// will become invalid once a successful GET request is sent.
//
- //
// The host part of the URL is returned as '\*' if the hostname to be used
// is the name of the server to which the call was made. For example, if
// the call is made to esx-svr-1.domain1.com, and the file is available for
@@ -29996,7 +29966,6 @@ type FileTransferInformation struct {
// The client replaces the asterisk with the server name on which it
// invoked the call.
//
- //
// The URL is valid only for 10 minutes from the time it is generated.
// Also, the URL becomes invalid whenever the virtual machine is powered
// off, suspended or unregistered.
@@ -30005,7 +29974,6 @@ type FileTransferInformation struct {
func init() {
t["FileTransferInformation"] = reflect.TypeOf((*FileTransferInformation)(nil)).Elem()
- minAPIVersionForType["FileTransferInformation"] = "5.0"
}
// This fault is thrown when creating a quiesced snapshot failed
@@ -30041,7 +30009,6 @@ type FilterInUse struct {
func init() {
t["FilterInUse"] = reflect.TypeOf((*FilterInUse)(nil)).Elem()
- minAPIVersionForType["FilterInUse"] = "6.0"
}
type FilterInUseFault FilterInUse
@@ -30300,7 +30267,7 @@ type FindByUuidRequestType struct {
// for virtual machines whose instance UUID matches the given uuid.
// Otherwise, search for virtual machines whose BIOS UUID matches the given
// uuid.
- InstanceUuid *bool `xml:"instanceUuid" json:"instanceUuid,omitempty" vim:"4.0"`
+ InstanceUuid *bool `xml:"instanceUuid" json:"instanceUuid,omitempty"`
}
func init() {
@@ -30396,7 +30363,6 @@ type FirewallProfile struct {
func init() {
t["FirewallProfile"] = reflect.TypeOf((*FirewallProfile)(nil)).Elem()
- minAPIVersionForType["FirewallProfile"] = "4.0"
}
type FirewallProfileRulesetProfile struct {
@@ -30622,7 +30588,6 @@ type FtIssuesOnHost struct {
func init() {
t["FtIssuesOnHost"] = reflect.TypeOf((*FtIssuesOnHost)(nil)).Elem()
- minAPIVersionForType["FtIssuesOnHost"] = "4.0"
}
type FtIssuesOnHostFault FtIssuesOnHost
@@ -30631,6 +30596,32 @@ func init() {
t["FtIssuesOnHostFault"] = reflect.TypeOf((*FtIssuesOnHostFault)(nil)).Elem()
}
+// The virtual machine if powered on or VMotioned, would violate an
+// FT VM-Host rule.
+type FtVmHostRuleViolation struct {
+ VmConfigFault
+
+ // The vm that can not be powered on or VMotioned without violating FT Metro
+ // Cluster placement rule.
+ VmName string `xml:"vmName" json:"vmName"`
+ // The host that the virtual machine can not be powered on without violating
+ // FT Metro Cluster placement rule.
+ HostName string `xml:"hostName" json:"hostName"`
+ // Indicate the Host Group for FT Metro Cluster enabled Virtual Machine.
+ HostGroup string `xml:"hostGroup" json:"hostGroup"`
+}
+
+func init() {
+ t["FtVmHostRuleViolation"] = reflect.TypeOf((*FtVmHostRuleViolation)(nil)).Elem()
+ minAPIVersionForType["FtVmHostRuleViolation"] = "8.0.3.0"
+}
+
+type FtVmHostRuleViolationFault FtVmHostRuleViolation
+
+func init() {
+ t["FtVmHostRuleViolationFault"] = reflect.TypeOf((*FtVmHostRuleViolationFault)(nil)).Elem()
+}
+
// An operation on a powered-on virtual machine requests a simultaneous change
// of storage location and execution host, but the host does not have that
// capability.
@@ -30640,7 +30631,6 @@ type FullStorageVMotionNotSupported struct {
func init() {
t["FullStorageVMotionNotSupported"] = reflect.TypeOf((*FullStorageVMotionNotSupported)(nil)).Elem()
- minAPIVersionForType["FullStorageVMotionNotSupported"] = "2.5"
}
type FullStorageVMotionNotSupportedFault FullStorageVMotionNotSupported
@@ -30671,7 +30661,6 @@ type GatewayConnectFault struct {
func init() {
t["GatewayConnectFault"] = reflect.TypeOf((*GatewayConnectFault)(nil)).Elem()
- minAPIVersionForType["GatewayConnectFault"] = "6.0"
}
type GatewayConnectFaultFault BaseGatewayConnectFault
@@ -30692,7 +30681,6 @@ type GatewayHostNotReachable struct {
func init() {
t["GatewayHostNotReachable"] = reflect.TypeOf((*GatewayHostNotReachable)(nil)).Elem()
- minAPIVersionForType["GatewayHostNotReachable"] = "6.0"
}
type GatewayHostNotReachableFault GatewayHostNotReachable
@@ -30711,7 +30699,6 @@ type GatewayNotFound struct {
func init() {
t["GatewayNotFound"] = reflect.TypeOf((*GatewayNotFound)(nil)).Elem()
- minAPIVersionForType["GatewayNotFound"] = "6.0"
}
type GatewayNotFoundFault GatewayNotFound
@@ -30734,7 +30721,6 @@ type GatewayNotReachable struct {
func init() {
t["GatewayNotReachable"] = reflect.TypeOf((*GatewayNotReachable)(nil)).Elem()
- minAPIVersionForType["GatewayNotReachable"] = "6.0"
}
type GatewayNotReachableFault GatewayNotReachable
@@ -30757,7 +30743,6 @@ type GatewayOperationRefused struct {
func init() {
t["GatewayOperationRefused"] = reflect.TypeOf((*GatewayOperationRefused)(nil)).Elem()
- minAPIVersionForType["GatewayOperationRefused"] = "6.0"
}
type GatewayOperationRefusedFault GatewayOperationRefused
@@ -30789,7 +30774,6 @@ type GatewayToHostAuthFault struct {
func init() {
t["GatewayToHostAuthFault"] = reflect.TypeOf((*GatewayToHostAuthFault)(nil)).Elem()
- minAPIVersionForType["GatewayToHostAuthFault"] = "6.0"
}
type GatewayToHostAuthFaultFault GatewayToHostAuthFault
@@ -30816,7 +30800,6 @@ type GatewayToHostConnectFault struct {
func init() {
t["GatewayToHostConnectFault"] = reflect.TypeOf((*GatewayToHostConnectFault)(nil)).Elem()
- minAPIVersionForType["GatewayToHostConnectFault"] = "6.0"
}
type GatewayToHostConnectFaultFault BaseGatewayToHostConnectFault
@@ -30852,7 +30835,6 @@ type GatewayToHostTrustVerifyFault struct {
func init() {
t["GatewayToHostTrustVerifyFault"] = reflect.TypeOf((*GatewayToHostTrustVerifyFault)(nil)).Elem()
- minAPIVersionForType["GatewayToHostTrustVerifyFault"] = "6.0"
}
type GatewayToHostTrustVerifyFaultFault GatewayToHostTrustVerifyFault
@@ -31184,7 +31166,6 @@ type GenericDrsFault struct {
func init() {
t["GenericDrsFault"] = reflect.TypeOf((*GenericDrsFault)(nil)).Elem()
- minAPIVersionForType["GenericDrsFault"] = "2.5"
}
type GenericDrsFaultFault GenericDrsFault
@@ -31275,6 +31256,7 @@ type GetCryptoKeyStatusRequestType struct {
func init() {
t["GetCryptoKeyStatusRequestType"] = reflect.TypeOf((*GetCryptoKeyStatusRequestType)(nil)).Elem()
+ minAPIVersionForType["GetCryptoKeyStatusRequestType"] = "8.0.1.0"
}
type GetCryptoKeyStatusResponse struct {
@@ -31454,7 +31436,6 @@ type GhostDvsProxySwitchDetectedEvent struct {
func init() {
t["GhostDvsProxySwitchDetectedEvent"] = reflect.TypeOf((*GhostDvsProxySwitchDetectedEvent)(nil)).Elem()
- minAPIVersionForType["GhostDvsProxySwitchDetectedEvent"] = "4.0"
}
// This event records when the ghost DVS proxy switches (a.k.a host
@@ -31469,7 +31450,6 @@ type GhostDvsProxySwitchRemovedEvent struct {
func init() {
t["GhostDvsProxySwitchRemovedEvent"] = reflect.TypeOf((*GhostDvsProxySwitchRemovedEvent)(nil)).Elem()
- minAPIVersionForType["GhostDvsProxySwitchRemovedEvent"] = "4.0"
}
// This event records a change to the global message.
@@ -31479,7 +31459,7 @@ type GlobalMessageChangedEvent struct {
// The new message that was set.
Message string `xml:"message" json:"message"`
// The previous message that was set.
- PrevMessage string `xml:"prevMessage,omitempty" json:"prevMessage,omitempty" vim:"6.5"`
+ PrevMessage string `xml:"prevMessage,omitempty" json:"prevMessage,omitempty"`
}
func init() {
@@ -31518,7 +31498,6 @@ type GuestAliases struct {
func init() {
t["GuestAliases"] = reflect.TypeOf((*GuestAliases)(nil)).Elem()
- minAPIVersionForType["GuestAliases"] = "6.0"
}
// Describes a subject associated with an X.509 certificate in the alias
@@ -31534,7 +31513,6 @@ type GuestAuthAliasInfo struct {
func init() {
t["GuestAuthAliasInfo"] = reflect.TypeOf((*GuestAuthAliasInfo)(nil)).Elem()
- minAPIVersionForType["GuestAuthAliasInfo"] = "6.0"
}
// The ANY subject.
@@ -31549,7 +31527,6 @@ type GuestAuthAnySubject struct {
func init() {
t["GuestAuthAnySubject"] = reflect.TypeOf((*GuestAuthAnySubject)(nil)).Elem()
- minAPIVersionForType["GuestAuthAnySubject"] = "6.0"
}
// A named subject.
@@ -31565,7 +31542,6 @@ type GuestAuthNamedSubject struct {
func init() {
t["GuestAuthNamedSubject"] = reflect.TypeOf((*GuestAuthNamedSubject)(nil)).Elem()
- minAPIVersionForType["GuestAuthNamedSubject"] = "6.0"
}
// A Subject.
@@ -31575,7 +31551,6 @@ type GuestAuthSubject struct {
func init() {
t["GuestAuthSubject"] = reflect.TypeOf((*GuestAuthSubject)(nil)).Elem()
- minAPIVersionForType["GuestAuthSubject"] = "6.0"
}
// GuestAuthentication is an abstract base class for authentication
@@ -31592,7 +31567,6 @@ type GuestAuthentication struct {
func init() {
t["GuestAuthentication"] = reflect.TypeOf((*GuestAuthentication)(nil)).Elem()
- minAPIVersionForType["GuestAuthentication"] = "5.0"
}
// Fault is thrown when a call to `GuestAuthManager.AcquireCredentialsInGuest` requires a challenge
@@ -31612,7 +31586,6 @@ type GuestAuthenticationChallenge struct {
func init() {
t["GuestAuthenticationChallenge"] = reflect.TypeOf((*GuestAuthenticationChallenge)(nil)).Elem()
- minAPIVersionForType["GuestAuthenticationChallenge"] = "5.0"
}
type GuestAuthenticationChallengeFault GuestAuthenticationChallenge
@@ -31630,7 +31603,6 @@ type GuestComponentsOutOfDate struct {
func init() {
t["GuestComponentsOutOfDate"] = reflect.TypeOf((*GuestComponentsOutOfDate)(nil)).Elem()
- minAPIVersionForType["GuestComponentsOutOfDate"] = "5.0"
}
type GuestComponentsOutOfDateFault GuestComponentsOutOfDate
@@ -31659,9 +31631,9 @@ type GuestDiskInfo struct {
// Filesystem type, if known.
//
// For example NTFS or ext3.
- FilesystemType string `xml:"filesystemType,omitempty" json:"filesystemType,omitempty" vim:"7.0"`
+ FilesystemType string `xml:"filesystemType,omitempty" json:"filesystemType,omitempty"`
// VirtualDisks backing the guest partition, if known.
- Mappings []GuestInfoVirtualDiskMapping `xml:"mappings,omitempty" json:"mappings,omitempty" vim:"7.0"`
+ Mappings []GuestInfoVirtualDiskMapping `xml:"mappings,omitempty" json:"mappings,omitempty"`
}
func init() {
@@ -31712,7 +31684,6 @@ type GuestFileAttributes struct {
func init() {
t["GuestFileAttributes"] = reflect.TypeOf((*GuestFileAttributes)(nil)).Elem()
- minAPIVersionForType["GuestFileAttributes"] = "5.0"
}
type GuestFileInfo struct {
@@ -31752,26 +31723,26 @@ type GuestInfo struct {
//
// The set of possible values is described in
// `VirtualMachineToolsVersionStatus_enum` for vSphere API 5.0.
- ToolsVersionStatus string `xml:"toolsVersionStatus,omitempty" json:"toolsVersionStatus,omitempty" vim:"4.0"`
+ ToolsVersionStatus string `xml:"toolsVersionStatus,omitempty" json:"toolsVersionStatus,omitempty"`
// Current version status of VMware Tools in the guest operating system,
// if known.
//
// The set of possible values is described in
// `VirtualMachineToolsVersionStatus_enum`
- ToolsVersionStatus2 string `xml:"toolsVersionStatus2,omitempty" json:"toolsVersionStatus2,omitempty" vim:"5.0"`
+ ToolsVersionStatus2 string `xml:"toolsVersionStatus2,omitempty" json:"toolsVersionStatus2,omitempty"`
// Current running status of VMware Tools in the guest operating system,
// if known.
//
// The set of possible values is described in
// `VirtualMachineToolsRunningStatus_enum`
- ToolsRunningStatus string `xml:"toolsRunningStatus,omitempty" json:"toolsRunningStatus,omitempty" vim:"4.0"`
+ ToolsRunningStatus string `xml:"toolsRunningStatus,omitempty" json:"toolsRunningStatus,omitempty"`
// Current version of VMware Tools, if known.
ToolsVersion string `xml:"toolsVersion,omitempty" json:"toolsVersion,omitempty"`
// Current installation type of VMware Tools in the guest operating system.
//
// The set of possible values is described in
// `VirtualMachineToolsInstallType_enum`
- ToolsInstallType string `xml:"toolsInstallType,omitempty" json:"toolsInstallType,omitempty" vim:"6.5"`
+ ToolsInstallType string `xml:"toolsInstallType,omitempty" json:"toolsInstallType,omitempty"`
// Guest operating system identifier (short name), if known.
GuestId string `xml:"guestId,omitempty" json:"guestId,omitempty"`
// Guest operating system family, if known.
@@ -31863,7 +31834,7 @@ type GuestInfo struct {
// Guest information about network adapters, if known.
Net []GuestNicInfo `xml:"net,omitempty" json:"net,omitempty"`
// Guest information about IP networking stack, if known.
- IpStack []GuestStackInfo `xml:"ipStack,omitempty" json:"ipStack,omitempty" vim:"4.1"`
+ IpStack []GuestStackInfo `xml:"ipStack,omitempty" json:"ipStack,omitempty"`
// Guest information about disks.
//
// You can obtain Linux guest disk information for the following file system
@@ -31879,21 +31850,21 @@ type GuestInfo struct {
// Operation mode of guest operating system.
//
// One of:
- // - "running" - Guest is running normally.
- // - "shuttingdown" - Guest has a pending shutdown command.
- // - "resetting" - Guest has a pending reset command.
- // - "standby" - Guest has a pending standby command.
- // - "notrunning" - Guest is not running.
- // - "unknown" - Guest information is not available.
+ // - "running" - Guest is running normally.
+ // - "shuttingdown" - Guest has a pending shutdown command.
+ // - "resetting" - Guest has a pending reset command.
+ // - "standby" - Guest has a pending standby command.
+ // - "notrunning" - Guest is not running.
+ // - "unknown" - Guest information is not available.
GuestState string `xml:"guestState" json:"guestState"`
// Application heartbeat status.
//
// Please see `VirtualMachineAppHeartbeatStatusType_enum`
- AppHeartbeatStatus string `xml:"appHeartbeatStatus,omitempty" json:"appHeartbeatStatus,omitempty" vim:"4.1"`
+ AppHeartbeatStatus string `xml:"appHeartbeatStatus,omitempty" json:"appHeartbeatStatus,omitempty"`
// Guest operating system's kernel crash state.
//
// If true, the guest operating system's kernel has crashed.
- GuestKernelCrashed *bool `xml:"guestKernelCrashed" json:"guestKernelCrashed,omitempty" vim:"6.0"`
+ GuestKernelCrashed *bool `xml:"guestKernelCrashed" json:"guestKernelCrashed,omitempty"`
// Application state.
//
// If vSphere HA is enabled and the vm is configured for Application Monitoring
@@ -31904,20 +31875,20 @@ type GuestInfo struct {
// conditions the value is changed to appStateOk the reset will be cancelled.
//
// See also `GuestInfoAppStateType_enum`.
- AppState string `xml:"appState,omitempty" json:"appState,omitempty" vim:"5.5"`
+ AppState string `xml:"appState,omitempty" json:"appState,omitempty"`
// Guest Operations availability.
//
// If true, the virtual machine is ready to process guest operations.
- GuestOperationsReady *bool `xml:"guestOperationsReady" json:"guestOperationsReady,omitempty" vim:"5.0"`
+ GuestOperationsReady *bool `xml:"guestOperationsReady" json:"guestOperationsReady,omitempty"`
// Interactive Guest Operations availability.
//
// If true, the virtual machine is ready to process guest operations
// as the user interacting with the guest desktop.
- InteractiveGuestOperationsReady *bool `xml:"interactiveGuestOperationsReady" json:"interactiveGuestOperationsReady,omitempty" vim:"5.0"`
+ InteractiveGuestOperationsReady *bool `xml:"interactiveGuestOperationsReady" json:"interactiveGuestOperationsReady,omitempty"`
// State change support.
//
// If true, the virtual machine is ready to process soft power operations.
- GuestStateChangeSupported *bool `xml:"guestStateChangeSupported" json:"guestStateChangeSupported,omitempty" vim:"6.0"`
+ GuestStateChangeSupported *bool `xml:"guestStateChangeSupported" json:"guestStateChangeSupported,omitempty"`
// A list of namespaces and their corresponding generation numbers.
//
// Only namespaces with non-zero
@@ -31925,9 +31896,9 @@ type GuestInfo struct {
// are guaranteed to be present here.
// Use `VirtualMachineNamespaceManager.ListNamespaces` to retrieve list of
// namespaces.
- GenerationInfo []GuestInfoNamespaceGenerationInfo `xml:"generationInfo,omitempty" json:"generationInfo,omitempty" vim:"5.1"`
+ GenerationInfo []GuestInfoNamespaceGenerationInfo `xml:"generationInfo,omitempty" json:"generationInfo,omitempty"`
// The hardware version string for this virtual machine.
- HwVersion string `xml:"hwVersion,omitempty" json:"hwVersion,omitempty" vim:"6.9.1"`
+ HwVersion string `xml:"hwVersion,omitempty" json:"hwVersion,omitempty"`
// Guest OS Customization status info.
CustomizationInfo *GuestInfoCustomizationInfo `xml:"customizationInfo,omitempty" json:"customizationInfo,omitempty" vim:"7.0.2.0"`
}
@@ -31956,6 +31927,7 @@ type GuestInfoCustomizationInfo struct {
func init() {
t["GuestInfoCustomizationInfo"] = reflect.TypeOf((*GuestInfoCustomizationInfo)(nil)).Elem()
+ minAPIVersionForType["GuestInfoCustomizationInfo"] = "7.0.2.0"
}
// A data class for the namespace and its corresponding generation number
@@ -31979,7 +31951,6 @@ type GuestInfoNamespaceGenerationInfo struct {
func init() {
t["GuestInfoNamespaceGenerationInfo"] = reflect.TypeOf((*GuestInfoNamespaceGenerationInfo)(nil)).Elem()
- minAPIVersionForType["GuestInfoNamespaceGenerationInfo"] = "5.1"
}
// Describes the virtual disk backing a local guest disk.
@@ -31994,7 +31965,6 @@ type GuestInfoVirtualDiskMapping struct {
func init() {
t["GuestInfoVirtualDiskMapping"] = reflect.TypeOf((*GuestInfoVirtualDiskMapping)(nil)).Elem()
- minAPIVersionForType["GuestInfoVirtualDiskMapping"] = "7.0"
}
type GuestListFileInfo struct {
@@ -32032,7 +32002,6 @@ type GuestMappedAliases struct {
func init() {
t["GuestMappedAliases"] = reflect.TypeOf((*GuestMappedAliases)(nil)).Elem()
- minAPIVersionForType["GuestMappedAliases"] = "6.0"
}
// A GuestMultipleMappings exception is thrown when an
@@ -32045,7 +32014,6 @@ type GuestMultipleMappings struct {
func init() {
t["GuestMultipleMappings"] = reflect.TypeOf((*GuestMultipleMappings)(nil)).Elem()
- minAPIVersionForType["GuestMultipleMappings"] = "6.0"
}
type GuestMultipleMappingsFault GuestMultipleMappings
@@ -32076,13 +32044,13 @@ type GuestNicInfo struct {
// This property is set only when Guest OS supports it.
// See `GuestStackInfo` dnsConfig for system wide
// settings.
- DnsConfig *NetDnsConfigInfo `xml:"dnsConfig,omitempty" json:"dnsConfig,omitempty" vim:"4.1"`
+ DnsConfig *NetDnsConfigInfo `xml:"dnsConfig,omitempty" json:"dnsConfig,omitempty"`
// IP configuration settings of the adapter
// See `GuestStackInfo` ipStackConfig for system wide
// settings.
- IpConfig *NetIpConfigInfo `xml:"ipConfig,omitempty" json:"ipConfig,omitempty" vim:"4.1"`
+ IpConfig *NetIpConfigInfo `xml:"ipConfig,omitempty" json:"ipConfig,omitempty"`
// NetBIOS configuration of the adapter
- NetBIOSConfig BaseNetBIOSConfigInfo `xml:"netBIOSConfig,omitempty,typeattr" json:"netBIOSConfig,omitempty" vim:"4.1"`
+ NetBIOSConfig BaseNetBIOSConfigInfo `xml:"netBIOSConfig,omitempty,typeattr" json:"netBIOSConfig,omitempty"`
}
func init() {
@@ -32096,7 +32064,6 @@ type GuestOperationsFault struct {
func init() {
t["GuestOperationsFault"] = reflect.TypeOf((*GuestOperationsFault)(nil)).Elem()
- minAPIVersionForType["GuestOperationsFault"] = "5.0"
}
type GuestOperationsFaultFault BaseGuestOperationsFault
@@ -32114,7 +32081,6 @@ type GuestOperationsUnavailable struct {
func init() {
t["GuestOperationsUnavailable"] = reflect.TypeOf((*GuestOperationsUnavailable)(nil)).Elem()
- minAPIVersionForType["GuestOperationsUnavailable"] = "5.0"
}
type GuestOperationsUnavailableFault GuestOperationsUnavailable
@@ -32140,9 +32106,9 @@ type GuestOsDescriptor struct {
// Maximum number of processors supported for this guest.
SupportedMaxCPUs int32 `xml:"supportedMaxCPUs" json:"supportedMaxCPUs"`
// Maximum number of sockets supported for this guest.
- NumSupportedPhysicalSockets int32 `xml:"numSupportedPhysicalSockets,omitempty" json:"numSupportedPhysicalSockets,omitempty" vim:"5.0"`
+ NumSupportedPhysicalSockets int32 `xml:"numSupportedPhysicalSockets,omitempty" json:"numSupportedPhysicalSockets,omitempty"`
// Maximum number of cores per socket for this guest.
- NumSupportedCoresPerSocket int32 `xml:"numSupportedCoresPerSocket,omitempty" json:"numSupportedCoresPerSocket,omitempty" vim:"5.0"`
+ NumSupportedCoresPerSocket int32 `xml:"numSupportedCoresPerSocket,omitempty" json:"numSupportedCoresPerSocket,omitempty"`
// Minimum memory requirements supported for this guest, in MB.
SupportedMinMemMB int32 `xml:"supportedMinMemMB" json:"supportedMinMemMB"`
// Maximum memory requirements supported for this guest, in MB.
@@ -32162,7 +32128,7 @@ type GuestOsDescriptor struct {
// Recommended default disk size for this guest, in MB.
RecommendedDiskSizeMB int32 `xml:"recommendedDiskSizeMB" json:"recommendedDiskSizeMB"`
// Recommended default CD-ROM type for this guest.
- RecommendedCdromController string `xml:"recommendedCdromController,omitempty" json:"recommendedCdromController,omitempty" vim:"5.5"`
+ RecommendedCdromController string `xml:"recommendedCdromController,omitempty" json:"recommendedCdromController,omitempty"`
// List of supported ethernet cards for this guest.
SupportedEthernetCard []string `xml:"supportedEthernetCard" json:"supportedEthernetCard"`
// Recommended default ethernet controller type for this guest.
@@ -32175,71 +32141,71 @@ type GuestOsDescriptor struct {
// Flag that indicates wether the guest requires an SMC (Apple hardware).
//
// This is logically equivalent to GuestOS = Mac OS
- SmcRequired *bool `xml:"smcRequired" json:"smcRequired,omitempty" vim:"5.0"`
+ SmcRequired *bool `xml:"smcRequired" json:"smcRequired,omitempty"`
// Flag to indicate whether or not this guest can support Wake-on-LAN.
SupportsWakeOnLan bool `xml:"supportsWakeOnLan" json:"supportsWakeOnLan"`
// Flag indicating whether or not this guest supports the virtual
// machine interface.
- SupportsVMI *bool `xml:"supportsVMI" json:"supportsVMI,omitempty" vim:"2.5 U2"`
+ SupportsVMI *bool `xml:"supportsVMI" json:"supportsVMI,omitempty"`
// Whether the memory size for this guest can be changed
// while the virtual machine is running.
- SupportsMemoryHotAdd *bool `xml:"supportsMemoryHotAdd" json:"supportsMemoryHotAdd,omitempty" vim:"2.5 U2"`
+ SupportsMemoryHotAdd *bool `xml:"supportsMemoryHotAdd" json:"supportsMemoryHotAdd,omitempty"`
// Whether virtual CPUs can be added to this guest
// while the virtual machine is running.
- SupportsCpuHotAdd *bool `xml:"supportsCpuHotAdd" json:"supportsCpuHotAdd,omitempty" vim:"2.5 U2"`
+ SupportsCpuHotAdd *bool `xml:"supportsCpuHotAdd" json:"supportsCpuHotAdd,omitempty"`
// Whether virtual CPUs can be removed from this guest
// while the virtual machine is running.
- SupportsCpuHotRemove *bool `xml:"supportsCpuHotRemove" json:"supportsCpuHotRemove,omitempty" vim:"2.5 U2"`
+ SupportsCpuHotRemove *bool `xml:"supportsCpuHotRemove" json:"supportsCpuHotRemove,omitempty"`
// Supported firmware types for this guest.
//
// Possible values are described in
// `GuestOsDescriptorFirmwareType_enum`
- SupportedFirmware []string `xml:"supportedFirmware,omitempty" json:"supportedFirmware,omitempty" vim:"5.0"`
+ SupportedFirmware []string `xml:"supportedFirmware,omitempty" json:"supportedFirmware,omitempty"`
// Recommended firmware type for this guest.
//
// Possible values are described in
// `GuestOsDescriptorFirmwareType_enum`
- RecommendedFirmware string `xml:"recommendedFirmware,omitempty" json:"recommendedFirmware,omitempty" vim:"5.0"`
+ RecommendedFirmware string `xml:"recommendedFirmware,omitempty" json:"recommendedFirmware,omitempty"`
// List of supported USB controllers for this guest.
- SupportedUSBControllerList []string `xml:"supportedUSBControllerList,omitempty" json:"supportedUSBControllerList,omitempty" vim:"5.0"`
+ SupportedUSBControllerList []string `xml:"supportedUSBControllerList,omitempty" json:"supportedUSBControllerList,omitempty"`
// Recommended default USB controller type for this guest.
- RecommendedUSBController string `xml:"recommendedUSBController,omitempty" json:"recommendedUSBController,omitempty" vim:"5.0"`
+ RecommendedUSBController string `xml:"recommendedUSBController,omitempty" json:"recommendedUSBController,omitempty"`
// Whether this guest supports 3D graphics.
- Supports3D *bool `xml:"supports3D" json:"supports3D,omitempty" vim:"5.0"`
+ Supports3D *bool `xml:"supports3D" json:"supports3D,omitempty"`
// Recommended 3D graphics for this guest.
- Recommended3D *bool `xml:"recommended3D" json:"recommended3D,omitempty" vim:"5.1"`
+ Recommended3D *bool `xml:"recommended3D" json:"recommended3D,omitempty"`
// Whether SMC (Apple hardware) is recommended for this guest.
- SmcRecommended *bool `xml:"smcRecommended" json:"smcRecommended,omitempty" vim:"5.0"`
+ SmcRecommended *bool `xml:"smcRecommended" json:"smcRecommended,omitempty"`
// Whether I/O Controller Hub is recommended for this guest.
- Ich7mRecommended *bool `xml:"ich7mRecommended" json:"ich7mRecommended,omitempty" vim:"5.0"`
+ Ich7mRecommended *bool `xml:"ich7mRecommended" json:"ich7mRecommended,omitempty"`
// Whether USB controller is recommended for this guest.
- UsbRecommended *bool `xml:"usbRecommended" json:"usbRecommended,omitempty" vim:"5.0"`
+ UsbRecommended *bool `xml:"usbRecommended" json:"usbRecommended,omitempty"`
// Support level of this Guest
// Possible values are described in
// `GuestOsDescriptorSupportLevel_enum`
- SupportLevel string `xml:"supportLevel,omitempty" json:"supportLevel,omitempty" vim:"5.0"`
+ SupportLevel string `xml:"supportLevel,omitempty" json:"supportLevel,omitempty"`
// Whether or not this guest should be allowed for selection
// during virtual machine creation.
- SupportedForCreate *bool `xml:"supportedForCreate" json:"supportedForCreate,omitempty" vim:"5.0"`
+ SupportedForCreate *bool `xml:"supportedForCreate" json:"supportedForCreate,omitempty"`
// Video RAM size limits supported by this guest, in KB.
- VRAMSizeInKB *IntOption `xml:"vRAMSizeInKB,omitempty" json:"vRAMSizeInKB,omitempty" vim:"5.0"`
+ VRAMSizeInKB *IntOption `xml:"vRAMSizeInKB,omitempty" json:"vRAMSizeInKB,omitempty"`
// Maximum number of floppies supported by this guest.
- NumSupportedFloppyDevices int32 `xml:"numSupportedFloppyDevices,omitempty" json:"numSupportedFloppyDevices,omitempty" vim:"6.0"`
+ NumSupportedFloppyDevices int32 `xml:"numSupportedFloppyDevices,omitempty" json:"numSupportedFloppyDevices,omitempty"`
// List of NICs supported by this guest that support Wake-On-Lan.
- WakeOnLanEthernetCard []string `xml:"wakeOnLanEthernetCard,omitempty" json:"wakeOnLanEthernetCard,omitempty" vim:"6.0"`
+ WakeOnLanEthernetCard []string `xml:"wakeOnLanEthernetCard,omitempty" json:"wakeOnLanEthernetCard,omitempty"`
// Whether or not this guest can use pvscsi as boot adapter.
- SupportsPvscsiControllerForBoot *bool `xml:"supportsPvscsiControllerForBoot" json:"supportsPvscsiControllerForBoot,omitempty" vim:"6.0"`
+ SupportsPvscsiControllerForBoot *bool `xml:"supportsPvscsiControllerForBoot" json:"supportsPvscsiControllerForBoot,omitempty"`
// Whether or not this guest should have disk uuid enabled by default.
- DiskUuidEnabled *bool `xml:"diskUuidEnabled" json:"diskUuidEnabled,omitempty" vim:"6.0"`
+ DiskUuidEnabled *bool `xml:"diskUuidEnabled" json:"diskUuidEnabled,omitempty"`
// Whether or not this guest supports hot plug of PCI devices.
- SupportsHotPlugPCI *bool `xml:"supportsHotPlugPCI" json:"supportsHotPlugPCI,omitempty" vim:"6.0"`
+ SupportsHotPlugPCI *bool `xml:"supportsHotPlugPCI" json:"supportsHotPlugPCI,omitempty"`
// Whether or not this guest supports Secure Boot.
//
// If some of the OS
// releases that fall under this guest OS descriptor support Secure Boot, it
// is reasonable to offer the ability to enable Secure Boot. Only
// meaningful when virtual EFI firmware is in use.
- SupportsSecureBoot *bool `xml:"supportsSecureBoot" json:"supportsSecureBoot,omitempty" vim:"6.5"`
+ SupportsSecureBoot *bool `xml:"supportsSecureBoot" json:"supportsSecureBoot,omitempty"`
// Whether or not Secure Boot should be enabled by default for this
// guest OS.
//
@@ -32247,50 +32213,50 @@ type GuestOsDescriptor struct {
// support Secure Boot and are known to operate correctly with Secure Boot
// enabled, it is reasonable to enable it by default. Only meaningful when
// virtual EFI firmware is in use.
- DefaultSecureBoot *bool `xml:"defaultSecureBoot" json:"defaultSecureBoot,omitempty" vim:"6.5"`
+ DefaultSecureBoot *bool `xml:"defaultSecureBoot" json:"defaultSecureBoot,omitempty"`
// Support of persistent memory (virtual NVDIMM device).
//
// See also `VirtualNVDIMM`.
- PersistentMemorySupported *bool `xml:"persistentMemorySupported" json:"persistentMemorySupported,omitempty" vim:"6.7"`
+ PersistentMemorySupported *bool `xml:"persistentMemorySupported" json:"persistentMemorySupported,omitempty"`
// Minimum persistent memory supported for this guest, in MB.
- SupportedMinPersistentMemoryMB int64 `xml:"supportedMinPersistentMemoryMB,omitempty" json:"supportedMinPersistentMemoryMB,omitempty" vim:"6.7"`
+ SupportedMinPersistentMemoryMB int64 `xml:"supportedMinPersistentMemoryMB,omitempty" json:"supportedMinPersistentMemoryMB,omitempty"`
// Maximum persistent memory supported for this guest, in MB.
//
// Total size of all the virtual NVDIMM devices should be less
// than this value.
- SupportedMaxPersistentMemoryMB int64 `xml:"supportedMaxPersistentMemoryMB,omitempty" json:"supportedMaxPersistentMemoryMB,omitempty" vim:"6.7"`
+ SupportedMaxPersistentMemoryMB int64 `xml:"supportedMaxPersistentMemoryMB,omitempty" json:"supportedMaxPersistentMemoryMB,omitempty"`
// Recommended default persistent memory size for this guest, in MB.
- RecommendedPersistentMemoryMB int64 `xml:"recommendedPersistentMemoryMB,omitempty" json:"recommendedPersistentMemoryMB,omitempty" vim:"6.7"`
+ RecommendedPersistentMemoryMB int64 `xml:"recommendedPersistentMemoryMB,omitempty" json:"recommendedPersistentMemoryMB,omitempty"`
// Support of persistent memory hot-add operation.
- PersistentMemoryHotAddSupported *bool `xml:"persistentMemoryHotAddSupported" json:"persistentMemoryHotAddSupported,omitempty" vim:"6.7"`
+ PersistentMemoryHotAddSupported *bool `xml:"persistentMemoryHotAddSupported" json:"persistentMemoryHotAddSupported,omitempty"`
// Support of persistent memory hot-remove operation.
- PersistentMemoryHotRemoveSupported *bool `xml:"persistentMemoryHotRemoveSupported" json:"persistentMemoryHotRemoveSupported,omitempty" vim:"6.7"`
+ PersistentMemoryHotRemoveSupported *bool `xml:"persistentMemoryHotRemoveSupported" json:"persistentMemoryHotRemoveSupported,omitempty"`
// Support of virtual NVDIMM cold-growth operation.
- PersistentMemoryColdGrowthSupported *bool `xml:"persistentMemoryColdGrowthSupported" json:"persistentMemoryColdGrowthSupported,omitempty" vim:"6.7"`
+ PersistentMemoryColdGrowthSupported *bool `xml:"persistentMemoryColdGrowthSupported" json:"persistentMemoryColdGrowthSupported,omitempty"`
// Virtual NVDIMM cold-growth granularity in MB.
- PersistentMemoryColdGrowthGranularityMB int64 `xml:"persistentMemoryColdGrowthGranularityMB,omitempty" json:"persistentMemoryColdGrowthGranularityMB,omitempty" vim:"6.7"`
+ PersistentMemoryColdGrowthGranularityMB int64 `xml:"persistentMemoryColdGrowthGranularityMB,omitempty" json:"persistentMemoryColdGrowthGranularityMB,omitempty"`
// Support of virtual NVDIMM hot-growth operation.
- PersistentMemoryHotGrowthSupported *bool `xml:"persistentMemoryHotGrowthSupported" json:"persistentMemoryHotGrowthSupported,omitempty" vim:"6.7"`
+ PersistentMemoryHotGrowthSupported *bool `xml:"persistentMemoryHotGrowthSupported" json:"persistentMemoryHotGrowthSupported,omitempty"`
// Virtual NVDIMM hot-growth granularity in MB.
- PersistentMemoryHotGrowthGranularityMB int64 `xml:"persistentMemoryHotGrowthGranularityMB,omitempty" json:"persistentMemoryHotGrowthGranularityMB,omitempty" vim:"6.7"`
+ PersistentMemoryHotGrowthGranularityMB int64 `xml:"persistentMemoryHotGrowthGranularityMB,omitempty" json:"persistentMemoryHotGrowthGranularityMB,omitempty"`
// Recommended number of sockets for this guest.
- NumRecommendedPhysicalSockets int32 `xml:"numRecommendedPhysicalSockets,omitempty" json:"numRecommendedPhysicalSockets,omitempty" vim:"6.7"`
+ NumRecommendedPhysicalSockets int32 `xml:"numRecommendedPhysicalSockets,omitempty" json:"numRecommendedPhysicalSockets,omitempty"`
// Recommended number of cores per socket for this guest.
- NumRecommendedCoresPerSocket int32 `xml:"numRecommendedCoresPerSocket,omitempty" json:"numRecommendedCoresPerSocket,omitempty" vim:"6.7"`
+ NumRecommendedCoresPerSocket int32 `xml:"numRecommendedCoresPerSocket,omitempty" json:"numRecommendedCoresPerSocket,omitempty"`
// Support of Intel Virtualization Technology for Directed I/O.
- VvtdSupported *BoolOption `xml:"vvtdSupported,omitempty" json:"vvtdSupported,omitempty" vim:"6.7"`
+ VvtdSupported *BoolOption `xml:"vvtdSupported,omitempty" json:"vvtdSupported,omitempty"`
// Support of Virtualization-based security.
- VbsSupported *BoolOption `xml:"vbsSupported,omitempty" json:"vbsSupported,omitempty" vim:"6.7"`
+ VbsSupported *BoolOption `xml:"vbsSupported,omitempty" json:"vbsSupported,omitempty"`
// Support for Intel Software Guard Extensions
- VsgxSupported *BoolOption `xml:"vsgxSupported,omitempty" json:"vsgxSupported,omitempty" vim:"7.0"`
+ VsgxSupported *BoolOption `xml:"vsgxSupported,omitempty" json:"vsgxSupported,omitempty"`
// Support for Intel Software Guard Extensions remote attestation.
VsgxRemoteAttestationSupported *bool `xml:"vsgxRemoteAttestationSupported" json:"vsgxRemoteAttestationSupported,omitempty" vim:"8.0.0.1"`
// Support for TPM 2.0.
- SupportsTPM20 *bool `xml:"supportsTPM20" json:"supportsTPM20,omitempty" vim:"6.7"`
+ SupportsTPM20 *bool `xml:"supportsTPM20" json:"supportsTPM20,omitempty"`
// Support for default vTPM
RecommendedTPM20 *bool `xml:"recommendedTPM20" json:"recommendedTPM20,omitempty" vim:"8.0.0.1"`
// Support for Virtual Watchdog Timer.
- VwdtSupported *bool `xml:"vwdtSupported" json:"vwdtSupported,omitempty" vim:"7.0"`
+ VwdtSupported *bool `xml:"vwdtSupported" json:"vwdtSupported,omitempty"`
}
func init() {
@@ -32306,7 +32272,6 @@ type GuestPermissionDenied struct {
func init() {
t["GuestPermissionDenied"] = reflect.TypeOf((*GuestPermissionDenied)(nil)).Elem()
- minAPIVersionForType["GuestPermissionDenied"] = "5.0"
}
type GuestPermissionDeniedFault GuestPermissionDenied
@@ -32350,7 +32315,6 @@ type GuestPosixFileAttributes struct {
func init() {
t["GuestPosixFileAttributes"] = reflect.TypeOf((*GuestPosixFileAttributes)(nil)).Elem()
- minAPIVersionForType["GuestPosixFileAttributes"] = "5.0"
}
type GuestProcessInfo struct {
@@ -32393,7 +32357,6 @@ type GuestProcessNotFound struct {
func init() {
t["GuestProcessNotFound"] = reflect.TypeOf((*GuestProcessNotFound)(nil)).Elem()
- minAPIVersionForType["GuestProcessNotFound"] = "5.0"
}
type GuestProcessNotFoundFault GuestProcessNotFound
@@ -32457,7 +32420,6 @@ type GuestProgramSpec struct {
func init() {
t["GuestProgramSpec"] = reflect.TypeOf((*GuestProgramSpec)(nil)).Elem()
- minAPIVersionForType["GuestProgramSpec"] = "5.0"
}
// This describes the registry key name.
@@ -32472,7 +32434,6 @@ type GuestRegKeyNameSpec struct {
func init() {
t["GuestRegKeyNameSpec"] = reflect.TypeOf((*GuestRegKeyNameSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegKeyNameSpec"] = "6.0"
}
// This describes the registry key record.
@@ -32491,7 +32452,6 @@ type GuestRegKeyRecordSpec struct {
func init() {
t["GuestRegKeyRecordSpec"] = reflect.TypeOf((*GuestRegKeyRecordSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegKeyRecordSpec"] = "6.0"
}
// This describes the registry key.
@@ -32508,7 +32468,6 @@ type GuestRegKeySpec struct {
func init() {
t["GuestRegKeySpec"] = reflect.TypeOf((*GuestRegKeySpec)(nil)).Elem()
- minAPIVersionForType["GuestRegKeySpec"] = "6.0"
}
// This describes the registry value binary.
@@ -32524,7 +32483,6 @@ type GuestRegValueBinarySpec struct {
func init() {
t["GuestRegValueBinarySpec"] = reflect.TypeOf((*GuestRegValueBinarySpec)(nil)).Elem()
- minAPIVersionForType["GuestRegValueBinarySpec"] = "6.0"
}
// This describes the registry value data.
@@ -32534,7 +32492,6 @@ type GuestRegValueDataSpec struct {
func init() {
t["GuestRegValueDataSpec"] = reflect.TypeOf((*GuestRegValueDataSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegValueDataSpec"] = "6.0"
}
// This describes the registry value dword.
@@ -32547,7 +32504,6 @@ type GuestRegValueDwordSpec struct {
func init() {
t["GuestRegValueDwordSpec"] = reflect.TypeOf((*GuestRegValueDwordSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegValueDwordSpec"] = "6.0"
}
// This describes the registry value expand string.
@@ -32563,7 +32519,6 @@ type GuestRegValueExpandStringSpec struct {
func init() {
t["GuestRegValueExpandStringSpec"] = reflect.TypeOf((*GuestRegValueExpandStringSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegValueExpandStringSpec"] = "6.0"
}
// This describes the registry value multi string.
@@ -32579,7 +32534,6 @@ type GuestRegValueMultiStringSpec struct {
func init() {
t["GuestRegValueMultiStringSpec"] = reflect.TypeOf((*GuestRegValueMultiStringSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegValueMultiStringSpec"] = "6.0"
}
// This describes the registry value name.
@@ -32594,7 +32548,6 @@ type GuestRegValueNameSpec struct {
func init() {
t["GuestRegValueNameSpec"] = reflect.TypeOf((*GuestRegValueNameSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegValueNameSpec"] = "6.0"
}
// This describes the registry value qword.
@@ -32607,7 +32560,6 @@ type GuestRegValueQwordSpec struct {
func init() {
t["GuestRegValueQwordSpec"] = reflect.TypeOf((*GuestRegValueQwordSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegValueQwordSpec"] = "6.0"
}
// This describes the registry value.
@@ -32630,7 +32582,6 @@ type GuestRegValueSpec struct {
func init() {
t["GuestRegValueSpec"] = reflect.TypeOf((*GuestRegValueSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegValueSpec"] = "6.0"
}
// This describes the registry value string.
@@ -32646,7 +32597,6 @@ type GuestRegValueStringSpec struct {
func init() {
t["GuestRegValueStringSpec"] = reflect.TypeOf((*GuestRegValueStringSpec)(nil)).Elem()
- minAPIVersionForType["GuestRegValueStringSpec"] = "6.0"
}
// A GuestRegistryFault exception is thrown when an operation fails
@@ -32660,7 +32610,6 @@ type GuestRegistryFault struct {
func init() {
t["GuestRegistryFault"] = reflect.TypeOf((*GuestRegistryFault)(nil)).Elem()
- minAPIVersionForType["GuestRegistryFault"] = "6.0"
}
type GuestRegistryFaultFault BaseGuestRegistryFault
@@ -32677,7 +32626,6 @@ type GuestRegistryKeyAlreadyExists struct {
func init() {
t["GuestRegistryKeyAlreadyExists"] = reflect.TypeOf((*GuestRegistryKeyAlreadyExists)(nil)).Elem()
- minAPIVersionForType["GuestRegistryKeyAlreadyExists"] = "6.0"
}
type GuestRegistryKeyAlreadyExistsFault GuestRegistryKeyAlreadyExists
@@ -32697,7 +32645,6 @@ type GuestRegistryKeyFault struct {
func init() {
t["GuestRegistryKeyFault"] = reflect.TypeOf((*GuestRegistryKeyFault)(nil)).Elem()
- minAPIVersionForType["GuestRegistryKeyFault"] = "6.0"
}
type GuestRegistryKeyFaultFault BaseGuestRegistryKeyFault
@@ -32717,7 +32664,6 @@ type GuestRegistryKeyHasSubkeys struct {
func init() {
t["GuestRegistryKeyHasSubkeys"] = reflect.TypeOf((*GuestRegistryKeyHasSubkeys)(nil)).Elem()
- minAPIVersionForType["GuestRegistryKeyHasSubkeys"] = "6.0"
}
type GuestRegistryKeyHasSubkeysFault GuestRegistryKeyHasSubkeys
@@ -32735,7 +32681,6 @@ type GuestRegistryKeyInvalid struct {
func init() {
t["GuestRegistryKeyInvalid"] = reflect.TypeOf((*GuestRegistryKeyInvalid)(nil)).Elem()
- minAPIVersionForType["GuestRegistryKeyInvalid"] = "6.0"
}
type GuestRegistryKeyInvalidFault GuestRegistryKeyInvalid
@@ -32752,7 +32697,6 @@ type GuestRegistryKeyParentVolatile struct {
func init() {
t["GuestRegistryKeyParentVolatile"] = reflect.TypeOf((*GuestRegistryKeyParentVolatile)(nil)).Elem()
- minAPIVersionForType["GuestRegistryKeyParentVolatile"] = "6.0"
}
type GuestRegistryKeyParentVolatileFault GuestRegistryKeyParentVolatile
@@ -32774,7 +32718,6 @@ type GuestRegistryValueFault struct {
func init() {
t["GuestRegistryValueFault"] = reflect.TypeOf((*GuestRegistryValueFault)(nil)).Elem()
- minAPIVersionForType["GuestRegistryValueFault"] = "6.0"
}
type GuestRegistryValueFaultFault BaseGuestRegistryValueFault
@@ -32791,7 +32734,6 @@ type GuestRegistryValueNotFound struct {
func init() {
t["GuestRegistryValueNotFound"] = reflect.TypeOf((*GuestRegistryValueNotFound)(nil)).Elem()
- minAPIVersionForType["GuestRegistryValueNotFound"] = "6.0"
}
type GuestRegistryValueNotFoundFault GuestRegistryValueNotFound
@@ -32847,7 +32789,6 @@ type GuestStackInfo struct {
func init() {
t["GuestStackInfo"] = reflect.TypeOf((*GuestStackInfo)(nil)).Elem()
- minAPIVersionForType["GuestStackInfo"] = "4.1"
}
// Different attributes for a Windows guest file.
@@ -32883,7 +32824,6 @@ type GuestWindowsFileAttributes struct {
func init() {
t["GuestWindowsFileAttributes"] = reflect.TypeOf((*GuestWindowsFileAttributes)(nil)).Elem()
- minAPIVersionForType["GuestWindowsFileAttributes"] = "5.0"
}
// This describes the arguments to `GuestProcessManager.StartProgramInGuest` that apply
@@ -32897,7 +32837,6 @@ type GuestWindowsProgramSpec struct {
func init() {
t["GuestWindowsProgramSpec"] = reflect.TypeOf((*GuestWindowsProgramSpec)(nil)).Elem()
- minAPIVersionForType["GuestWindowsProgramSpec"] = "5.0"
}
// The destination compute resource is HA-enabled, and HA is not running
@@ -32914,7 +32853,6 @@ type HAErrorsAtDest struct {
func init() {
t["HAErrorsAtDest"] = reflect.TypeOf((*HAErrorsAtDest)(nil)).Elem()
- minAPIVersionForType["HAErrorsAtDest"] = "2.5"
}
type HAErrorsAtDestFault HAErrorsAtDest
@@ -33105,11 +33043,15 @@ type HbrDiskMigrationAction struct {
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
SpaceUtilDstAfter float32 `xml:"spaceUtilDstAfter,omitempty" json:"spaceUtilDstAfter,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// I/O latency on the source datastore before storage migration.
//
// Unit: millisecond.
// If not set, the value is not available.
IoLatencySrcBefore float32 `xml:"ioLatencySrcBefore,omitempty" json:"ioLatencySrcBefore,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// I/O latency on the destination datastore before storage migration.
//
// Unit: millisecond.
@@ -33119,7 +33061,6 @@ type HbrDiskMigrationAction struct {
func init() {
t["HbrDiskMigrationAction"] = reflect.TypeOf((*HbrDiskMigrationAction)(nil)).Elem()
- minAPIVersionForType["HbrDiskMigrationAction"] = "6.0"
}
// This data object represents the essential information about the
@@ -33152,7 +33093,6 @@ type HbrManagerReplicationVmInfo struct {
func init() {
t["HbrManagerReplicationVmInfo"] = reflect.TypeOf((*HbrManagerReplicationVmInfo)(nil)).Elem()
- minAPIVersionForType["HbrManagerReplicationVmInfo"] = "5.0"
}
// This data object represents the capabilities of a given
@@ -33160,6 +33100,7 @@ func init() {
type HbrManagerVmReplicationCapability struct {
DynamicData
+ // Refers instance of `VirtualMachine`.
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// A string representing the current `QuiesceMode_enum` of the virtual machine.
SupportedQuiesceMode string `xml:"supportedQuiesceMode" json:"supportedQuiesceMode"`
@@ -33182,7 +33123,6 @@ type HbrManagerVmReplicationCapability struct {
func init() {
t["HbrManagerVmReplicationCapability"] = reflect.TypeOf((*HbrManagerVmReplicationCapability)(nil)).Elem()
- minAPIVersionForType["HbrManagerVmReplicationCapability"] = "6.0"
}
// Event used to report change in health status of VirtualCenter components.
@@ -33198,12 +33138,11 @@ type HealthStatusChangedEvent struct {
// Component name.
ComponentName string `xml:"componentName" json:"componentName"`
// Service Id of component.
- ServiceId string `xml:"serviceId,omitempty" json:"serviceId,omitempty" vim:"6.0"`
+ ServiceId string `xml:"serviceId,omitempty" json:"serviceId,omitempty"`
}
func init() {
t["HealthStatusChangedEvent"] = reflect.TypeOf((*HealthStatusChangedEvent)(nil)).Elem()
- minAPIVersionForType["HealthStatusChangedEvent"] = "4.0"
}
// The system health runtime information
@@ -33218,7 +33157,6 @@ type HealthSystemRuntime struct {
func init() {
t["HealthSystemRuntime"] = reflect.TypeOf((*HealthSystemRuntime)(nil)).Elem()
- minAPIVersionForType["HealthSystemRuntime"] = "2.5"
}
type HealthUpdate struct {
@@ -33279,7 +33217,6 @@ type HeterogenousHostsBlockingEVC struct {
func init() {
t["HeterogenousHostsBlockingEVC"] = reflect.TypeOf((*HeterogenousHostsBlockingEVC)(nil)).Elem()
- minAPIVersionForType["HeterogenousHostsBlockingEVC"] = "2.5u2"
}
type HeterogenousHostsBlockingEVCFault HeterogenousHostsBlockingEVC
@@ -33305,7 +33242,6 @@ type HostAccessControlEntry struct {
func init() {
t["HostAccessControlEntry"] = reflect.TypeOf((*HostAccessControlEntry)(nil)).Elem()
- minAPIVersionForType["HostAccessControlEntry"] = "6.0"
}
// Fault thrown when an attempt is made to adjust resource settings
@@ -33326,7 +33262,6 @@ type HostAccessRestrictedToManagementServer struct {
func init() {
t["HostAccessRestrictedToManagementServer"] = reflect.TypeOf((*HostAccessRestrictedToManagementServer)(nil)).Elem()
- minAPIVersionForType["HostAccessRestrictedToManagementServer"] = "5.0"
}
type HostAccessRestrictedToManagementServerFault HostAccessRestrictedToManagementServer
@@ -33411,23 +33346,23 @@ type HostActiveDirectory struct {
//
// You can specify
// the following values:
- // - `add`:
- // Add the host to the domain. The ESX Server will use the
- // `HostActiveDirectorySpec` information
- // (domain, account user name and password) to call
- // `HostActiveDirectoryAuthentication.JoinDomain_Task` and optionally
- // configure smart card authentication by calling
- // `HostActiveDirectoryAuthentication.DisableSmartCardAuthentication`
- // and replacing the trust anchors with those provided.
- // - `remove`:
- // Remove the host from its current domain.
- // The ESX Server will call
- // `HostActiveDirectoryAuthentication.LeaveCurrentDomain_Task`, specifying
- // True
for the force
parameter to delete
- // existing permissions.
- // `HostActiveDirectoryAuthentication.DisableSmartCardAuthentication`
- // is also called if smart card authentication is enabled and trust
- // anchors are removed.
+ // - `add`:
+ // Add the host to the domain. The ESX Server will use the
+ // `HostActiveDirectorySpec` information
+ // (domain, account user name and password) to call
+ // `HostActiveDirectoryAuthentication.JoinDomain_Task` and optionally
+ // configure smart card authentication by calling
+ // `HostActiveDirectoryAuthentication.DisableSmartCardAuthentication`
+ // and replacing the trust anchors with those provided.
+ // - `remove`:
+ // Remove the host from its current domain.
+ // The ESX Server will call
+ // `HostActiveDirectoryAuthentication.LeaveCurrentDomain_Task`, specifying
+ // True
for the force
parameter to delete
+ // existing permissions.
+ // `HostActiveDirectoryAuthentication.DisableSmartCardAuthentication`
+ // is also called if smart card authentication is enabled and trust
+ // anchors are removed.
//
// See also `HostConfigChangeOperation_enum`.
ChangeOperation string `xml:"changeOperation" json:"changeOperation"`
@@ -33438,7 +33373,6 @@ type HostActiveDirectory struct {
func init() {
t["HostActiveDirectory"] = reflect.TypeOf((*HostActiveDirectory)(nil)).Elem()
- minAPIVersionForType["HostActiveDirectory"] = "4.1"
}
// The `HostActiveDirectoryInfo` data object describes ESX host
@@ -33462,13 +33396,14 @@ type HostActiveDirectoryInfo struct {
//
// See `HostActiveDirectoryInfoDomainMembershipStatus_enum`.
DomainMembershipStatus string `xml:"domainMembershipStatus,omitempty" json:"domainMembershipStatus,omitempty"`
+ // Deprecated as of vSphere API 8.0U3, and there is no replacement for it.
+ //
// Whether local smart card authentication is enabled.
- SmartCardAuthenticationEnabled *bool `xml:"smartCardAuthenticationEnabled" json:"smartCardAuthenticationEnabled,omitempty" vim:"6.0"`
+ SmartCardAuthenticationEnabled *bool `xml:"smartCardAuthenticationEnabled" json:"smartCardAuthenticationEnabled,omitempty"`
}
func init() {
t["HostActiveDirectoryInfo"] = reflect.TypeOf((*HostActiveDirectoryInfo)(nil)).Elem()
- minAPIVersionForType["HostActiveDirectoryInfo"] = "4.1"
}
// The `HostActiveDirectorySpec` data object defines
@@ -33486,18 +33421,28 @@ type HostActiveDirectorySpec struct {
// If set, the CAM server will be used to join the domain
// and the userName
and password
fields
// will be ignored.
- CamServer string `xml:"camServer,omitempty" json:"camServer,omitempty" vim:"5.0"`
+ CamServer string `xml:"camServer,omitempty" json:"camServer,omitempty"`
// Thumbprint for the SSL certficate of CAM server
- Thumbprint string `xml:"thumbprint,omitempty" json:"thumbprint,omitempty" vim:"5.0"`
+ Thumbprint string `xml:"thumbprint,omitempty" json:"thumbprint,omitempty"`
+ // PEM-encoded certificate of the CAM server
+ // This field replaces `HostActiveDirectorySpec.thumbprint`.
+ //
+ // If both `HostActiveDirectorySpec.thumbprint`
+ // and `HostActiveDirectorySpec.certificate` fields are set, the `HostActiveDirectorySpec.thumbprint`
+ // should match the `HostActiveDirectorySpec.certificate`.
+ Certificate string `xml:"certificate,omitempty" json:"certificate,omitempty" vim:"8.0.3.0"`
+ // Deprecated as of vSphere API 8.0U3, and there is no replacement for it.
+ //
// Support smart card authentication of local users.
- SmartCardAuthenticationEnabled *bool `xml:"smartCardAuthenticationEnabled" json:"smartCardAuthenticationEnabled,omitempty" vim:"6.0"`
+ SmartCardAuthenticationEnabled *bool `xml:"smartCardAuthenticationEnabled" json:"smartCardAuthenticationEnabled,omitempty"`
+ // Deprecated as of vSphere API 8.0U3, and there is no replacement for it.
+ //
// Trusted root certificates for smart cards.
- SmartCardTrustAnchors []string `xml:"smartCardTrustAnchors,omitempty" json:"smartCardTrustAnchors,omitempty" vim:"6.0"`
+ SmartCardTrustAnchors []string `xml:"smartCardTrustAnchors,omitempty" json:"smartCardTrustAnchors,omitempty"`
}
func init() {
t["HostActiveDirectorySpec"] = reflect.TypeOf((*HostActiveDirectorySpec)(nil)).Elem()
- minAPIVersionForType["HostActiveDirectorySpec"] = "4.1"
}
// This event records that adding a host failed.
@@ -33529,7 +33474,6 @@ type HostAdminDisableEvent struct {
func init() {
t["HostAdminDisableEvent"] = reflect.TypeOf((*HostAdminDisableEvent)(nil)).Elem()
- minAPIVersionForType["HostAdminDisableEvent"] = "2.5"
}
// This event records that the administrator permission has been restored.
@@ -33539,7 +33483,6 @@ type HostAdminEnableEvent struct {
func init() {
t["HostAdminEnableEvent"] = reflect.TypeOf((*HostAdminEnableEvent)(nil)).Elem()
- minAPIVersionForType["HostAdminEnableEvent"] = "2.5"
}
// The `HostApplyProfile` data object provides access to subprofiles
@@ -33588,12 +33531,11 @@ type HostApplyProfile struct {
// in the list.
UsergroupAccount []UserGroupProfile `xml:"usergroupAccount,omitempty" json:"usergroupAccount,omitempty"`
// Authentication Configuration.
- Authentication *AuthenticationProfile `xml:"authentication,omitempty" json:"authentication,omitempty" vim:"4.1"`
+ Authentication *AuthenticationProfile `xml:"authentication,omitempty" json:"authentication,omitempty"`
}
func init() {
t["HostApplyProfile"] = reflect.TypeOf((*HostApplyProfile)(nil)).Elem()
- minAPIVersionForType["HostApplyProfile"] = "4.0"
}
// Data object indicating a device instance has been allocated to a VM.
@@ -33610,7 +33552,6 @@ type HostAssignableHardwareBinding struct {
func init() {
t["HostAssignableHardwareBinding"] = reflect.TypeOf((*HostAssignableHardwareBinding)(nil)).Elem()
- minAPIVersionForType["HostAssignableHardwareBinding"] = "7.0"
}
// The AssignableHardwareConfig data object describes properties
@@ -33624,7 +33565,6 @@ type HostAssignableHardwareConfig struct {
func init() {
t["HostAssignableHardwareConfig"] = reflect.TypeOf((*HostAssignableHardwareConfig)(nil)).Elem()
- minAPIVersionForType["HostAssignableHardwareConfig"] = "7.0"
}
// An AttributeOverride provides a name-value pair that overrides
@@ -33655,7 +33595,6 @@ type HostAssignableHardwareConfigAttributeOverride struct {
func init() {
t["HostAssignableHardwareConfigAttributeOverride"] = reflect.TypeOf((*HostAssignableHardwareConfigAttributeOverride)(nil)).Elem()
- minAPIVersionForType["HostAssignableHardwareConfigAttributeOverride"] = "7.0"
}
// The `HostAuthenticationManagerInfo` data object provides
@@ -33665,16 +33604,15 @@ type HostAuthenticationManagerInfo struct {
// An array containing entries for local authentication and host
// Active Directory authentication.
- // - `HostLocalAuthenticationInfo` - Local authentication is always enabled.
- // - `HostActiveDirectoryInfo` - Host Active Directory authentication information
- // includes the name of the domain, membership status,
- // and a list of other domains trusted by the membership domain.
+ // - `HostLocalAuthenticationInfo` - Local authentication is always enabled.
+ // - `HostActiveDirectoryInfo` - Host Active Directory authentication information
+ // includes the name of the domain, membership status,
+ // and a list of other domains trusted by the membership domain.
AuthConfig []BaseHostAuthenticationStoreInfo `xml:"authConfig,typeattr" json:"authConfig"`
}
func init() {
t["HostAuthenticationManagerInfo"] = reflect.TypeOf((*HostAuthenticationManagerInfo)(nil)).Elem()
- minAPIVersionForType["HostAuthenticationManagerInfo"] = "4.1"
}
// The `HostAuthenticationStoreInfo` base class defines status information
@@ -33683,15 +33621,14 @@ type HostAuthenticationStoreInfo struct {
DynamicData
// Indicates whether the authentication store is configured.
- // - Host Active Directory authentication - enabled
- // is True
if the host is a member of a domain.
- // - Local authentication - enabled
is always True
.
+ // - Host Active Directory authentication - enabled
+ // is True
if the host is a member of a domain.
+ // - Local authentication - enabled
is always True
.
Enabled bool `xml:"enabled" json:"enabled"`
}
func init() {
t["HostAuthenticationStoreInfo"] = reflect.TypeOf((*HostAuthenticationStoreInfo)(nil)).Elem()
- minAPIVersionForType["HostAuthenticationStoreInfo"] = "4.1"
}
// Contains the entire auto-start/auto-stop configuration.
@@ -33720,14 +33657,14 @@ type HostBIOSInfo struct {
// The release date for the BIOS.
ReleaseDate *time.Time `xml:"releaseDate" json:"releaseDate,omitempty"`
// The vendor for the BIOS.
- Vendor string `xml:"vendor,omitempty" json:"vendor,omitempty" vim:"6.5"`
+ Vendor string `xml:"vendor,omitempty" json:"vendor,omitempty"`
// BIOS Major Release
- MajorRelease int32 `xml:"majorRelease,omitempty" json:"majorRelease,omitempty" vim:"6.5"`
+ MajorRelease int32 `xml:"majorRelease,omitempty" json:"majorRelease,omitempty"`
// "BIOS Minor Release
- MinorRelease int32 `xml:"minorRelease,omitempty" json:"minorRelease,omitempty" vim:"6.5"`
+ MinorRelease int32 `xml:"minorRelease,omitempty" json:"minorRelease,omitempty"`
FirmwareMajorRelease int32 `xml:"firmwareMajorRelease,omitempty" json:"firmwareMajorRelease,omitempty"`
// Embedded Controller Firmware Minor Release
- FirmwareMinorRelease int32 `xml:"firmwareMinorRelease,omitempty" json:"firmwareMinorRelease,omitempty" vim:"6.5"`
+ FirmwareMinorRelease int32 `xml:"firmwareMinorRelease,omitempty" json:"firmwareMinorRelease,omitempty"`
// Firmware Type of the host.
//
// The set of supported values is described
@@ -33770,7 +33707,6 @@ type HostBootDevice struct {
func init() {
t["HostBootDevice"] = reflect.TypeOf((*HostBootDevice)(nil)).Elem()
- minAPIVersionForType["HostBootDevice"] = "2.5"
}
// This data object represents the boot device information of the host.
@@ -33788,7 +33724,6 @@ type HostBootDeviceInfo struct {
func init() {
t["HostBootDeviceInfo"] = reflect.TypeOf((*HostBootDeviceInfo)(nil)).Elem()
- minAPIVersionForType["HostBootDeviceInfo"] = "2.5"
}
// Host solid state drive cache configuration information.
@@ -33806,7 +33741,6 @@ type HostCacheConfigurationInfo struct {
func init() {
t["HostCacheConfigurationInfo"] = reflect.TypeOf((*HostCacheConfigurationInfo)(nil)).Elem()
- minAPIVersionForType["HostCacheConfigurationInfo"] = "5.0"
}
// Host cache configuration specification.
@@ -33827,7 +33761,6 @@ type HostCacheConfigurationSpec struct {
func init() {
t["HostCacheConfigurationSpec"] = reflect.TypeOf((*HostCacheConfigurationSpec)(nil)).Elem()
- minAPIVersionForType["HostCacheConfigurationSpec"] = "5.0"
}
// Specifies the capabilities of the particular host.
@@ -33847,7 +33780,7 @@ type HostCapability struct {
// `ResourcePool.UpdateConfig`,
// `ResourcePool.UpdateChildResourceConfiguration`
// cannot be used for changing the cpu/memory resource configurations.
- CpuMemoryResourceConfigurationSupported bool `xml:"cpuMemoryResourceConfigurationSupported" json:"cpuMemoryResourceConfigurationSupported" vim:"2.5"`
+ CpuMemoryResourceConfigurationSupported bool `xml:"cpuMemoryResourceConfigurationSupported" json:"cpuMemoryResourceConfigurationSupported"`
// Flag indicating whether rebooting the host is supported.
RebootSupported bool `xml:"rebootSupported" json:"rebootSupported"`
// Flag indicating whether the host can be powered off
@@ -33856,12 +33789,12 @@ type HostCapability struct {
VmotionSupported bool `xml:"vmotionSupported" json:"vmotionSupported"`
// Flag indicating whether you can put the host in a power down
// state, from which it can be powered up automatically.
- StandbySupported bool `xml:"standbySupported" json:"standbySupported" vim:"2.5"`
+ StandbySupported bool `xml:"standbySupported" json:"standbySupported"`
// Flag indicating whether the host supports
// IPMI (Intelligent Platform Management Interface).
//
// XXX - Make ipmiSupported optional until there is a compatible hostagent.
- IpmiSupported *bool `xml:"ipmiSupported" json:"ipmiSupported,omitempty" vim:"4.0"`
+ IpmiSupported *bool `xml:"ipmiSupported" json:"ipmiSupported,omitempty"`
// The maximum number of virtual machines that can exist on this host.
//
// If this capability is not set, the number of virtual machines is
@@ -33885,7 +33818,7 @@ type HostCapability struct {
// `HostSystem` in this case.
//
// If this capability is not set, the number is unknown.
- MaxRegisteredVMs int32 `xml:"maxRegisteredVMs,omitempty" json:"maxRegisteredVMs,omitempty" vim:"5.1"`
+ MaxRegisteredVMs int32 `xml:"maxRegisteredVMs,omitempty" json:"maxRegisteredVMs,omitempty"`
// Flag indicating whether datastore principal user
// is supported on the host.
DatastorePrincipalSupported bool `xml:"datastorePrincipalSupported" json:"datastorePrincipalSupported"`
@@ -33921,22 +33854,22 @@ type HostCapability struct {
// after the relocate.
// 3\) The source and destination hosts are the same product
// version.
- RestrictedSnapshotRelocateSupported bool `xml:"restrictedSnapshotRelocateSupported" json:"restrictedSnapshotRelocateSupported" vim:"2.5"`
+ RestrictedSnapshotRelocateSupported bool `xml:"restrictedSnapshotRelocateSupported" json:"restrictedSnapshotRelocateSupported"`
// Flag indicating whether virtual machine execution on this host involves
// a swapfile for each virtual machine.
//
// If true, the swapfile placement
// for a powered-on virtual machine is advertised in its FileLayout by
// the `swapFile` property.
- PerVmSwapFiles bool `xml:"perVmSwapFiles" json:"perVmSwapFiles" vim:"2.5"`
+ PerVmSwapFiles bool `xml:"perVmSwapFiles" json:"perVmSwapFiles"`
// Flag indicating whether the host supports selecting a datastore that
// that may be used to store virtual machine swapfiles.
- LocalSwapDatastoreSupported bool `xml:"localSwapDatastoreSupported" json:"localSwapDatastoreSupported" vim:"2.5"`
+ LocalSwapDatastoreSupported bool `xml:"localSwapDatastoreSupported" json:"localSwapDatastoreSupported"`
// Flag indicating whether the host supports participating in a VMotion
// where the virtual machine swapfile is not visible to the destination.
- UnsharedSwapVMotionSupported bool `xml:"unsharedSwapVMotionSupported" json:"unsharedSwapVMotionSupported" vim:"2.5"`
+ UnsharedSwapVMotionSupported bool `xml:"unsharedSwapVMotionSupported" json:"unsharedSwapVMotionSupported"`
// Flag indicating whether background snapshots are supported on this host.
- BackgroundSnapshotsSupported bool `xml:"backgroundSnapshotsSupported" json:"backgroundSnapshotsSupported" vim:"2.5"`
+ BackgroundSnapshotsSupported bool `xml:"backgroundSnapshotsSupported" json:"backgroundSnapshotsSupported"`
// Flag to indicate whether the server returns unit numbers in a
// pre-assigned range for devices on the PCI bus.
//
@@ -33951,7 +33884,7 @@ type HostCapability struct {
// between devices of the same type.
// `VirtualDevice.unitNumber`
// This property is only available for devices on the pci controller.
- PreAssignedPCIUnitNumbersSupported bool `xml:"preAssignedPCIUnitNumbersSupported" json:"preAssignedPCIUnitNumbersSupported" vim:"2.5"`
+ PreAssignedPCIUnitNumbersSupported bool `xml:"preAssignedPCIUnitNumbersSupported" json:"preAssignedPCIUnitNumbersSupported"`
// Indicates whether the screenshot retrival over https is supported for this host's
// virtual machines.
//
@@ -33964,43 +33897,43 @@ type HostCapability struct {
// The client must use an authenticated session with privilege
// VirtualMachine.Interact.ConsoleInteract on the requested virtual machine or,
// in the case of a snapshot, the virtual machine associated with that snapshot.
- ScreenshotSupported bool `xml:"screenshotSupported" json:"screenshotSupported" vim:"2.5"`
+ ScreenshotSupported bool `xml:"screenshotSupported" json:"screenshotSupported"`
// Indicates whether scaling is supported for screenshots retrieved over https.
//
// If true, screenshot retrieval supports the additional optional
// parameters 'width' and 'height'. After cropping, the returned image will be scaled
// to these dimensions. If only one of these parameters is specified, default behavior
// is to return an image roughly proportional to the source image.
- ScaledScreenshotSupported bool `xml:"scaledScreenshotSupported" json:"scaledScreenshotSupported" vim:"2.5"`
+ ScaledScreenshotSupported bool `xml:"scaledScreenshotSupported" json:"scaledScreenshotSupported"`
// Indicates whether the storage of a powered-on virtual machine may be
// relocated.
- StorageVMotionSupported *bool `xml:"storageVMotionSupported" json:"storageVMotionSupported,omitempty" vim:"4.0"`
+ StorageVMotionSupported *bool `xml:"storageVMotionSupported" json:"storageVMotionSupported,omitempty"`
// Indicates whether the storage of a powered-on virtual machine may be
// relocated while simultaneously changing the execution host of the
// virtual machine.
- VmotionWithStorageVMotionSupported *bool `xml:"vmotionWithStorageVMotionSupported" json:"vmotionWithStorageVMotionSupported,omitempty" vim:"4.0"`
+ VmotionWithStorageVMotionSupported *bool `xml:"vmotionWithStorageVMotionSupported" json:"vmotionWithStorageVMotionSupported,omitempty"`
// Indicates whether the network of a powered-on virtual machine can be
// changed while simultaneously changing the execution host of the
// virtual machine.
- VmotionAcrossNetworkSupported *bool `xml:"vmotionAcrossNetworkSupported" json:"vmotionAcrossNetworkSupported,omitempty" vim:"5.5"`
+ VmotionAcrossNetworkSupported *bool `xml:"vmotionAcrossNetworkSupported" json:"vmotionAcrossNetworkSupported,omitempty"`
// Maximum number of migrating disks allowed of a migrating VM during SVMotion.
//
// If this capability is not set, then the maximum is considered to be 64.
- MaxNumDisksSVMotion int32 `xml:"maxNumDisksSVMotion,omitempty" json:"maxNumDisksSVMotion,omitempty" vim:"6.0"`
+ MaxNumDisksSVMotion int32 `xml:"maxNumDisksSVMotion,omitempty" json:"maxNumDisksSVMotion,omitempty"`
// Maximum version of vDiskVersion supported by this host.
//
// If this capability is not set, then the maximum is considered to be 6.
MaxVirtualDiskDescVersionSupported int32 `xml:"maxVirtualDiskDescVersionSupported,omitempty" json:"maxVirtualDiskDescVersionSupported,omitempty" vim:"8.0.1.0"`
// Indicates whether a dedicated nic can be selected for vSphere Replication
// LWD traffic, i.e., from the primary host to the VR server.
- HbrNicSelectionSupported *bool `xml:"hbrNicSelectionSupported" json:"hbrNicSelectionSupported,omitempty" vim:"5.1"`
+ HbrNicSelectionSupported *bool `xml:"hbrNicSelectionSupported" json:"hbrNicSelectionSupported,omitempty"`
// Indicates whether a dedicated nic can be selected for vSphere Replication
// NFC traffic, i.e., from the VR server to the secondary host.
- VrNfcNicSelectionSupported *bool `xml:"vrNfcNicSelectionSupported" json:"vrNfcNicSelectionSupported,omitempty" vim:"6.0"`
+ VrNfcNicSelectionSupported *bool `xml:"vrNfcNicSelectionSupported" json:"vrNfcNicSelectionSupported,omitempty"`
// Deprecated as of vSphere API 6.0.
//
// Indicates whether this host supports record and replay
- RecordReplaySupported *bool `xml:"recordReplaySupported" json:"recordReplaySupported,omitempty" vim:"4.0"`
+ RecordReplaySupported *bool `xml:"recordReplaySupported" json:"recordReplaySupported,omitempty"`
// Deprecated as of vSphere API 6.0.
//
// Indicates whether this host supports Fault Tolerance
@@ -34021,7 +33954,7 @@ type HostCapability struct {
// contain values for this property when some other property on the DataObject changes.
// If this update is a result of a call to WaitForUpdatesEx with a non-empty
// version parameter, the value for this property may not be current.
- FtSupported *bool `xml:"ftSupported" json:"ftSupported,omitempty" vim:"4.0"`
+ FtSupported *bool `xml:"ftSupported" json:"ftSupported,omitempty"`
// Deprecated as of vSphere API 4.1, use
// `HostCapability.replayCompatibilityIssues`.
//
@@ -34030,7 +33963,7 @@ type HostCapability struct {
//
// `HostReplayUnsupportedReason_enum`
// represents the set of possible values.
- ReplayUnsupportedReason string `xml:"replayUnsupportedReason,omitempty" json:"replayUnsupportedReason,omitempty" vim:"4.0"`
+ ReplayUnsupportedReason string `xml:"replayUnsupportedReason,omitempty" json:"replayUnsupportedReason,omitempty"`
// Deprecated as of vSphere API 6.0.
//
// For a host which doesn't support replay, indicates all the reasons
@@ -34038,9 +33971,9 @@ type HostCapability struct {
//
// `HostReplayUnsupportedReason_enum`
// lists the set of possible values.
- ReplayCompatibilityIssues []string `xml:"replayCompatibilityIssues,omitempty" json:"replayCompatibilityIssues,omitempty" vim:"4.1"`
+ ReplayCompatibilityIssues []string `xml:"replayCompatibilityIssues,omitempty" json:"replayCompatibilityIssues,omitempty"`
// Indicates whether this host supports smp fault tolerance
- SmpFtSupported *bool `xml:"smpFtSupported" json:"smpFtSupported,omitempty" vim:"6.0"`
+ SmpFtSupported *bool `xml:"smpFtSupported" json:"smpFtSupported,omitempty"`
// Deprecated as of vSphere API 6.0.
//
// For a host which doesn't support Fault Tolerance, indicates all the reasons
@@ -34048,17 +33981,17 @@ type HostCapability struct {
//
// `HostCapabilityFtUnsupportedReason_enum`
// lists the set of possible values.
- FtCompatibilityIssues []string `xml:"ftCompatibilityIssues,omitempty" json:"ftCompatibilityIssues,omitempty" vim:"4.1"`
+ FtCompatibilityIssues []string `xml:"ftCompatibilityIssues,omitempty" json:"ftCompatibilityIssues,omitempty"`
// For a host which doesn't support smp fault tolerance, indicates all the
// reasons for the incompatibility.
//
// `HostCapabilityFtUnsupportedReason_enum` lists the set of possible
// values.
- SmpFtCompatibilityIssues []string `xml:"smpFtCompatibilityIssues,omitempty" json:"smpFtCompatibilityIssues,omitempty" vim:"6.0"`
+ SmpFtCompatibilityIssues []string `xml:"smpFtCompatibilityIssues,omitempty" json:"smpFtCompatibilityIssues,omitempty"`
// The maximum number of vCPUs allowed for a fault-tolerant virtual machine.
- MaxVcpusPerFtVm int32 `xml:"maxVcpusPerFtVm,omitempty" json:"maxVcpusPerFtVm,omitempty" vim:"6.0"`
+ MaxVcpusPerFtVm int32 `xml:"maxVcpusPerFtVm,omitempty" json:"maxVcpusPerFtVm,omitempty"`
// Flag indicating whether this host supports SSL thumbprint authentication
- LoginBySSLThumbprintSupported *bool `xml:"loginBySSLThumbprintSupported" json:"loginBySSLThumbprintSupported,omitempty" vim:"4.0"`
+ LoginBySSLThumbprintSupported *bool `xml:"loginBySSLThumbprintSupported" json:"loginBySSLThumbprintSupported,omitempty"`
// Indicates whether or not cloning a virtual machine from a snapshot
// point is allowed.
//
@@ -34067,7 +34000,7 @@ type HostCapability struct {
// destination host for the clone.
//
// See also `VirtualMachineCloneSpec.snapshot`.
- CloneFromSnapshotSupported *bool `xml:"cloneFromSnapshotSupported" json:"cloneFromSnapshotSupported,omitempty" vim:"4.0"`
+ CloneFromSnapshotSupported *bool `xml:"cloneFromSnapshotSupported" json:"cloneFromSnapshotSupported,omitempty"`
// Flag indicating whether explicitly creating arbirary configurations of
// delta disk backings is supported.
//
@@ -34088,17 +34021,20 @@ type HostCapability struct {
// virtual machines will not affect the operation of the other virtual machine.
//
// See also `VirtualDiskSparseVer1BackingInfo.parent`, `VirtualDiskSparseVer2BackingInfo.parent`, `VirtualDiskFlatVer1BackingInfo.parent`, `VirtualDiskFlatVer2BackingInfo.parent`, `VirtualDiskRawDiskMappingVer1BackingInfo.parent`, `VirtualMachine.PromoteDisks_Task`, `VirtualMachineRelocateSpec.diskMoveType`, `VirtualMachineRelocateSpecDiskLocator.diskMoveType`.
- DeltaDiskBackingsSupported *bool `xml:"deltaDiskBackingsSupported" json:"deltaDiskBackingsSupported,omitempty" vim:"4.0"`
+ DeltaDiskBackingsSupported *bool `xml:"deltaDiskBackingsSupported" json:"deltaDiskBackingsSupported,omitempty"`
// Indicates whether network traffic shaping on a
// per virtual machine basis is supported.
- PerVMNetworkTrafficShapingSupported *bool `xml:"perVMNetworkTrafficShapingSupported" json:"perVMNetworkTrafficShapingSupported,omitempty" vim:"2.5 U2"`
+ PerVMNetworkTrafficShapingSupported *bool `xml:"perVMNetworkTrafficShapingSupported" json:"perVMNetworkTrafficShapingSupported,omitempty"`
// Flag indicating whether this host supports the integrity measurement using
// a TPM device.
- TpmSupported *bool `xml:"tpmSupported" json:"tpmSupported,omitempty" vim:"4.0"`
+ TpmSupported *bool `xml:"tpmSupported" json:"tpmSupported,omitempty"`
// TPM version if supported by this host.
- TpmVersion string `xml:"tpmVersion,omitempty" json:"tpmVersion,omitempty" vim:"6.7"`
+ TpmVersion string `xml:"tpmVersion,omitempty" json:"tpmVersion,omitempty"`
// Flag indicating whether Intel TXT is enabled on this host.
- TxtEnabled *bool `xml:"txtEnabled" json:"txtEnabled,omitempty" vim:"6.7"`
+ //
+ // TPM attestation may be used to definitively determine the Intel TXT
+ // Measured Launch Environment (MLE) details.
+ TxtEnabled *bool `xml:"txtEnabled" json:"txtEnabled,omitempty"`
// Deprecated as of vSphere API 6.5 use
// `featureCapability`.
//
@@ -34109,13 +34045,15 @@ type HostCapability struct {
// licensing. For any feature marked '-', reference the
// `cpuFeature` array of the host's
// HardwareInfo to determine the correct value.
- SupportedCpuFeature []HostCpuIdInfo `xml:"supportedCpuFeature,omitempty" json:"supportedCpuFeature,omitempty" vim:"4.0"`
+ SupportedCpuFeature []HostCpuIdInfo `xml:"supportedCpuFeature,omitempty" json:"supportedCpuFeature,omitempty"`
// Indicates whether the host supports configuring hardware
// virtualization (HV) support for virtual machines.
- VirtualExecUsageSupported *bool `xml:"virtualExecUsageSupported" json:"virtualExecUsageSupported,omitempty" vim:"4.0"`
+ VirtualExecUsageSupported *bool `xml:"virtualExecUsageSupported" json:"virtualExecUsageSupported,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Indicates whether the host supports storage I/O resource
// management.
- StorageIORMSupported *bool `xml:"storageIORMSupported" json:"storageIORMSupported,omitempty" vim:"4.1"`
+ StorageIORMSupported *bool `xml:"storageIORMSupported" json:"storageIORMSupported,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and
// there is no replacement.
//
@@ -34129,7 +34067,7 @@ type HostCapability struct {
// `HostCapability.vmDirectPathGen2UnsupportedReasonExtended`.
//
// See also `PhysicalNic.vmDirectPathGen2Supported`.
- VmDirectPathGen2Supported *bool `xml:"vmDirectPathGen2Supported" json:"vmDirectPathGen2Supported,omitempty" vim:"4.1"`
+ VmDirectPathGen2Supported *bool `xml:"vmDirectPathGen2Supported" json:"vmDirectPathGen2Supported,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and
// there is no replacement.
//
@@ -34147,19 +34085,19 @@ type HostCapability struct {
// If the reason "hostNptIncompatibleProduct" is provided, then that will
// be the only provided reason, as the host software is incapable of
// providing additional information.
- VmDirectPathGen2UnsupportedReason []string `xml:"vmDirectPathGen2UnsupportedReason,omitempty" json:"vmDirectPathGen2UnsupportedReason,omitempty" vim:"4.1"`
+ VmDirectPathGen2UnsupportedReason []string `xml:"vmDirectPathGen2UnsupportedReason,omitempty" json:"vmDirectPathGen2UnsupportedReason,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and
// there is no replacement.
//
// If `HostCapability.vmDirectPathGen2Supported` is false, this property may
// contain an explanation provided by the platform, beyond the reasons (if
// any) enumerated in `HostCapability.vmDirectPathGen2UnsupportedReason`.
- VmDirectPathGen2UnsupportedReasonExtended string `xml:"vmDirectPathGen2UnsupportedReasonExtended,omitempty" json:"vmDirectPathGen2UnsupportedReasonExtended,omitempty" vim:"4.1"`
+ VmDirectPathGen2UnsupportedReasonExtended string `xml:"vmDirectPathGen2UnsupportedReasonExtended,omitempty" json:"vmDirectPathGen2UnsupportedReasonExtended,omitempty"`
// List of VMFS major versions supported by the host.
- SupportedVmfsMajorVersion []int32 `xml:"supportedVmfsMajorVersion,omitempty" json:"supportedVmfsMajorVersion,omitempty" vim:"5.0"`
+ SupportedVmfsMajorVersion []int32 `xml:"supportedVmfsMajorVersion,omitempty" json:"supportedVmfsMajorVersion,omitempty"`
// Indicates whether the host supports vStorage Hardware
// acceleration.
- VStorageCapable *bool `xml:"vStorageCapable" json:"vStorageCapable,omitempty" vim:"4.1"`
+ VStorageCapable *bool `xml:"vStorageCapable" json:"vStorageCapable,omitempty"`
// Indicates whether this host supports unrestricted relocation of virtual
// machines with snapshots.
//
@@ -34168,20 +34106,20 @@ type HostCapability struct {
// restrict the layout of snapshot files or disks of the virtual machine, nor
// its power state. If the virtual machine is powered on, a storage vmotion
// will be performed to relocate its snapshots and disks.
- SnapshotRelayoutSupported *bool `xml:"snapshotRelayoutSupported" json:"snapshotRelayoutSupported,omitempty" vim:"5.0"`
+ SnapshotRelayoutSupported *bool `xml:"snapshotRelayoutSupported" json:"snapshotRelayoutSupported,omitempty"`
// Indicates whether this host supports ip address based restrictions in
// the firewall configuration.
- FirewallIpRulesSupported *bool `xml:"firewallIpRulesSupported" json:"firewallIpRulesSupported,omitempty" vim:"5.0"`
+ FirewallIpRulesSupported *bool `xml:"firewallIpRulesSupported" json:"firewallIpRulesSupported,omitempty"`
// Indicates whether this host supports package information in service
// configuration.
- ServicePackageInfoSupported *bool `xml:"servicePackageInfoSupported" json:"servicePackageInfoSupported,omitempty" vim:"5.0"`
+ ServicePackageInfoSupported *bool `xml:"servicePackageInfoSupported" json:"servicePackageInfoSupported,omitempty"`
// The maximum number of virtual machines that can be run on the host.
//
// An unset value indicates that the value could not be obtained. In contrast
// to `HostCapability.maxRunningVMs`, this value is the minimum of (i) the maximum
// number supported by the hardware and (ii) the maximum number permitted by
// the host license.
- MaxHostRunningVms int32 `xml:"maxHostRunningVms,omitempty" json:"maxHostRunningVms,omitempty" vim:"5.0"`
+ MaxHostRunningVms int32 `xml:"maxHostRunningVms,omitempty" json:"maxHostRunningVms,omitempty"`
// The maximum number of virtual CPUs that can be run on the host.
//
// An unset
@@ -34189,201 +34127,203 @@ type HostCapability struct {
// `HostCapability.maxSupportedVcpus`, this value is the minimum of (i) the maximum
// number supported by the hardware and (ii) the maximum number permitted by
// the host license.
- MaxHostSupportedVcpus int32 `xml:"maxHostSupportedVcpus,omitempty" json:"maxHostSupportedVcpus,omitempty" vim:"5.0"`
+ MaxHostSupportedVcpus int32 `xml:"maxHostSupportedVcpus,omitempty" json:"maxHostSupportedVcpus,omitempty"`
// Indicates whether the host is capable of mounting/unmounting
// VMFS datastores.
- VmfsDatastoreMountCapable *bool `xml:"vmfsDatastoreMountCapable" json:"vmfsDatastoreMountCapable,omitempty" vim:"5.0"`
+ VmfsDatastoreMountCapable *bool `xml:"vmfsDatastoreMountCapable" json:"vmfsDatastoreMountCapable,omitempty"`
// Indicates whether the host is capable of accessing a VMFS disk
// when there are eight or more hosts accessing the disk already.
- EightPlusHostVmfsSharedAccessSupported *bool `xml:"eightPlusHostVmfsSharedAccessSupported" json:"eightPlusHostVmfsSharedAccessSupported,omitempty" vim:"5.1"`
+ EightPlusHostVmfsSharedAccessSupported *bool `xml:"eightPlusHostVmfsSharedAccessSupported" json:"eightPlusHostVmfsSharedAccessSupported,omitempty"`
// Indicates whether the host supports nested hardware-assisted virtualization.
- NestedHVSupported *bool `xml:"nestedHVSupported" json:"nestedHVSupported,omitempty" vim:"5.1"`
+ NestedHVSupported *bool `xml:"nestedHVSupported" json:"nestedHVSupported,omitempty"`
// Indicates whether the host supports virtual CPU performance counters.
- VPMCSupported *bool `xml:"vPMCSupported" json:"vPMCSupported,omitempty" vim:"5.1"`
+ VPMCSupported *bool `xml:"vPMCSupported" json:"vPMCSupported,omitempty"`
// Indicates whether the host supports VMCI for communication
// between virtual machines.
- InterVMCommunicationThroughVMCISupported *bool `xml:"interVMCommunicationThroughVMCISupported" json:"interVMCommunicationThroughVMCISupported,omitempty" vim:"5.1"`
+ InterVMCommunicationThroughVMCISupported *bool `xml:"interVMCommunicationThroughVMCISupported" json:"interVMCommunicationThroughVMCISupported,omitempty"`
// Indicates whether the host supports scheduled hardware upgrades.
//
// See also `VirtualMachineConfigInfo.scheduledHardwareUpgradeInfo`.
- ScheduledHardwareUpgradeSupported *bool `xml:"scheduledHardwareUpgradeSupported" json:"scheduledHardwareUpgradeSupported,omitempty" vim:"5.1"`
+ ScheduledHardwareUpgradeSupported *bool `xml:"scheduledHardwareUpgradeSupported" json:"scheduledHardwareUpgradeSupported,omitempty"`
// Indicated whether the host supports feature capabilities
// for EVC mode.
- FeatureCapabilitiesSupported *bool `xml:"featureCapabilitiesSupported" json:"featureCapabilitiesSupported,omitempty" vim:"5.1"`
+ FeatureCapabilitiesSupported *bool `xml:"featureCapabilitiesSupported" json:"featureCapabilitiesSupported,omitempty"`
// Indicates whether the host supports latency sensitivity for the
// virtual machines.
- LatencySensitivitySupported *bool `xml:"latencySensitivitySupported" json:"latencySensitivitySupported,omitempty" vim:"5.1"`
+ LatencySensitivitySupported *bool `xml:"latencySensitivitySupported" json:"latencySensitivitySupported,omitempty"`
// Indicates that host supports Object-based Storage System and
// Storage-Profile based disk provisioning.
- StoragePolicySupported *bool `xml:"storagePolicySupported" json:"storagePolicySupported,omitempty" vim:"5.5"`
+ StoragePolicySupported *bool `xml:"storagePolicySupported" json:"storagePolicySupported,omitempty"`
// Indicates if 3D hardware acceleration for virtual machines is supported.
- Accel3dSupported *bool `xml:"accel3dSupported" json:"accel3dSupported,omitempty" vim:"5.1"`
+ Accel3dSupported *bool `xml:"accel3dSupported" json:"accel3dSupported,omitempty"`
// Indicates that this host uses a reliable memory aware allocation policy.
- ReliableMemoryAware *bool `xml:"reliableMemoryAware" json:"reliableMemoryAware,omitempty" vim:"5.5"`
+ ReliableMemoryAware *bool `xml:"reliableMemoryAware" json:"reliableMemoryAware,omitempty"`
// Indicates whether the host supports Multiple Instance TCP/IP stack
- MultipleNetworkStackInstanceSupported *bool `xml:"multipleNetworkStackInstanceSupported" json:"multipleNetworkStackInstanceSupported,omitempty" vim:"5.5"`
+ MultipleNetworkStackInstanceSupported *bool `xml:"multipleNetworkStackInstanceSupported" json:"multipleNetworkStackInstanceSupported,omitempty"`
// Indicates whether the message bus proxy is supported
- MessageBusProxySupported *bool `xml:"messageBusProxySupported" json:"messageBusProxySupported,omitempty" vim:"6.0"`
+ MessageBusProxySupported *bool `xml:"messageBusProxySupported" json:"messageBusProxySupported,omitempty"`
// Indicates whether the host supports VSAN functionality.
//
// See also `HostVsanSystem`.
- VsanSupported *bool `xml:"vsanSupported" json:"vsanSupported,omitempty" vim:"5.5"`
+ VsanSupported *bool `xml:"vsanSupported" json:"vsanSupported,omitempty"`
// Indicates whether the host supports vFlash.
- VFlashSupported *bool `xml:"vFlashSupported" json:"vFlashSupported,omitempty" vim:"5.5"`
+ VFlashSupported *bool `xml:"vFlashSupported" json:"vFlashSupported,omitempty"`
// Whether this host supports HostAccessManager for controlling direct
// access to the host and for better lockdown mode management.
- HostAccessManagerSupported *bool `xml:"hostAccessManagerSupported" json:"hostAccessManagerSupported,omitempty" vim:"6.0"`
+ HostAccessManagerSupported *bool `xml:"hostAccessManagerSupported" json:"hostAccessManagerSupported,omitempty"`
// Indicates whether a dedicated nic can be selected for vSphere Provisioning
// NFC traffic.
- ProvisioningNicSelectionSupported *bool `xml:"provisioningNicSelectionSupported" json:"provisioningNicSelectionSupported,omitempty" vim:"6.0"`
+ ProvisioningNicSelectionSupported *bool `xml:"provisioningNicSelectionSupported" json:"provisioningNicSelectionSupported,omitempty"`
// Whether this host supports NFS41 file systems.
- Nfs41Supported *bool `xml:"nfs41Supported" json:"nfs41Supported,omitempty" vim:"6.0"`
+ Nfs41Supported *bool `xml:"nfs41Supported" json:"nfs41Supported,omitempty"`
// Whether this host support NFS41 Kerberos 5\* security type.
- Nfs41Krb5iSupported *bool `xml:"nfs41Krb5iSupported" json:"nfs41Krb5iSupported,omitempty" vim:"6.5"`
+ Nfs41Krb5iSupported *bool `xml:"nfs41Krb5iSupported" json:"nfs41Krb5iSupported,omitempty"`
// Indicates whether turning on/off local disk LED is supported
// on the host.
//
// See also `HostStorageSystem.TurnDiskLocatorLedOn_Task`, `HostStorageSystem.TurnDiskLocatorLedOff_Task`.
- TurnDiskLocatorLedSupported *bool `xml:"turnDiskLocatorLedSupported" json:"turnDiskLocatorLedSupported,omitempty" vim:"6.0"`
+ TurnDiskLocatorLedSupported *bool `xml:"turnDiskLocatorLedSupported" json:"turnDiskLocatorLedSupported,omitempty"`
// Indicates whether this host supports VirtualVolume based Datastore.
- VirtualVolumeDatastoreSupported *bool `xml:"virtualVolumeDatastoreSupported" json:"virtualVolumeDatastoreSupported,omitempty" vim:"6.0"`
+ VirtualVolumeDatastoreSupported *bool `xml:"virtualVolumeDatastoreSupported" json:"virtualVolumeDatastoreSupported,omitempty"`
// Indicates whether mark disk as SSD or Non-SSD is supported
// on the host.
//
// See also `HostStorageSystem.MarkAsSsd_Task`, `HostStorageSystem.MarkAsNonSsd_Task`.
- MarkAsSsdSupported *bool `xml:"markAsSsdSupported" json:"markAsSsdSupported,omitempty" vim:"6.0"`
+ MarkAsSsdSupported *bool `xml:"markAsSsdSupported" json:"markAsSsdSupported,omitempty"`
// Indicates whether mark disk as local or remote is supported
// on the host.
//
// See also `HostStorageSystem.MarkAsLocal_Task`, `HostStorageSystem.MarkAsNonLocal_Task`.
- MarkAsLocalSupported *bool `xml:"markAsLocalSupported" json:"markAsLocalSupported,omitempty" vim:"6.0"`
+ MarkAsLocalSupported *bool `xml:"markAsLocalSupported" json:"markAsLocalSupported,omitempty"`
+ // Deprecated as of vSphere API 8.0U3, and there is no replacement for it.
+ //
// Indicates whether this host supports local two-factor user
// authentication using smart cards.
//
// See also `HostActiveDirectoryAuthentication.EnableSmartCardAuthentication`.
- SmartCardAuthenticationSupported *bool `xml:"smartCardAuthenticationSupported" json:"smartCardAuthenticationSupported,omitempty" vim:"6.0"`
+ SmartCardAuthenticationSupported *bool `xml:"smartCardAuthenticationSupported" json:"smartCardAuthenticationSupported,omitempty"`
// Indicates whether this host supports persistent memory.
//
// If value is not specified, it should be considered as not supported.
- PMemSupported *bool `xml:"pMemSupported" json:"pMemSupported,omitempty" vim:"6.7"`
+ PMemSupported *bool `xml:"pMemSupported" json:"pMemSupported,omitempty"`
// Indicates whether this host supports snapshots for VMs with virtual
// devices backed by persistent memory.
//
// If value is not specified, it should be considered as not supported.
- PMemSnapshotSupported *bool `xml:"pMemSnapshotSupported" json:"pMemSnapshotSupported,omitempty" vim:"6.7"`
+ PMemSnapshotSupported *bool `xml:"pMemSnapshotSupported" json:"pMemSnapshotSupported,omitempty"`
// Flag indicating whether Cryptographer feature is supported.
- CryptoSupported *bool `xml:"cryptoSupported" json:"cryptoSupported,omitempty" vim:"6.5"`
+ CryptoSupported *bool `xml:"cryptoSupported" json:"cryptoSupported,omitempty"`
// Indicates whether this host supports granular datastore cache update.
//
// If value is not specified, it should be considered as not supported.
- OneKVolumeAPIsSupported *bool `xml:"oneKVolumeAPIsSupported" json:"oneKVolumeAPIsSupported,omitempty" vim:"6.5"`
+ OneKVolumeAPIsSupported *bool `xml:"oneKVolumeAPIsSupported" json:"oneKVolumeAPIsSupported,omitempty"`
// Flag indicating whether default gateway can be configured on a
// vmkernel nic.
- GatewayOnNicSupported *bool `xml:"gatewayOnNicSupported" json:"gatewayOnNicSupported,omitempty" vim:"6.5"`
+ GatewayOnNicSupported *bool `xml:"gatewayOnNicSupported" json:"gatewayOnNicSupported,omitempty"`
// Deprecated as of vSphere API 8.0, and there is no replacement for it.
//
// Indicate whether this host supports UPIT
- UpitSupported *bool `xml:"upitSupported" json:"upitSupported,omitempty" vim:"6.5"`
+ UpitSupported *bool `xml:"upitSupported" json:"upitSupported,omitempty"`
// Indicates whether this host supports hardware-based MMU virtualization.
- CpuHwMmuSupported *bool `xml:"cpuHwMmuSupported" json:"cpuHwMmuSupported,omitempty" vim:"6.5"`
+ CpuHwMmuSupported *bool `xml:"cpuHwMmuSupported" json:"cpuHwMmuSupported,omitempty"`
// Indicates whether this host supports encrypted vMotion.
- EncryptedVMotionSupported *bool `xml:"encryptedVMotionSupported" json:"encryptedVMotionSupported,omitempty" vim:"6.5"`
+ EncryptedVMotionSupported *bool `xml:"encryptedVMotionSupported" json:"encryptedVMotionSupported,omitempty"`
// Indicates whether this host supports changing the encryption state
// of a virtual disk when the disk is being added or removed from a
// virtual machine configuration.
- EncryptionChangeOnAddRemoveSupported *bool `xml:"encryptionChangeOnAddRemoveSupported" json:"encryptionChangeOnAddRemoveSupported,omitempty" vim:"6.5"`
+ EncryptionChangeOnAddRemoveSupported *bool `xml:"encryptionChangeOnAddRemoveSupported" json:"encryptionChangeOnAddRemoveSupported,omitempty"`
// Indicates whether this host supports changing the encryption state
// of a virtual machine, or virtual disk, while the virtual machine
// is powered on.
- EncryptionHotOperationSupported *bool `xml:"encryptionHotOperationSupported" json:"encryptionHotOperationSupported,omitempty" vim:"6.5"`
+ EncryptionHotOperationSupported *bool `xml:"encryptionHotOperationSupported" json:"encryptionHotOperationSupported,omitempty"`
// Indicates whether this host supports changing the encryption state
// state of a virtual machine, or virtual disk, while the virtual
// machine has snapshots present.
- EncryptionWithSnapshotsSupported *bool `xml:"encryptionWithSnapshotsSupported" json:"encryptionWithSnapshotsSupported,omitempty" vim:"6.5"`
+ EncryptionWithSnapshotsSupported *bool `xml:"encryptionWithSnapshotsSupported" json:"encryptionWithSnapshotsSupported,omitempty"`
// Indicates whether this host supports enabling Fault Tolerance on
// encrypted virtual machines.
- EncryptionFaultToleranceSupported *bool `xml:"encryptionFaultToleranceSupported" json:"encryptionFaultToleranceSupported,omitempty" vim:"6.5"`
+ EncryptionFaultToleranceSupported *bool `xml:"encryptionFaultToleranceSupported" json:"encryptionFaultToleranceSupported,omitempty"`
// Indicates whether this host supports suspending, or creating
// with-memory snapshots, encrypted virtual machines.
- EncryptionMemorySaveSupported *bool `xml:"encryptionMemorySaveSupported" json:"encryptionMemorySaveSupported,omitempty" vim:"6.5"`
+ EncryptionMemorySaveSupported *bool `xml:"encryptionMemorySaveSupported" json:"encryptionMemorySaveSupported,omitempty"`
// Indicates whether this host supports encrypting RDM backed virtual
// disks.
- EncryptionRDMSupported *bool `xml:"encryptionRDMSupported" json:"encryptionRDMSupported,omitempty" vim:"6.5"`
+ EncryptionRDMSupported *bool `xml:"encryptionRDMSupported" json:"encryptionRDMSupported,omitempty"`
// Indicates whether this host supports encrypting virtual disks with
// vFlash cache enabled.
- EncryptionVFlashSupported *bool `xml:"encryptionVFlashSupported" json:"encryptionVFlashSupported,omitempty" vim:"6.5"`
+ EncryptionVFlashSupported *bool `xml:"encryptionVFlashSupported" json:"encryptionVFlashSupported,omitempty"`
// Indicates whether this host supports encrypting virtual disks with
// Content Based Read Cache (digest disks) enabled.
- EncryptionCBRCSupported *bool `xml:"encryptionCBRCSupported" json:"encryptionCBRCSupported,omitempty" vim:"6.5"`
+ EncryptionCBRCSupported *bool `xml:"encryptionCBRCSupported" json:"encryptionCBRCSupported,omitempty"`
// Indicates whether this host supports encrypting virtual disks with
// Host Based Replication enabled.
- EncryptionHBRSupported *bool `xml:"encryptionHBRSupported" json:"encryptionHBRSupported,omitempty" vim:"6.5"`
+ EncryptionHBRSupported *bool `xml:"encryptionHBRSupported" json:"encryptionHBRSupported,omitempty"`
// Indicates whether this host supports Fault Tolerance VMs that have
// specified UEFI firmware.
- FtEfiSupported *bool `xml:"ftEfiSupported" json:"ftEfiSupported,omitempty" vim:"6.7"`
+ FtEfiSupported *bool `xml:"ftEfiSupported" json:"ftEfiSupported,omitempty"`
// Indicates which kind of VMFS unmap method is supported.
//
// See
// `HostCapabilityUnmapMethodSupported_enum`
- UnmapMethodSupported string `xml:"unmapMethodSupported,omitempty" json:"unmapMethodSupported,omitempty" vim:"6.7"`
+ UnmapMethodSupported string `xml:"unmapMethodSupported,omitempty" json:"unmapMethodSupported,omitempty"`
// Indicates maximum memory allowed for Fault Tolerance virtual machine.
- MaxMemMBPerFtVm int32 `xml:"maxMemMBPerFtVm,omitempty" json:"maxMemMBPerFtVm,omitempty" vim:"6.7"`
+ MaxMemMBPerFtVm int32 `xml:"maxMemMBPerFtVm,omitempty" json:"maxMemMBPerFtVm,omitempty"`
// Indicates that `VirtualMachineFlagInfo.virtualMmuUsage` is
// ignored by the host, always operating as if "on" was selected.
- VirtualMmuUsageIgnored *bool `xml:"virtualMmuUsageIgnored" json:"virtualMmuUsageIgnored,omitempty" vim:"6.7"`
+ VirtualMmuUsageIgnored *bool `xml:"virtualMmuUsageIgnored" json:"virtualMmuUsageIgnored,omitempty"`
// Indicates that `VirtualMachineFlagInfo.virtualExecUsage` is
// ignored by the host, always operating as if "hvOn" was selected.
- VirtualExecUsageIgnored *bool `xml:"virtualExecUsageIgnored" json:"virtualExecUsageIgnored,omitempty" vim:"6.7"`
+ VirtualExecUsageIgnored *bool `xml:"virtualExecUsageIgnored" json:"virtualExecUsageIgnored,omitempty"`
// Indicates that createDate feature is supported by the host.
- VmCreateDateSupported *bool `xml:"vmCreateDateSupported" json:"vmCreateDateSupported,omitempty" vim:"6.7"`
+ VmCreateDateSupported *bool `xml:"vmCreateDateSupported" json:"vmCreateDateSupported,omitempty"`
// Indicates whether this host supports VMFS-3 EOL.
//
// If value is not specified, it should be considered as not supported.
- Vmfs3EOLSupported *bool `xml:"vmfs3EOLSupported" json:"vmfs3EOLSupported,omitempty" vim:"6.7"`
+ Vmfs3EOLSupported *bool `xml:"vmfs3EOLSupported" json:"vmfs3EOLSupported,omitempty"`
// Indicates whether this host supports VMCP for Fault Tolerance VMs.
- FtVmcpSupported *bool `xml:"ftVmcpSupported" json:"ftVmcpSupported,omitempty" vim:"6.7"`
+ FtVmcpSupported *bool `xml:"ftVmcpSupported" json:"ftVmcpSupported,omitempty"`
// Indicates whether this host supports the LoadESX feature
// which allows faster reboots.
//
// See also `HostLoadEsxManager.QueryLoadEsxSupported`.
- QuickBootSupported *bool `xml:"quickBootSupported" json:"quickBootSupported,omitempty" vim:"6.7.1"`
+ QuickBootSupported *bool `xml:"quickBootSupported" json:"quickBootSupported,omitempty"`
// Indicates whether this host supports encrypted Fault Tolerance.
EncryptedFtSupported *bool `xml:"encryptedFtSupported" json:"encryptedFtSupported,omitempty" vim:"7.0.2.0"`
// Indicates whether this host supports Assignable Hardware.
- AssignableHardwareSupported *bool `xml:"assignableHardwareSupported" json:"assignableHardwareSupported,omitempty" vim:"7.0"`
+ AssignableHardwareSupported *bool `xml:"assignableHardwareSupported" json:"assignableHardwareSupported,omitempty"`
// Indicates whether this host supports suspending virtual machines to memory.
SuspendToMemorySupported *bool `xml:"suspendToMemorySupported" json:"suspendToMemorySupported,omitempty" vim:"7.0.2.0"`
// Indicates whether this host uses vmFeatures for compatibility checking
// of old (≤8) virtual hardware version VMs.
- UseFeatureReqsForOldHWv *bool `xml:"useFeatureReqsForOldHWv" json:"useFeatureReqsForOldHWv,omitempty" vim:"6.8.7"`
+ UseFeatureReqsForOldHWv *bool `xml:"useFeatureReqsForOldHWv" json:"useFeatureReqsForOldHWv,omitempty"`
// Indicates whether this host supports marking specified LUN as
// perennially reserved.
- MarkPerenniallyReservedSupported *bool `xml:"markPerenniallyReservedSupported" json:"markPerenniallyReservedSupported,omitempty" vim:"6.7.2"`
+ MarkPerenniallyReservedSupported *bool `xml:"markPerenniallyReservedSupported" json:"markPerenniallyReservedSupported,omitempty"`
// Indicates whether this host supports HPP path selection policy
// settings.
- HppPspSupported *bool `xml:"hppPspSupported" json:"hppPspSupported,omitempty" vim:"7.0"`
+ HppPspSupported *bool `xml:"hppPspSupported" json:"hppPspSupported,omitempty"`
// Indicates whether device rebind without reboot is supported.
//
// This is
// the capability which enables PCI passthrough and SR-IOV configuration
// without reboot.
- DeviceRebindWithoutRebootSupported *bool `xml:"deviceRebindWithoutRebootSupported" json:"deviceRebindWithoutRebootSupported,omitempty" vim:"7.0"`
+ DeviceRebindWithoutRebootSupported *bool `xml:"deviceRebindWithoutRebootSupported" json:"deviceRebindWithoutRebootSupported,omitempty"`
// Indicates whether this host supports storage policy change.
- StoragePolicyChangeSupported *bool `xml:"storagePolicyChangeSupported" json:"storagePolicyChangeSupported,omitempty" vim:"7.0"`
+ StoragePolicyChangeSupported *bool `xml:"storagePolicyChangeSupported" json:"storagePolicyChangeSupported,omitempty"`
// Indicates whether this host supports date time synchronization over
// Precision Time Protocol (PTP).
- PrecisionTimeProtocolSupported *bool `xml:"precisionTimeProtocolSupported" json:"precisionTimeProtocolSupported,omitempty" vim:"7.0"`
+ PrecisionTimeProtocolSupported *bool `xml:"precisionTimeProtocolSupported" json:"precisionTimeProtocolSupported,omitempty"`
// Indicates whether vMotion of a VM with remote devices attached is
// supported.
//
// This applies to CD-ROM and floppy devices backed by a
// remote client.
- RemoteDeviceVMotionSupported *bool `xml:"remoteDeviceVMotionSupported" json:"remoteDeviceVMotionSupported,omitempty" vim:"7.0"`
+ RemoteDeviceVMotionSupported *bool `xml:"remoteDeviceVMotionSupported" json:"remoteDeviceVMotionSupported,omitempty"`
// The maximum amount of virtual memory supported per virtual machine.
//
// If this capability is not set, the size is limited by hardware version
// of the virtual machine only.
- MaxSupportedVmMemory int32 `xml:"maxSupportedVmMemory,omitempty" json:"maxSupportedVmMemory,omitempty" vim:"7.0"`
+ MaxSupportedVmMemory int32 `xml:"maxSupportedVmMemory,omitempty" json:"maxSupportedVmMemory,omitempty"`
// Indicates if the host supports Assignable Hardware device hints.
AhDeviceHintsSupported *bool `xml:"ahDeviceHintsSupported" json:"ahDeviceHintsSupported,omitempty" vim:"7.0.2.0"`
// Indicates if access to NVMe over TCP devices is supported.
@@ -34451,6 +34391,25 @@ type HostCapability struct {
VsanNicMgmtSupported *bool `xml:"vsanNicMgmtSupported" json:"vsanNicMgmtSupported,omitempty" vim:"8.0.2.0"`
// Indicates whether vVol NQN is supported on this host.
VvolNQNSupported *bool `xml:"vvolNQNSupported" json:"vvolNQNSupported,omitempty" vim:"8.0.2.0"`
+ // Indicates whether "stretched" vVol Storage Container is supported on this host.
+ StretchedSCSupported *bool `xml:"stretchedSCSupported" json:"stretchedSCSupported,omitempty" vim:"8.0.3.0"`
+ // Indicates whether vmknic binding is supported on NFSv41 over this host.
+ VmknicBindingOnNFSv41 *bool `xml:"vmknicBindingOnNFSv41" json:"vmknicBindingOnNFSv41,omitempty" vim:"8.0.3.0"`
+ // Indicates whether VasaProvider Status can be monitored on the host.
+ VpStatusCheckSupported *bool `xml:"vpStatusCheckSupported" json:"vpStatusCheckSupported,omitempty" vim:"8.0.3.0"`
+ // Indicates whether NFS41 NCONNECT is supported on this host.
+ NConnectSupported *bool `xml:"nConnectSupported" json:"nConnectSupported,omitempty" vim:"8.0.3.0"`
+ // Indicates whether user-provided private key installation is supported on this host.
+ UserKeySupported *bool `xml:"userKeySupported" json:"userKeySupported,omitempty" vim:"8.0.3.0"`
+ // Indicates whether non-disruptive certificate management is supported on this host.
+ NdcmSupported *bool `xml:"ndcmSupported" json:"ndcmSupported,omitempty" vim:"8.0.3.0"`
+ // Flag indicating that the firmware reports the use of UEFI Secure
+ // Boot during system boot.
+ //
+ // TPM attestation may be used to definitively determine the boot
+ // time UEFI Secure Boot state and its complete configuration. An
+ // out-of-band management channel may also be considered.
+ UefiSecureBoot *bool `xml:"uefiSecureBoot" json:"uefiSecureBoot,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -34482,7 +34441,6 @@ type HostCertificateManagerCertificateInfo struct {
func init() {
t["HostCertificateManagerCertificateInfo"] = reflect.TypeOf((*HostCertificateManagerCertificateInfo)(nil)).Elem()
- minAPIVersionForType["HostCertificateManagerCertificateInfo"] = "6.0"
}
// Represents certificate specification used for
@@ -34721,7 +34679,6 @@ type HostComplianceCheckedEvent struct {
func init() {
t["HostComplianceCheckedEvent"] = reflect.TypeOf((*HostComplianceCheckedEvent)(nil)).Elem()
- minAPIVersionForType["HostComplianceCheckedEvent"] = "4.0"
}
// This event records that host is in compliance.
@@ -34731,7 +34688,6 @@ type HostCompliantEvent struct {
func init() {
t["HostCompliantEvent"] = reflect.TypeOf((*HostCompliantEvent)(nil)).Elem()
- minAPIVersionForType["HostCompliantEvent"] = "4.0"
}
// This event records that a configuration was applied on a host
@@ -34741,7 +34697,6 @@ type HostConfigAppliedEvent struct {
func init() {
t["HostConfigAppliedEvent"] = reflect.TypeOf((*HostConfigAppliedEvent)(nil)).Elem()
- minAPIVersionForType["HostConfigAppliedEvent"] = "4.0"
}
// This data object type describes types and constants related to the
@@ -34767,7 +34722,6 @@ type HostConfigFailed struct {
func init() {
t["HostConfigFailed"] = reflect.TypeOf((*HostConfigFailed)(nil)).Elem()
- minAPIVersionForType["HostConfigFailed"] = "4.0"
}
type HostConfigFailedFault HostConfigFailed
@@ -34806,18 +34760,20 @@ type HostConfigInfo struct {
// Information about a product.
Product AboutInfo `xml:"product" json:"product"`
// Deployment information about the host.
- DeploymentInfo *HostDeploymentInfo `xml:"deploymentInfo,omitempty" json:"deploymentInfo,omitempty" vim:"6.5"`
+ DeploymentInfo *HostDeploymentInfo `xml:"deploymentInfo,omitempty" json:"deploymentInfo,omitempty"`
// If hyperthreading is supported, this is the CPU configuration for
// optimizing hyperthreading.
HyperThread *HostHyperThreadScheduleInfo `xml:"hyperThread,omitempty" json:"hyperThread,omitempty"`
+ // Information about the CPU scheduler on the host.
+ CpuScheduler *HostCpuSchedulerInfo `xml:"cpuScheduler,omitempty" json:"cpuScheduler,omitempty" vim:"8.0.3.0"`
// Memory configuration.
ConsoleReservation *ServiceConsoleReservationInfo `xml:"consoleReservation,omitempty" json:"consoleReservation,omitempty"`
// Virtual machine memory configuration.
- VirtualMachineReservation *VirtualMachineMemoryReservationInfo `xml:"virtualMachineReservation,omitempty" json:"virtualMachineReservation,omitempty" vim:"2.5"`
+ VirtualMachineReservation *VirtualMachineMemoryReservationInfo `xml:"virtualMachineReservation,omitempty" json:"virtualMachineReservation,omitempty"`
// Storage system information.
StorageDevice *HostStorageDeviceInfo `xml:"storageDevice,omitempty" json:"storageDevice,omitempty"`
// Storage multipath state information.
- MultipathState *HostMultipathStateInfo `xml:"multipathState,omitempty" json:"multipathState,omitempty" vim:"4.0"`
+ MultipathState *HostMultipathStateInfo `xml:"multipathState,omitempty" json:"multipathState,omitempty"`
// Storage system file system volume information.
FileSystemVolume *HostFileSystemVolumeInfo `xml:"fileSystemVolume,omitempty" json:"fileSystemVolume,omitempty"`
// Datastore paths of files used by the host system on
@@ -34825,7 +34781,7 @@ type HostConfigInfo struct {
// host.
//
// For information on datastore paths, see `Datastore`.
- SystemFile []string `xml:"systemFile,omitempty" json:"systemFile,omitempty" vim:"4.1"`
+ SystemFile []string `xml:"systemFile,omitempty" json:"systemFile,omitempty"`
// Network system information.
Network *HostNetworkInfo `xml:"network,omitempty" json:"network,omitempty"`
// Deprecated as of VI API 4.0, use `HostConfigInfo.virtualNicManagerInfo`.
@@ -34833,11 +34789,11 @@ type HostConfigInfo struct {
// VMotion system information.
Vmotion *HostVMotionInfo `xml:"vmotion,omitempty" json:"vmotion,omitempty"`
// VirtualNic manager information.
- VirtualNicManagerInfo *HostVirtualNicManagerInfo `xml:"virtualNicManagerInfo,omitempty" json:"virtualNicManagerInfo,omitempty" vim:"4.0"`
+ VirtualNicManagerInfo *HostVirtualNicManagerInfo `xml:"virtualNicManagerInfo,omitempty" json:"virtualNicManagerInfo,omitempty"`
// Capability vector indicating the available network features.
Capabilities *HostNetCapabilities `xml:"capabilities,omitempty" json:"capabilities,omitempty"`
// Capability vector indicating available datastore features.
- DatastoreCapabilities *HostDatastoreSystemCapabilities `xml:"datastoreCapabilities,omitempty" json:"datastoreCapabilities,omitempty" vim:"2.5"`
+ DatastoreCapabilities *HostDatastoreSystemCapabilities `xml:"datastoreCapabilities,omitempty" json:"datastoreCapabilities,omitempty"`
// Deprecated as of VI API 4.0, the system defaults will be used.
//
// capabilities to offload operations either to the host or to physical
@@ -34874,20 +34830,20 @@ type HostConfigInfo struct {
// Note: Using a host-specific swap location may degrade VMotion performance.
//
// Refers instance of `Datastore`.
- LocalSwapDatastore *ManagedObjectReference `xml:"localSwapDatastore,omitempty" json:"localSwapDatastore,omitempty" vim:"2.5"`
+ LocalSwapDatastore *ManagedObjectReference `xml:"localSwapDatastore,omitempty" json:"localSwapDatastore,omitempty"`
// The system swap configuration specifies which options are currently
// enabled.
//
// See also `HostSystemSwapConfiguration`.
- SystemSwapConfiguration *HostSystemSwapConfiguration `xml:"systemSwapConfiguration,omitempty" json:"systemSwapConfiguration,omitempty" vim:"5.1"`
+ SystemSwapConfiguration *HostSystemSwapConfiguration `xml:"systemSwapConfiguration,omitempty" json:"systemSwapConfiguration,omitempty"`
// Reference for the system resource hierarchy, used for configuring
// the set of resources reserved to the system and unavailable to
// virtual machines.
SystemResources *HostSystemResourceInfo `xml:"systemResources,omitempty" json:"systemResources,omitempty"`
// Date/Time related configuration
- DateTimeInfo *HostDateTimeInfo `xml:"dateTimeInfo,omitempty" json:"dateTimeInfo,omitempty" vim:"2.5"`
+ DateTimeInfo *HostDateTimeInfo `xml:"dateTimeInfo,omitempty" json:"dateTimeInfo,omitempty"`
// Additional flags for a host.
- Flags *HostFlagInfo `xml:"flags,omitempty" json:"flags,omitempty" vim:"2.5"`
+ Flags *HostFlagInfo `xml:"flags,omitempty" json:"flags,omitempty"`
// Deprecated as of vSphere API 6.0, use `HostConfigInfo.lockdownMode`.
//
// If the flag is true, the permissions on the host have been modified such
@@ -34902,99 +34858,99 @@ type HostConfigInfo struct {
// should be ignored.
//
// See also `HostSystem.EnterLockdownMode`, `HostSystem.ExitLockdownMode`.
- AdminDisabled *bool `xml:"adminDisabled" json:"adminDisabled,omitempty" vim:"2.5"`
+ AdminDisabled *bool `xml:"adminDisabled" json:"adminDisabled,omitempty"`
// Indicates the current lockdown mode of the host as reported by
// `HostAccessManager.lockdownMode`.
//
// See also `HostAccessManager.ChangeLockdownMode`.
- LockdownMode HostLockdownMode `xml:"lockdownMode,omitempty" json:"lockdownMode,omitempty" vim:"6.0"`
+ LockdownMode HostLockdownMode `xml:"lockdownMode,omitempty" json:"lockdownMode,omitempty"`
// IPMI (Intelligent Platform Management Interface) info for the host.
- Ipmi *HostIpmiInfo `xml:"ipmi,omitempty" json:"ipmi,omitempty" vim:"4.0"`
+ Ipmi *HostIpmiInfo `xml:"ipmi,omitempty" json:"ipmi,omitempty"`
// Deprecated as of vSphere API 5.0, use `HostConfigInfo.sslThumbprintData` instead.
//
// SSL Thumbprint info for hosts registered on this host.
- SslThumbprintInfo *HostSslThumbprintInfo `xml:"sslThumbprintInfo,omitempty" json:"sslThumbprintInfo,omitempty" vim:"4.0"`
+ SslThumbprintInfo *HostSslThumbprintInfo `xml:"sslThumbprintInfo,omitempty" json:"sslThumbprintInfo,omitempty"`
// SSL Thumbprints registered on this host.
- SslThumbprintData []HostSslThumbprintInfo `xml:"sslThumbprintData,omitempty" json:"sslThumbprintData,omitempty" vim:"5.0"`
+ SslThumbprintData []HostSslThumbprintInfo `xml:"sslThumbprintData,omitempty" json:"sslThumbprintData,omitempty"`
// Full Host Certificate in PEM format, if known
- Certificate []byte `xml:"certificate,omitempty" json:"certificate,omitempty" vim:"5.0"`
+ Certificate ByteSlice `xml:"certificate,omitempty" json:"certificate,omitempty"`
// PCI passthrough information.
- PciPassthruInfo []BaseHostPciPassthruInfo `xml:"pciPassthruInfo,omitempty,typeattr" json:"pciPassthruInfo,omitempty" vim:"4.0"`
+ PciPassthruInfo []BaseHostPciPassthruInfo `xml:"pciPassthruInfo,omitempty,typeattr" json:"pciPassthruInfo,omitempty"`
// Current authentication configuration.
- AuthenticationManagerInfo *HostAuthenticationManagerInfo `xml:"authenticationManagerInfo,omitempty" json:"authenticationManagerInfo,omitempty" vim:"4.1"`
+ AuthenticationManagerInfo *HostAuthenticationManagerInfo `xml:"authenticationManagerInfo,omitempty" json:"authenticationManagerInfo,omitempty"`
// List of feature-specific version information.
//
// Each element refers
// to the version information for a specific feature.
- FeatureVersion []HostFeatureVersionInfo `xml:"featureVersion,omitempty" json:"featureVersion,omitempty" vim:"4.1"`
+ FeatureVersion []HostFeatureVersionInfo `xml:"featureVersion,omitempty" json:"featureVersion,omitempty"`
// Host power management capability.
- PowerSystemCapability *PowerSystemCapability `xml:"powerSystemCapability,omitempty" json:"powerSystemCapability,omitempty" vim:"4.1"`
+ PowerSystemCapability *PowerSystemCapability `xml:"powerSystemCapability,omitempty" json:"powerSystemCapability,omitempty"`
// Host power management information.
- PowerSystemInfo *PowerSystemInfo `xml:"powerSystemInfo,omitempty" json:"powerSystemInfo,omitempty" vim:"4.1"`
+ PowerSystemInfo *PowerSystemInfo `xml:"powerSystemInfo,omitempty" json:"powerSystemInfo,omitempty"`
// Host solid stats drive cache configuration information.
- CacheConfigurationInfo []HostCacheConfigurationInfo `xml:"cacheConfigurationInfo,omitempty" json:"cacheConfigurationInfo,omitempty" vim:"5.0"`
+ CacheConfigurationInfo []HostCacheConfigurationInfo `xml:"cacheConfigurationInfo,omitempty" json:"cacheConfigurationInfo,omitempty"`
// Indicates if a host is wake on lan capable.
//
// A host is deemed wake on lan capable if there exists at least one
// physical network card that is both backing the vmotion interface and
// is itself wake on lan capable.
- WakeOnLanCapable *bool `xml:"wakeOnLanCapable" json:"wakeOnLanCapable,omitempty" vim:"5.0"`
+ WakeOnLanCapable *bool `xml:"wakeOnLanCapable" json:"wakeOnLanCapable,omitempty"`
// Array of host feature capabilities.
//
// This is expected to change
// infrequently. It may change while host is in maintenance mode
// and between reboots if hardware, firmware, or a device driver
// is changed or upgraded.
- FeatureCapability []HostFeatureCapability `xml:"featureCapability,omitempty" json:"featureCapability,omitempty" vim:"5.1"`
+ FeatureCapability []HostFeatureCapability `xml:"featureCapability,omitempty" json:"featureCapability,omitempty"`
// Array of the feature capabilities that the host has after the
// mask has been applied.
- MaskedFeatureCapability []HostFeatureCapability `xml:"maskedFeatureCapability,omitempty" json:"maskedFeatureCapability,omitempty" vim:"5.1"`
+ MaskedFeatureCapability []HostFeatureCapability `xml:"maskedFeatureCapability,omitempty" json:"maskedFeatureCapability,omitempty"`
// Host vFlash configuration information
- VFlashConfigInfo *HostVFlashManagerVFlashConfigInfo `xml:"vFlashConfigInfo,omitempty" json:"vFlashConfigInfo,omitempty" vim:"5.5"`
+ VFlashConfigInfo *HostVFlashManagerVFlashConfigInfo `xml:"vFlashConfigInfo,omitempty" json:"vFlashConfigInfo,omitempty"`
// VSAN configuration for a host.
- VsanHostConfig *VsanHostConfigInfo `xml:"vsanHostConfig,omitempty" json:"vsanHostConfig,omitempty" vim:"5.5"`
+ VsanHostConfig *VsanHostConfigInfo `xml:"vsanHostConfig,omitempty" json:"vsanHostConfig,omitempty"`
// List of Windows domains available for user searches, if the underlying
// system supports windows domain membership.
//
// See `UserDirectory.domainList`.
- DomainList []string `xml:"domainList,omitempty" json:"domainList,omitempty" vim:"6.0"`
+ DomainList []string `xml:"domainList,omitempty" json:"domainList,omitempty"`
// A checksum of overhead computation script.
//
// (For VMware internal usage only)
- ScriptCheckSum []byte `xml:"scriptCheckSum,omitempty" json:"scriptCheckSum,omitempty" vim:"6.0"`
+ ScriptCheckSum []byte `xml:"scriptCheckSum,omitempty" json:"scriptCheckSum,omitempty"`
// A checksum of host configuration option set.
//
// (For VMware internal usage only)
- HostConfigCheckSum []byte `xml:"hostConfigCheckSum,omitempty" json:"hostConfigCheckSum,omitempty" vim:"6.0"`
+ HostConfigCheckSum []byte `xml:"hostConfigCheckSum,omitempty" json:"hostConfigCheckSum,omitempty"`
// A checksum of the Assignable Hardware Description Tree.
//
// (For VMware internal usage only)
- DescriptionTreeCheckSum []byte `xml:"descriptionTreeCheckSum,omitempty" json:"descriptionTreeCheckSum,omitempty" vim:"7.0"`
+ DescriptionTreeCheckSum []byte `xml:"descriptionTreeCheckSum,omitempty" json:"descriptionTreeCheckSum,omitempty"`
// The list of graphics devices available on this host.
- GraphicsInfo []HostGraphicsInfo `xml:"graphicsInfo,omitempty" json:"graphicsInfo,omitempty" vim:"5.5"`
+ GraphicsInfo []HostGraphicsInfo `xml:"graphicsInfo,omitempty" json:"graphicsInfo,omitempty"`
// Array of shared passthru GPU types.
//
// These GPU types may be enabled
// when specific host hardware is present.
- SharedPassthruGpuTypes []string `xml:"sharedPassthruGpuTypes,omitempty" json:"sharedPassthruGpuTypes,omitempty" vim:"6.0"`
+ SharedPassthruGpuTypes []string `xml:"sharedPassthruGpuTypes,omitempty" json:"sharedPassthruGpuTypes,omitempty"`
// Graphics configuration for a host.
- GraphicsConfig *HostGraphicsConfig `xml:"graphicsConfig,omitempty" json:"graphicsConfig,omitempty" vim:"6.5"`
+ GraphicsConfig *HostGraphicsConfig `xml:"graphicsConfig,omitempty" json:"graphicsConfig,omitempty"`
// Array of shared passthru GPU capablities.
//
// See also `HostSharedGpuCapabilities`.
- SharedGpuCapabilities []HostSharedGpuCapabilities `xml:"sharedGpuCapabilities,omitempty" json:"sharedGpuCapabilities,omitempty" vim:"6.7"`
+ SharedGpuCapabilities []HostSharedGpuCapabilities `xml:"sharedGpuCapabilities,omitempty" json:"sharedGpuCapabilities,omitempty"`
// Information of the IO Filters installed on the host.
//
// See `HostIoFilterInfo`.
- IoFilterInfo []HostIoFilterInfo `xml:"ioFilterInfo,omitempty" json:"ioFilterInfo,omitempty" vim:"6.0"`
+ IoFilterInfo []HostIoFilterInfo `xml:"ioFilterInfo,omitempty" json:"ioFilterInfo,omitempty"`
// Information on SRIOV device pools present on host.
- SriovDevicePool []BaseHostSriovDevicePoolInfo `xml:"sriovDevicePool,omitempty,typeattr" json:"sriovDevicePool,omitempty" vim:"6.5"`
+ SriovDevicePool []BaseHostSriovDevicePoolInfo `xml:"sriovDevicePool,omitempty,typeattr" json:"sriovDevicePool,omitempty"`
// Information describing Assignable Hardware device bindings on host.
//
// See `HostAssignableHardwareBinding`.
- AssignableHardwareBinding []HostAssignableHardwareBinding `xml:"assignableHardwareBinding,omitempty" json:"assignableHardwareBinding,omitempty" vim:"7.0"`
+ AssignableHardwareBinding []HostAssignableHardwareBinding `xml:"assignableHardwareBinding,omitempty" json:"assignableHardwareBinding,omitempty"`
// Configured assignable hardware device attributes.
- AssignableHardwareConfig *HostAssignableHardwareConfig `xml:"assignableHardwareConfig,omitempty" json:"assignableHardwareConfig,omitempty" vim:"7.0"`
+ AssignableHardwareConfig *HostAssignableHardwareConfig `xml:"assignableHardwareConfig,omitempty" json:"assignableHardwareConfig,omitempty"`
}
func init() {
@@ -35037,7 +34993,7 @@ type HostConfigManager struct {
// The VirtualNic configuration.
//
// Refers instance of `HostVirtualNicManager`.
- VirtualNicManager *ManagedObjectReference `xml:"virtualNicManager,omitempty" json:"virtualNicManager,omitempty" vim:"4.0"`
+ VirtualNicManager *ManagedObjectReference `xml:"virtualNicManager,omitempty" json:"virtualNicManager,omitempty"`
// The configuration of the host services (for example,
// SSH, FTP, and Telnet).
//
@@ -35066,109 +35022,109 @@ type HostConfigManager struct {
// DateTime configuration
//
// Refers instance of `HostDateTimeSystem`.
- DateTimeSystem *ManagedObjectReference `xml:"dateTimeSystem,omitempty" json:"dateTimeSystem,omitempty" vim:"2.5"`
+ DateTimeSystem *ManagedObjectReference `xml:"dateTimeSystem,omitempty" json:"dateTimeSystem,omitempty"`
// Host patch management.
//
// Refers instance of `HostPatchManager`.
- PatchManager *ManagedObjectReference `xml:"patchManager,omitempty" json:"patchManager,omitempty" vim:"2.5"`
+ PatchManager *ManagedObjectReference `xml:"patchManager,omitempty" json:"patchManager,omitempty"`
// Host image configuration management.
//
// Refers instance of `HostImageConfigManager`.
- ImageConfigManager *ManagedObjectReference `xml:"imageConfigManager,omitempty" json:"imageConfigManager,omitempty" vim:"5.0"`
+ ImageConfigManager *ManagedObjectReference `xml:"imageConfigManager,omitempty" json:"imageConfigManager,omitempty"`
// Boot device order management.
//
// Refers instance of `HostBootDeviceSystem`.
- BootDeviceSystem *ManagedObjectReference `xml:"bootDeviceSystem,omitempty" json:"bootDeviceSystem,omitempty" vim:"2.5"`
+ BootDeviceSystem *ManagedObjectReference `xml:"bootDeviceSystem,omitempty" json:"bootDeviceSystem,omitempty"`
// Firmware management.
//
// Refers instance of `HostFirmwareSystem`.
- FirmwareSystem *ManagedObjectReference `xml:"firmwareSystem,omitempty" json:"firmwareSystem,omitempty" vim:"2.5"`
+ FirmwareSystem *ManagedObjectReference `xml:"firmwareSystem,omitempty" json:"firmwareSystem,omitempty"`
// System health status manager.
//
// Refers instance of `HostHealthStatusSystem`.
- HealthStatusSystem *ManagedObjectReference `xml:"healthStatusSystem,omitempty" json:"healthStatusSystem,omitempty" vim:"2.5"`
+ HealthStatusSystem *ManagedObjectReference `xml:"healthStatusSystem,omitempty" json:"healthStatusSystem,omitempty"`
// PciDeviceSystem for passthru.
//
// Refers instance of `HostPciPassthruSystem`.
- PciPassthruSystem *ManagedObjectReference `xml:"pciPassthruSystem,omitempty" json:"pciPassthruSystem,omitempty" vim:"4.0"`
+ PciPassthruSystem *ManagedObjectReference `xml:"pciPassthruSystem,omitempty" json:"pciPassthruSystem,omitempty"`
// License manager
//
// Refers instance of `LicenseManager`.
- LicenseManager *ManagedObjectReference `xml:"licenseManager,omitempty" json:"licenseManager,omitempty" vim:"4.0"`
+ LicenseManager *ManagedObjectReference `xml:"licenseManager,omitempty" json:"licenseManager,omitempty"`
// Kernel module configuration management.
//
// Refers instance of `HostKernelModuleSystem`.
- KernelModuleSystem *ManagedObjectReference `xml:"kernelModuleSystem,omitempty" json:"kernelModuleSystem,omitempty" vim:"4.0"`
+ KernelModuleSystem *ManagedObjectReference `xml:"kernelModuleSystem,omitempty" json:"kernelModuleSystem,omitempty"`
// Authentication method configuration - for example, for Active Directory membership.
//
// Refers instance of `HostAuthenticationManager`.
- AuthenticationManager *ManagedObjectReference `xml:"authenticationManager,omitempty" json:"authenticationManager,omitempty" vim:"4.1"`
+ AuthenticationManager *ManagedObjectReference `xml:"authenticationManager,omitempty" json:"authenticationManager,omitempty"`
// Power System manager.
//
// Refers instance of `HostPowerSystem`.
- PowerSystem *ManagedObjectReference `xml:"powerSystem,omitempty" json:"powerSystem,omitempty" vim:"4.1"`
+ PowerSystem *ManagedObjectReference `xml:"powerSystem,omitempty" json:"powerSystem,omitempty"`
// Host solid state drive cache configuration manager.
//
// Refers instance of `HostCacheConfigurationManager`.
- CacheConfigurationManager *ManagedObjectReference `xml:"cacheConfigurationManager,omitempty" json:"cacheConfigurationManager,omitempty" vim:"5.0"`
+ CacheConfigurationManager *ManagedObjectReference `xml:"cacheConfigurationManager,omitempty" json:"cacheConfigurationManager,omitempty"`
// Esx Agent resource configuration manager
//
// Refers instance of `HostEsxAgentHostManager`.
- EsxAgentHostManager *ManagedObjectReference `xml:"esxAgentHostManager,omitempty" json:"esxAgentHostManager,omitempty" vim:"5.0"`
+ EsxAgentHostManager *ManagedObjectReference `xml:"esxAgentHostManager,omitempty" json:"esxAgentHostManager,omitempty"`
// Iscsi Management Operations managed entity
//
// Refers instance of `IscsiManager`.
- IscsiManager *ManagedObjectReference `xml:"iscsiManager,omitempty" json:"iscsiManager,omitempty" vim:"5.0"`
+ IscsiManager *ManagedObjectReference `xml:"iscsiManager,omitempty" json:"iscsiManager,omitempty"`
// vFlash Manager
//
// Refers instance of `HostVFlashManager`.
- VFlashManager *ManagedObjectReference `xml:"vFlashManager,omitempty" json:"vFlashManager,omitempty" vim:"5.5"`
+ VFlashManager *ManagedObjectReference `xml:"vFlashManager,omitempty" json:"vFlashManager,omitempty"`
// VsanSystem managed entity.
//
// Refers instance of `HostVsanSystem`.
- VsanSystem *ManagedObjectReference `xml:"vsanSystem,omitempty" json:"vsanSystem,omitempty" vim:"5.5"`
+ VsanSystem *ManagedObjectReference `xml:"vsanSystem,omitempty" json:"vsanSystem,omitempty"`
// Common Message Bus proxy service.
//
// This API shall always be present in vSphere API 6.0 or later.
//
// Refers instance of `MessageBusProxy`.
- MessageBusProxy *ManagedObjectReference `xml:"messageBusProxy,omitempty" json:"messageBusProxy,omitempty" vim:"6.0"`
+ MessageBusProxy *ManagedObjectReference `xml:"messageBusProxy,omitempty" json:"messageBusProxy,omitempty"`
// A user directory managed object.
//
// Refers instance of `UserDirectory`.
- UserDirectory *ManagedObjectReference `xml:"userDirectory,omitempty" json:"userDirectory,omitempty" vim:"6.0"`
+ UserDirectory *ManagedObjectReference `xml:"userDirectory,omitempty" json:"userDirectory,omitempty"`
// A manager for host local user accounts.
//
// Refers instance of `HostLocalAccountManager`.
- AccountManager *ManagedObjectReference `xml:"accountManager,omitempty" json:"accountManager,omitempty" vim:"6.0"`
+ AccountManager *ManagedObjectReference `xml:"accountManager,omitempty" json:"accountManager,omitempty"`
// Host access manager
//
// Refers instance of `HostAccessManager`.
- HostAccessManager *ManagedObjectReference `xml:"hostAccessManager,omitempty" json:"hostAccessManager,omitempty" vim:"6.0"`
+ HostAccessManager *ManagedObjectReference `xml:"hostAccessManager,omitempty" json:"hostAccessManager,omitempty"`
// Host graphics manager.
//
// Refers instance of `HostGraphicsManager`.
- GraphicsManager *ManagedObjectReference `xml:"graphicsManager,omitempty" json:"graphicsManager,omitempty" vim:"5.5"`
+ GraphicsManager *ManagedObjectReference `xml:"graphicsManager,omitempty" json:"graphicsManager,omitempty"`
// VsanInternalSystem managed entity.
//
// Refers instance of `HostVsanInternalSystem`.
- VsanInternalSystem *ManagedObjectReference `xml:"vsanInternalSystem,omitempty" json:"vsanInternalSystem,omitempty" vim:"5.5"`
+ VsanInternalSystem *ManagedObjectReference `xml:"vsanInternalSystem,omitempty" json:"vsanInternalSystem,omitempty"`
// Host CertificateManager.
//
// Refers instance of `HostCertificateManager`.
- CertificateManager *ManagedObjectReference `xml:"certificateManager,omitempty" json:"certificateManager,omitempty" vim:"6.0"`
+ CertificateManager *ManagedObjectReference `xml:"certificateManager,omitempty" json:"certificateManager,omitempty"`
// Host CryptoManager.
//
// Refers instance of `CryptoManager`.
- CryptoManager *ManagedObjectReference `xml:"cryptoManager,omitempty" json:"cryptoManager,omitempty" vim:"6.5"`
+ CryptoManager *ManagedObjectReference `xml:"cryptoManager,omitempty" json:"cryptoManager,omitempty"`
// Host Non-Volatile DIMM configuration manager
//
// Refers instance of `HostNvdimmSystem`.
- NvdimmSystem *ManagedObjectReference `xml:"nvdimmSystem,omitempty" json:"nvdimmSystem,omitempty" vim:"6.7"`
+ NvdimmSystem *ManagedObjectReference `xml:"nvdimmSystem,omitempty" json:"nvdimmSystem,omitempty"`
// Assignable Hardware manager.
//
// Refers instance of `HostAssignableHardwareManager`.
- AssignableHardwareManager *ManagedObjectReference `xml:"assignableHardwareManager,omitempty" json:"assignableHardwareManager,omitempty" vim:"7.0"`
+ AssignableHardwareManager *ManagedObjectReference `xml:"assignableHardwareManager,omitempty" json:"assignableHardwareManager,omitempty"`
}
func init() {
@@ -35212,18 +35168,17 @@ type HostConfigSpec struct {
// Memory configuration for the host.
Memory *HostMemorySpec `xml:"memory,omitempty" json:"memory,omitempty"`
// Active Directory configuration change.
- ActiveDirectory []HostActiveDirectory `xml:"activeDirectory,omitempty" json:"activeDirectory,omitempty" vim:"4.1"`
+ ActiveDirectory []HostActiveDirectory `xml:"activeDirectory,omitempty" json:"activeDirectory,omitempty"`
// Advanced configuration.
- GenericConfig []KeyAnyValue `xml:"genericConfig,omitempty" json:"genericConfig,omitempty" vim:"5.0"`
+ GenericConfig []KeyAnyValue `xml:"genericConfig,omitempty" json:"genericConfig,omitempty"`
// Graphics configuration for a host.
- GraphicsConfig *HostGraphicsConfig `xml:"graphicsConfig,omitempty" json:"graphicsConfig,omitempty" vim:"6.5"`
+ GraphicsConfig *HostGraphicsConfig `xml:"graphicsConfig,omitempty" json:"graphicsConfig,omitempty"`
// Assignable Hardware configuration for the host
- AssignableHardwareConfig *HostAssignableHardwareConfig `xml:"assignableHardwareConfig,omitempty" json:"assignableHardwareConfig,omitempty" vim:"7.0"`
+ AssignableHardwareConfig *HostAssignableHardwareConfig `xml:"assignableHardwareConfig,omitempty" json:"assignableHardwareConfig,omitempty"`
}
func init() {
t["HostConfigSpec"] = reflect.TypeOf((*HostConfigSpec)(nil)).Elem()
- minAPIVersionForType["HostConfigSpec"] = "4.0"
}
// An overview of the key configuration parameters.
@@ -35235,7 +35190,7 @@ type HostConfigSummary struct {
// The port number.
Port int32 `xml:"port" json:"port"`
// The SSL thumbprint of the host, if known.
- SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty" vim:"4.0"`
+ SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty"`
// Information about the software running on the host, if known.
//
// The current supported hosts are ESX Server 2.0.1 (and later) and VMware Server
@@ -35244,20 +35199,20 @@ type HostConfigSummary struct {
// The flag to indicate whether or not VMotion is enabled on this host.
VmotionEnabled bool `xml:"vmotionEnabled" json:"vmotionEnabled"`
// The flag to indicate whether or not Fault Tolerance logging is enabled on this host.
- FaultToleranceEnabled *bool `xml:"faultToleranceEnabled" json:"faultToleranceEnabled,omitempty" vim:"4.0"`
+ FaultToleranceEnabled *bool `xml:"faultToleranceEnabled" json:"faultToleranceEnabled,omitempty"`
// List of feature-specific version information.
//
// Each element refers
// to the version information for a specific feature.
- FeatureVersion []HostFeatureVersionInfo `xml:"featureVersion,omitempty" json:"featureVersion,omitempty" vim:"4.1"`
+ FeatureVersion []HostFeatureVersionInfo `xml:"featureVersion,omitempty" json:"featureVersion,omitempty"`
// Datastore used to deploy Agent VMs on for this host.
//
// Refers instance of `Datastore`.
- AgentVmDatastore *ManagedObjectReference `xml:"agentVmDatastore,omitempty" json:"agentVmDatastore,omitempty" vim:"5.0"`
+ AgentVmDatastore *ManagedObjectReference `xml:"agentVmDatastore,omitempty" json:"agentVmDatastore,omitempty"`
// Management network for Agent VMs.
//
// Refers instance of `Network`.
- AgentVmNetwork *ManagedObjectReference `xml:"agentVmNetwork,omitempty" json:"agentVmNetwork,omitempty" vim:"5.0"`
+ AgentVmNetwork *ManagedObjectReference `xml:"agentVmNetwork,omitempty" json:"agentVmNetwork,omitempty"`
}
func init() {
@@ -35335,7 +35290,7 @@ type HostConnectInfo struct {
// If
// this is the case, remove or disconnect the host
// from this cluster before adding it to another vCenter Server.
- InDasCluster *bool `xml:"inDasCluster" json:"inDasCluster,omitempty" vim:"5.0"`
+ InDasCluster *bool `xml:"inDasCluster" json:"inDasCluster,omitempty"`
// Summary information about the host.
//
// The status fields and managed object
@@ -35360,9 +35315,9 @@ type HostConnectInfo struct {
// The list of datastores on the host.
Datastore []BaseHostDatastoreConnectInfo `xml:"datastore,omitempty,typeattr" json:"datastore,omitempty"`
// License manager information on the host
- License *HostLicenseConnectInfo `xml:"license,omitempty" json:"license,omitempty" vim:"4.0"`
+ License *HostLicenseConnectInfo `xml:"license,omitempty" json:"license,omitempty"`
// Host capabilities.
- Capability *HostCapability `xml:"capability,omitempty" json:"capability,omitempty" vim:"6.0"`
+ Capability *HostCapability `xml:"capability,omitempty" json:"capability,omitempty"`
}
func init() {
@@ -35422,7 +35377,7 @@ type HostConnectSpec struct {
// the string representation of that hash in the format:
// xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
// where, 'x' represents a hexadecimal digit
- SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty" vim:"2.5"`
+ SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty"`
// The administration account on the host.
//
// (Required for adding
@@ -35462,7 +35417,7 @@ type HostConnectSpec struct {
// address used when communicating with the host. Setting this field is useful
// when the VirtualCenter server is behind a NAT in which case the external NAT
// address must be used.
- ManagementIp string `xml:"managementIp,omitempty" json:"managementIp,omitempty" vim:"4.0"`
+ ManagementIp string `xml:"managementIp,omitempty" json:"managementIp,omitempty"`
// If this is set then the host will be put in the specified lockdown mode
// when the host is added and connected.
//
@@ -35479,14 +35434,14 @@ type HostConnectSpec struct {
//
// If equal to `lockdownDisabled`
// then it is ignored.
- LockdownMode HostLockdownMode `xml:"lockdownMode,omitempty" json:"lockdownMode,omitempty" vim:"6.0"`
+ LockdownMode HostLockdownMode `xml:"lockdownMode,omitempty" json:"lockdownMode,omitempty"`
// Deprecated not supported since vSphere 6.5.
//
// Setting for a gateway for communication to the host.
//
// If set all trafic to the
// host will pass through this gateway.
- HostGateway *HostGatewaySpec `xml:"hostGateway,omitempty" json:"hostGateway,omitempty" vim:"6.0"`
+ HostGateway *HostGatewaySpec `xml:"hostGateway,omitempty" json:"hostGateway,omitempty"`
}
func init() {
@@ -35652,6 +35607,12 @@ type HostCpuPackage struct {
// This is independent of
// the product and licensing capabilities.
CpuFeature []HostCpuIdInfo `xml:"cpuFeature,omitempty" json:"cpuFeature,omitempty"`
+ // Family ID for the CPU
+ Family int16 `xml:"family,omitempty" json:"family,omitempty" vim:"8.0.3.0"`
+ // Model number of the CPU
+ Model int16 `xml:"model,omitempty" json:"model,omitempty" vim:"8.0.3.0"`
+ // Stepping ID of the CPU
+ Stepping int16 `xml:"stepping,omitempty" json:"stepping,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -35671,7 +35632,20 @@ type HostCpuPowerManagementInfo struct {
func init() {
t["HostCpuPowerManagementInfo"] = reflect.TypeOf((*HostCpuPowerManagementInfo)(nil)).Elem()
- minAPIVersionForType["HostCpuPowerManagementInfo"] = "4.0"
+}
+
+// This data object describes the information related to the CPU scheduler
+// running on the Host.
+type HostCpuSchedulerInfo struct {
+ DynamicData
+
+ // The `policy` active for CPU Scheduling.
+ Policy string `xml:"policy" json:"policy"`
+}
+
+func init() {
+ t["HostCpuSchedulerInfo"] = reflect.TypeOf((*HostCpuSchedulerInfo)(nil)).Elem()
+ minAPIVersionForType["HostCpuSchedulerInfo"] = "8.0.3.0"
}
// The parameters of `HostVStorageObjectManager.HostCreateDisk_Task`.
@@ -35744,7 +35718,7 @@ type HostDasErrorEvent struct {
Message string `xml:"message,omitempty" json:"message,omitempty"`
// The reason for the failure.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
@@ -35758,7 +35732,6 @@ type HostDasEvent struct {
func init() {
t["HostDasEvent"] = reflect.TypeOf((*HostDasEvent)(nil)).Elem()
- minAPIVersionForType["HostDasEvent"] = "2.5"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -35932,12 +35905,11 @@ type HostDatastoreSystemCapabilities struct {
// Indicates whether local datastores are supported.
LocalDatastoreSupported bool `xml:"localDatastoreSupported" json:"localDatastoreSupported"`
// Indicates whether vmfs extent expansion is supported.
- VmfsExtentExpansionSupported *bool `xml:"vmfsExtentExpansionSupported" json:"vmfsExtentExpansionSupported,omitempty" vim:"4.0"`
+ VmfsExtentExpansionSupported *bool `xml:"vmfsExtentExpansionSupported" json:"vmfsExtentExpansionSupported,omitempty"`
}
func init() {
t["HostDatastoreSystemCapabilities"] = reflect.TypeOf((*HostDatastoreSystemCapabilities)(nil)).Elem()
- minAPIVersionForType["HostDatastoreSystemCapabilities"] = "2.5"
}
// Contains result of remove datastore request.
@@ -35957,7 +35929,6 @@ type HostDatastoreSystemDatastoreResult struct {
func init() {
t["HostDatastoreSystemDatastoreResult"] = reflect.TypeOf((*HostDatastoreSystemDatastoreResult)(nil)).Elem()
- minAPIVersionForType["HostDatastoreSystemDatastoreResult"] = "6.0"
}
// Specification for creating Virtual Volumed based datastore.
@@ -35975,7 +35946,6 @@ type HostDatastoreSystemVvolDatastoreSpec struct {
func init() {
t["HostDatastoreSystemVvolDatastoreSpec"] = reflect.TypeOf((*HostDatastoreSystemVvolDatastoreSpec)(nil)).Elem()
- minAPIVersionForType["HostDatastoreSystemVvolDatastoreSpec"] = "6.0"
}
// This data object represents the dateTime configuration of the host.
@@ -36021,7 +35991,6 @@ type HostDateTimeConfig struct {
func init() {
t["HostDateTimeConfig"] = reflect.TypeOf((*HostDateTimeConfig)(nil)).Elem()
- minAPIVersionForType["HostDateTimeConfig"] = "2.5"
}
// This data object represents the dateTime configuration of the host.
@@ -36033,7 +36002,7 @@ type HostDateTimeInfo struct {
// The system clock synchronization protocol.
//
// See `HostDateTimeInfoProtocol_enum` for possible values.
- SystemClockProtocol string `xml:"systemClockProtocol,omitempty" json:"systemClockProtocol,omitempty" vim:"7.0"`
+ SystemClockProtocol string `xml:"systemClockProtocol,omitempty" json:"systemClockProtocol,omitempty"`
// The NTP configuration on the host.
NtpConfig *HostNtpConfig `xml:"ntpConfig,omitempty" json:"ntpConfig,omitempty"`
// The PTP configuration on the host.
@@ -36076,7 +36045,6 @@ type HostDateTimeInfo struct {
func init() {
t["HostDateTimeInfo"] = reflect.TypeOf((*HostDateTimeInfo)(nil)).Elem()
- minAPIVersionForType["HostDateTimeInfo"] = "2.5"
}
type HostDateTimeSystemServiceTestResult struct {
@@ -36090,6 +36058,7 @@ type HostDateTimeSystemServiceTestResult struct {
func init() {
t["HostDateTimeSystemServiceTestResult"] = reflect.TypeOf((*HostDateTimeSystemServiceTestResult)(nil)).Elem()
+ minAPIVersionForType["HostDateTimeSystemServiceTestResult"] = "7.0.3.0"
}
type HostDateTimeSystemTimeZone struct {
@@ -36124,6 +36093,7 @@ type HostDeleteVStorageObjectExRequestType struct {
func init() {
t["HostDeleteVStorageObjectExRequestType"] = reflect.TypeOf((*HostDeleteVStorageObjectExRequestType)(nil)).Elem()
+ minAPIVersionForType["HostDeleteVStorageObjectExRequestType"] = "7.0.2.0"
}
type HostDeleteVStorageObjectEx_Task HostDeleteVStorageObjectExRequestType
@@ -36172,7 +36142,6 @@ type HostDeploymentInfo struct {
func init() {
t["HostDeploymentInfo"] = reflect.TypeOf((*HostDeploymentInfo)(nil)).Elem()
- minAPIVersionForType["HostDeploymentInfo"] = "6.5"
}
// This data object type defines a device on the host.
@@ -36210,7 +36179,6 @@ type HostDhcpService struct {
func init() {
t["HostDhcpService"] = reflect.TypeOf((*HostDhcpService)(nil)).Elem()
- minAPIVersionForType["HostDhcpService"] = "2.5"
}
// This data object type describes the configuration of a DHCP service
@@ -36232,7 +36200,6 @@ type HostDhcpServiceConfig struct {
func init() {
t["HostDhcpServiceConfig"] = reflect.TypeOf((*HostDhcpServiceConfig)(nil)).Elem()
- minAPIVersionForType["HostDhcpServiceConfig"] = "2.5"
}
type HostDhcpServiceSpec struct {
@@ -36384,14 +36351,13 @@ type HostDigestInfo struct {
DigestMethod string `xml:"digestMethod" json:"digestMethod"`
// The variable length byte array containing the digest value calculated by
// the specified digestMethod.
- DigestValue []byte `xml:"digestValue" json:"digestValue"`
+ DigestValue ByteSlice `xml:"digestValue" json:"digestValue"`
// The name of the object from which this digest value is calcaulated.
ObjectName string `xml:"objectName,omitempty" json:"objectName,omitempty"`
}
func init() {
t["HostDigestInfo"] = reflect.TypeOf((*HostDigestInfo)(nil)).Elem()
- minAPIVersionForType["HostDigestInfo"] = "4.0"
}
// `HostDirectoryStoreInfo` is a base class for objects that
@@ -36402,7 +36368,6 @@ type HostDirectoryStoreInfo struct {
func init() {
t["HostDirectoryStoreInfo"] = reflect.TypeOf((*HostDirectoryStoreInfo)(nil)).Elem()
- minAPIVersionForType["HostDirectoryStoreInfo"] = "4.1"
}
// This event records a disconnection from a host.
@@ -36410,7 +36375,7 @@ type HostDisconnectedEvent struct {
HostEvent
// Reason why the host was disconnected.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
@@ -36434,7 +36399,6 @@ type HostDiskConfigurationResult struct {
func init() {
t["HostDiskConfigurationResult"] = reflect.TypeOf((*HostDiskConfigurationResult)(nil)).Elem()
- minAPIVersionForType["HostDiskConfigurationResult"] = "5.5"
}
// This data object type describes multiple coordinate systems
@@ -36587,7 +36551,7 @@ type HostDiskPartitionAttributes struct {
//
// This is available only for GPT formatted
// disks.
- Guid string `xml:"guid,omitempty" json:"guid,omitempty" vim:"5.0"`
+ Guid string `xml:"guid,omitempty" json:"guid,omitempty"`
// The flag to indicate whether or not the partition is
// logical.
//
@@ -36599,7 +36563,7 @@ type HostDiskPartitionAttributes struct {
// Partition alignment in bytes.
//
// If unset, partition alignment value is unknown.
- PartitionAlignment int64 `xml:"partitionAlignment,omitempty" json:"partitionAlignment,omitempty" vim:"5.0"`
+ PartitionAlignment int64 `xml:"partitionAlignment,omitempty" json:"partitionAlignment,omitempty"`
}
func init() {
@@ -36707,7 +36671,7 @@ type HostDiskPartitionSpec struct {
DynamicData
// Partition format type on the disk.
- PartitionFormat string `xml:"partitionFormat,omitempty" json:"partitionFormat,omitempty" vim:"5.0"`
+ PartitionFormat string `xml:"partitionFormat,omitempty" json:"partitionFormat,omitempty"`
// Disk dimensions expressed as cylinder, head, sector (CHS)
// coordinates.
Chs *HostDiskDimensionsChs `xml:"chs,omitempty" json:"chs,omitempty"`
@@ -36753,7 +36717,7 @@ type HostDnsConfig struct {
//
// This field is ignored if DHCP is disabled by the
// `dhcp` property.
- Ipv6VirtualNicDevice string `xml:"ipv6VirtualNicDevice,omitempty" json:"ipv6VirtualNicDevice,omitempty" vim:"6.7"`
+ Ipv6VirtualNicDevice string `xml:"ipv6VirtualNicDevice,omitempty" json:"ipv6VirtualNicDevice,omitempty"`
// The host name portion of DNS name.
//
// For example, "esx01".
@@ -36796,12 +36760,11 @@ type HostDnsConfigSpec struct {
// Choose a Virtual nic based on what it is connected to.
VirtualNicConnection *HostVirtualNicConnection `xml:"virtualNicConnection,omitempty" json:"virtualNicConnection,omitempty"`
// Choose an IPv6 Virtual nic based on what it is connected to.
- VirtualNicConnectionV6 *HostVirtualNicConnection `xml:"virtualNicConnectionV6,omitempty" json:"virtualNicConnectionV6,omitempty" vim:"6.7"`
+ VirtualNicConnectionV6 *HostVirtualNicConnection `xml:"virtualNicConnectionV6,omitempty" json:"virtualNicConnectionV6,omitempty"`
}
func init() {
t["HostDnsConfigSpec"] = reflect.TypeOf((*HostDnsConfigSpec)(nil)).Elem()
- minAPIVersionForType["HostDnsConfigSpec"] = "4.0"
}
// Provides information about a single Device Virtualization Extensions (DVX)
@@ -36834,7 +36797,6 @@ type HostEnableAdminFailedEvent struct {
func init() {
t["HostEnableAdminFailedEvent"] = reflect.TypeOf((*HostEnableAdminFailedEvent)(nil)).Elem()
- minAPIVersionForType["HostEnableAdminFailedEvent"] = "2.5"
}
// EnterMaintenanceResult is the result returned to the
@@ -36852,7 +36814,6 @@ type HostEnterMaintenanceResult struct {
func init() {
t["HostEnterMaintenanceResult"] = reflect.TypeOf((*HostEnterMaintenanceResult)(nil)).Elem()
- minAPIVersionForType["HostEnterMaintenanceResult"] = "6.7"
}
type HostEsxAgentHostManagerConfigInfo struct {
@@ -36935,7 +36896,6 @@ type HostExtraNetworksEvent struct {
func init() {
t["HostExtraNetworksEvent"] = reflect.TypeOf((*HostExtraNetworksEvent)(nil)).Elem()
- minAPIVersionForType["HostExtraNetworksEvent"] = "4.0"
}
// Data structure for component health information of a virtual machine.
@@ -36950,7 +36910,6 @@ type HostFaultToleranceManagerComponentHealthInfo struct {
func init() {
t["HostFaultToleranceManagerComponentHealthInfo"] = reflect.TypeOf((*HostFaultToleranceManagerComponentHealthInfo)(nil)).Elem()
- minAPIVersionForType["HostFaultToleranceManagerComponentHealthInfo"] = "6.0"
}
// A feature that the host is able to provide at a particular value.
@@ -36969,7 +36928,6 @@ type HostFeatureCapability struct {
func init() {
t["HostFeatureCapability"] = reflect.TypeOf((*HostFeatureCapability)(nil)).Elem()
- minAPIVersionForType["HostFeatureCapability"] = "5.1"
}
// A mask that is applied to a host feature capability.
@@ -36988,7 +36946,6 @@ type HostFeatureMask struct {
func init() {
t["HostFeatureMask"] = reflect.TypeOf((*HostFeatureMask)(nil)).Elem()
- minAPIVersionForType["HostFeatureMask"] = "5.1"
}
// Feature-specific version information for a host
@@ -37004,7 +36961,6 @@ type HostFeatureVersionInfo struct {
func init() {
t["HostFeatureVersionInfo"] = reflect.TypeOf((*HostFeatureVersionInfo)(nil)).Elem()
- minAPIVersionForType["HostFeatureVersionInfo"] = "4.1"
}
// This data object type describes the Fibre Channel host bus adapter.
@@ -37049,7 +37005,6 @@ type HostFibreChannelOverEthernetHba struct {
func init() {
t["HostFibreChannelOverEthernetHba"] = reflect.TypeOf((*HostFibreChannelOverEthernetHba)(nil)).Elem()
- minAPIVersionForType["HostFibreChannelOverEthernetHba"] = "5.0"
}
// Represents FCoE link information.
@@ -37082,7 +37037,6 @@ type HostFibreChannelOverEthernetHbaLinkInfo struct {
func init() {
t["HostFibreChannelOverEthernetHbaLinkInfo"] = reflect.TypeOf((*HostFibreChannelOverEthernetHbaLinkInfo)(nil)).Elem()
- minAPIVersionForType["HostFibreChannelOverEthernetHbaLinkInfo"] = "5.0"
}
// Fibre Channel Over Ethernet transport information about a SCSI target.
@@ -37117,7 +37071,6 @@ type HostFibreChannelOverEthernetTargetTransport struct {
func init() {
t["HostFibreChannelOverEthernetTargetTransport"] = reflect.TypeOf((*HostFibreChannelOverEthernetTargetTransport)(nil)).Elem()
- minAPIVersionForType["HostFibreChannelOverEthernetTargetTransport"] = "5.0"
}
// Fibre Channel transport information about a SCSI target.
@@ -37172,7 +37125,7 @@ type HostFileSystemMountInfo struct {
// faster and consumes less CPU, memory, and storage fabric bandwidth.
//
// For vSphere 4.0 or earlier hosts, this value will be unset.
- VStorageSupport string `xml:"vStorageSupport,omitempty" json:"vStorageSupport,omitempty" vim:"4.1"`
+ VStorageSupport string `xml:"vStorageSupport,omitempty" json:"vStorageSupport,omitempty"`
}
func init() {
@@ -37245,7 +37198,6 @@ type HostFirewallConfig struct {
func init() {
t["HostFirewallConfig"] = reflect.TypeOf((*HostFirewallConfig)(nil)).Elem()
- minAPIVersionForType["HostFirewallConfig"] = "4.0"
}
type HostFirewallConfigRuleSetConfig struct {
@@ -37256,7 +37208,7 @@ type HostFirewallConfigRuleSetConfig struct {
// Flag indicating if the specified ruleset should be enabled.
Enabled bool `xml:"enabled" json:"enabled"`
// The list of allowed ip addresses
- AllowedHosts *HostFirewallRulesetIpList `xml:"allowedHosts,omitempty" json:"allowedHosts,omitempty" vim:"5.0"`
+ AllowedHosts *HostFirewallRulesetIpList `xml:"allowedHosts,omitempty" json:"allowedHosts,omitempty"`
}
func init() {
@@ -37308,7 +37260,7 @@ type HostFirewallRule struct {
// The port direction.
Direction HostFirewallRuleDirection `xml:"direction" json:"direction"`
// The port type.
- PortType HostFirewallRulePortType `xml:"portType,omitempty" json:"portType,omitempty" vim:"5.0"`
+ PortType HostFirewallRulePortType `xml:"portType,omitempty" json:"portType,omitempty"`
// The port protocol.
//
// Valid values are defined by the
@@ -37345,7 +37297,7 @@ type HostFirewallRuleset struct {
// opened by the firewall.
Enabled bool `xml:"enabled" json:"enabled"`
// List of ipaddress to allow access to the service
- AllowedHosts *HostFirewallRulesetIpList `xml:"allowedHosts,omitempty" json:"allowedHosts,omitempty" vim:"5.0"`
+ AllowedHosts *HostFirewallRulesetIpList `xml:"allowedHosts,omitempty" json:"allowedHosts,omitempty"`
// Flag indicating whether user can enable/disable the firewall ruleset.
UserControllable *bool `xml:"userControllable" json:"userControllable,omitempty" vim:"8.0.2.0"`
// Flag indicating whether user can modify the allowed IP list of the
@@ -37413,7 +37365,6 @@ type HostFirewallRulesetRulesetSpec struct {
func init() {
t["HostFirewallRulesetRulesetSpec"] = reflect.TypeOf((*HostFirewallRulesetRulesetSpec)(nil)).Elem()
- minAPIVersionForType["HostFirewallRulesetRulesetSpec"] = "5.0"
}
// The FlagInfo data object type encapsulates the flag settings for a host.
@@ -37429,7 +37380,6 @@ type HostFlagInfo struct {
func init() {
t["HostFlagInfo"] = reflect.TypeOf((*HostFlagInfo)(nil)).Elem()
- minAPIVersionForType["HostFlagInfo"] = "2.5"
}
// When the system detects a copy of a VmfsVolume, it will not be
@@ -37452,7 +37402,6 @@ type HostForceMountedInfo struct {
func init() {
t["HostForceMountedInfo"] = reflect.TypeOf((*HostForceMountedInfo)(nil)).Elem()
- minAPIVersionForType["HostForceMountedInfo"] = "4.0"
}
// Data object representing the hardware vendor identity
@@ -37502,7 +37451,6 @@ type HostGatewaySpec struct {
func init() {
t["HostGatewaySpec"] = reflect.TypeOf((*HostGatewaySpec)(nil)).Elem()
- minAPIVersionForType["HostGatewaySpec"] = "6.0"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -37514,7 +37462,6 @@ type HostGetShortNameFailedEvent struct {
func init() {
t["HostGetShortNameFailedEvent"] = reflect.TypeOf((*HostGetShortNameFailedEvent)(nil)).Elem()
- minAPIVersionForType["HostGetShortNameFailedEvent"] = "2.5"
}
type HostGetVFlashModuleDefaultConfig HostGetVFlashModuleDefaultConfigRequestType
@@ -37561,7 +37508,6 @@ type HostGraphicsConfig struct {
func init() {
t["HostGraphicsConfig"] = reflect.TypeOf((*HostGraphicsConfig)(nil)).Elem()
- minAPIVersionForType["HostGraphicsConfig"] = "6.5"
}
// A particular graphics device with its associated type and mode.
@@ -37577,11 +37523,15 @@ type HostGraphicsConfigDeviceType struct {
// See `HostGraphicsConfigGraphicsType_enum` for list of
// supported values.
GraphicsType string `xml:"graphicsType" json:"graphicsType"`
+ // vGPU mode for this device.
+ //
+ // See `HostGraphicsConfigVgpuMode_enum` for list of supported
+ // values. If this value is unset, the mode remains unchanged.
+ VgpuMode string `xml:"vgpuMode,omitempty" json:"vgpuMode,omitempty" vim:"8.0.3.0"`
}
func init() {
t["HostGraphicsConfigDeviceType"] = reflect.TypeOf((*HostGraphicsConfigDeviceType)(nil)).Elem()
- minAPIVersionForType["HostGraphicsConfigDeviceType"] = "6.5"
}
// This data object type describes information about a single
@@ -37595,8 +37545,16 @@ type HostGraphicsInfo struct {
VendorName string `xml:"vendorName" json:"vendorName"`
// PCI ID of this device composed of "bus:slot.function".
PciId string `xml:"pciId" json:"pciId"`
- // Graphics type (@see GraphicsType).
+ // Graphics type for this device.
+ //
+ // See `HostGraphicsInfoGraphicsType_enum` for list
+ // of supported values.
GraphicsType string `xml:"graphicsType" json:"graphicsType"`
+ // vGPU mode for this device.
+ //
+ // See `HostGraphicsInfoVgpuMode_enum` for list of supported
+ // values. If vgpuMode is not set, it is treated as value "none".
+ VgpuMode string `xml:"vgpuMode,omitempty" json:"vgpuMode,omitempty" vim:"8.0.3.0"`
// Memory capacity of graphics device or zero if not available.
MemorySizeInKB int64 `xml:"memorySizeInKB" json:"memorySizeInKB"`
// Virtual machines using this graphics device.
@@ -37607,7 +37565,6 @@ type HostGraphicsInfo struct {
func init() {
t["HostGraphicsInfo"] = reflect.TypeOf((*HostGraphicsInfo)(nil)).Elem()
- minAPIVersionForType["HostGraphicsInfo"] = "5.5"
}
// Data object describing the operational status of a physical
@@ -37628,7 +37585,6 @@ type HostHardwareElementInfo struct {
func init() {
t["HostHardwareElementInfo"] = reflect.TypeOf((*HostHardwareElementInfo)(nil)).Elem()
- minAPIVersionForType["HostHardwareElementInfo"] = "2.5"
}
// The HardwareInfo data object type describes the hardware
@@ -37649,7 +37605,7 @@ type HostHardwareInfo struct {
NumaInfo *HostNumaInfo `xml:"numaInfo,omitempty" json:"numaInfo,omitempty"`
// Presence of System Management Controller, indicates the host is
// Apple hardware, and thus capable of running Mac OS guest as VM.
- SmcPresent *bool `xml:"smcPresent" json:"smcPresent,omitempty" vim:"5.0"`
+ SmcPresent *bool `xml:"smcPresent" json:"smcPresent,omitempty"`
// The list of Peripheral Component Interconnect (PCI) devices
// available on this host.
PciDevice []HostPciDevice `xml:"pciDevice,omitempty" json:"pciDevice,omitempty"`
@@ -37666,13 +37622,13 @@ type HostHardwareInfo struct {
// the virtualization platform.
CpuFeature []HostCpuIdInfo `xml:"cpuFeature,omitempty" json:"cpuFeature,omitempty"`
// Information about the system BIOS
- BiosInfo *HostBIOSInfo `xml:"biosInfo,omitempty" json:"biosInfo,omitempty" vim:"2.5"`
+ BiosInfo *HostBIOSInfo `xml:"biosInfo,omitempty" json:"biosInfo,omitempty"`
// Information about reliable memory.
- ReliableMemoryInfo *HostReliableMemoryInfo `xml:"reliableMemoryInfo,omitempty" json:"reliableMemoryInfo,omitempty" vim:"5.5"`
+ ReliableMemoryInfo *HostReliableMemoryInfo `xml:"reliableMemoryInfo,omitempty" json:"reliableMemoryInfo,omitempty"`
// Persistent memory configuration on this host.
- PersistentMemoryInfo *HostPersistentMemoryInfo `xml:"persistentMemoryInfo,omitempty" json:"persistentMemoryInfo,omitempty" vim:"6.7"`
+ PersistentMemoryInfo *HostPersistentMemoryInfo `xml:"persistentMemoryInfo,omitempty" json:"persistentMemoryInfo,omitempty"`
// SGX configuration on this host.
- SgxInfo *HostSgxInfo `xml:"sgxInfo,omitempty" json:"sgxInfo,omitempty" vim:"7.0"`
+ SgxInfo *HostSgxInfo `xml:"sgxInfo,omitempty" json:"sgxInfo,omitempty"`
// SEV configuration on this host.
SevInfo *HostSevInfo `xml:"sevInfo,omitempty" json:"sevInfo,omitempty" vim:"7.0.1.0"`
// Type of memory tiering configured on this host.
@@ -37710,7 +37666,6 @@ type HostHardwareStatusInfo struct {
func init() {
t["HostHardwareStatusInfo"] = reflect.TypeOf((*HostHardwareStatusInfo)(nil)).Elem()
- minAPIVersionForType["HostHardwareStatusInfo"] = "2.5"
}
// This data object type summarizes hardware used by the host.
@@ -37727,7 +37682,7 @@ type HostHardwareSummary struct {
//
// This information may be vendor
// specific.
- OtherIdentifyingInfo []HostSystemIdentificationInfo `xml:"otherIdentifyingInfo,omitempty" json:"otherIdentifyingInfo,omitempty" vim:"2.5"`
+ OtherIdentifyingInfo []HostSystemIdentificationInfo `xml:"otherIdentifyingInfo,omitempty" json:"otherIdentifyingInfo,omitempty"`
// The physical memory size in bytes.
MemorySize int64 `xml:"memorySize" json:"memorySize"`
// The CPU model.
@@ -37779,7 +37734,6 @@ type HostHasComponentFailure struct {
func init() {
t["HostHasComponentFailure"] = reflect.TypeOf((*HostHasComponentFailure)(nil)).Elem()
- minAPIVersionForType["HostHasComponentFailure"] = "6.0"
}
type HostHasComponentFailureFault HostHasComponentFailure
@@ -37830,7 +37784,7 @@ type HostHostBusAdapter struct {
// The list of supported values is described in
// `HostStorageProtocol_enum`.
// When unset, a default value of "scsi" is assumed.
- StorageProtocol string `xml:"storageProtocol,omitempty" json:"storageProtocol,omitempty" vim:"7.0"`
+ StorageProtocol string `xml:"storageProtocol,omitempty" json:"storageProtocol,omitempty"`
}
func init() {
@@ -37877,10 +37831,10 @@ type HostHyperThreadScheduleInfo struct {
// The flag to indicate whether or not the CPU scheduler
// should treat hyperthreads as
// schedulable resources the next time the CPU scheduler starts.
- // - This property is set to "true" by successfully invoking the
- // `enableHyperThreading()` method.
- // - This property is set to "false" by successfully invoking the
- // `disableHyperthreading()` method.
+ // - This property is set to "true" by successfully invoking the
+ // `enableHyperThreading()` method.
+ // - This property is set to "false" by successfully invoking the
+ // `disableHyperthreading()` method.
Config bool `xml:"config" json:"config"`
}
@@ -37936,7 +37890,6 @@ type HostImageProfileSummary struct {
func init() {
t["HostImageProfileSummary"] = reflect.TypeOf((*HostImageProfileSummary)(nil)).Elem()
- minAPIVersionForType["HostImageProfileSummary"] = "5.0"
}
// Host is booted in audit mode.
@@ -37946,7 +37899,6 @@ type HostInAuditModeEvent struct {
func init() {
t["HostInAuditModeEvent"] = reflect.TypeOf((*HostInAuditModeEvent)(nil)).Elem()
- minAPIVersionForType["HostInAuditModeEvent"] = "5.0"
}
// Fault indicating that an operation cannot be performed while
@@ -37957,7 +37909,6 @@ type HostInDomain struct {
func init() {
t["HostInDomain"] = reflect.TypeOf((*HostInDomain)(nil)).Elem()
- minAPIVersionForType["HostInDomain"] = "4.1"
}
type HostInDomainFault HostInDomain
@@ -37980,7 +37931,6 @@ type HostIncompatibleForFaultTolerance struct {
func init() {
t["HostIncompatibleForFaultTolerance"] = reflect.TypeOf((*HostIncompatibleForFaultTolerance)(nil)).Elem()
- minAPIVersionForType["HostIncompatibleForFaultTolerance"] = "4.0"
}
type HostIncompatibleForFaultToleranceFault HostIncompatibleForFaultTolerance
@@ -38005,7 +37955,6 @@ type HostIncompatibleForRecordReplay struct {
func init() {
t["HostIncompatibleForRecordReplay"] = reflect.TypeOf((*HostIncompatibleForRecordReplay)(nil)).Elem()
- minAPIVersionForType["HostIncompatibleForRecordReplay"] = "4.0"
}
type HostIncompatibleForRecordReplayFault HostIncompatibleForRecordReplay
@@ -38048,10 +37997,10 @@ type HostInternetScsiHba struct {
// utilizing the hosting system's existing TCP/IP network connection
IsSoftwareBased bool `xml:"isSoftwareBased" json:"isSoftwareBased"`
// Can this adapter be disabled
- CanBeDisabled *bool `xml:"canBeDisabled" json:"canBeDisabled,omitempty" vim:"5.0"`
+ CanBeDisabled *bool `xml:"canBeDisabled" json:"canBeDisabled,omitempty"`
// Specifies if this iSCSI Adapter requires a bound network
// interface to function.
- NetworkBindingSupport HostInternetScsiHbaNetworkBindingSupportType `xml:"networkBindingSupport,omitempty" json:"networkBindingSupport,omitempty" vim:"5.0"`
+ NetworkBindingSupport HostInternetScsiHbaNetworkBindingSupportType `xml:"networkBindingSupport,omitempty" json:"networkBindingSupport,omitempty"`
// The discovery capabilities for this host bus adapter.
DiscoveryCapabilities HostInternetScsiHbaDiscoveryCapabilities `xml:"discoveryCapabilities" json:"discoveryCapabilities"`
// The discovery settings for this host bus adapter.
@@ -38064,21 +38013,21 @@ type HostInternetScsiHba struct {
// settings unless their authentication settings are explicitly set.
AuthenticationProperties HostInternetScsiHbaAuthenticationProperties `xml:"authenticationProperties" json:"authenticationProperties"`
// The authentication capabilities for this host bus adapter.
- DigestCapabilities *HostInternetScsiHbaDigestCapabilities `xml:"digestCapabilities,omitempty" json:"digestCapabilities,omitempty" vim:"4.0"`
+ DigestCapabilities *HostInternetScsiHbaDigestCapabilities `xml:"digestCapabilities,omitempty" json:"digestCapabilities,omitempty"`
// The digest settings for this host bus adapter.
//
// All static and discovery targets will inherit the use of these
// properties unless their digest settings are explicitly set.
- DigestProperties *HostInternetScsiHbaDigestProperties `xml:"digestProperties,omitempty" json:"digestProperties,omitempty" vim:"4.0"`
+ DigestProperties *HostInternetScsiHbaDigestProperties `xml:"digestProperties,omitempty" json:"digestProperties,omitempty"`
// The IP capabilities for this host bus adapter.
IpCapabilities HostInternetScsiHbaIPCapabilities `xml:"ipCapabilities" json:"ipCapabilities"`
// The IP settings for this host bus adapter.
IpProperties HostInternetScsiHbaIPProperties `xml:"ipProperties" json:"ipProperties"`
// A list of supported key/value pair advanced options for the
// host bus adapter including their type information.
- SupportedAdvancedOptions []OptionDef `xml:"supportedAdvancedOptions,omitempty" json:"supportedAdvancedOptions,omitempty" vim:"4.0"`
+ SupportedAdvancedOptions []OptionDef `xml:"supportedAdvancedOptions,omitempty" json:"supportedAdvancedOptions,omitempty"`
// A list of the current options settings for the host bus adapter.
- AdvancedOptions []HostInternetScsiHbaParamValue `xml:"advancedOptions,omitempty" json:"advancedOptions,omitempty" vim:"4.0"`
+ AdvancedOptions []HostInternetScsiHbaParamValue `xml:"advancedOptions,omitempty" json:"advancedOptions,omitempty"`
// The iSCSI name of this host bus adapter.
IScsiName string `xml:"iScsiName" json:"iScsiName"`
// The iSCSI alias of this host bus adapter.
@@ -38115,15 +38064,15 @@ type HostInternetScsiHbaAuthenticationCapabilities struct {
SpkmAuthSettable bool `xml:"spkmAuthSettable" json:"spkmAuthSettable"`
// When chapAuthSettable is TRUE, this describes if Mutual CHAP
// configuration is allowed as well.
- MutualChapSettable *bool `xml:"mutualChapSettable" json:"mutualChapSettable,omitempty" vim:"4.0"`
+ MutualChapSettable *bool `xml:"mutualChapSettable" json:"mutualChapSettable,omitempty"`
// When targetChapSettable is TRUE, this describes if
// CHAP configuration is allowed on targets associated
// with the adapter.
- TargetChapSettable *bool `xml:"targetChapSettable" json:"targetChapSettable,omitempty" vim:"4.0"`
+ TargetChapSettable *bool `xml:"targetChapSettable" json:"targetChapSettable,omitempty"`
// When targetMutualChapSettable is TRUE, this describes if
// Mutual CHAP configuration is allowed on targets associated
// with the adapter.
- TargetMutualChapSettable *bool `xml:"targetMutualChapSettable" json:"targetMutualChapSettable,omitempty" vim:"4.0"`
+ TargetMutualChapSettable *bool `xml:"targetMutualChapSettable" json:"targetMutualChapSettable,omitempty"`
}
func init() {
@@ -38141,19 +38090,19 @@ type HostInternetScsiHbaAuthenticationProperties struct {
// The CHAP secret if enabled
ChapSecret string `xml:"chapSecret,omitempty" json:"chapSecret,omitempty"`
// The preference for CHAP or non-CHAP protocol if CHAP is enabled
- ChapAuthenticationType string `xml:"chapAuthenticationType,omitempty" json:"chapAuthenticationType,omitempty" vim:"4.0"`
+ ChapAuthenticationType string `xml:"chapAuthenticationType,omitempty" json:"chapAuthenticationType,omitempty"`
// CHAP settings are inherited
- ChapInherited *bool `xml:"chapInherited" json:"chapInherited,omitempty" vim:"4.0"`
+ ChapInherited *bool `xml:"chapInherited" json:"chapInherited,omitempty"`
// When Mutual-CHAP is enabled, the user name that target needs to
// use to authenticate with the initiator
- MutualChapName string `xml:"mutualChapName,omitempty" json:"mutualChapName,omitempty" vim:"4.0"`
+ MutualChapName string `xml:"mutualChapName,omitempty" json:"mutualChapName,omitempty"`
// When Mutual-CHAP is enabled, the secret that target needs to
// use to authenticate with the initiator
- MutualChapSecret string `xml:"mutualChapSecret,omitempty" json:"mutualChapSecret,omitempty" vim:"4.0"`
+ MutualChapSecret string `xml:"mutualChapSecret,omitempty" json:"mutualChapSecret,omitempty"`
// The preference for CHAP or non-CHAP protocol if CHAP is enabled
- MutualChapAuthenticationType string `xml:"mutualChapAuthenticationType,omitempty" json:"mutualChapAuthenticationType,omitempty" vim:"4.0"`
+ MutualChapAuthenticationType string `xml:"mutualChapAuthenticationType,omitempty" json:"mutualChapAuthenticationType,omitempty"`
// Mutual-CHAP settings are inherited
- MutualChapInherited *bool `xml:"mutualChapInherited" json:"mutualChapInherited,omitempty" vim:"4.0"`
+ MutualChapInherited *bool `xml:"mutualChapInherited" json:"mutualChapInherited,omitempty"`
}
func init() {
@@ -38192,7 +38141,6 @@ type HostInternetScsiHbaDigestCapabilities struct {
func init() {
t["HostInternetScsiHbaDigestCapabilities"] = reflect.TypeOf((*HostInternetScsiHbaDigestCapabilities)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaDigestCapabilities"] = "4.0"
}
// The digest settings for this host bus adapter.
@@ -38211,7 +38159,6 @@ type HostInternetScsiHbaDigestProperties struct {
func init() {
t["HostInternetScsiHbaDigestProperties"] = reflect.TypeOf((*HostInternetScsiHbaDigestProperties)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaDigestProperties"] = "4.0"
}
// The discovery capabilities for this host bus adapter.
@@ -38292,43 +38239,43 @@ type HostInternetScsiHbaIPCapabilities struct {
// True if the host bus adapter supports setting its secondary DNS.
AlternateDnsServerAddressSettable bool `xml:"alternateDnsServerAddressSettable" json:"alternateDnsServerAddressSettable"`
// True if the host bus adapter supports the use of IPv6 addresses
- Ipv6Supported *bool `xml:"ipv6Supported" json:"ipv6Supported,omitempty" vim:"4.0"`
+ Ipv6Supported *bool `xml:"ipv6Supported" json:"ipv6Supported,omitempty"`
// True if the host bus adapter supports setting its ARP Redirect value
- ArpRedirectSettable *bool `xml:"arpRedirectSettable" json:"arpRedirectSettable,omitempty" vim:"4.0"`
+ ArpRedirectSettable *bool `xml:"arpRedirectSettable" json:"arpRedirectSettable,omitempty"`
// True if the host bus adapter supports setting its MTU, (for Jumbo
// Frames, etc)
- MtuSettable *bool `xml:"mtuSettable" json:"mtuSettable,omitempty" vim:"4.0"`
+ MtuSettable *bool `xml:"mtuSettable" json:"mtuSettable,omitempty"`
// True if the discovery and static targets can be configured with
// a host name as opposed to an IP address.
- HostNameAsTargetAddress *bool `xml:"hostNameAsTargetAddress" json:"hostNameAsTargetAddress,omitempty" vim:"4.0"`
+ HostNameAsTargetAddress *bool `xml:"hostNameAsTargetAddress" json:"hostNameAsTargetAddress,omitempty"`
// True if the host bus adapter supports setting its name and alias
- NameAliasSettable *bool `xml:"nameAliasSettable" json:"nameAliasSettable,omitempty" vim:"4.1"`
+ NameAliasSettable *bool `xml:"nameAliasSettable" json:"nameAliasSettable,omitempty"`
// True if IPv4 addresssing can be enabled or disabled on the host bus adapter.
- Ipv4EnableSettable *bool `xml:"ipv4EnableSettable" json:"ipv4EnableSettable,omitempty" vim:"6.0"`
+ Ipv4EnableSettable *bool `xml:"ipv4EnableSettable" json:"ipv4EnableSettable,omitempty"`
// True if IPv6 addresssing can be enabled or disabled on the host bus adapter.
- Ipv6EnableSettable *bool `xml:"ipv6EnableSettable" json:"ipv6EnableSettable,omitempty" vim:"6.0"`
+ Ipv6EnableSettable *bool `xml:"ipv6EnableSettable" json:"ipv6EnableSettable,omitempty"`
// True if the Host bus adapter supports setting IPv6 Prefix Length.
- Ipv6PrefixLengthSettable *bool `xml:"ipv6PrefixLengthSettable" json:"ipv6PrefixLengthSettable,omitempty" vim:"6.0"`
+ Ipv6PrefixLengthSettable *bool `xml:"ipv6PrefixLengthSettable" json:"ipv6PrefixLengthSettable,omitempty"`
// Provides the value that user should be using if host bus adapter
// does not support changing of prefix length.
- Ipv6PrefixLength int32 `xml:"ipv6PrefixLength,omitempty" json:"ipv6PrefixLength,omitempty" vim:"6.0"`
+ Ipv6PrefixLength int32 `xml:"ipv6PrefixLength,omitempty" json:"ipv6PrefixLength,omitempty"`
// True if the Host bus adapter supports DHCPv6 configuration.
- Ipv6DhcpConfigurationSettable *bool `xml:"ipv6DhcpConfigurationSettable" json:"ipv6DhcpConfigurationSettable,omitempty" vim:"6.0"`
+ Ipv6DhcpConfigurationSettable *bool `xml:"ipv6DhcpConfigurationSettable" json:"ipv6DhcpConfigurationSettable,omitempty"`
// True if the Host bus adapter supports setting configuration of its IPv6 link local address
// User can specify link local static address if link local auto configuration is set to false.
//
// link local address usually starts with fe80: and has prefix 64.
- Ipv6LinkLocalAutoConfigurationSettable *bool `xml:"ipv6LinkLocalAutoConfigurationSettable" json:"ipv6LinkLocalAutoConfigurationSettable,omitempty" vim:"6.0"`
+ Ipv6LinkLocalAutoConfigurationSettable *bool `xml:"ipv6LinkLocalAutoConfigurationSettable" json:"ipv6LinkLocalAutoConfigurationSettable,omitempty"`
// True if the Host bus adapter supports router advertisement configuration method.
//
// Note: Currently Qlogic adapter does not support plumbing of any user specified
// static address if router advertisement method is enabled.
- Ipv6RouterAdvertisementConfigurationSettable *bool `xml:"ipv6RouterAdvertisementConfigurationSettable" json:"ipv6RouterAdvertisementConfigurationSettable,omitempty" vim:"6.0"`
+ Ipv6RouterAdvertisementConfigurationSettable *bool `xml:"ipv6RouterAdvertisementConfigurationSettable" json:"ipv6RouterAdvertisementConfigurationSettable,omitempty"`
// True if the Host bus adapter supports setting its IPv6 default gateway.
- Ipv6DefaultGatewaySettable *bool `xml:"ipv6DefaultGatewaySettable" json:"ipv6DefaultGatewaySettable,omitempty" vim:"6.0"`
+ Ipv6DefaultGatewaySettable *bool `xml:"ipv6DefaultGatewaySettable" json:"ipv6DefaultGatewaySettable,omitempty"`
// The maximum number of supported IPv6 static addresses on the
// host bus adapter that user can set.
- Ipv6MaxStaticAddressesSupported int32 `xml:"ipv6MaxStaticAddressesSupported,omitempty" json:"ipv6MaxStaticAddressesSupported,omitempty" vim:"6.0"`
+ Ipv6MaxStaticAddressesSupported int32 `xml:"ipv6MaxStaticAddressesSupported,omitempty" json:"ipv6MaxStaticAddressesSupported,omitempty"`
}
func init() {
@@ -38356,35 +38303,35 @@ type HostInternetScsiHbaIPProperties struct {
// Deprecated since vSphere API 5.5 use { @link IPProperties#ipv6properties }.
//
// The current IPv6 address.
- Ipv6Address string `xml:"ipv6Address,omitempty" json:"ipv6Address,omitempty" vim:"4.0"`
+ Ipv6Address string `xml:"ipv6Address,omitempty" json:"ipv6Address,omitempty"`
// Deprecated since vSphere API 5.5 use { @link IPProperties#ipv6properties }.
//
// The current IPv6 subnet mask.
- Ipv6SubnetMask string `xml:"ipv6SubnetMask,omitempty" json:"ipv6SubnetMask,omitempty" vim:"4.0"`
+ Ipv6SubnetMask string `xml:"ipv6SubnetMask,omitempty" json:"ipv6SubnetMask,omitempty"`
// Deprecated since vSphere API 5.5 use { @link IPProperties#ipv6properties }.
//
// The current IPv6 default gateway.
- Ipv6DefaultGateway string `xml:"ipv6DefaultGateway,omitempty" json:"ipv6DefaultGateway,omitempty" vim:"4.0"`
+ Ipv6DefaultGateway string `xml:"ipv6DefaultGateway,omitempty" json:"ipv6DefaultGateway,omitempty"`
// True if ARP Redirect is enabled
- ArpRedirectEnabled *bool `xml:"arpRedirectEnabled" json:"arpRedirectEnabled,omitempty" vim:"4.0"`
+ ArpRedirectEnabled *bool `xml:"arpRedirectEnabled" json:"arpRedirectEnabled,omitempty"`
// True if the host bus adapter supports setting its MTU, (for Jumbo
// Frames, etc)
// Setting enableJumboFrames and not a numeric mtu value implies
// autoselection of appropriate MTU value for Jumbo Frames.
- Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty" vim:"4.0"`
+ Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty"`
JumboFramesEnabled *bool `xml:"jumboFramesEnabled" json:"jumboFramesEnabled,omitempty"`
// True if IPv4 is enabled.
//
// Unset value will keep existing IPv4 enabled state as is.
- Ipv4Enabled *bool `xml:"ipv4Enabled" json:"ipv4Enabled,omitempty" vim:"6.0"`
+ Ipv4Enabled *bool `xml:"ipv4Enabled" json:"ipv4Enabled,omitempty"`
// True if IPv6 is enabled.
//
// Unset value will keep existing IPv6 enabled state as is.
- Ipv6Enabled *bool `xml:"ipv6Enabled" json:"ipv6Enabled,omitempty" vim:"6.0"`
+ Ipv6Enabled *bool `xml:"ipv6Enabled" json:"ipv6Enabled,omitempty"`
// IPv6 properties.
//
// It is set only if { @link #ipv6Enabled } is true.
- Ipv6properties *HostInternetScsiHbaIPv6Properties `xml:"ipv6properties,omitempty" json:"ipv6properties,omitempty" vim:"6.0"`
+ Ipv6properties *HostInternetScsiHbaIPv6Properties `xml:"ipv6properties,omitempty" json:"ipv6properties,omitempty"`
}
func init() {
@@ -38421,7 +38368,6 @@ type HostInternetScsiHbaIPv6Properties struct {
func init() {
t["HostInternetScsiHbaIPv6Properties"] = reflect.TypeOf((*HostInternetScsiHbaIPv6Properties)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaIPv6Properties"] = "6.0"
}
// The IPv6 address.
@@ -38448,7 +38394,6 @@ type HostInternetScsiHbaIscsiIpv6Address struct {
func init() {
t["HostInternetScsiHbaIscsiIpv6Address"] = reflect.TypeOf((*HostInternetScsiHbaIscsiIpv6Address)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaIscsiIpv6Address"] = "6.0"
}
// Describes the the value of an iSCSI parameter, and whether
@@ -38468,7 +38413,6 @@ type HostInternetScsiHbaParamValue struct {
func init() {
t["HostInternetScsiHbaParamValue"] = reflect.TypeOf((*HostInternetScsiHbaParamValue)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaParamValue"] = "4.0"
}
// The iSCSI send target.
@@ -38486,21 +38430,21 @@ type HostInternetScsiHbaSendTarget struct {
// All static targets discovered via this target will inherit the
// use of these settings unless the static target's authentication
// settings are explicitly set.
- AuthenticationProperties *HostInternetScsiHbaAuthenticationProperties `xml:"authenticationProperties,omitempty" json:"authenticationProperties,omitempty" vim:"4.0"`
+ AuthenticationProperties *HostInternetScsiHbaAuthenticationProperties `xml:"authenticationProperties,omitempty" json:"authenticationProperties,omitempty"`
// The digest settings for this discovery target.
//
// All static targets discovered via this target will inherit the
// use of these settings unless the static target's digest
// settings are explicitly set.
- DigestProperties *HostInternetScsiHbaDigestProperties `xml:"digestProperties,omitempty" json:"digestProperties,omitempty" vim:"4.0"`
+ DigestProperties *HostInternetScsiHbaDigestProperties `xml:"digestProperties,omitempty" json:"digestProperties,omitempty"`
// A list of supported key/value pair advanced options for the
// host bus adapter including their type information.
- SupportedAdvancedOptions []OptionDef `xml:"supportedAdvancedOptions,omitempty" json:"supportedAdvancedOptions,omitempty" vim:"4.0"`
+ SupportedAdvancedOptions []OptionDef `xml:"supportedAdvancedOptions,omitempty" json:"supportedAdvancedOptions,omitempty"`
// A list of the current options settings for the host bus adapter.
- AdvancedOptions []HostInternetScsiHbaParamValue `xml:"advancedOptions,omitempty" json:"advancedOptions,omitempty" vim:"4.0"`
+ AdvancedOptions []HostInternetScsiHbaParamValue `xml:"advancedOptions,omitempty" json:"advancedOptions,omitempty"`
// The device name of the host bus adapter from which settings
// can be inherited.
- Parent string `xml:"parent,omitempty" json:"parent,omitempty" vim:"4.0"`
+ Parent string `xml:"parent,omitempty" json:"parent,omitempty"`
}
func init() {
@@ -38522,22 +38466,22 @@ type HostInternetScsiHbaStaticTarget struct {
// Discovery method
// each static target is discovered by some method
// define in TargetDiscoveryMethod.
- DiscoveryMethod string `xml:"discoveryMethod,omitempty" json:"discoveryMethod,omitempty" vim:"5.1"`
+ DiscoveryMethod string `xml:"discoveryMethod,omitempty" json:"discoveryMethod,omitempty"`
// The authentication settings for this target.
- AuthenticationProperties *HostInternetScsiHbaAuthenticationProperties `xml:"authenticationProperties,omitempty" json:"authenticationProperties,omitempty" vim:"4.0"`
+ AuthenticationProperties *HostInternetScsiHbaAuthenticationProperties `xml:"authenticationProperties,omitempty" json:"authenticationProperties,omitempty"`
// The digest settings for this target.
- DigestProperties *HostInternetScsiHbaDigestProperties `xml:"digestProperties,omitempty" json:"digestProperties,omitempty" vim:"4.0"`
+ DigestProperties *HostInternetScsiHbaDigestProperties `xml:"digestProperties,omitempty" json:"digestProperties,omitempty"`
// A list of supported key/value pair advanced options for the
// host bus adapter including their type information.
- SupportedAdvancedOptions []OptionDef `xml:"supportedAdvancedOptions,omitempty" json:"supportedAdvancedOptions,omitempty" vim:"4.0"`
+ SupportedAdvancedOptions []OptionDef `xml:"supportedAdvancedOptions,omitempty" json:"supportedAdvancedOptions,omitempty"`
// A list of the current options settings for the host bus adapter.
- AdvancedOptions []HostInternetScsiHbaParamValue `xml:"advancedOptions,omitempty" json:"advancedOptions,omitempty" vim:"4.0"`
+ AdvancedOptions []HostInternetScsiHbaParamValue `xml:"advancedOptions,omitempty" json:"advancedOptions,omitempty"`
// The parent entity from which settings can be inherited.
//
// It can either
// be unset, or set to the device name of the host bus adapter or the
// name of the SendTarget.
- Parent string `xml:"parent,omitempty" json:"parent,omitempty" vim:"4.0"`
+ Parent string `xml:"parent,omitempty" json:"parent,omitempty"`
}
func init() {
@@ -38556,7 +38500,6 @@ type HostInternetScsiHbaTargetSet struct {
func init() {
t["HostInternetScsiHbaTargetSet"] = reflect.TypeOf((*HostInternetScsiHbaTargetSet)(nil)).Elem()
- minAPIVersionForType["HostInternetScsiHbaTargetSet"] = "4.0"
}
// Internet SCSI transport information about a SCSI target.
@@ -38584,7 +38527,6 @@ type HostInventoryFull struct {
func init() {
t["HostInventoryFull"] = reflect.TypeOf((*HostInventoryFull)(nil)).Elem()
- minAPIVersionForType["HostInventoryFull"] = "2.5"
}
// This event records if the inventory of hosts has reached capacity.
@@ -38596,7 +38538,6 @@ type HostInventoryFullEvent struct {
func init() {
t["HostInventoryFullEvent"] = reflect.TypeOf((*HostInventoryFullEvent)(nil)).Elem()
- minAPIVersionForType["HostInventoryFullEvent"] = "2.5"
}
type HostInventoryFullFault HostInventoryFull
@@ -38613,7 +38554,6 @@ type HostInventoryUnreadableEvent struct {
func init() {
t["HostInventoryUnreadableEvent"] = reflect.TypeOf((*HostInventoryUnreadableEvent)(nil)).Elem()
- minAPIVersionForType["HostInventoryUnreadableEvent"] = "4.0"
}
// Information about an IO Filter installed on a host.
@@ -38626,7 +38566,6 @@ type HostIoFilterInfo struct {
func init() {
t["HostIoFilterInfo"] = reflect.TypeOf((*HostIoFilterInfo)(nil)).Elem()
- minAPIVersionForType["HostIoFilterInfo"] = "6.0"
}
// This event records a change in host IP address.
@@ -38641,7 +38580,6 @@ type HostIpChangedEvent struct {
func init() {
t["HostIpChangedEvent"] = reflect.TypeOf((*HostIpChangedEvent)(nil)).Elem()
- minAPIVersionForType["HostIpChangedEvent"] = "2.5"
}
// The IP configuration.
@@ -38671,7 +38609,7 @@ type HostIpConfig struct {
// current IP configuration and cannot be set.
SubnetMask string `xml:"subnetMask,omitempty" json:"subnetMask,omitempty"`
// The ipv6 configuration
- IpV6Config *HostIpConfigIpV6AddressConfiguration `xml:"ipV6Config,omitempty" json:"ipV6Config,omitempty" vim:"4.0"`
+ IpV6Config *HostIpConfigIpV6AddressConfiguration `xml:"ipV6Config,omitempty" json:"ipV6Config,omitempty"`
}
func init() {
@@ -38718,7 +38656,6 @@ type HostIpConfigIpV6Address struct {
func init() {
t["HostIpConfigIpV6Address"] = reflect.TypeOf((*HostIpConfigIpV6Address)(nil)).Elem()
- minAPIVersionForType["HostIpConfigIpV6Address"] = "4.0"
}
// The ipv6 address configuration
@@ -38744,7 +38681,6 @@ type HostIpConfigIpV6AddressConfiguration struct {
func init() {
t["HostIpConfigIpV6AddressConfiguration"] = reflect.TypeOf((*HostIpConfigIpV6AddressConfiguration)(nil)).Elem()
- minAPIVersionForType["HostIpConfigIpV6AddressConfiguration"] = "4.0"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -38762,7 +38698,6 @@ type HostIpInconsistentEvent struct {
func init() {
t["HostIpInconsistentEvent"] = reflect.TypeOf((*HostIpInconsistentEvent)(nil)).Elem()
- minAPIVersionForType["HostIpInconsistentEvent"] = "2.5"
}
// IP Route Configuration.
@@ -38786,11 +38721,11 @@ type HostIpRouteConfig struct {
// is ignored otherwise.
GatewayDevice string `xml:"gatewayDevice,omitempty" json:"gatewayDevice,omitempty"`
// The default ipv6 gateway address
- IpV6DefaultGateway string `xml:"ipV6DefaultGateway,omitempty" json:"ipV6DefaultGateway,omitempty" vim:"4.0"`
+ IpV6DefaultGateway string `xml:"ipV6DefaultGateway,omitempty" json:"ipV6DefaultGateway,omitempty"`
// The ipv6 gateway device.
//
// This applies to service console gateway only, it
- IpV6GatewayDevice string `xml:"ipV6GatewayDevice,omitempty" json:"ipV6GatewayDevice,omitempty" vim:"4.0"`
+ IpV6GatewayDevice string `xml:"ipV6GatewayDevice,omitempty" json:"ipV6GatewayDevice,omitempty"`
}
func init() {
@@ -38815,7 +38750,6 @@ type HostIpRouteConfigSpec struct {
func init() {
t["HostIpRouteConfigSpec"] = reflect.TypeOf((*HostIpRouteConfigSpec)(nil)).Elem()
- minAPIVersionForType["HostIpRouteConfigSpec"] = "4.0"
}
// IpRouteEntry.
@@ -38837,12 +38771,11 @@ type HostIpRouteEntry struct {
//
// This property can only be read from the server.
// It will be ignored if set by the client.
- DeviceName string `xml:"deviceName,omitempty" json:"deviceName,omitempty" vim:"4.1"`
+ DeviceName string `xml:"deviceName,omitempty" json:"deviceName,omitempty"`
}
func init() {
t["HostIpRouteEntry"] = reflect.TypeOf((*HostIpRouteEntry)(nil)).Elem()
- minAPIVersionForType["HostIpRouteEntry"] = "4.0"
}
// Routing Entry Operation.
@@ -38864,7 +38797,6 @@ type HostIpRouteOp struct {
func init() {
t["HostIpRouteOp"] = reflect.TypeOf((*HostIpRouteOp)(nil)).Elem()
- minAPIVersionForType["HostIpRouteOp"] = "4.0"
}
// IpRouteEntry.
@@ -38881,7 +38813,6 @@ type HostIpRouteTableConfig struct {
func init() {
t["HostIpRouteTableConfig"] = reflect.TypeOf((*HostIpRouteTableConfig)(nil)).Elem()
- minAPIVersionForType["HostIpRouteTableConfig"] = "4.0"
}
// IpRouteTableInfo.
@@ -38897,7 +38828,6 @@ type HostIpRouteTableInfo struct {
func init() {
t["HostIpRouteTableInfo"] = reflect.TypeOf((*HostIpRouteTableInfo)(nil)).Elem()
- minAPIVersionForType["HostIpRouteTableInfo"] = "4.0"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -38909,7 +38839,6 @@ type HostIpToShortNameFailedEvent struct {
func init() {
t["HostIpToShortNameFailedEvent"] = reflect.TypeOf((*HostIpToShortNameFailedEvent)(nil)).Elem()
- minAPIVersionForType["HostIpToShortNameFailedEvent"] = "2.5"
}
// The IpmiInfo data object contains IPMI (Intelligent Platform Management Interface)
@@ -38943,7 +38872,6 @@ type HostIpmiInfo struct {
func init() {
t["HostIpmiInfo"] = reflect.TypeOf((*HostIpmiInfo)(nil)).Elem()
- minAPIVersionForType["HostIpmiInfo"] = "4.0"
}
// This event records that the isolation address could not be pinged.
@@ -38957,7 +38885,6 @@ type HostIsolationIpPingFailedEvent struct {
func init() {
t["HostIsolationIpPingFailedEvent"] = reflect.TypeOf((*HostIsolationIpPingFailedEvent)(nil)).Elem()
- minAPIVersionForType["HostIsolationIpPingFailedEvent"] = "2.5"
}
// Encapsulates information about all licensable resources on the host.
@@ -38976,7 +38903,6 @@ type HostLicensableResourceInfo struct {
func init() {
t["HostLicensableResourceInfo"] = reflect.TypeOf((*HostLicensableResourceInfo)(nil)).Elem()
- minAPIVersionForType["HostLicensableResourceInfo"] = "5.0"
}
// This data object type describes license information stored on the host.
@@ -38991,12 +38917,11 @@ type HostLicenseConnectInfo struct {
//
// NOTE:
// The values in this property may not be accurate for pre-5.0 hosts when returned by vCenter 5.0
- Resource *HostLicensableResourceInfo `xml:"resource,omitempty" json:"resource,omitempty" vim:"5.0"`
+ Resource *HostLicensableResourceInfo `xml:"resource,omitempty" json:"resource,omitempty"`
}
func init() {
t["HostLicenseConnectInfo"] = reflect.TypeOf((*HostLicenseConnectInfo)(nil)).Elem()
- minAPIVersionForType["HostLicenseConnectInfo"] = "4.0"
}
// This event records an expired host license.
@@ -39068,13 +38993,13 @@ type HostListSummary struct {
// The customized field values.
CustomValue []BaseCustomFieldValue `xml:"customValue,omitempty,typeattr" json:"customValue,omitempty"`
// IP address of the VirtualCenter server managing this host, if any.
- ManagementServerIp string `xml:"managementServerIp,omitempty" json:"managementServerIp,omitempty" vim:"2.5"`
+ ManagementServerIp string `xml:"managementServerIp,omitempty" json:"managementServerIp,omitempty"`
// The most capable Enhanced VMotion Compatibility mode supported by the
// host hardware and software; unset if this host cannot participate in
// any EVC mode.
//
// See also `Capability.supportedEVCMode`.
- MaxEVCModeKey string `xml:"maxEVCModeKey,omitempty" json:"maxEVCModeKey,omitempty" vim:"4.0"`
+ MaxEVCModeKey string `xml:"maxEVCModeKey,omitempty" json:"maxEVCModeKey,omitempty"`
// The Enhanced VMotion Compatibility mode that is currently in effect
// for this host.
//
@@ -39082,7 +39007,7 @@ type HostListSummary struct {
// will match the cluster's EVC mode; otherwise this will be unset.
//
// See also `Capability.supportedEVCMode`.
- CurrentEVCModeKey string `xml:"currentEVCModeKey,omitempty" json:"currentEVCModeKey,omitempty" vim:"4.0"`
+ CurrentEVCModeKey string `xml:"currentEVCModeKey,omitempty" json:"currentEVCModeKey,omitempty"`
// The Enhanced VMotion Compatibility Graphics mode that is currently in
// effect for this host.
//
@@ -39093,7 +39018,7 @@ type HostListSummary struct {
// See also `Capability.supportedEVCGraphicsMode`.
CurrentEVCGraphicsModeKey string `xml:"currentEVCGraphicsModeKey,omitempty" json:"currentEVCGraphicsModeKey,omitempty" vim:"7.0.1.0"`
// Gateway configuration, if vCenter server manages the host via a gateway
- Gateway *HostListSummaryGatewaySummary `xml:"gateway,omitempty" json:"gateway,omitempty" vim:"6.0"`
+ Gateway *HostListSummaryGatewaySummary `xml:"gateway,omitempty" json:"gateway,omitempty"`
TpmAttestation *HostTpmAttestationInfo `xml:"tpmAttestation,omitempty" json:"tpmAttestation,omitempty"`
// The attestation information for the host as retrieved from any Trust
// Authority attestation services configured in the host's parent compute
@@ -39134,7 +39059,6 @@ type HostListSummaryGatewaySummary struct {
func init() {
t["HostListSummaryGatewaySummary"] = reflect.TypeOf((*HostListSummaryGatewaySummary)(nil)).Elem()
- minAPIVersionForType["HostListSummaryGatewaySummary"] = "6.0"
}
// Basic host statistics.
@@ -39165,9 +39089,9 @@ type HostListSummaryQuickStats struct {
// The fairness of distributed memory resource allocation on the host.
DistributedMemoryFairness int32 `xml:"distributedMemoryFairness,omitempty" json:"distributedMemoryFairness,omitempty"`
// The available capacity in MB.
- AvailablePMemCapacity int32 `xml:"availablePMemCapacity,omitempty" json:"availablePMemCapacity,omitempty" vim:"6.7"`
+ AvailablePMemCapacity int32 `xml:"availablePMemCapacity,omitempty" json:"availablePMemCapacity,omitempty"`
// The system uptime of the host in seconds.
- Uptime int32 `xml:"uptime,omitempty" json:"uptime,omitempty" vim:"4.1"`
+ Uptime int32 `xml:"uptime,omitempty" json:"uptime,omitempty"`
}
func init() {
@@ -39208,7 +39132,6 @@ type HostLocalAuthenticationInfo struct {
func init() {
t["HostLocalAuthenticationInfo"] = reflect.TypeOf((*HostLocalAuthenticationInfo)(nil)).Elem()
- minAPIVersionForType["HostLocalAuthenticationInfo"] = "4.1"
}
// Local file system volume.
@@ -39248,7 +39171,6 @@ type HostLocalPortCreatedEvent struct {
func init() {
t["HostLocalPortCreatedEvent"] = reflect.TypeOf((*HostLocalPortCreatedEvent)(nil)).Elem()
- minAPIVersionForType["HostLocalPortCreatedEvent"] = "5.1"
}
// File layout spec of a virtual disk.
@@ -39275,7 +39197,6 @@ type HostLowLevelProvisioningManagerDiskLayoutSpec struct {
func init() {
t["HostLowLevelProvisioningManagerDiskLayoutSpec"] = reflect.TypeOf((*HostLowLevelProvisioningManagerDiskLayoutSpec)(nil)).Elem()
- minAPIVersionForType["HostLowLevelProvisioningManagerDiskLayoutSpec"] = "5.0"
}
type HostLowLevelProvisioningManagerFileDeleteResult struct {
@@ -39316,7 +39237,6 @@ type HostLowLevelProvisioningManagerFileReserveResult struct {
func init() {
t["HostLowLevelProvisioningManagerFileReserveResult"] = reflect.TypeOf((*HostLowLevelProvisioningManagerFileReserveResult)(nil)).Elem()
- minAPIVersionForType["HostLowLevelProvisioningManagerFileReserveResult"] = "6.0"
}
type HostLowLevelProvisioningManagerFileReserveSpec struct {
@@ -39350,7 +39270,6 @@ type HostLowLevelProvisioningManagerSnapshotLayoutSpec struct {
func init() {
t["HostLowLevelProvisioningManagerSnapshotLayoutSpec"] = reflect.TypeOf((*HostLowLevelProvisioningManagerSnapshotLayoutSpec)(nil)).Elem()
- minAPIVersionForType["HostLowLevelProvisioningManagerSnapshotLayoutSpec"] = "5.0"
}
// The status of a virtual machine migration operation.
@@ -39391,7 +39310,6 @@ type HostLowLevelProvisioningManagerVmMigrationStatus struct {
func init() {
t["HostLowLevelProvisioningManagerVmMigrationStatus"] = reflect.TypeOf((*HostLowLevelProvisioningManagerVmMigrationStatus)(nil)).Elem()
- minAPIVersionForType["HostLowLevelProvisioningManagerVmMigrationStatus"] = "5.1"
}
// Virtual machine information that can be used for recovery, for
@@ -39433,7 +39351,6 @@ type HostLowLevelProvisioningManagerVmRecoveryInfo struct {
func init() {
t["HostLowLevelProvisioningManagerVmRecoveryInfo"] = reflect.TypeOf((*HostLowLevelProvisioningManagerVmRecoveryInfo)(nil)).Elem()
- minAPIVersionForType["HostLowLevelProvisioningManagerVmRecoveryInfo"] = "5.1"
}
// The `HostMaintenanceSpec` data object may be used to specify
@@ -39452,12 +39369,11 @@ type HostMaintenanceSpec struct {
// Maintenance mode reason code.
//
// See `HostMaintenanceSpecPurpose_enum` for valid values.
- Purpose string `xml:"purpose,omitempty" json:"purpose,omitempty" vim:"7.0"`
+ Purpose string `xml:"purpose,omitempty" json:"purpose,omitempty"`
}
func init() {
t["HostMaintenanceSpec"] = reflect.TypeOf((*HostMaintenanceSpec)(nil)).Elem()
- minAPIVersionForType["HostMaintenanceSpec"] = "5.5"
}
// This class defines healthcheck result of the vSphere Distributed Switch.
@@ -39470,7 +39386,6 @@ type HostMemberHealthCheckResult struct {
func init() {
t["HostMemberHealthCheckResult"] = reflect.TypeOf((*HostMemberHealthCheckResult)(nil)).Elem()
- minAPIVersionForType["HostMemberHealthCheckResult"] = "5.1"
}
// The `HostMemberRuntimeInfo` data object
@@ -39496,16 +39411,20 @@ type HostMemberRuntimeInfo struct {
// `DistributedVirtualSwitchHostMember*.*DistributedVirtualSwitchHostMember.statusDetail`.
StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty"`
// NSX-T component status.
- NsxtStatus string `xml:"nsxtStatus,omitempty" json:"nsxtStatus,omitempty" vim:"7.0"`
+ NsxtStatus string `xml:"nsxtStatus,omitempty" json:"nsxtStatus,omitempty"`
// Additional information regarding the NSX-T component status.
- NsxtStatusDetail string `xml:"nsxtStatusDetail,omitempty" json:"nsxtStatusDetail,omitempty" vim:"7.0"`
+ NsxtStatusDetail string `xml:"nsxtStatusDetail,omitempty" json:"nsxtStatusDetail,omitempty"`
// Health check result for the host that joined the distributed virtual switch.
HealthCheckResult []BaseHostMemberHealthCheckResult `xml:"healthCheckResult,omitempty,typeattr" json:"healthCheckResult,omitempty"`
+ // Indicate the runtime state of uplink on the host.
+ //
+ // It is only applicable when `DistributedVirtualSwitchHostMemberConfigInfo.networkOffloadingEnabled`
+ // is true.
+ HostUplinkState []DistributedVirtualSwitchHostMemberHostUplinkState `xml:"hostUplinkState,omitempty" json:"hostUplinkState,omitempty" vim:"8.0.3.0"`
}
func init() {
t["HostMemberRuntimeInfo"] = reflect.TypeOf((*HostMemberRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["HostMemberRuntimeInfo"] = "5.1"
}
// This class defines healthcheck result of a specified Uplink port
@@ -39519,7 +39438,6 @@ type HostMemberUplinkHealthCheckResult struct {
func init() {
t["HostMemberUplinkHealthCheckResult"] = reflect.TypeOf((*HostMemberUplinkHealthCheckResult)(nil)).Elem()
- minAPIVersionForType["HostMemberUplinkHealthCheckResult"] = "5.1"
}
// The `HostMemoryProfile` data object represents
@@ -39536,7 +39454,6 @@ type HostMemoryProfile struct {
func init() {
t["HostMemoryProfile"] = reflect.TypeOf((*HostMemoryProfile)(nil)).Elem()
- minAPIVersionForType["HostMemoryProfile"] = "4.0"
}
// DataObject used for configuring the memory setting
@@ -39549,7 +39466,6 @@ type HostMemorySpec struct {
func init() {
t["HostMemorySpec"] = reflect.TypeOf((*HostMemorySpec)(nil)).Elem()
- minAPIVersionForType["HostMemorySpec"] = "4.0"
}
// Information about a memory tier on this host.
@@ -39567,6 +39483,11 @@ type HostMemoryTierInfo struct {
// See `HostMemoryTierFlags_enum` for supported
// values.
Flags []string `xml:"flags,omitempty" json:"flags,omitempty"`
+ // System internal flags pertaining to the memory tier.
+ //
+ // See
+ // `HostMemoryTierInternalFlags_enum` for supported values.
+ InternalFlags []string `xml:"internalFlags,omitempty" json:"internalFlags,omitempty" vim:"8.0.3.0"`
// Size of the memory tier in bytes.
Size int64 `xml:"size" json:"size"`
}
@@ -39588,7 +39509,6 @@ type HostMissingNetworksEvent struct {
func init() {
t["HostMissingNetworksEvent"] = reflect.TypeOf((*HostMissingNetworksEvent)(nil)).Elem()
- minAPIVersionForType["HostMissingNetworksEvent"] = "4.0"
}
// This event records when host monitoring state has changed.
@@ -39600,12 +39520,11 @@ type HostMonitoringStateChangedEvent struct {
State string `xml:"state" json:"state"`
// The previous service state in
// `ClusterDasConfigInfoServiceState_enum`
- PrevState string `xml:"prevState,omitempty" json:"prevState,omitempty" vim:"6.5"`
+ PrevState string `xml:"prevState,omitempty" json:"prevState,omitempty"`
}
func init() {
t["HostMonitoringStateChangedEvent"] = reflect.TypeOf((*HostMonitoringStateChangedEvent)(nil)).Elem()
- minAPIVersionForType["HostMonitoringStateChangedEvent"] = "4.0"
}
// The `HostMountInfo` data object provides information related
@@ -39628,7 +39547,7 @@ type HostMountInfo struct {
// For a discovered
// volume, which is mounted, this is true. When this value is
// unset, the default value is true.
- Mounted *bool `xml:"mounted" json:"mounted,omitempty" vim:"5.0"`
+ Mounted *bool `xml:"mounted" json:"mounted,omitempty"`
// Flag that indicates if the datastore is currently accessible from
// the host.
//
@@ -39637,7 +39556,7 @@ type HostMountInfo struct {
// You can use the `DatastoreSummary` property if the `HostMountInfo`
// property is not set. The VirtualCenter Server will always make
// sure the `DatastoreSummary` property is set correctly.
- Accessible *bool `xml:"accessible" json:"accessible,omitempty" vim:"2.5"`
+ Accessible *bool `xml:"accessible" json:"accessible,omitempty"`
// This optional property for inaccessible reason is reported only if
// a datastore becomes inaccessible as reported by
// `HostMountInfo.accessible` and
@@ -39648,7 +39567,7 @@ type HostMountInfo struct {
// This helps to determine host specific reason for datastore inaccessibility.
// If the datastore becomes accessible following an inaccessible condition,
// the property `HostMountInfo.inaccessibleReason` will be unset.
- InaccessibleReason string `xml:"inaccessibleReason,omitempty" json:"inaccessibleReason,omitempty" vim:"5.1"`
+ InaccessibleReason string `xml:"inaccessibleReason,omitempty" json:"inaccessibleReason,omitempty"`
// The name of the vmknic used during mount.
//
// Populated by the vmk control layer if the NAS
@@ -39762,7 +39681,6 @@ type HostMultipathInfoHppLogicalUnitPolicy struct {
func init() {
t["HostMultipathInfoHppLogicalUnitPolicy"] = reflect.TypeOf((*HostMultipathInfoHppLogicalUnitPolicy)(nil)).Elem()
- minAPIVersionForType["HostMultipathInfoHppLogicalUnitPolicy"] = "7.0"
}
// The `HostMultipathInfoLogicalUnit` data object
@@ -39786,7 +39704,7 @@ type HostMultipathInfoLogicalUnit struct {
//
// This policy
// is currently immutable.
- StorageArrayTypePolicy *HostMultipathInfoLogicalUnitStorageArrayTypePolicy `xml:"storageArrayTypePolicy,omitempty" json:"storageArrayTypePolicy,omitempty" vim:"4.0"`
+ StorageArrayTypePolicy *HostMultipathInfoLogicalUnitStorageArrayTypePolicy `xml:"storageArrayTypePolicy,omitempty" json:"storageArrayTypePolicy,omitempty"`
}
func init() {
@@ -39806,16 +39724,16 @@ type HostMultipathInfoLogicalUnitPolicy struct {
// Use one of the following
// strings:
// For NMP plugin
- // - VMW\_PSP\_FIXED
- Use a preferred path whenever possible.
- // - VMW\_PSP\_RR
- Load balance.
- // - VMW\_PSP\_MRU
- Use the most recently used path.
+ // - VMW\_PSP\_FIXED
- Use a preferred path whenever possible.
+ // - VMW\_PSP\_RR
- Load balance.
+ // - VMW\_PSP\_MRU
- Use the most recently used path.
//
// For HPP plugin
- // - FIXED
- Use a preferred path whenever possible.
- // - LB-RR
- Load Balance - round robin.
- // - LB-IOPS
- Load Balance - iops.
- // - LB-BYTES
- Load Balance - bytes.
- // - LB--Latency
- Load balance - least latency.
+ // - FIXED
- Use a preferred path whenever possible.
+ // - LB-RR
- Load Balance - round robin.
+ // - LB-IOPS
- Load Balance - iops.
+ // - LB-BYTES
- Load Balance - bytes.
+ // - LB--Latency
- Load balance - least latency.
//
// You can also use the
// `HostStorageSystem.QueryPathSelectionPolicyOptions` method
@@ -39844,7 +39762,6 @@ type HostMultipathInfoLogicalUnitStorageArrayTypePolicy struct {
func init() {
t["HostMultipathInfoLogicalUnitStorageArrayTypePolicy"] = reflect.TypeOf((*HostMultipathInfoLogicalUnitStorageArrayTypePolicy)(nil)).Elem()
- minAPIVersionForType["HostMultipathInfoLogicalUnitStorageArrayTypePolicy"] = "4.0"
}
// The `HostMultipathInfoPath` data object
@@ -39867,8 +39784,8 @@ type HostMultipathInfoPath struct {
// Use this name to configure LogicalUnit multipathing policy using `HostStorageSystem.EnableMultipathPath` and `HostStorageSystem.DisableMultipathPath`.
Name string `xml:"name" json:"name"`
// Deprecated as of VI API 4.0:
- // - System reported path states are available in `HostMultipathInfoPath.state`.
- // - Paths slated for I/O can be found using `HostMultipathInfoPath.isWorkingPath`.
+ // - System reported path states are available in `HostMultipathInfoPath.state`.
+ // - Paths slated for I/O can be found using `HostMultipathInfoPath.isWorkingPath`.
//
// State of the path.
//
@@ -39904,11 +39821,11 @@ type HostMultipathInfoPath struct {
// unknown
// Path is in unknown error state.
//
- State string `xml:"state,omitempty" json:"state,omitempty" vim:"4.0"`
+ State string `xml:"state,omitempty" json:"state,omitempty"`
// A path, managed by a given path selection policy(psp) plugin, is
// denoted to be a Working Path if the psp plugin is likely to select the
// path for performing I/O in the near future.
- IsWorkingPath *bool `xml:"isWorkingPath" json:"isWorkingPath,omitempty" vim:"4.0"`
+ IsWorkingPath *bool `xml:"isWorkingPath" json:"isWorkingPath,omitempty"`
// The host bus adapter at one endpoint of this path.
Adapter string `xml:"adapter" json:"adapter"`
// The logical unit at one endpoint of this path.
@@ -39938,7 +39855,6 @@ type HostMultipathStateInfo struct {
func init() {
t["HostMultipathStateInfo"] = reflect.TypeOf((*HostMultipathStateInfo)(nil)).Elem()
- minAPIVersionForType["HostMultipathStateInfo"] = "4.0"
}
// Data object indicating state of storage path for a named path.
@@ -39964,7 +39880,6 @@ type HostMultipathStateInfoPath struct {
func init() {
t["HostMultipathStateInfoPath"] = reflect.TypeOf((*HostMultipathStateInfoPath)(nil)).Elem()
- minAPIVersionForType["HostMultipathStateInfoPath"] = "4.0"
}
type HostNasVolume struct {
@@ -39979,7 +39894,7 @@ type HostNasVolume struct {
// The remote path of NFS/CIFS mount point.
RemotePath string `xml:"remotePath" json:"remotePath"`
// In case of CIFS, the user name used while connecting to the server.
- UserName string `xml:"userName,omitempty" json:"userName,omitempty" vim:"2.5"`
+ UserName string `xml:"userName,omitempty" json:"userName,omitempty"`
// This field will hold host names (or ip addresses) of all
// remote hosts configured for the datastore.
//
@@ -39992,11 +39907,11 @@ type HostNasVolume struct {
// Addition of hostnames to this list is limited to MDS server host names
// or the IP addresses. In other words, the Data Server host names IP addresses
// will not be appended to this list.
- RemoteHostNames []string `xml:"remoteHostNames,omitempty" json:"remoteHostNames,omitempty" vim:"6.0"`
+ RemoteHostNames []string `xml:"remoteHostNames,omitempty" json:"remoteHostNames,omitempty"`
// Security type the volume is currently using.
//
// See `HostNasVolumeSecurityType_enum`
- SecurityType string `xml:"securityType,omitempty" json:"securityType,omitempty" vim:"6.0"`
+ SecurityType string `xml:"securityType,omitempty" json:"securityType,omitempty"`
// Indicates that this NAS volume is protocol endpoint.
//
// This
@@ -40004,7 +39919,7 @@ type HostNasVolume struct {
// VirtualVolume based Datastore. Check the host capability
// `HostCapability.virtualVolumeDatastoreSupported`.
// See `HostProtocolEndpoint`.
- ProtocolEndpoint *bool `xml:"protocolEndpoint" json:"protocolEndpoint,omitempty" vim:"6.0"`
+ ProtocolEndpoint *bool `xml:"protocolEndpoint" json:"protocolEndpoint,omitempty"`
}
func init() {
@@ -40027,7 +39942,6 @@ type HostNasVolumeConfig struct {
func init() {
t["HostNasVolumeConfig"] = reflect.TypeOf((*HostNasVolumeConfig)(nil)).Elem()
- minAPIVersionForType["HostNasVolumeConfig"] = "4.0"
}
// Specification for creating NAS volume.
@@ -40091,17 +40005,17 @@ type HostNasVolumeSpec struct {
// `NFS41`
// If not specified, defaults to
// `NFS`
- Type string `xml:"type,omitempty" json:"type,omitempty" vim:"2.5"`
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
// If type is CIFS, the user name to use when connecting to the
// CIFS server.
//
// If type is NFS, this field will be ignored.
- UserName string `xml:"userName,omitempty" json:"userName,omitempty" vim:"2.5"`
+ UserName string `xml:"userName,omitempty" json:"userName,omitempty"`
// If type is CIFS, the password to use when connecting to the
// CIFS server.
//
// If type is NFS, this field will be ignored.
- Password string `xml:"password,omitempty" json:"password,omitempty" vim:"2.5"`
+ Password string `xml:"password,omitempty" json:"password,omitempty"`
// Hostnames or IP addresses of remote NFS server.
//
// In case
@@ -40109,11 +40023,11 @@ type HostNasVolumeSpec struct {
// input should be same in both remoteHost and remoteHostNames.
// In case of NFS v4.1, if vmknic binding is enabled,
// then input can be in format {hostip1:vmknic1, hostip2:vmknic2}.
- RemoteHostNames []string `xml:"remoteHostNames,omitempty" json:"remoteHostNames,omitempty" vim:"6.0"`
+ RemoteHostNames []string `xml:"remoteHostNames,omitempty" json:"remoteHostNames,omitempty"`
// Provided during mount indicating what security type,
// if any, to use
// See `HostNasVolumeSecurityType_enum`
- SecurityType string `xml:"securityType,omitempty" json:"securityType,omitempty" vim:"6.0"`
+ SecurityType string `xml:"securityType,omitempty" json:"securityType,omitempty"`
// Name of the vmknic to be used by this mount.
//
// This field will be updated by a client with vmknic that will be used
@@ -40146,7 +40060,6 @@ type HostNasVolumeUserInfo struct {
func init() {
t["HostNasVolumeUserInfo"] = reflect.TypeOf((*HostNasVolumeUserInfo)(nil)).Elem()
- minAPIVersionForType["HostNasVolumeUserInfo"] = "6.0"
}
// A network address translation (NAT) service instance provides
@@ -40163,7 +40076,6 @@ type HostNatService struct {
func init() {
t["HostNatService"] = reflect.TypeOf((*HostNatService)(nil)).Elem()
- minAPIVersionForType["HostNatService"] = "2.5"
}
// This data object type describes the network address
@@ -40186,7 +40098,6 @@ type HostNatServiceConfig struct {
func init() {
t["HostNatServiceConfig"] = reflect.TypeOf((*HostNatServiceConfig)(nil)).Elem()
- minAPIVersionForType["HostNatServiceConfig"] = "2.5"
}
// This data object type specifies the information for the
@@ -40219,7 +40130,6 @@ type HostNatServiceNameServiceSpec struct {
func init() {
t["HostNatServiceNameServiceSpec"] = reflect.TypeOf((*HostNatServiceNameServiceSpec)(nil)).Elem()
- minAPIVersionForType["HostNatServiceNameServiceSpec"] = "2.5"
}
// This data object type describes the
@@ -40253,7 +40163,6 @@ type HostNatServicePortForwardSpec struct {
func init() {
t["HostNatServicePortForwardSpec"] = reflect.TypeOf((*HostNatServicePortForwardSpec)(nil)).Elem()
- minAPIVersionForType["HostNatServicePortForwardSpec"] = "2.5"
}
// This data object type provides the details about the
@@ -40292,7 +40201,6 @@ type HostNatServiceSpec struct {
func init() {
t["HostNatServiceSpec"] = reflect.TypeOf((*HostNatServiceSpec)(nil)).Elem()
- minAPIVersionForType["HostNatServiceSpec"] = "2.5"
}
// Capability vector indicating the available product features.
@@ -40341,30 +40249,30 @@ type HostNetCapabilities struct {
// The maximum number of port groups supported per virtual switch.
//
// This property will not be set if this value is unlimited.
- MaxPortGroupsPerVswitch int32 `xml:"maxPortGroupsPerVswitch,omitempty" json:"maxPortGroupsPerVswitch,omitempty" vim:"2.5"`
+ MaxPortGroupsPerVswitch int32 `xml:"maxPortGroupsPerVswitch,omitempty" json:"maxPortGroupsPerVswitch,omitempty"`
// The flag to indicate whether virtual switch configuration is
// supported.
//
// This means that operations to add, remove, update virtual
// switches are supported.
- VswitchConfigSupported bool `xml:"vswitchConfigSupported" json:"vswitchConfigSupported" vim:"2.5"`
+ VswitchConfigSupported bool `xml:"vswitchConfigSupported" json:"vswitchConfigSupported"`
// The flag to indicate whether Virtual NIC configuration is supported.
//
// This means that operations to add, remove, update virtualNic are
// supported.
- VnicConfigSupported bool `xml:"vnicConfigSupported" json:"vnicConfigSupported" vim:"2.5"`
+ VnicConfigSupported bool `xml:"vnicConfigSupported" json:"vnicConfigSupported"`
// The flag to indicate whether ip route configuration for the host
// is supported.
- IpRouteConfigSupported bool `xml:"ipRouteConfigSupported" json:"ipRouteConfigSupported" vim:"2.5"`
+ IpRouteConfigSupported bool `xml:"ipRouteConfigSupported" json:"ipRouteConfigSupported"`
// The flag to indicate whether DNS configuration for the host is
// supported.
- DnsConfigSupported bool `xml:"dnsConfigSupported" json:"dnsConfigSupported" vim:"2.5"`
+ DnsConfigSupported bool `xml:"dnsConfigSupported" json:"dnsConfigSupported"`
// This flag indicates whether or not the host is able to support
// dhcp configuration for vnics.
- DhcpOnVnicSupported bool `xml:"dhcpOnVnicSupported" json:"dhcpOnVnicSupported" vim:"2.5"`
+ DhcpOnVnicSupported bool `xml:"dhcpOnVnicSupported" json:"dhcpOnVnicSupported"`
// The flag to indicate whether the host is capable of communicating
// using ipv6 protocol
- IpV6Supported *bool `xml:"ipV6Supported" json:"ipV6Supported,omitempty" vim:"4.0"`
+ IpV6Supported *bool `xml:"ipV6Supported" json:"ipV6Supported,omitempty"`
// The flag to indicate whether the host supports Backup NFC NIOC system
// traffic, Unset means Backup NFC NIOC system traffic is not supported.
BackupNfcNiocSupported *bool `xml:"backupNfcNiocSupported" json:"backupNfcNiocSupported,omitempty" vim:"7.0.1.0"`
@@ -40436,7 +40344,6 @@ type HostNetStackInstance struct {
func init() {
t["HostNetStackInstance"] = reflect.TypeOf((*HostNetStackInstance)(nil)).Elem()
- minAPIVersionForType["HostNetStackInstance"] = "5.5"
}
// This data object type describes networking host configuration data objects.
@@ -40452,7 +40359,7 @@ type HostNetworkConfig struct {
// Virtual switches configured on the host.
Vswitch []HostVirtualSwitchConfig `xml:"vswitch,omitempty" json:"vswitch,omitempty"`
// Host proxy switches configured on the host.
- ProxySwitch []HostProxySwitchConfig `xml:"proxySwitch,omitempty" json:"proxySwitch,omitempty" vim:"4.0"`
+ ProxySwitch []HostProxySwitchConfig `xml:"proxySwitch,omitempty" json:"proxySwitch,omitempty"`
// Port groups configured on the host.
Portgroup []HostPortGroupConfig `xml:"portgroup,omitempty" json:"portgroup,omitempty"`
// Physical network adapters as seen by the primary operating system.
@@ -40482,21 +40389,21 @@ type HostNetworkConfig struct {
// the default NetStackInstance.
//
// IP routing table configuration of the host.
- RouteTableConfig *HostIpRouteTableConfig `xml:"routeTableConfig,omitempty" json:"routeTableConfig,omitempty" vim:"4.0"`
+ RouteTableConfig *HostIpRouteTableConfig `xml:"routeTableConfig,omitempty" json:"routeTableConfig,omitempty"`
// Dynamic Host Control Protocol (DHCP) Service instances configured
// on the host.
- Dhcp []HostDhcpServiceConfig `xml:"dhcp,omitempty" json:"dhcp,omitempty" vim:"2.5"`
+ Dhcp []HostDhcpServiceConfig `xml:"dhcp,omitempty" json:"dhcp,omitempty"`
// Network address translation (NAT) Service instances configured
// on the host.
- Nat []HostNatServiceConfig `xml:"nat,omitempty" json:"nat,omitempty" vim:"2.5"`
+ Nat []HostNatServiceConfig `xml:"nat,omitempty" json:"nat,omitempty"`
// Enable or disable IPv6 protocol on this system.
//
// This property must be set by itself, no other property can accompany
// this change. Following the successful change, the system should be rebooted to
// have the change take effect.
- IpV6Enabled *bool `xml:"ipV6Enabled" json:"ipV6Enabled,omitempty" vim:"4.0"`
+ IpV6Enabled *bool `xml:"ipV6Enabled" json:"ipV6Enabled,omitempty"`
// The list of network stack instance spec
- NetStackSpec []HostNetworkConfigNetStackSpec `xml:"netStackSpec,omitempty" json:"netStackSpec,omitempty" vim:"5.5"`
+ NetStackSpec []HostNetworkConfigNetStackSpec `xml:"netStackSpec,omitempty" json:"netStackSpec,omitempty"`
// Current status of NVDS to VDS migration.
//
// See `HostNetworkConfig*.*HostNetworkConfigMigrationStatus_enum`
@@ -40523,7 +40430,6 @@ type HostNetworkConfigNetStackSpec struct {
func init() {
t["HostNetworkConfigNetStackSpec"] = reflect.TypeOf((*HostNetworkConfigNetStackSpec)(nil)).Elem()
- minAPIVersionForType["HostNetworkConfigNetStackSpec"] = "5.5"
}
// The result returned by updateNetworkConfig call.
@@ -40550,13 +40456,13 @@ type HostNetworkInfo struct {
// Virtual switches configured on the host.
Vswitch []HostVirtualSwitch `xml:"vswitch,omitempty" json:"vswitch,omitempty"`
// Proxy switches configured on the host.
- ProxySwitch []HostProxySwitch `xml:"proxySwitch,omitempty" json:"proxySwitch,omitempty" vim:"4.0"`
+ ProxySwitch []HostProxySwitch `xml:"proxySwitch,omitempty" json:"proxySwitch,omitempty"`
// Port groups configured on the host.
Portgroup []HostPortGroup `xml:"portgroup,omitempty" json:"portgroup,omitempty"`
// Physical network adapters as seen by the primary operating system.
Pnic []PhysicalNic `xml:"pnic,omitempty" json:"pnic,omitempty"`
// Remote direct memory access devices, if any are present on the host.
- RdmaDevice []HostRdmaDevice `xml:"rdmaDevice,omitempty" json:"rdmaDevice,omitempty" vim:"7.0"`
+ RdmaDevice []HostRdmaDevice `xml:"rdmaDevice,omitempty" json:"rdmaDevice,omitempty"`
// Virtual network adapters configured on the host (hosted products)
// or the vmkernel.
//
@@ -40599,23 +40505,23 @@ type HostNetworkInfo struct {
// Get operation will only return its value of default NetStackInstance.
//
// IP routing table
- RouteTableInfo *HostIpRouteTableInfo `xml:"routeTableInfo,omitempty" json:"routeTableInfo,omitempty" vim:"4.0"`
+ RouteTableInfo *HostIpRouteTableInfo `xml:"routeTableInfo,omitempty" json:"routeTableInfo,omitempty"`
// DHCP Service instances configured on the host.
- Dhcp []HostDhcpService `xml:"dhcp,omitempty" json:"dhcp,omitempty" vim:"2.5"`
+ Dhcp []HostDhcpService `xml:"dhcp,omitempty" json:"dhcp,omitempty"`
// NAT service instances configured on the host.
- Nat []HostNatService `xml:"nat,omitempty" json:"nat,omitempty" vim:"2.5"`
+ Nat []HostNatService `xml:"nat,omitempty" json:"nat,omitempty"`
// Enable or disable IPv6 protocol on this system.
- IpV6Enabled *bool `xml:"ipV6Enabled" json:"ipV6Enabled,omitempty" vim:"4.0"`
+ IpV6Enabled *bool `xml:"ipV6Enabled" json:"ipV6Enabled,omitempty"`
// If true then dual IPv4/IPv6 stack enabled else IPv4 only.
- AtBootIpV6Enabled *bool `xml:"atBootIpV6Enabled" json:"atBootIpV6Enabled,omitempty" vim:"4.1"`
+ AtBootIpV6Enabled *bool `xml:"atBootIpV6Enabled" json:"atBootIpV6Enabled,omitempty"`
// List of NetStackInstances
- NetStackInstance []HostNetStackInstance `xml:"netStackInstance,omitempty" json:"netStackInstance,omitempty" vim:"5.5"`
+ NetStackInstance []HostNetStackInstance `xml:"netStackInstance,omitempty" json:"netStackInstance,omitempty"`
// List of opaque switches configured on the host.
- OpaqueSwitch []HostOpaqueSwitch `xml:"opaqueSwitch,omitempty" json:"opaqueSwitch,omitempty" vim:"5.5"`
+ OpaqueSwitch []HostOpaqueSwitch `xml:"opaqueSwitch,omitempty" json:"opaqueSwitch,omitempty"`
// List of opaque networks
- OpaqueNetwork []HostOpaqueNetworkInfo `xml:"opaqueNetwork,omitempty" json:"opaqueNetwork,omitempty" vim:"5.5"`
+ OpaqueNetwork []HostOpaqueNetworkInfo `xml:"opaqueNetwork,omitempty" json:"opaqueNetwork,omitempty"`
// The nsx transport node Id
- NsxTransportNodeId string `xml:"nsxTransportNodeId,omitempty" json:"nsxTransportNodeId,omitempty" vim:"7.0"`
+ NsxTransportNodeId string `xml:"nsxTransportNodeId,omitempty" json:"nsxTransportNodeId,omitempty"`
// Whether NSX N-VDS to VDS migration is required
NvdsToVdsMigrationRequired *bool `xml:"nvdsToVdsMigrationRequired" json:"nvdsToVdsMigrationRequired,omitempty" vim:"7.0.2.0"`
// Current status of NVDS to VDS migration.
@@ -40694,7 +40600,6 @@ type HostNetworkResourceRuntime struct {
func init() {
t["HostNetworkResourceRuntime"] = reflect.TypeOf((*HostNetworkResourceRuntime)(nil)).Elem()
- minAPIVersionForType["HostNetworkResourceRuntime"] = "6.0"
}
// This data object type describes security policy governing ports.
@@ -40771,12 +40676,12 @@ type HostNicFailureCriteria struct {
//
// To use link speed as the criteria, _checkSpeed_ must be one of
// the following values:
- // - `*exact*`: Use exact speed to detect link failure.
- // `*speed*` is the configured exact speed in megabits per second.
- // - `*minimum*`: Use minimum speed to detect failure.
- // `*speed*` is the configured minimum speed in megabits per second.
- // - **empty string**: Do not use link speed to detect failure.
- // `*speed*` is unused in this case.
+ // - `*exact*`: Use exact speed to detect link failure.
+ // `*speed*` is the configured exact speed in megabits per second.
+ // - `*minimum*`: Use minimum speed to detect failure.
+ // `*speed*` is the configured minimum speed in megabits per second.
+ // - **empty string**: Do not use link speed to detect failure.
+ // `*speed*` is unused in this case.
CheckSpeed string `xml:"checkSpeed,omitempty" json:"checkSpeed,omitempty"`
// Deprecated as of VI API 5.1, this property is not supported.
//
@@ -40872,10 +40777,10 @@ type HostNicTeamingPolicy struct {
// Network adapter teaming policy includes failover and load balancing,
// It can be one of the following:
- // - `*loadbalance\_ip*`: route based on ip hash.
- // - `*loadbalance\_srcmac*`: route based on source MAC hash.
- // - `*loadbalance\_srcid*`: route based on the source of the port ID.
- // - `*failover\_explicit*`: use explicit failover order.
+ // - `*loadbalance\_ip*`: route based on ip hash.
+ // - `*loadbalance\_srcmac*`: route based on source MAC hash.
+ // - `*loadbalance\_srcid*`: route based on the source of the port ID.
+ // - `*failover\_explicit*`: use explicit failover order.
//
// See also `HostNetCapabilities.nicTeamingPolicy`.
Policy string `xml:"policy,omitempty" json:"policy,omitempty"`
@@ -40932,7 +40837,6 @@ type HostNoAvailableNetworksEvent struct {
func init() {
t["HostNoAvailableNetworksEvent"] = reflect.TypeOf((*HostNoAvailableNetworksEvent)(nil)).Elem()
- minAPIVersionForType["HostNoAvailableNetworksEvent"] = "4.0"
}
// This event records the fact that a host does not have any HA-enabled port
@@ -40943,7 +40847,6 @@ type HostNoHAEnabledPortGroupsEvent struct {
func init() {
t["HostNoHAEnabledPortGroupsEvent"] = reflect.TypeOf((*HostNoHAEnabledPortGroupsEvent)(nil)).Elem()
- minAPIVersionForType["HostNoHAEnabledPortGroupsEvent"] = "4.0"
}
// This event records the fact that a host does not have a redundant
@@ -40957,7 +40860,6 @@ type HostNoRedundantManagementNetworkEvent struct {
func init() {
t["HostNoRedundantManagementNetworkEvent"] = reflect.TypeOf((*HostNoRedundantManagementNetworkEvent)(nil)).Elem()
- minAPIVersionForType["HostNoRedundantManagementNetworkEvent"] = "2.5"
}
// This event records that host went out of compliance.
@@ -40967,7 +40869,6 @@ type HostNonCompliantEvent struct {
func init() {
t["HostNonCompliantEvent"] = reflect.TypeOf((*HostNonCompliantEvent)(nil)).Elem()
- minAPIVersionForType["HostNonCompliantEvent"] = "4.0"
}
// A HostNotConnected fault is thrown if a method needs
@@ -40994,7 +40895,6 @@ type HostNotInClusterEvent struct {
func init() {
t["HostNotInClusterEvent"] = reflect.TypeOf((*HostNotInClusterEvent)(nil)).Elem()
- minAPIVersionForType["HostNotInClusterEvent"] = "2.5"
}
// A HostNotReachable fault is thrown if the server was unable
@@ -41033,12 +40933,11 @@ type HostNtpConfig struct {
// When submitting a new ntp commands to this property via
// `HostDateTimeSystem.UpdateDateTimeConfig` method, any 'restrict'
// or 'drift' commands will be ignored as the those are set to fixed defaults.
- ConfigFile []string `xml:"configFile,omitempty" json:"configFile,omitempty" vim:"6.0"`
+ ConfigFile []string `xml:"configFile,omitempty" json:"configFile,omitempty"`
}
func init() {
t["HostNtpConfig"] = reflect.TypeOf((*HostNtpConfig)(nil)).Elem()
- minAPIVersionForType["HostNtpConfig"] = "2.5"
}
// Information about NUMA (non-uniform memory access).
@@ -41092,7 +40991,7 @@ type HostNumaNode struct {
// Information about each of the pci devices associated with the node.
//
// The string is of SBDF format, "Segment:Bus:Device.Function".
- PciId []string `xml:"pciId,omitempty" json:"pciId,omitempty" vim:"6.7"`
+ PciId []string `xml:"pciId,omitempty" json:"pciId,omitempty"`
}
func init() {
@@ -41156,7 +41055,7 @@ type HostNumericSensorInfo struct {
// BMC device.Entity ID.Instance.SensorNumber
// Can be used to match a NumericSensorInfo object to
// esxcli hardware ipmi sdr list
- Id string `xml:"id,omitempty" json:"id,omitempty" vim:"6.5"`
+ Id string `xml:"id,omitempty" json:"id,omitempty"`
// The IPMI Sensor/probe that is reporting this event.
//
// Use this value
@@ -41167,14 +41066,13 @@ type HostNumericSensorInfo struct {
// Reports the ISO 8601 Timestamp when this sensor was last updated by
// management controller if the this sensor is capable of tracking
// when it was last updated.
- TimeStamp string `xml:"timeStamp,omitempty" json:"timeStamp,omitempty" vim:"6.5"`
+ TimeStamp string `xml:"timeStamp,omitempty" json:"timeStamp,omitempty"`
// The FRU this sensor monitors if any.
Fru *HostFru `xml:"fru,omitempty" json:"fru,omitempty" vim:"8.0.0.1"`
}
func init() {
t["HostNumericSensorInfo"] = reflect.TypeOf((*HostNumericSensorInfo)(nil)).Elem()
- minAPIVersionForType["HostNumericSensorInfo"] = "2.5"
}
// Specifies the parameters necessary to connect to a regular NVME over Fabrics
@@ -41226,13 +41124,12 @@ type HostNvmeConnectSpec struct {
// If unset, it defaults to a reasonable value which may vary between
// releases (currently 30 seconds).
// For further information, see:
- // - "NVM Express 1.3", Section 5.21.1.15, "Keep Alive Timer"
+ // - "NVM Express 1.3", Section 5.21.1.15, "Keep Alive Timer"
KeepAliveTimeout int32 `xml:"keepAliveTimeout,omitempty" json:"keepAliveTimeout,omitempty"`
}
func init() {
t["HostNvmeConnectSpec"] = reflect.TypeOf((*HostNvmeConnectSpec)(nil)).Elem()
- minAPIVersionForType["HostNvmeConnectSpec"] = "7.0"
}
// This data object represents an NVME controller.
@@ -41259,8 +41156,8 @@ type HostNvmeController struct {
// Each NVME controller is associated with an NVME subsystem
// which can present a collection of controllers to the adapter.
// For more details, refer to:
- // - "NVM Express over Fabrics 1.0", Section 1.5.2,
- // "NVM Subsystem".
+ // - "NVM Express over Fabrics 1.0", Section 1.5.2,
+ // "NVM Subsystem".
Subnqn string `xml:"subnqn" json:"subnqn"`
// Name of the controller.
//
@@ -41277,15 +41174,15 @@ type HostNvmeController struct {
//
// The set of possible values is described in `HostNvmeTransportType_enum`.
// For details, see:
- // - "NVM Express over Fabrics 1.0", Section 1.5.1,
- // "Fabrics and Transports".
+ // - "NVM Express over Fabrics 1.0", Section 1.5.1,
+ // "Fabrics and Transports".
TransportType string `xml:"transportType" json:"transportType"`
// Indicates whether fused operations are supported by the controller.
//
// An NVME controller may support fused operations. This is required
// to support shared storage, otherwise data corruption may occur.
// For more details, see:
- // - "NVM Express 1.3", Section 6.2, "Fused Operations".
+ // - "NVM Express 1.3", Section 6.2, "Fused Operations".
FusedOperationSupported bool `xml:"fusedOperationSupported" json:"fusedOperationSupported"`
// The number of I/O queues allocated for the controller.
NumberOfQueues int32 `xml:"numberOfQueues" json:"numberOfQueues"`
@@ -41293,15 +41190,15 @@ type HostNvmeController struct {
//
// This will not be greater than the Maximum Queue Entries Supported
// (mqes) value for the controller. For more information, see:
- // - "NVM Express 1.3", section 3.1, "Register definition".
+ // - "NVM Express 1.3", section 3.1, "Register definition".
QueueSize int32 `xml:"queueSize" json:"queueSize"`
// List of NVME namespaces attached to the controller.
//
// Namespaces provide access to a non-volatile storage medium
// which is part of the NVM subsystem. For an overview, see:
- // - "NVM Express over Fabrics 1.0", Section 1.5.2,
- // "NVM Subsystem".
- // - "NVM Express 1.3", section 6.1, "Namespaces".
+ // - "NVM Express over Fabrics 1.0", Section 1.5.2,
+ // "NVM Subsystem".
+ // - "NVM Express 1.3", section 6.1, "Namespaces".
AttachedNamespace []HostNvmeNamespace `xml:"attachedNamespace,omitempty" json:"attachedNamespace,omitempty"`
// The vendor ID of the controller, if available.
VendorId string `xml:"vendorId,omitempty" json:"vendorId,omitempty"`
@@ -41315,7 +41212,6 @@ type HostNvmeController struct {
func init() {
t["HostNvmeController"] = reflect.TypeOf((*HostNvmeController)(nil)).Elem()
- minAPIVersionForType["HostNvmeController"] = "7.0"
}
// Specifies the parameters necessary to disconnect an NVME controller
@@ -41345,7 +41241,6 @@ type HostNvmeDisconnectSpec struct {
func init() {
t["HostNvmeDisconnectSpec"] = reflect.TypeOf((*HostNvmeDisconnectSpec)(nil)).Elem()
- minAPIVersionForType["HostNvmeDisconnectSpec"] = "7.0"
}
// Specifies the parameters necessary to connect to a Discovery Service and
@@ -41375,7 +41270,6 @@ type HostNvmeDiscoverSpec struct {
func init() {
t["HostNvmeDiscoverSpec"] = reflect.TypeOf((*HostNvmeDiscoverSpec)(nil)).Elem()
- minAPIVersionForType["HostNvmeDiscoverSpec"] = "7.0"
}
// This data object represents the Discovery Log returned by
@@ -41405,7 +41299,6 @@ type HostNvmeDiscoveryLog struct {
func init() {
t["HostNvmeDiscoveryLog"] = reflect.TypeOf((*HostNvmeDiscoveryLog)(nil)).Elem()
- minAPIVersionForType["HostNvmeDiscoveryLog"] = "7.0"
}
// This data object represents a single entry in the Discovery
@@ -41430,8 +41323,8 @@ type HostNvmeDiscoveryLogEntry struct {
// Corresponds to the PORTID field in the Discovery Log
// Page Entry as specified by the NVME over Fabrics spec.
// For an overview, see:
- // - "NVM Express over Fabrics 1.0", Section 1.5.2,
- // NVM Subsystem
+ // - "NVM Express over Fabrics 1.0", Section 1.5.2,
+ // NVM Subsystem
SubsystemPortId int32 `xml:"subsystemPortId" json:"subsystemPortId"`
// NVME Controller ID within the NVM subsystem.
//
@@ -41490,7 +41383,6 @@ type HostNvmeDiscoveryLogEntry struct {
func init() {
t["HostNvmeDiscoveryLogEntry"] = reflect.TypeOf((*HostNvmeDiscoveryLogEntry)(nil)).Elem()
- minAPIVersionForType["HostNvmeDiscoveryLogEntry"] = "7.0"
}
// This data object represents an NVM Express Namespace.
@@ -41520,7 +41412,7 @@ type HostNvmeNamespace struct {
//
// The namespace ID is only unique among the namespaces
// attached to the same controller. For details, see:
- // - "NVM Express 1.3", section 6.1, "Namespaces".
+ // - "NVM Express 1.3", section 6.1, "Namespaces".
Id int32 `xml:"id" json:"id"`
// Block size of the namespace in bytes.
//
@@ -41533,14 +41425,13 @@ type HostNvmeNamespace struct {
//
// Corresponds to the NCAP field in the Identify Namespace data
// structure:
- // - "NVM Express 1.3", Section 5.15, Figure 114,
- // "Identify Namespace Data Structure"
+ // - "NVM Express 1.3", Section 5.15, Figure 114,
+ // "Identify Namespace Data Structure"
CapacityInBlocks int64 `xml:"capacityInBlocks" json:"capacityInBlocks"`
}
func init() {
t["HostNvmeNamespace"] = reflect.TypeOf((*HostNvmeNamespace)(nil)).Elem()
- minAPIVersionForType["HostNvmeNamespace"] = "7.0"
}
// This data object represents the raw transport specific parameters
@@ -41587,7 +41478,6 @@ type HostNvmeOpaqueTransportParameters struct {
func init() {
t["HostNvmeOpaqueTransportParameters"] = reflect.TypeOf((*HostNvmeOpaqueTransportParameters)(nil)).Elem()
- minAPIVersionForType["HostNvmeOpaqueTransportParameters"] = "7.0"
}
// This data object represents the transport specific parameters
@@ -41603,7 +41493,6 @@ type HostNvmeOverFibreChannelParameters struct {
func init() {
t["HostNvmeOverFibreChannelParameters"] = reflect.TypeOf((*HostNvmeOverFibreChannelParameters)(nil)).Elem()
- minAPIVersionForType["HostNvmeOverFibreChannelParameters"] = "7.0"
}
// This data object represents the transport specific parameters
@@ -41632,7 +41521,6 @@ type HostNvmeOverRdmaParameters struct {
func init() {
t["HostNvmeOverRdmaParameters"] = reflect.TypeOf((*HostNvmeOverRdmaParameters)(nil)).Elem()
- minAPIVersionForType["HostNvmeOverRdmaParameters"] = "7.0"
}
// This data object represents the transport specific parameters
@@ -41657,8 +41545,8 @@ type HostNvmeOverTcpParameters struct {
// described in `HostDigestVerificationSetting_enum`. If unset,
// a default value of disabled is assumed.
// For details, see:
- // - NVM Express Technical Proposal 8000 - NVMe/TCP Transport,
- // Section 7.4.10.2, "Initialize Connection Request PDU (ICReq)" - DGST field.
+ // - NVM Express Technical Proposal 8000 - NVMe/TCP Transport,
+ // Section 7.4.10.2, "Initialize Connection Request PDU (ICReq)" - DGST field.
//
// When part of `HostNvmeDiscoveryLogEntry`, this value is unset.
DigestVerification string `xml:"digestVerification,omitempty" json:"digestVerification,omitempty"`
@@ -41682,7 +41570,6 @@ type HostNvmeSpec struct {
func init() {
t["HostNvmeSpec"] = reflect.TypeOf((*HostNvmeSpec)(nil)).Elem()
- minAPIVersionForType["HostNvmeSpec"] = "7.0"
}
// This data object type describes the NVME topology information.
@@ -41709,7 +41596,6 @@ type HostNvmeTopology struct {
func init() {
t["HostNvmeTopology"] = reflect.TypeOf((*HostNvmeTopology)(nil)).Elem()
- minAPIVersionForType["HostNvmeTopology"] = "7.0"
}
// This data object describes the NVME interface that is
@@ -41732,7 +41618,6 @@ type HostNvmeTopologyInterface struct {
func init() {
t["HostNvmeTopologyInterface"] = reflect.TypeOf((*HostNvmeTopologyInterface)(nil)).Elem()
- minAPIVersionForType["HostNvmeTopologyInterface"] = "7.0"
}
// This data object represents the transport specific parameters
@@ -41746,7 +41631,6 @@ type HostNvmeTransportParameters struct {
func init() {
t["HostNvmeTransportParameters"] = reflect.TypeOf((*HostNvmeTransportParameters)(nil)).Elem()
- minAPIVersionForType["HostNvmeTransportParameters"] = "7.0"
}
// Information on opaque networks that are available on the host.
@@ -41760,18 +41644,17 @@ type HostOpaqueNetworkInfo struct {
// The type of the opaque network.
OpaqueNetworkType string `xml:"opaqueNetworkType" json:"opaqueNetworkType"`
// IDs of networking zones that back the opaque network.
- PnicZone []string `xml:"pnicZone,omitempty" json:"pnicZone,omitempty" vim:"6.0"`
+ PnicZone []string `xml:"pnicZone,omitempty" json:"pnicZone,omitempty"`
// The capability of the opaque network.
//
// Refer `OpaqueNetworkCapability`
- Capability *OpaqueNetworkCapability `xml:"capability,omitempty" json:"capability,omitempty" vim:"6.5"`
+ Capability *OpaqueNetworkCapability `xml:"capability,omitempty" json:"capability,omitempty"`
// Extra NSX specific properties for opaque networks.
- ExtraConfig []BaseOptionValue `xml:"extraConfig,omitempty,typeattr" json:"extraConfig,omitempty" vim:"6.5"`
+ ExtraConfig []BaseOptionValue `xml:"extraConfig,omitempty,typeattr" json:"extraConfig,omitempty"`
}
func init() {
t["HostOpaqueNetworkInfo"] = reflect.TypeOf((*HostOpaqueNetworkInfo)(nil)).Elem()
- minAPIVersionForType["HostOpaqueNetworkInfo"] = "5.5"
}
// The OpaqueSwitch contains basic information about virtual switches that are
@@ -41786,23 +41669,22 @@ type HostOpaqueSwitch struct {
// The set of physical network adapters associated with this switch.
Pnic []string `xml:"pnic,omitempty" json:"pnic,omitempty"`
// The IDs of networking zones associated with this switch.
- PnicZone []HostOpaqueSwitchPhysicalNicZone `xml:"pnicZone,omitempty" json:"pnicZone,omitempty" vim:"6.0"`
+ PnicZone []HostOpaqueSwitchPhysicalNicZone `xml:"pnicZone,omitempty" json:"pnicZone,omitempty"`
// Opaque switch status.
//
// See
// `OpaqueSwitchState` for valid values.
- Status string `xml:"status,omitempty" json:"status,omitempty" vim:"6.0"`
+ Status string `xml:"status,omitempty" json:"status,omitempty"`
// List of VTEPs associated with this switch.
- Vtep []HostVirtualNic `xml:"vtep,omitempty" json:"vtep,omitempty" vim:"6.0"`
+ Vtep []HostVirtualNic `xml:"vtep,omitempty" json:"vtep,omitempty"`
// Extra NSX specific properties for opaque switch.
- ExtraConfig []BaseOptionValue `xml:"extraConfig,omitempty,typeattr" json:"extraConfig,omitempty" vim:"6.5"`
+ ExtraConfig []BaseOptionValue `xml:"extraConfig,omitempty,typeattr" json:"extraConfig,omitempty"`
// Array of host specific feature capabilities that the switch has.
- FeatureCapability []HostFeatureCapability `xml:"featureCapability,omitempty" json:"featureCapability,omitempty" vim:"6.7"`
+ FeatureCapability []HostFeatureCapability `xml:"featureCapability,omitempty" json:"featureCapability,omitempty"`
}
func init() {
t["HostOpaqueSwitch"] = reflect.TypeOf((*HostOpaqueSwitch)(nil)).Elem()
- minAPIVersionForType["HostOpaqueSwitch"] = "5.5"
}
type HostOpaqueSwitchPhysicalNicZone struct {
@@ -41830,7 +41712,6 @@ type HostOvercommittedEvent struct {
func init() {
t["HostOvercommittedEvent"] = reflect.TypeOf((*HostOvercommittedEvent)(nil)).Elem()
- minAPIVersionForType["HostOvercommittedEvent"] = "4.0"
}
// The VMFS file system.
@@ -41845,7 +41726,6 @@ type HostPMemVolume struct {
func init() {
t["HostPMemVolume"] = reflect.TypeOf((*HostPMemVolume)(nil)).Elem()
- minAPIVersionForType["HostPMemVolume"] = "6.7"
}
// The ParallelScsiHba data object type describes a
@@ -41867,6 +41747,28 @@ func init() {
t["HostParallelScsiTargetTransport"] = reflect.TypeOf((*HostParallelScsiTargetTransport)(nil)).Elem()
}
+// This data object contains information about the runtime status of
+// a partial maintenance mode.
+type HostPartialMaintenanceModeRuntimeInfo struct {
+ DynamicData
+
+ // The unique identifier of the partial maintenance mode.
+ //
+ // The values of the identifiers for the most common kinds of partial
+ // maintenance modes are enumerated in `HostPartialMaintenanceModeId_enum`.
+ Key string `xml:"key" json:"key"`
+ // The current runtime status for the particular partial maintenance mode.
+ //
+ // The list of supported values is specified in
+ // `HostPartialMaintenanceModeStatus_enum`.
+ HostStatus string `xml:"hostStatus" json:"hostStatus"`
+}
+
+func init() {
+ t["HostPartialMaintenanceModeRuntimeInfo"] = reflect.TypeOf((*HostPartialMaintenanceModeRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["HostPartialMaintenanceModeRuntimeInfo"] = "8.0.3.0"
+}
+
type HostPatchManagerLocator struct {
DynamicData
@@ -41907,7 +41809,6 @@ type HostPatchManagerPatchManagerOperationSpec struct {
func init() {
t["HostPatchManagerPatchManagerOperationSpec"] = reflect.TypeOf((*HostPatchManagerPatchManagerOperationSpec)(nil)).Elem()
- minAPIVersionForType["HostPatchManagerPatchManagerOperationSpec"] = "4.0"
}
// The result of the operation.
@@ -41927,7 +41828,6 @@ type HostPatchManagerResult struct {
func init() {
t["HostPatchManagerResult"] = reflect.TypeOf((*HostPatchManagerResult)(nil)).Elem()
- minAPIVersionForType["HostPatchManagerResult"] = "4.0"
}
type HostPatchManagerStatus struct {
@@ -42034,7 +41934,6 @@ type HostPathSelectionPolicyOption struct {
func init() {
t["HostPathSelectionPolicyOption"] = reflect.TypeOf((*HostPathSelectionPolicyOption)(nil)).Elem()
- minAPIVersionForType["HostPathSelectionPolicyOption"] = "4.0"
}
// This data object type describes information about
@@ -42090,9 +41989,13 @@ type HostPciDevice struct {
// will convert the ID to its two's complement for the WSDL representation.
SubDeviceId int16 `xml:"subDeviceId" json:"subDeviceId"`
// The parent bridge of this PCI.
- ParentBridge string `xml:"parentBridge,omitempty" json:"parentBridge,omitempty" vim:"4.0"`
+ ParentBridge string `xml:"parentBridge,omitempty" json:"parentBridge,omitempty"`
// The device name of this PCI.
DeviceName string `xml:"deviceName" json:"deviceName"`
+ // The name for the PCI device class representing this PCI.
+ //
+ // For example: "Host bridge", "iSCSI device", "Fibre channel HBA".
+ DeviceClassName string `xml:"deviceClassName,omitempty" json:"deviceClassName,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -42114,14 +42017,13 @@ type HostPciPassthruConfig struct {
// based on `HostCapability.deviceRebindWithoutRebootSupported`.
// If the configuration can be applied immediately, it
// will be, otherwise the changes will take effect after reboot.
- ApplyNow *bool `xml:"applyNow" json:"applyNow,omitempty" vim:"7.0"`
+ ApplyNow *bool `xml:"applyNow" json:"applyNow,omitempty"`
// The hardware label of the this PCI device.
HardwareLabel string `xml:"hardwareLabel,omitempty" json:"hardwareLabel,omitempty" vim:"7.0.2.0"`
}
func init() {
t["HostPciPassthruConfig"] = reflect.TypeOf((*HostPciPassthruConfig)(nil)).Elem()
- minAPIVersionForType["HostPciPassthruConfig"] = "4.0"
}
// This data object provides information about the state of PciPassthru
@@ -42145,7 +42047,6 @@ type HostPciPassthruInfo struct {
func init() {
t["HostPciPassthruInfo"] = reflect.TypeOf((*HostPciPassthruInfo)(nil)).Elem()
- minAPIVersionForType["HostPciPassthruInfo"] = "4.0"
}
// This data object describes the Peripheral Component Interconnect Express
@@ -42156,7 +42057,6 @@ type HostPcieHba struct {
func init() {
t["HostPcieHba"] = reflect.TypeOf((*HostPcieHba)(nil)).Elem()
- minAPIVersionForType["HostPcieHba"] = "7.0"
}
// Peripheral Component Interconnect Express (PCIe)
@@ -42167,7 +42067,6 @@ type HostPcieTargetTransport struct {
func init() {
t["HostPcieTargetTransport"] = reflect.TypeOf((*HostPcieTargetTransport)(nil)).Elem()
- minAPIVersionForType["HostPcieTargetTransport"] = "7.0"
}
// Host Hardware information about configured and available
@@ -42183,7 +42082,6 @@ type HostPersistentMemoryInfo struct {
func init() {
t["HostPersistentMemoryInfo"] = reflect.TypeOf((*HostPersistentMemoryInfo)(nil)).Elem()
- minAPIVersionForType["HostPersistentMemoryInfo"] = "6.7"
}
// This data type describes the Virtual Machine and
@@ -42204,7 +42102,6 @@ type HostPlacedVirtualNicIdentifier struct {
func init() {
t["HostPlacedVirtualNicIdentifier"] = reflect.TypeOf((*HostPlacedVirtualNicIdentifier)(nil)).Elem()
- minAPIVersionForType["HostPlacedVirtualNicIdentifier"] = "6.0"
}
// This data object represents the plug-store topology on a host
@@ -42285,7 +42182,6 @@ type HostPlugStoreTopology struct {
func init() {
t["HostPlugStoreTopology"] = reflect.TypeOf((*HostPlugStoreTopology)(nil)).Elem()
- minAPIVersionForType["HostPlugStoreTopology"] = "4.0"
}
// This data object type is an association class that describes a host bus
@@ -42306,7 +42202,6 @@ type HostPlugStoreTopologyAdapter struct {
func init() {
t["HostPlugStoreTopologyAdapter"] = reflect.TypeOf((*HostPlugStoreTopologyAdapter)(nil)).Elem()
- minAPIVersionForType["HostPlugStoreTopologyAdapter"] = "4.0"
}
// This data object type is an association class that describes a ScsiLun
@@ -42327,7 +42222,6 @@ type HostPlugStoreTopologyDevice struct {
func init() {
t["HostPlugStoreTopologyDevice"] = reflect.TypeOf((*HostPlugStoreTopologyDevice)(nil)).Elem()
- minAPIVersionForType["HostPlugStoreTopologyDevice"] = "4.0"
}
// This data object type is an association class that describes a Path and
@@ -42368,7 +42262,6 @@ type HostPlugStoreTopologyPath struct {
func init() {
t["HostPlugStoreTopologyPath"] = reflect.TypeOf((*HostPlugStoreTopologyPath)(nil)).Elem()
- minAPIVersionForType["HostPlugStoreTopologyPath"] = "4.0"
}
// This data object type represents a Plugin in the plug store architecture.
@@ -42394,7 +42287,6 @@ type HostPlugStoreTopologyPlugin struct {
func init() {
t["HostPlugStoreTopologyPlugin"] = reflect.TypeOf((*HostPlugStoreTopologyPlugin)(nil)).Elem()
- minAPIVersionForType["HostPlugStoreTopologyPlugin"] = "4.0"
}
// This data object represents target information.
@@ -42412,7 +42304,6 @@ type HostPlugStoreTopologyTarget struct {
func init() {
t["HostPlugStoreTopologyTarget"] = reflect.TypeOf((*HostPlugStoreTopologyTarget)(nil)).Elem()
- minAPIVersionForType["HostPlugStoreTopologyTarget"] = "4.0"
}
// This data type describes the avaialable capacity
@@ -42433,7 +42324,6 @@ type HostPnicNetworkResourceInfo struct {
func init() {
t["HostPnicNetworkResourceInfo"] = reflect.TypeOf((*HostPnicNetworkResourceInfo)(nil)).Elem()
- minAPIVersionForType["HostPnicNetworkResourceInfo"] = "6.0"
}
// This data object type is used to describe port groups.
@@ -42530,7 +42420,6 @@ type HostPortGroupProfile struct {
func init() {
t["HostPortGroupProfile"] = reflect.TypeOf((*HostPortGroupProfile)(nil)).Elem()
- minAPIVersionForType["HostPortGroupProfile"] = "4.0"
}
// This data object type describes the PortGroup specification
@@ -42544,11 +42433,11 @@ type HostPortGroupSpec struct {
// The VLAN ID for ports using this port group.
//
// Possible values:
- // - A value of 0 specifies that you do not want the port group associated
- // with a VLAN.
- // - A value from 1 to 4094 specifies a VLAN ID for the port group.
- // - A value of 4095 specifies that the port group should use trunk mode,
- // which allows the guest operating system to manage its own VLAN tags.
+ // - A value of 0 specifies that you do not want the port group associated
+ // with a VLAN.
+ // - A value from 1 to 4094 specifies a VLAN ID for the port group.
+ // - A value of 4095 specifies that the port group should use trunk mode,
+ // which allows the guest operating system to manage its own VLAN tags.
VlanId int32 `xml:"vlanId" json:"vlanId"`
// The identifier of the virtual switch on which
// this port group is located.
@@ -42608,7 +42497,6 @@ type HostPowerOpFailed struct {
func init() {
t["HostPowerOpFailed"] = reflect.TypeOf((*HostPowerOpFailed)(nil)).Elem()
- minAPIVersionForType["HostPowerOpFailed"] = "2.5"
}
type HostPowerOpFailedFault BaseHostPowerOpFailed
@@ -42642,7 +42530,6 @@ type HostPowerPolicy struct {
func init() {
t["HostPowerPolicy"] = reflect.TypeOf((*HostPowerPolicy)(nil)).Elem()
- minAPIVersionForType["HostPowerPolicy"] = "4.1"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -42660,7 +42547,6 @@ type HostPrimaryAgentNotShortNameEvent struct {
func init() {
t["HostPrimaryAgentNotShortNameEvent"] = reflect.TypeOf((*HostPrimaryAgentNotShortNameEvent)(nil)).Elem()
- minAPIVersionForType["HostPrimaryAgentNotShortNameEvent"] = "2.5"
}
// This event records that a Profile application was done
@@ -42674,7 +42560,6 @@ type HostProfileAppliedEvent struct {
func init() {
t["HostProfileAppliedEvent"] = reflect.TypeOf((*HostProfileAppliedEvent)(nil)).Elem()
- minAPIVersionForType["HostProfileAppliedEvent"] = "4.0"
}
// The `HostProfileCompleteConfigSpec` data object
@@ -42716,13 +42601,13 @@ type HostProfileCompleteConfigSpec struct {
// to validate the profile.
//
// Refers instance of `HostSystem`.
- ValidatorHost *ManagedObjectReference `xml:"validatorHost,omitempty" json:"validatorHost,omitempty" vim:"5.0"`
+ ValidatorHost *ManagedObjectReference `xml:"validatorHost,omitempty" json:"validatorHost,omitempty"`
// If "false", then the host profile will be saved without being validated.
//
// The default if not specified is "true".
// This option should be used with caution, since the resulting host profile
// will not be checked for errors.
- Validating *bool `xml:"validating" json:"validating,omitempty" vim:"6.0"`
+ Validating *bool `xml:"validating" json:"validating,omitempty"`
// Host profile configuration data and compliance information.
//
// If `HostProfileCompleteConfigSpec.hostConfig` is set,
@@ -42731,12 +42616,11 @@ type HostProfileCompleteConfigSpec struct {
// ComplianceProfile
// `HostProfileCompleteConfigSpec.customComplyProfile`
// should not be set in CompleteConfigSpec.
- HostConfig *HostProfileConfigInfo `xml:"hostConfig,omitempty" json:"hostConfig,omitempty" vim:"6.5"`
+ HostConfig *HostProfileConfigInfo `xml:"hostConfig,omitempty" json:"hostConfig,omitempty"`
}
func init() {
t["HostProfileCompleteConfigSpec"] = reflect.TypeOf((*HostProfileCompleteConfigSpec)(nil)).Elem()
- minAPIVersionForType["HostProfileCompleteConfigSpec"] = "4.0"
}
// The `HostProfileConfigInfo` data object
@@ -42773,12 +42657,11 @@ type HostProfileConfigInfo struct {
// All expressions are enabled by default.
DisabledExpressionList []string `xml:"disabledExpressionList,omitempty" json:"disabledExpressionList,omitempty"`
// Localized description of the profile.
- Description *ProfileDescription `xml:"description,omitempty" json:"description,omitempty" vim:"6.5"`
+ Description *ProfileDescription `xml:"description,omitempty" json:"description,omitempty"`
}
func init() {
t["HostProfileConfigInfo"] = reflect.TypeOf((*HostProfileConfigInfo)(nil)).Elem()
- minAPIVersionForType["HostProfileConfigInfo"] = "4.0"
}
// `HostProfileConfigSpec` is the base data object
@@ -42789,7 +42672,6 @@ type HostProfileConfigSpec struct {
func init() {
t["HostProfileConfigSpec"] = reflect.TypeOf((*HostProfileConfigSpec)(nil)).Elem()
- minAPIVersionForType["HostProfileConfigSpec"] = "4.0"
}
// The `HostProfileHostBasedConfigSpec` data object
@@ -42809,12 +42691,11 @@ type HostProfileHostBasedConfigSpec struct {
// (or later) profile plug-ins. The resulting profile is not compatible
// with legacy hosts (pre 5.0). If false
or not specified,
// the Profile Engine creates a legacy host profile.
- UseHostProfileEngine *bool `xml:"useHostProfileEngine" json:"useHostProfileEngine,omitempty" vim:"5.0"`
+ UseHostProfileEngine *bool `xml:"useHostProfileEngine" json:"useHostProfileEngine,omitempty"`
}
func init() {
t["HostProfileHostBasedConfigSpec"] = reflect.TypeOf((*HostProfileHostBasedConfigSpec)(nil)).Elem()
- minAPIVersionForType["HostProfileHostBasedConfigSpec"] = "4.0"
}
// The data class for host profile composition result.
@@ -42832,7 +42713,6 @@ type HostProfileManagerCompositionResult struct {
func init() {
t["HostProfileManagerCompositionResult"] = reflect.TypeOf((*HostProfileManagerCompositionResult)(nil)).Elem()
- minAPIVersionForType["HostProfileManagerCompositionResult"] = "6.5"
}
// Composition result for a specific target host profile.
@@ -42854,7 +42734,6 @@ type HostProfileManagerCompositionResultResultElement struct {
func init() {
t["HostProfileManagerCompositionResultResultElement"] = reflect.TypeOf((*HostProfileManagerCompositionResultResultElement)(nil)).Elem()
- minAPIVersionForType["HostProfileManagerCompositionResultResultElement"] = "6.5"
}
// The data class for the host profile composition validation
@@ -42872,7 +42751,6 @@ type HostProfileManagerCompositionValidationResult struct {
func init() {
t["HostProfileManagerCompositionValidationResult"] = reflect.TypeOf((*HostProfileManagerCompositionValidationResult)(nil)).Elem()
- minAPIVersionForType["HostProfileManagerCompositionValidationResult"] = "6.5"
}
// The host profile composition validation result for a specific target
@@ -42920,7 +42798,6 @@ type HostProfileManagerCompositionValidationResultResultElement struct {
func init() {
t["HostProfileManagerCompositionValidationResultResultElement"] = reflect.TypeOf((*HostProfileManagerCompositionValidationResultResultElement)(nil)).Elem()
- minAPIVersionForType["HostProfileManagerCompositionValidationResultResultElement"] = "6.5"
}
// The `HostProfileManagerConfigTaskList` data object
@@ -42941,12 +42818,11 @@ type HostProfileManagerConfigTaskList struct {
// or whether the host will need to be rebooted after applying the configSpec
.
// See `HostProfileManagerTaskListRequirement_enum` for
// details of supported values.
- TaskListRequirement []string `xml:"taskListRequirement,omitempty" json:"taskListRequirement,omitempty" vim:"6.0"`
+ TaskListRequirement []string `xml:"taskListRequirement,omitempty" json:"taskListRequirement,omitempty"`
}
func init() {
t["HostProfileManagerConfigTaskList"] = reflect.TypeOf((*HostProfileManagerConfigTaskList)(nil)).Elem()
- minAPIVersionForType["HostProfileManagerConfigTaskList"] = "4.0"
}
// Data class for HostSystem
-AnswerFileCreateSpec
@@ -42964,7 +42840,6 @@ type HostProfileManagerHostToConfigSpecMap struct {
func init() {
t["HostProfileManagerHostToConfigSpecMap"] = reflect.TypeOf((*HostProfileManagerHostToConfigSpecMap)(nil)).Elem()
- minAPIVersionForType["HostProfileManagerHostToConfigSpecMap"] = "6.5"
}
type HostProfileResetValidationState HostProfileResetValidationStateRequestType
@@ -43004,12 +42879,11 @@ type HostProfileSerializedHostProfileSpec struct {
// The default if not specified is "true".
// This option should be used with caution, since the resulting host profile
// will not be checked for errors.
- Validating *bool `xml:"validating" json:"validating,omitempty" vim:"6.0"`
+ Validating *bool `xml:"validating" json:"validating,omitempty"`
}
func init() {
t["HostProfileSerializedHostProfileSpec"] = reflect.TypeOf((*HostProfileSerializedHostProfileSpec)(nil)).Elem()
- minAPIVersionForType["HostProfileSerializedHostProfileSpec"] = "5.0"
}
// This defines the validation result for the host profile.
@@ -43039,7 +42913,6 @@ type HostProfileValidationFailureInfo struct {
func init() {
t["HostProfileValidationFailureInfo"] = reflect.TypeOf((*HostProfileValidationFailureInfo)(nil)).Elem()
- minAPIVersionForType["HostProfileValidationFailureInfo"] = "6.7"
}
// Data type used to contain a representation of host or cluster customization
@@ -43053,7 +42926,6 @@ type HostProfilesEntityCustomizations struct {
func init() {
t["HostProfilesEntityCustomizations"] = reflect.TypeOf((*HostProfilesEntityCustomizations)(nil)).Elem()
- minAPIVersionForType["HostProfilesEntityCustomizations"] = "6.5"
}
// ProtocolEndpoint is configured LUN or NFS directory
@@ -43069,7 +42941,7 @@ type HostProtocolEndpoint struct {
PeType string `xml:"peType" json:"peType"`
// Type of ProtocolEndpoint
// See `HostProtocolEndpointProtocolEndpointType_enum`
- Type string `xml:"type,omitempty" json:"type,omitempty" vim:"6.5"`
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
// Identifier for PE assigned by VASA Provider
Uuid string `xml:"uuid" json:"uuid"`
// Set of ESX hosts which can see the same PE
@@ -43085,20 +42957,21 @@ type HostProtocolEndpoint struct {
// NFSv3 and NFSv4x PE will contain information about NFS directory
NfsDir string `xml:"nfsDir,omitempty" json:"nfsDir,omitempty"`
// NFSv4x PE will contain information about NFSv4x Server Scope
- NfsServerScope string `xml:"nfsServerScope,omitempty" json:"nfsServerScope,omitempty" vim:"6.5"`
+ NfsServerScope string `xml:"nfsServerScope,omitempty" json:"nfsServerScope,omitempty"`
// NFSv4x PE will contain information about NFSv4x Server Major
- NfsServerMajor string `xml:"nfsServerMajor,omitempty" json:"nfsServerMajor,omitempty" vim:"6.5"`
+ NfsServerMajor string `xml:"nfsServerMajor,omitempty" json:"nfsServerMajor,omitempty"`
// NFSv4x PE will contain information about NFSv4x Server Auth-type
- NfsServerAuthType string `xml:"nfsServerAuthType,omitempty" json:"nfsServerAuthType,omitempty" vim:"6.5"`
+ NfsServerAuthType string `xml:"nfsServerAuthType,omitempty" json:"nfsServerAuthType,omitempty"`
// NFSv4x PE will contain information about NFSv4x Server User
- NfsServerUser string `xml:"nfsServerUser,omitempty" json:"nfsServerUser,omitempty" vim:"6.5"`
+ NfsServerUser string `xml:"nfsServerUser,omitempty" json:"nfsServerUser,omitempty"`
// SCSI PE will contain information about SCSI device ID
DeviceId string `xml:"deviceId,omitempty" json:"deviceId,omitempty"`
+ // Indicates whether the PE is being used to access a stretch-capable container
+ UsedByStretchedContainer *bool `xml:"usedByStretchedContainer" json:"usedByStretchedContainer,omitempty" vim:"8.0.3.0"`
}
func init() {
t["HostProtocolEndpoint"] = reflect.TypeOf((*HostProtocolEndpoint)(nil)).Elem()
- minAPIVersionForType["HostProtocolEndpoint"] = "6.0"
}
// The HostProxySwitch is a software entity which represents the component
@@ -43120,7 +42993,7 @@ type HostProxySwitch struct {
//
// If configured number of ports is changed,
// a host reboot is required for the new value to take effect.
- ConfigNumPorts int32 `xml:"configNumPorts,omitempty" json:"configNumPorts,omitempty" vim:"5.0"`
+ ConfigNumPorts int32 `xml:"configNumPorts,omitempty" json:"configNumPorts,omitempty"`
// The number of ports that are available on this virtual switch.
NumPortsAvailable int32 `xml:"numPortsAvailable" json:"numPortsAvailable"`
// The list of ports that can be potentially used by physical nics.
@@ -43136,23 +43009,23 @@ type HostProxySwitch struct {
Spec HostProxySwitchSpec `xml:"spec" json:"spec"`
// The Link Aggregation Control Protocol group and
// Uplink ports in the group.
- HostLag []HostProxySwitchHostLagConfig `xml:"hostLag,omitempty" json:"hostLag,omitempty" vim:"5.5"`
+ HostLag []HostProxySwitchHostLagConfig `xml:"hostLag,omitempty" json:"hostLag,omitempty"`
// Indicates whether network reservation is supported on this switch
- NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty" vim:"5.5"`
+ NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty"`
// Indicate whether NSX-T is enabled on this switch
- NsxtEnabled *bool `xml:"nsxtEnabled" json:"nsxtEnabled,omitempty" vim:"7.0"`
+ NsxtEnabled *bool `xml:"nsxtEnabled" json:"nsxtEnabled,omitempty"`
// Is ENS enabled on this switch
- EnsEnabled *bool `xml:"ensEnabled" json:"ensEnabled,omitempty" vim:"7.0"`
+ EnsEnabled *bool `xml:"ensEnabled" json:"ensEnabled,omitempty"`
// Is ENS interrupt mode enabled on this switch
- EnsInterruptEnabled *bool `xml:"ensInterruptEnabled" json:"ensInterruptEnabled,omitempty" vim:"7.0"`
+ EnsInterruptEnabled *bool `xml:"ensInterruptEnabled" json:"ensInterruptEnabled,omitempty"`
// Transport Zones this switch joined
- TransportZones []DistributedVirtualSwitchHostMemberTransportZoneInfo `xml:"transportZones,omitempty" json:"transportZones,omitempty" vim:"7.0"`
+ TransportZones []DistributedVirtualSwitchHostMemberTransportZoneInfo `xml:"transportZones,omitempty" json:"transportZones,omitempty"`
// Uplink port names used by NSX-T
- NsxUsedUplinkPort []string `xml:"nsxUsedUplinkPort,omitempty" json:"nsxUsedUplinkPort,omitempty" vim:"7.0"`
+ NsxUsedUplinkPort []string `xml:"nsxUsedUplinkPort,omitempty" json:"nsxUsedUplinkPort,omitempty"`
// NSX-T proxy switch status
- NsxtStatus string `xml:"nsxtStatus,omitempty" json:"nsxtStatus,omitempty" vim:"7.0"`
+ NsxtStatus string `xml:"nsxtStatus,omitempty" json:"nsxtStatus,omitempty"`
// Additional information regarding the NSX-T proxy switch status
- NsxtStatusDetail string `xml:"nsxtStatusDetail,omitempty" json:"nsxtStatusDetail,omitempty" vim:"7.0"`
+ NsxtStatusDetail string `xml:"nsxtStatusDetail,omitempty" json:"nsxtStatusDetail,omitempty"`
// ENS Status From VmKernal.
EnsInfo *HostProxySwitchEnsInfo `xml:"ensInfo,omitempty" json:"ensInfo,omitempty" vim:"8.0.0.1"`
// Indicate if network offloading is enabled on the proxy switch of
@@ -43160,11 +43033,15 @@ type HostProxySwitch struct {
//
// Unset implies that network offloading is disabled.
NetworkOffloadingEnabled *bool `xml:"networkOffloadingEnabled" json:"networkOffloadingEnabled,omitempty" vim:"8.0.0.1"`
+ // Indicates the runtime state of uplinks on the host.
+ //
+ // Only set when `HostProxySwitch.networkOffloadingEnabled`
+ // is true.
+ HostUplinkState []DistributedVirtualSwitchHostMemberHostUplinkState `xml:"hostUplinkState,omitempty" json:"hostUplinkState,omitempty" vim:"8.0.3.0"`
}
func init() {
t["HostProxySwitch"] = reflect.TypeOf((*HostProxySwitch)(nil)).Elem()
- minAPIVersionForType["HostProxySwitch"] = "4.0"
}
// This data object type describes the HostProxySwitch configuration
@@ -43177,8 +43054,8 @@ type HostProxySwitchConfig struct {
// this configuration specification.
//
// Valid values are:
- // - `edit`
- // - `remove`
+ // - `edit`
+ // - `remove`
//
// See also `HostConfigChangeOperation_enum`.
ChangeOperation string `xml:"changeOperation,omitempty" json:"changeOperation,omitempty"`
@@ -43191,7 +43068,6 @@ type HostProxySwitchConfig struct {
func init() {
t["HostProxySwitchConfig"] = reflect.TypeOf((*HostProxySwitchConfig)(nil)).Elem()
- minAPIVersionForType["HostProxySwitchConfig"] = "4.0"
}
// This data object type describes
@@ -43231,7 +43107,6 @@ type HostProxySwitchHostLagConfig struct {
func init() {
t["HostProxySwitchHostLagConfig"] = reflect.TypeOf((*HostProxySwitchHostLagConfig)(nil)).Elem()
- minAPIVersionForType["HostProxySwitchHostLagConfig"] = "5.5"
}
// This data object type describes the HostProxySwitch specification
@@ -43247,7 +43122,6 @@ type HostProxySwitchSpec struct {
func init() {
t["HostProxySwitchSpec"] = reflect.TypeOf((*HostProxySwitchSpec)(nil)).Elem()
- minAPIVersionForType["HostProxySwitchSpec"] = "4.0"
}
// Configuration information for the host PTP (Precision Time
@@ -43332,6 +43206,47 @@ func init() {
minAPIVersionForType["HostQualifiedName"] = "7.0.3.0"
}
+type HostQueryVirtualDiskUuid HostQueryVirtualDiskUuidRequestType
+
+func init() {
+ t["HostQueryVirtualDiskUuid"] = reflect.TypeOf((*HostQueryVirtualDiskUuid)(nil)).Elem()
+}
+
+// The parameters of `HostVStorageObjectManager.HostQueryVirtualDiskUuid`.
+type HostQueryVirtualDiskUuidRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // The name of the disk, either a datastore path or a URL
+ // referring to the virtual disk whose uuid for the DDB entry needs to be queried.
+ // A URL has the form
+ // > _scheme_://_authority_/folder/_path_?dsName=_dsName_
+ //
+ // where
+ // - _scheme_ is http
or https
.
+ // - _authority_ specifies the hostname or IP address of the VirtualCenter or
+ // ESX server and optionally the port.
+ // - _dsName_ is the name of the Datastore.
+ // - _path_ is a slash-delimited path from the root of the datastore.
+ //
+ // A datastore path has the form
+ // > \[_datastore_\] _path_
+ //
+ // where
+ // - _datastore_ is the datastore name.
+ // - _path_ is a slash-delimited path from the root of the datastore.
+ //
+ // An example datastore path is "\[storage\] path/to/file.extension".
+ Name string `xml:"name" json:"name"`
+}
+
+func init() {
+ t["HostQueryVirtualDiskUuidRequestType"] = reflect.TypeOf((*HostQueryVirtualDiskUuidRequestType)(nil)).Elem()
+ minAPIVersionForType["HostQueryVirtualDiskUuidRequestType"] = "8.0.3.0"
+}
+
+type HostQueryVirtualDiskUuidResponse struct {
+ Returnval string `xml:"returnval" json:"returnval"`
+}
+
// This data object represents a Remote Direct Memory Access
// device as seen by the primary operating system.
type HostRdmaDevice struct {
@@ -43357,7 +43272,6 @@ type HostRdmaDevice struct {
func init() {
t["HostRdmaDevice"] = reflect.TypeOf((*HostRdmaDevice)(nil)).Elem()
- minAPIVersionForType["HostRdmaDevice"] = "7.0"
}
// This data object represents the physical
@@ -43368,7 +43282,6 @@ type HostRdmaDeviceBacking struct {
func init() {
t["HostRdmaDeviceBacking"] = reflect.TypeOf((*HostRdmaDeviceBacking)(nil)).Elem()
- minAPIVersionForType["HostRdmaDeviceBacking"] = "7.0"
}
// Represents device capabilies, e.g.
@@ -43387,7 +43300,6 @@ type HostRdmaDeviceCapability struct {
func init() {
t["HostRdmaDeviceCapability"] = reflect.TypeOf((*HostRdmaDeviceCapability)(nil)).Elem()
- minAPIVersionForType["HostRdmaDeviceCapability"] = "7.0"
}
// Represents connection information for the RDMA device.
@@ -43407,7 +43319,6 @@ type HostRdmaDeviceConnectionInfo struct {
func init() {
t["HostRdmaDeviceConnectionInfo"] = reflect.TypeOf((*HostRdmaDeviceConnectionInfo)(nil)).Elem()
- minAPIVersionForType["HostRdmaDeviceConnectionInfo"] = "7.0"
}
// This data object represents a physical NIC backing
@@ -43428,7 +43339,6 @@ type HostRdmaDevicePnicBacking struct {
func init() {
t["HostRdmaDevicePnicBacking"] = reflect.TypeOf((*HostRdmaDevicePnicBacking)(nil)).Elem()
- minAPIVersionForType["HostRdmaDevicePnicBacking"] = "7.0"
}
// This data object describes the Remote Direct Memory Access
@@ -43445,7 +43355,6 @@ type HostRdmaHba struct {
func init() {
t["HostRdmaHba"] = reflect.TypeOf((*HostRdmaHba)(nil)).Elem()
- minAPIVersionForType["HostRdmaHba"] = "7.0"
}
// Remote Direct Memory Access (RDMA) transport
@@ -43456,7 +43365,6 @@ type HostRdmaTargetTransport struct {
func init() {
t["HostRdmaTargetTransport"] = reflect.TypeOf((*HostRdmaTargetTransport)(nil)).Elem()
- minAPIVersionForType["HostRdmaTargetTransport"] = "7.0"
}
// The parameters of `HostVStorageObjectManager.HostReconcileDatastoreInventory_Task`.
@@ -43527,7 +43435,6 @@ type HostReliableMemoryInfo struct {
func init() {
t["HostReliableMemoryInfo"] = reflect.TypeOf((*HostReliableMemoryInfo)(nil)).Elem()
- minAPIVersionForType["HostReliableMemoryInfo"] = "5.5"
}
// The parameters of `HostVStorageObjectManager.HostRelocateVStorageObject_Task`.
@@ -43643,7 +43550,6 @@ type HostResignatureRescanResult struct {
func init() {
t["HostResignatureRescanResult"] = reflect.TypeOf((*HostResignatureRescanResult)(nil)).Elem()
- minAPIVersionForType["HostResignatureRescanResult"] = "4.0"
}
type HostRetrieveVStorageInfrastructureObjectPolicy HostRetrieveVStorageInfrastructureObjectPolicyRequestType
@@ -43798,14 +43704,14 @@ type HostRuntimeInfo struct {
//
// See the description in the enums for the
// `PowerState` data object type.
- PowerState HostSystemPowerState `xml:"powerState" json:"powerState" vim:"2.5"`
+ PowerState HostSystemPowerState `xml:"powerState" json:"powerState"`
// The host's standby mode.
//
// For valid values see
// `HostStandbyMode_enum`. The property is only populated by
// vCenter server. If queried directly from a ESX host, the property is
// is unset.
- StandbyMode string `xml:"standbyMode,omitempty" json:"standbyMode,omitempty" vim:"4.1"`
+ StandbyMode string `xml:"standbyMode,omitempty" json:"standbyMode,omitempty"`
// The flag to indicate whether or not the host is in maintenance mode.
//
// This
@@ -43826,11 +43732,11 @@ type HostRuntimeInfo struct {
// affect VM performance.
//
// See also `HealthUpdateManager`, `ClusterInfraUpdateHaConfigInfo`, `ClusterHostInfraUpdateHaModeAction`.
- InQuarantineMode *bool `xml:"inQuarantineMode" json:"inQuarantineMode,omitempty" vim:"6.5"`
+ InQuarantineMode *bool `xml:"inQuarantineMode" json:"inQuarantineMode,omitempty"`
// The time when the host was booted.
BootTime *time.Time `xml:"bootTime" json:"bootTime,omitempty"`
// Available system health status
- HealthSystemRuntime *HealthSystemRuntime `xml:"healthSystemRuntime,omitempty" json:"healthSystemRuntime,omitempty" vim:"2.5"`
+ HealthSystemRuntime *HealthSystemRuntime `xml:"healthSystemRuntime,omitempty" json:"healthSystemRuntime,omitempty"`
// The availability state of an active host in a vSphere HA enabled
// cluster.
//
@@ -43841,34 +43747,37 @@ type HostRuntimeInfo struct {
// The property is unset if vSphere HA is disabled, the host is
// in maintenance or standby mode, or the host is disconnected from
// vCenter Server. The property is set to hostDown if the host has crashed.
- DasHostState *ClusterDasFdmHostState `xml:"dasHostState,omitempty" json:"dasHostState,omitempty" vim:"5.0"`
+ DasHostState *ClusterDasFdmHostState `xml:"dasHostState,omitempty" json:"dasHostState,omitempty"`
// Deprecated as of @released("5.1") this information should be
// considered to be neither complete nor reliable.
//
// The array of PCR digest values stored in the TPM device since the last
// host boot time.
- TpmPcrValues []HostTpmDigestInfo `xml:"tpmPcrValues,omitempty" json:"tpmPcrValues,omitempty" vim:"4.0"`
+ TpmPcrValues []HostTpmDigestInfo `xml:"tpmPcrValues,omitempty" json:"tpmPcrValues,omitempty"`
// Host Runtime information related to the VSAN service.
//
// See also `VsanHostRuntimeInfo`.
- VsanRuntimeInfo *VsanHostRuntimeInfo `xml:"vsanRuntimeInfo,omitempty" json:"vsanRuntimeInfo,omitempty" vim:"5.5"`
+ VsanRuntimeInfo *VsanHostRuntimeInfo `xml:"vsanRuntimeInfo,omitempty" json:"vsanRuntimeInfo,omitempty"`
// This property is for getting network related runtime info
- NetworkRuntimeInfo *HostRuntimeInfoNetworkRuntimeInfo `xml:"networkRuntimeInfo,omitempty" json:"networkRuntimeInfo,omitempty" vim:"5.5"`
+ NetworkRuntimeInfo *HostRuntimeInfoNetworkRuntimeInfo `xml:"networkRuntimeInfo,omitempty" json:"networkRuntimeInfo,omitempty"`
// Runtime information of vFlash resource of the host.
- VFlashResourceRuntimeInfo *HostVFlashManagerVFlashResourceRunTimeInfo `xml:"vFlashResourceRuntimeInfo,omitempty" json:"vFlashResourceRuntimeInfo,omitempty" vim:"5.5"`
+ VFlashResourceRuntimeInfo *HostVFlashManagerVFlashResourceRunTimeInfo `xml:"vFlashResourceRuntimeInfo,omitempty" json:"vFlashResourceRuntimeInfo,omitempty"`
// The maximum theoretical virtual disk capacity supported by this host
- HostMaxVirtualDiskCapacity int64 `xml:"hostMaxVirtualDiskCapacity,omitempty" json:"hostMaxVirtualDiskCapacity,omitempty" vim:"5.5"`
+ HostMaxVirtualDiskCapacity int64 `xml:"hostMaxVirtualDiskCapacity,omitempty" json:"hostMaxVirtualDiskCapacity,omitempty"`
// Encryption state of the host.
//
// Valid values are enumerated by the
// `CryptoState` type.
- CryptoState string `xml:"cryptoState,omitempty" json:"cryptoState,omitempty" vim:"6.5"`
+ CryptoState string `xml:"cryptoState,omitempty" json:"cryptoState,omitempty"`
// Crypto Key used for coredump encryption
- CryptoKeyId *CryptoKeyId `xml:"cryptoKeyId,omitempty" json:"cryptoKeyId,omitempty" vim:"6.5"`
+ CryptoKeyId *CryptoKeyId `xml:"cryptoKeyId,omitempty" json:"cryptoKeyId,omitempty"`
// Indicating the host is ready for NVDS to VDS migration.
//
// See `HostRuntimeInfoStatelessNvdsMigrationState_enum` for supported values.
StatelessNvdsMigrationReady string `xml:"statelessNvdsMigrationReady,omitempty" json:"statelessNvdsMigrationReady,omitempty" vim:"7.0.2.0"`
+ // The following list contains the runtime status for all the partial
+ // maintenance modes currently supported on the host.
+ PartialMaintenanceMode []HostPartialMaintenanceModeRuntimeInfo `xml:"partialMaintenanceMode,omitempty" json:"partialMaintenanceMode,omitempty" vim:"8.0.3.0"`
// Host persistent state encryption information.
StateEncryption *HostRuntimeInfoStateEncryptionInfo `xml:"stateEncryption,omitempty" json:"stateEncryption,omitempty" vim:"7.0.3.0"`
}
@@ -43897,7 +43806,6 @@ type HostRuntimeInfoNetStackInstanceRuntimeInfo struct {
func init() {
t["HostRuntimeInfoNetStackInstanceRuntimeInfo"] = reflect.TypeOf((*HostRuntimeInfoNetStackInstanceRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["HostRuntimeInfoNetStackInstanceRuntimeInfo"] = "5.5"
}
// This data type describes network related runtime info
@@ -43907,12 +43815,11 @@ type HostRuntimeInfoNetworkRuntimeInfo struct {
// The list of network stack runtime info
NetStackInstanceRuntimeInfo []HostRuntimeInfoNetStackInstanceRuntimeInfo `xml:"netStackInstanceRuntimeInfo,omitempty" json:"netStackInstanceRuntimeInfo,omitempty"`
// The network resource runtime information
- NetworkResourceRuntime *HostNetworkResourceRuntime `xml:"networkResourceRuntime,omitempty" json:"networkResourceRuntime,omitempty" vim:"6.0"`
+ NetworkResourceRuntime *HostNetworkResourceRuntime `xml:"networkResourceRuntime,omitempty" json:"networkResourceRuntime,omitempty"`
}
func init() {
t["HostRuntimeInfoNetworkRuntimeInfo"] = reflect.TypeOf((*HostRuntimeInfoNetworkRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["HostRuntimeInfoNetworkRuntimeInfo"] = "5.5"
}
// This data type describes the host's persistent state encryption.
@@ -43982,31 +43889,36 @@ type HostScsiDisk struct {
//
// If unset, the information whether the ScsiDisk is SSD backed
// is unknown.
- Ssd *bool `xml:"ssd" json:"ssd,omitempty" vim:"5.0"`
+ Ssd *bool `xml:"ssd" json:"ssd,omitempty"`
// Indicates whether the ScsiDisk is local.
//
// If unset, the information whether the ScsiDisk is local is unknown.
- LocalDisk *bool `xml:"localDisk" json:"localDisk,omitempty" vim:"6.0"`
+ LocalDisk *bool `xml:"localDisk" json:"localDisk,omitempty"`
// The physical location of the ScsiDisk if can be determined, otherwise
// unset.
//
// If the ScsiDisk is a logical drive, it should be the
// location of all constituent physical drives of the logical drive.
// If the ScsiDisk is a physical drive, it's an array of one element.
- PhysicalLocation []string `xml:"physicalLocation,omitempty" json:"physicalLocation,omitempty" vim:"6.0"`
+ PhysicalLocation []string `xml:"physicalLocation,omitempty" json:"physicalLocation,omitempty"`
// Indicates whether the ScsiDisk has emulated Data Integrity Extension
// (DIX) / Data Integrity Field (DIF) enabled.
//
// If unset, the default value is false.
- EmulatedDIXDIFEnabled *bool `xml:"emulatedDIXDIFEnabled" json:"emulatedDIXDIFEnabled,omitempty" vim:"6.0"`
+ EmulatedDIXDIFEnabled *bool `xml:"emulatedDIXDIFEnabled" json:"emulatedDIXDIFEnabled,omitempty"`
// Indicates the additional VSAN information
// if this disk is used by VSAN.
- VsanDiskInfo *VsanHostVsanDiskInfo `xml:"vsanDiskInfo,omitempty" json:"vsanDiskInfo,omitempty" vim:"6.0"`
+ VsanDiskInfo *VsanHostVsanDiskInfo `xml:"vsanDiskInfo,omitempty" json:"vsanDiskInfo,omitempty"`
// The type of disk drives.
//
// See `ScsiDiskType_enum`
// for definitions of supported types.
- ScsiDiskType string `xml:"scsiDiskType,omitempty" json:"scsiDiskType,omitempty" vim:"6.5"`
+ ScsiDiskType string `xml:"scsiDiskType,omitempty" json:"scsiDiskType,omitempty"`
+ // Indicate whether the disk is used for
+ // memory tiering or not.
+ //
+ // If unset, the default value is false.
+ UsedByMemoryTiering *bool `xml:"usedByMemoryTiering" json:"usedByMemoryTiering,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -44128,14 +44040,13 @@ type HostSecuritySpec struct {
// Administrator password to configure
AdminPassword string `xml:"adminPassword,omitempty" json:"adminPassword,omitempty"`
// Permissions to remove
- RemovePermission []Permission `xml:"removePermission,omitempty" json:"removePermission,omitempty" vim:"4.1"`
+ RemovePermission []Permission `xml:"removePermission,omitempty" json:"removePermission,omitempty"`
// Permissions to add
- AddPermission []Permission `xml:"addPermission,omitempty" json:"addPermission,omitempty" vim:"4.1"`
+ AddPermission []Permission `xml:"addPermission,omitempty" json:"addPermission,omitempty"`
}
func init() {
t["HostSecuritySpec"] = reflect.TypeOf((*HostSecuritySpec)(nil)).Elem()
- minAPIVersionForType["HostSecuritySpec"] = "4.0"
}
// The data object type describes the
@@ -44149,7 +44060,6 @@ type HostSerialAttachedHba struct {
func init() {
t["HostSerialAttachedHba"] = reflect.TypeOf((*HostSerialAttachedHba)(nil)).Elem()
- minAPIVersionForType["HostSerialAttachedHba"] = "6.5"
}
// Serial attached adapter transport information about a SCSI target.
@@ -44159,7 +44069,6 @@ type HostSerialAttachedTargetTransport struct {
func init() {
t["HostSerialAttachedTargetTransport"] = reflect.TypeOf((*HostSerialAttachedTargetTransport)(nil)).Elem()
- minAPIVersionForType["HostSerialAttachedTargetTransport"] = "6.5"
}
// Data object that describes a single service that runs on the host.
@@ -44188,7 +44097,7 @@ type HostService struct {
// See also `HostServicePolicy_enum`.
Policy string `xml:"policy" json:"policy"`
// The source package associated with the service
- SourcePackage *HostServiceSourcePackage `xml:"sourcePackage,omitempty" json:"sourcePackage,omitempty" vim:"5.0"`
+ SourcePackage *HostServiceSourcePackage `xml:"sourcePackage,omitempty" json:"sourcePackage,omitempty"`
}
func init() {
@@ -44210,7 +44119,6 @@ type HostServiceConfig struct {
func init() {
t["HostServiceConfig"] = reflect.TypeOf((*HostServiceConfig)(nil)).Elem()
- minAPIVersionForType["HostServiceConfig"] = "4.0"
}
// Data object describing the host service configuration.
@@ -44277,7 +44185,7 @@ type HostServiceTicket struct {
Port int32 `xml:"port,omitempty" json:"port,omitempty"`
// The expected thumbprint of the SSL cert of the host to which
// we are connecting.
- SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty" vim:"2.5"`
+ SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty"`
// The name of the service to which to connect.
Service string `xml:"service" json:"service"`
// A dot-separated string identifying the service protocol version.
@@ -44329,6 +44237,50 @@ func init() {
type HostSetVStorageObjectControlFlagsResponse struct {
}
+// The parameters of `HostVStorageObjectManager.HostSetVirtualDiskUuid_Task`.
+type HostSetVirtualDiskUuidRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // The name of the disk, either a datastore path or a URL
+ // referring to the virtual disk whose uuid for the DDB entry needs to be set.
+ // A URL has the form
+ // > _scheme_://_authority_/folder/_path_?dsName=_dsName_
+ //
+ // where
+ // - _scheme_ is http
or https
.
+ // - _authority_ specifies the hostname or IP address of the VirtualCenter or
+ // ESX server and optionally the port.
+ // - _dsName_ is the name of the Datastore.
+ // - _path_ is a slash-delimited path from the root of the datastore.
+ //
+ // A datastore path has the form
+ // > \[_datastore_\] _path_
+ //
+ // where
+ // - _datastore_ is the datastore name.
+ // - _path_ is a slash-delimited path from the root of the datastore.
+ //
+ // An example datastore path is "\[storage\] path/to/file.extension".
+ Name string `xml:"name" json:"name"`
+ // The hex representation of the unique ID for this virtual disk. If uuid is not set or missing,
+ // a random UUID is generated and assigned.
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
+}
+
+func init() {
+ t["HostSetVirtualDiskUuidRequestType"] = reflect.TypeOf((*HostSetVirtualDiskUuidRequestType)(nil)).Elem()
+ minAPIVersionForType["HostSetVirtualDiskUuidRequestType"] = "8.0.3.0"
+}
+
+type HostSetVirtualDiskUuid_Task HostSetVirtualDiskUuidRequestType
+
+func init() {
+ t["HostSetVirtualDiskUuid_Task"] = reflect.TypeOf((*HostSetVirtualDiskUuid_Task)(nil)).Elem()
+}
+
+type HostSetVirtualDiskUuid_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
+}
+
type HostSevInfo struct {
DynamicData
@@ -44343,6 +44295,7 @@ type HostSevInfo struct {
func init() {
t["HostSevInfo"] = reflect.TypeOf((*HostSevInfo)(nil)).Elem()
+ minAPIVersionForType["HostSevInfo"] = "7.0.1.0"
}
// Data object describing the Software Guard Extension (SGX)
@@ -44369,12 +44322,11 @@ type HostSgxInfo struct {
// enclave. This attribute is set only if attribute flcMode is
// locked.
LePubKeyHash string `xml:"lePubKeyHash,omitempty" json:"lePubKeyHash,omitempty"`
- RegistrationInfo *HostSgxRegistrationInfo `xml:"registrationInfo,omitempty" json:"registrationInfo,omitempty"`
+ RegistrationInfo *HostSgxRegistrationInfo `xml:"registrationInfo,omitempty" json:"registrationInfo,omitempty" vim:"8.0.0.1"`
}
func init() {
t["HostSgxInfo"] = reflect.TypeOf((*HostSgxInfo)(nil)).Elem()
- minAPIVersionForType["HostSgxInfo"] = "7.0"
}
// Data object describing SGX host registration information.
@@ -44446,7 +44398,6 @@ type HostSharedGpuCapabilities struct {
func init() {
t["HostSharedGpuCapabilities"] = reflect.TypeOf((*HostSharedGpuCapabilities)(nil)).Elem()
- minAPIVersionForType["HostSharedGpuCapabilities"] = "6.7"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -44465,7 +44416,6 @@ type HostShortNameInconsistentEvent struct {
func init() {
t["HostShortNameInconsistentEvent"] = reflect.TypeOf((*HostShortNameInconsistentEvent)(nil)).Elem()
- minAPIVersionForType["HostShortNameInconsistentEvent"] = "2.5"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -44479,7 +44429,6 @@ type HostShortNameToIpFailedEvent struct {
func init() {
t["HostShortNameToIpFailedEvent"] = reflect.TypeOf((*HostShortNameToIpFailedEvent)(nil)).Elem()
- minAPIVersionForType["HostShortNameToIpFailedEvent"] = "2.5"
}
// This event records the shutdown of a host.
@@ -44540,7 +44489,7 @@ type HostSnmpSystemAgentLimits struct {
// SNMP input buffer size
MaxBufferSize int32 `xml:"maxBufferSize" json:"maxBufferSize"`
// Supported Capability for this agent
- Capability HostSnmpAgentCapability `xml:"capability,omitempty" json:"capability,omitempty" vim:"4.0"`
+ Capability HostSnmpAgentCapability `xml:"capability,omitempty" json:"capability,omitempty"`
}
func init() {
@@ -44608,7 +44557,6 @@ type HostSpecification struct {
func init() {
t["HostSpecification"] = reflect.TypeOf((*HostSpecification)(nil)).Elem()
- minAPIVersionForType["HostSpecification"] = "6.5"
}
// This event records that the host specification was changed.
@@ -44618,7 +44566,6 @@ type HostSpecificationChangedEvent struct {
func init() {
t["HostSpecificationChangedEvent"] = reflect.TypeOf((*HostSpecificationChangedEvent)(nil)).Elem()
- minAPIVersionForType["HostSpecificationChangedEvent"] = "6.5"
}
// Fault thrown when an operation, on host specification or host sub
@@ -44634,7 +44581,6 @@ type HostSpecificationOperationFailed struct {
func init() {
t["HostSpecificationOperationFailed"] = reflect.TypeOf((*HostSpecificationOperationFailed)(nil)).Elem()
- minAPIVersionForType["HostSpecificationOperationFailed"] = "6.5"
}
type HostSpecificationOperationFailedFault HostSpecificationOperationFailed
@@ -44650,7 +44596,6 @@ type HostSpecificationRequireEvent struct {
func init() {
t["HostSpecificationRequireEvent"] = reflect.TypeOf((*HostSpecificationRequireEvent)(nil)).Elem()
- minAPIVersionForType["HostSpecificationRequireEvent"] = "6.5"
}
// This event suggests that update the host specification with the
@@ -44663,7 +44608,6 @@ type HostSpecificationUpdateEvent struct {
func init() {
t["HostSpecificationUpdateEvent"] = reflect.TypeOf((*HostSpecificationUpdateEvent)(nil)).Elem()
- minAPIVersionForType["HostSpecificationUpdateEvent"] = "6.5"
}
// This data object allows configuration of SR-IOV device.
@@ -44678,7 +44622,6 @@ type HostSriovConfig struct {
func init() {
t["HostSriovConfig"] = reflect.TypeOf((*HostSriovConfig)(nil)).Elem()
- minAPIVersionForType["HostSriovConfig"] = "5.5"
}
type HostSriovDevicePoolInfo struct {
@@ -44711,7 +44654,6 @@ type HostSriovInfo struct {
func init() {
t["HostSriovInfo"] = reflect.TypeOf((*HostSriovInfo)(nil)).Elem()
- minAPIVersionForType["HostSriovInfo"] = "5.5"
}
// Information on networking specific SR-IOV device pools
@@ -44729,7 +44671,6 @@ type HostSriovNetworkDevicePoolInfo struct {
func init() {
t["HostSriovNetworkDevicePoolInfo"] = reflect.TypeOf((*HostSriovNetworkDevicePoolInfo)(nil)).Elem()
- minAPIVersionForType["HostSriovNetworkDevicePoolInfo"] = "6.5"
}
// The SSL thumbprint information for a host managed by a vCenter Server
@@ -44747,14 +44688,13 @@ type HostSslThumbprintInfo struct {
// interfering with each other on the life cycle of the thumbprint with
// their unique tags.
// Each solution should use a unique tag to identify itself.
- OwnerTag string `xml:"ownerTag,omitempty" json:"ownerTag,omitempty" vim:"5.0"`
+ OwnerTag string `xml:"ownerTag,omitempty" json:"ownerTag,omitempty"`
// Specify the SSL thumbprints to register on the host.
SslThumbprints []string `xml:"sslThumbprints,omitempty" json:"sslThumbprints,omitempty"`
}
func init() {
t["HostSslThumbprintInfo"] = reflect.TypeOf((*HostSslThumbprintInfo)(nil)).Elem()
- minAPIVersionForType["HostSslThumbprintInfo"] = "4.0"
}
// This event records when a host's overall status changed.
@@ -44764,7 +44704,6 @@ type HostStatusChangedEvent struct {
func init() {
t["HostStatusChangedEvent"] = reflect.TypeOf((*HostStatusChangedEvent)(nil)).Elem()
- minAPIVersionForType["HostStatusChangedEvent"] = "4.0"
}
// Description of options associated with a native multipathing
@@ -44781,7 +44720,6 @@ type HostStorageArrayTypePolicyOption struct {
func init() {
t["HostStorageArrayTypePolicyOption"] = reflect.TypeOf((*HostStorageArrayTypePolicyOption)(nil)).Elem()
- minAPIVersionForType["HostStorageArrayTypePolicyOption"] = "4.0"
}
// This data object type describes the storage subsystem configuration.
@@ -44804,7 +44742,7 @@ type HostStorageDeviceInfo struct {
// This data object exists
// only if storage topology information is available. See the
// `HostNvmeTopology` data object type for more information.
- NvmeTopology *HostNvmeTopology `xml:"nvmeTopology,omitempty" json:"nvmeTopology,omitempty" vim:"7.0"`
+ NvmeTopology *HostNvmeTopology `xml:"nvmeTopology,omitempty" json:"nvmeTopology,omitempty"`
// The multipath configuration that controls multipath policy for ScsiLuns.
//
// This data object exists only if path information is available and is
@@ -44814,7 +44752,7 @@ type HostStorageDeviceInfo struct {
//
// This data object exists only if
// the plug-store system is available and configurable.
- PlugStoreTopology *HostPlugStoreTopology `xml:"plugStoreTopology,omitempty" json:"plugStoreTopology,omitempty" vim:"4.0"`
+ PlugStoreTopology *HostPlugStoreTopology `xml:"plugStoreTopology,omitempty" json:"plugStoreTopology,omitempty"`
// Indicates if the software iSCSI initiator is enabled on this system
SoftwareInternetScsiEnabled bool `xml:"softwareInternetScsiEnabled" json:"softwareInternetScsiEnabled"`
}
@@ -44835,7 +44773,6 @@ type HostStorageElementInfo struct {
func init() {
t["HostStorageElementInfo"] = reflect.TypeOf((*HostStorageElementInfo)(nil)).Elem()
- minAPIVersionForType["HostStorageElementInfo"] = "2.5"
}
// Data class describing operational information of a storage element
@@ -44850,7 +44787,6 @@ type HostStorageOperationalInfo struct {
func init() {
t["HostStorageOperationalInfo"] = reflect.TypeOf((*HostStorageOperationalInfo)(nil)).Elem()
- minAPIVersionForType["HostStorageOperationalInfo"] = "2.5"
}
// Contains the result of turn Disk Locator Led On/Off request.
@@ -44869,7 +44805,6 @@ type HostStorageSystemDiskLocatorLedResult struct {
func init() {
t["HostStorageSystemDiskLocatorLedResult"] = reflect.TypeOf((*HostStorageSystemDiskLocatorLedResult)(nil)).Elem()
- minAPIVersionForType["HostStorageSystemDiskLocatorLedResult"] = "6.0"
}
// Contains the result of SCSI LUN operation requests.
@@ -44889,7 +44824,6 @@ type HostStorageSystemScsiLunResult struct {
func init() {
t["HostStorageSystemScsiLunResult"] = reflect.TypeOf((*HostStorageSystemScsiLunResult)(nil)).Elem()
- minAPIVersionForType["HostStorageSystemScsiLunResult"] = "6.0"
}
// Contains the result of the operation performed on a VMFS volume.
@@ -44904,7 +44838,6 @@ type HostStorageSystemVmfsVolumeResult struct {
func init() {
t["HostStorageSystemVmfsVolumeResult"] = reflect.TypeOf((*HostStorageSystemVmfsVolumeResult)(nil)).Elem()
- minAPIVersionForType["HostStorageSystemVmfsVolumeResult"] = "6.0"
}
// Host sub specification data are the data used when create a virtual
@@ -44944,14 +44877,13 @@ type HostSubSpecification struct {
// Time at which the host sub specification was created.
CreatedTime time.Time `xml:"createdTime" json:"createdTime"`
// The host sub specification data
- Data []byte `xml:"data,omitempty" json:"data,omitempty"`
+ Data ByteSlice `xml:"data,omitempty" json:"data,omitempty"`
// The host sub specification data in Binary for wire efficiency.
- BinaryData []byte `xml:"binaryData,omitempty" json:"binaryData,omitempty" vim:"6.7"`
+ BinaryData []byte `xml:"binaryData,omitempty" json:"binaryData,omitempty"`
}
func init() {
t["HostSubSpecification"] = reflect.TypeOf((*HostSubSpecification)(nil)).Elem()
- minAPIVersionForType["HostSubSpecification"] = "6.5"
}
// This event suggests that delete the host sub specification specified by
@@ -44964,7 +44896,6 @@ type HostSubSpecificationDeleteEvent struct {
func init() {
t["HostSubSpecificationDeleteEvent"] = reflect.TypeOf((*HostSubSpecificationDeleteEvent)(nil)).Elem()
- minAPIVersionForType["HostSubSpecificationDeleteEvent"] = "6.5"
}
// This event suggests that update the host sub specification with the
@@ -44977,7 +44908,6 @@ type HostSubSpecificationUpdateEvent struct {
func init() {
t["HostSubSpecificationUpdateEvent"] = reflect.TypeOf((*HostSubSpecificationUpdateEvent)(nil)).Elem()
- minAPIVersionForType["HostSubSpecificationUpdateEvent"] = "6.5"
}
// This event records a failure to sync up with the VirtualCenter agent on the host
@@ -44990,7 +44920,6 @@ type HostSyncFailedEvent struct {
func init() {
t["HostSyncFailedEvent"] = reflect.TypeOf((*HostSyncFailedEvent)(nil)).Elem()
- minAPIVersionForType["HostSyncFailedEvent"] = "4.0"
}
// The host profile compliance check state.
@@ -45009,7 +44938,6 @@ type HostSystemComplianceCheckState struct {
func init() {
t["HostSystemComplianceCheckState"] = reflect.TypeOf((*HostSystemComplianceCheckState)(nil)).Elem()
- minAPIVersionForType["HostSystemComplianceCheckState"] = "6.7"
}
// This data object provides information about the health of the phyical
@@ -45025,7 +44953,6 @@ type HostSystemHealthInfo struct {
func init() {
t["HostSystemHealthInfo"] = reflect.TypeOf((*HostSystemHealthInfo)(nil)).Elem()
- minAPIVersionForType["HostSystemHealthInfo"] = "2.5"
}
// This data object describes system identifying information of the host.
@@ -45045,7 +44972,6 @@ type HostSystemIdentificationInfo struct {
func init() {
t["HostSystemIdentificationInfo"] = reflect.TypeOf((*HostSystemIdentificationInfo)(nil)).Elem()
- minAPIVersionForType["HostSystemIdentificationInfo"] = "2.5"
}
// Information about the system as a whole.
@@ -45062,7 +44988,7 @@ type HostSystemInfo struct {
//
// This information may be vendor
// specific
- OtherIdentifyingInfo []HostSystemIdentificationInfo `xml:"otherIdentifyingInfo,omitempty" json:"otherIdentifyingInfo,omitempty" vim:"2.5"`
+ OtherIdentifyingInfo []HostSystemIdentificationInfo `xml:"otherIdentifyingInfo,omitempty" json:"otherIdentifyingInfo,omitempty"`
SerialNumber string `xml:"serialNumber,omitempty" json:"serialNumber,omitempty"`
// List of qualified names used to identify the host in a specific context.
//
@@ -45079,6 +45005,12 @@ type HostSystemInfo struct {
// The hostd id, obtained through vmkctl storage control path while
// fetching the NVMe info.
VvolHostId string `xml:"vvolHostId,omitempty" json:"vvolHostId,omitempty" vim:"8.0.0.0"`
+ // Command line string to identify different boot options used for host.
+ //
+ // Example of different boot options are:
+ // - "runweasel": "System is booted for weasel installation"
+ // - "ks": "System is booted for kickstart installation"
+ BootCommandLine string `xml:"bootCommandLine,omitempty" json:"bootCommandLine,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -45105,7 +45037,6 @@ type HostSystemReconnectSpec struct {
func init() {
t["HostSystemReconnectSpec"] = reflect.TypeOf((*HostSystemReconnectSpec)(nil)).Elem()
- minAPIVersionForType["HostSystemReconnectSpec"] = "5.0"
}
// The valid remediation states.
@@ -45131,7 +45062,6 @@ type HostSystemRemediationState struct {
func init() {
t["HostSystemRemediationState"] = reflect.TypeOf((*HostSystemRemediationState)(nil)).Elem()
- minAPIVersionForType["HostSystemRemediationState"] = "6.7"
}
// The SystemResourceInfo data object describes the configuration of
@@ -45175,7 +45105,6 @@ type HostSystemSwapConfiguration struct {
func init() {
t["HostSystemSwapConfiguration"] = reflect.TypeOf((*HostSystemSwapConfiguration)(nil)).Elem()
- minAPIVersionForType["HostSystemSwapConfiguration"] = "5.1"
}
// Use option to indicate that a user specified datastore may be used for
@@ -45193,7 +45122,6 @@ type HostSystemSwapConfigurationDatastoreOption struct {
func init() {
t["HostSystemSwapConfigurationDatastoreOption"] = reflect.TypeOf((*HostSystemSwapConfigurationDatastoreOption)(nil)).Elem()
- minAPIVersionForType["HostSystemSwapConfigurationDatastoreOption"] = "5.1"
}
// Indicates that the system swap on the host is currently disabled.
@@ -45208,7 +45136,6 @@ type HostSystemSwapConfigurationDisabledOption struct {
func init() {
t["HostSystemSwapConfigurationDisabledOption"] = reflect.TypeOf((*HostSystemSwapConfigurationDisabledOption)(nil)).Elem()
- minAPIVersionForType["HostSystemSwapConfigurationDisabledOption"] = "5.1"
}
// Use option to indicate that the host cache may be used for system
@@ -45221,7 +45148,6 @@ type HostSystemSwapConfigurationHostCacheOption struct {
func init() {
t["HostSystemSwapConfigurationHostCacheOption"] = reflect.TypeOf((*HostSystemSwapConfigurationHostCacheOption)(nil)).Elem()
- minAPIVersionForType["HostSystemSwapConfigurationHostCacheOption"] = "5.1"
}
// Use option to indicate that the datastore configured for host local swap
@@ -45232,7 +45158,6 @@ type HostSystemSwapConfigurationHostLocalSwapOption struct {
func init() {
t["HostSystemSwapConfigurationHostLocalSwapOption"] = reflect.TypeOf((*HostSystemSwapConfigurationHostLocalSwapOption)(nil)).Elem()
- minAPIVersionForType["HostSystemSwapConfigurationHostLocalSwapOption"] = "5.1"
}
// Base class for all system swap options.
@@ -45251,7 +45176,6 @@ type HostSystemSwapConfigurationSystemSwapOption struct {
func init() {
t["HostSystemSwapConfigurationSystemSwapOption"] = reflect.TypeOf((*HostSystemSwapConfigurationSystemSwapOption)(nil)).Elem()
- minAPIVersionForType["HostSystemSwapConfigurationSystemSwapOption"] = "5.1"
}
// Transport information about a SCSI target.
@@ -45325,7 +45249,6 @@ type HostTpmAttestationInfo struct {
func init() {
t["HostTpmAttestationInfo"] = reflect.TypeOf((*HostTpmAttestationInfo)(nil)).Elem()
- minAPIVersionForType["HostTpmAttestationInfo"] = "6.7"
}
// This class is used to report Trusted Platform Module (TPM) attestation
@@ -45376,7 +45299,6 @@ type HostTpmAttestationReport struct {
func init() {
t["HostTpmAttestationReport"] = reflect.TypeOf((*HostTpmAttestationReport)(nil)).Elem()
- minAPIVersionForType["HostTpmAttestationReport"] = "5.1"
}
// Details of a Trusted Platform Module (TPM) event recording the
@@ -45415,7 +45337,6 @@ type HostTpmBootSecurityOptionEventDetails struct {
func init() {
t["HostTpmBootSecurityOptionEventDetails"] = reflect.TypeOf((*HostTpmBootSecurityOptionEventDetails)(nil)).Elem()
- minAPIVersionForType["HostTpmBootSecurityOptionEventDetails"] = "5.1"
}
// Details of an Trusted Platform Module (TPM) event recording options entered
@@ -45429,7 +45350,6 @@ type HostTpmCommandEventDetails struct {
func init() {
t["HostTpmCommandEventDetails"] = reflect.TypeOf((*HostTpmCommandEventDetails)(nil)).Elem()
- minAPIVersionForType["HostTpmCommandEventDetails"] = "5.1"
}
// This data object type describes the digest values in the Platform
@@ -45443,7 +45363,6 @@ type HostTpmDigestInfo struct {
func init() {
t["HostTpmDigestInfo"] = reflect.TypeOf((*HostTpmDigestInfo)(nil)).Elem()
- minAPIVersionForType["HostTpmDigestInfo"] = "4.0"
}
// This is a base data object for describing an event generated by
@@ -45455,17 +45374,16 @@ type HostTpmEventDetails struct {
DynamicData
// Value of the Platform Configuration Register (PCR) for this event.
- DataHash []byte `xml:"dataHash" json:"dataHash"`
+ DataHash ByteSlice `xml:"dataHash" json:"dataHash"`
// Method in which the digest hash is calculated.
//
// The set of possible
// values is described in `HostDigestInfoDigestMethodType_enum`.
- DataHashMethod string `xml:"dataHashMethod,omitempty" json:"dataHashMethod,omitempty" vim:"6.7"`
+ DataHashMethod string `xml:"dataHashMethod,omitempty" json:"dataHashMethod,omitempty"`
}
func init() {
t["HostTpmEventDetails"] = reflect.TypeOf((*HostTpmEventDetails)(nil)).Elem()
- minAPIVersionForType["HostTpmEventDetails"] = "5.1"
}
// This data object represents a single entry of an event log created by
@@ -45489,7 +45407,6 @@ type HostTpmEventLogEntry struct {
func init() {
t["HostTpmEventLogEntry"] = reflect.TypeOf((*HostTpmEventLogEntry)(nil)).Elem()
- minAPIVersionForType["HostTpmEventLogEntry"] = "5.1"
}
// Details of an Trusted Platform Module (TPM) event recording TPM NVRAM tag.
@@ -45517,12 +45434,11 @@ type HostTpmOptionEventDetails struct {
// This array exposes the raw contents of the settings file (or files) that were
// passed to kernel during the boot up process, and, therefore, should be treated
// accordingly.
- BootOptions []byte `xml:"bootOptions,omitempty" json:"bootOptions,omitempty"`
+ BootOptions ByteSlice `xml:"bootOptions,omitempty" json:"bootOptions,omitempty"`
}
func init() {
t["HostTpmOptionEventDetails"] = reflect.TypeOf((*HostTpmOptionEventDetails)(nil)).Elem()
- minAPIVersionForType["HostTpmOptionEventDetails"] = "5.1"
}
// Details of a Trusted Platform Module (TPM) event recording the measurement
@@ -45561,7 +45477,6 @@ type HostTpmSoftwareComponentEventDetails struct {
func init() {
t["HostTpmSoftwareComponentEventDetails"] = reflect.TypeOf((*HostTpmSoftwareComponentEventDetails)(nil)).Elem()
- minAPIVersionForType["HostTpmSoftwareComponentEventDetails"] = "5.1"
}
// Details of a Trusted Platform Module (TPM) event recording the
@@ -45669,7 +45584,6 @@ type HostUnresolvedVmfsExtent struct {
func init() {
t["HostUnresolvedVmfsExtent"] = reflect.TypeOf((*HostUnresolvedVmfsExtent)(nil)).Elem()
- minAPIVersionForType["HostUnresolvedVmfsExtent"] = "4.0"
}
// Specification to resignature an Unresolved VMFS volume.
@@ -45682,7 +45596,6 @@ type HostUnresolvedVmfsResignatureSpec struct {
func init() {
t["HostUnresolvedVmfsResignatureSpec"] = reflect.TypeOf((*HostUnresolvedVmfsResignatureSpec)(nil)).Elem()
- minAPIVersionForType["HostUnresolvedVmfsResignatureSpec"] = "4.0"
}
// When an UnresolvedVmfsVolume has been resignatured or forceMounted, we want to
@@ -45700,7 +45613,6 @@ type HostUnresolvedVmfsResolutionResult struct {
func init() {
t["HostUnresolvedVmfsResolutionResult"] = reflect.TypeOf((*HostUnresolvedVmfsResolutionResult)(nil)).Elem()
- minAPIVersionForType["HostUnresolvedVmfsResolutionResult"] = "4.0"
}
// An unresolved VMFS volume is reported when one or more device partitions
@@ -45733,7 +45645,6 @@ type HostUnresolvedVmfsResolutionSpec struct {
func init() {
t["HostUnresolvedVmfsResolutionSpec"] = reflect.TypeOf((*HostUnresolvedVmfsResolutionSpec)(nil)).Elem()
- minAPIVersionForType["HostUnresolvedVmfsResolutionSpec"] = "4.0"
}
// Information about detected unbound, unresolved VMFS volume.
@@ -45783,7 +45694,6 @@ type HostUnresolvedVmfsVolume struct {
func init() {
t["HostUnresolvedVmfsVolume"] = reflect.TypeOf((*HostUnresolvedVmfsVolume)(nil)).Elem()
- minAPIVersionForType["HostUnresolvedVmfsVolume"] = "4.0"
}
// Data object that describes the resolvability of a volume.
@@ -45815,7 +45725,6 @@ type HostUnresolvedVmfsVolumeResolveStatus struct {
func init() {
t["HostUnresolvedVmfsVolumeResolveStatus"] = reflect.TypeOf((*HostUnresolvedVmfsVolumeResolveStatus)(nil)).Elem()
- minAPIVersionForType["HostUnresolvedVmfsVolumeResolveStatus"] = "4.0"
}
// The parameters of `HostVStorageObjectManager.HostUpdateVStorageObjectMetadataEx_Task`.
@@ -45836,6 +45745,7 @@ type HostUpdateVStorageObjectMetadataExRequestType struct {
func init() {
t["HostUpdateVStorageObjectMetadataExRequestType"] = reflect.TypeOf((*HostUpdateVStorageObjectMetadataExRequestType)(nil)).Elem()
+ minAPIVersionForType["HostUpdateVStorageObjectMetadataExRequestType"] = "7.0.2.0"
}
type HostUpdateVStorageObjectMetadataEx_Task HostUpdateVStorageObjectMetadataExRequestType
@@ -45900,7 +45810,6 @@ type HostUserWorldSwapNotEnabledEvent struct {
func init() {
t["HostUserWorldSwapNotEnabledEvent"] = reflect.TypeOf((*HostUserWorldSwapNotEnabledEvent)(nil)).Elem()
- minAPIVersionForType["HostUserWorldSwapNotEnabledEvent"] = "4.0"
}
// Data object describes host vFlash cache configuration information.
@@ -45926,7 +45835,6 @@ type HostVFlashManagerVFlashCacheConfigInfo struct {
func init() {
t["HostVFlashManagerVFlashCacheConfigInfo"] = reflect.TypeOf((*HostVFlashManagerVFlashCacheConfigInfo)(nil)).Elem()
- minAPIVersionForType["HostVFlashManagerVFlashCacheConfigInfo"] = "5.5"
}
type HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption struct {
@@ -45979,7 +45887,6 @@ type HostVFlashManagerVFlashCacheConfigSpec struct {
func init() {
t["HostVFlashManagerVFlashCacheConfigSpec"] = reflect.TypeOf((*HostVFlashManagerVFlashCacheConfigSpec)(nil)).Elem()
- minAPIVersionForType["HostVFlashManagerVFlashCacheConfigSpec"] = "5.5"
}
// vFlash configuration Information.
@@ -45994,7 +45901,6 @@ type HostVFlashManagerVFlashConfigInfo struct {
func init() {
t["HostVFlashManagerVFlashConfigInfo"] = reflect.TypeOf((*HostVFlashManagerVFlashConfigInfo)(nil)).Elem()
- minAPIVersionForType["HostVFlashManagerVFlashConfigInfo"] = "5.5"
}
// vFlash resource configuration Information.
@@ -46012,7 +45918,6 @@ type HostVFlashManagerVFlashResourceConfigInfo struct {
func init() {
t["HostVFlashManagerVFlashResourceConfigInfo"] = reflect.TypeOf((*HostVFlashManagerVFlashResourceConfigInfo)(nil)).Elem()
- minAPIVersionForType["HostVFlashManagerVFlashResourceConfigInfo"] = "5.5"
}
// vFlash resource configuration specification.
@@ -46025,7 +45930,6 @@ type HostVFlashManagerVFlashResourceConfigSpec struct {
func init() {
t["HostVFlashManagerVFlashResourceConfigSpec"] = reflect.TypeOf((*HostVFlashManagerVFlashResourceConfigSpec)(nil)).Elem()
- minAPIVersionForType["HostVFlashManagerVFlashResourceConfigSpec"] = "5.5"
}
// Data object provides vFlash resource runtime usage.
@@ -46049,7 +45953,6 @@ type HostVFlashManagerVFlashResourceRunTimeInfo struct {
func init() {
t["HostVFlashManagerVFlashResourceRunTimeInfo"] = reflect.TypeOf((*HostVFlashManagerVFlashResourceRunTimeInfo)(nil)).Elem()
- minAPIVersionForType["HostVFlashManagerVFlashResourceRunTimeInfo"] = "5.5"
}
// vFlash resource configuration result returns the newly-configured backend
@@ -46067,7 +45970,6 @@ type HostVFlashResourceConfigurationResult struct {
func init() {
t["HostVFlashResourceConfigurationResult"] = reflect.TypeOf((*HostVFlashResourceConfigurationResult)(nil)).Elem()
- minAPIVersionForType["HostVFlashResourceConfigurationResult"] = "5.5"
}
// The object type for the array returned by queryVMotionCompatibility;
@@ -46158,7 +46060,6 @@ type HostVMotionManagerDstInstantCloneResult struct {
func init() {
t["HostVMotionManagerDstInstantCloneResult"] = reflect.TypeOf((*HostVMotionManagerDstInstantCloneResult)(nil)).Elem()
- minAPIVersionForType["HostVMotionManagerDstInstantCloneResult"] = "7.0"
}
// The result of an InstantClone InitiateSource task.
@@ -46183,7 +46084,6 @@ type HostVMotionManagerSrcInstantCloneResult struct {
func init() {
t["HostVMotionManagerSrcInstantCloneResult"] = reflect.TypeOf((*HostVMotionManagerSrcInstantCloneResult)(nil)).Elem()
- minAPIVersionForType["HostVMotionManagerSrcInstantCloneResult"] = "7.0"
}
// The NetConfig data object type contains the networking
@@ -46226,7 +46126,7 @@ type HostVStorageObjectCreateDiskFromSnapshotRequestType struct {
Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty"`
// Relative location in the specified datastore where disk needs
// to be created. If not specified disk gets created at defualt
- // VStorageObject location on the specified datastore
+ // VStorageObject location on the specified datastore.
Path string `xml:"path,omitempty" json:"path,omitempty"`
// Provisioining type of the disk as specified in above
// mentioned profile. The list of supported values can be found in
@@ -46365,7 +46265,6 @@ type HostVfatVolume struct {
func init() {
t["HostVfatVolume"] = reflect.TypeOf((*HostVfatVolume)(nil)).Elem()
- minAPIVersionForType["HostVfatVolume"] = "5.0"
}
// This data object type describes the VFFS
@@ -46394,7 +46293,6 @@ type HostVffsSpec struct {
func init() {
t["HostVffsSpec"] = reflect.TypeOf((*HostVffsSpec)(nil)).Elem()
- minAPIVersionForType["HostVffsSpec"] = "5.5"
}
// vFlash File System Volume.
@@ -46416,7 +46314,6 @@ type HostVffsVolume struct {
func init() {
t["HostVffsVolume"] = reflect.TypeOf((*HostVffsVolume)(nil)).Elem()
- minAPIVersionForType["HostVffsVolume"] = "5.5"
}
// The `HostVirtualNic` data object describes a virtual network adapter
@@ -46511,12 +46408,11 @@ type HostVirtualNicConnection struct {
//
// If the virtual nic is to be connected to a logicSwitch,
// \#opNetwork will be set instead of #portgroup and #dvPort
- OpNetwork *HostVirtualNicOpaqueNetworkSpec `xml:"opNetwork,omitempty" json:"opNetwork,omitempty" vim:"6.7"`
+ OpNetwork *HostVirtualNicOpaqueNetworkSpec `xml:"opNetwork,omitempty" json:"opNetwork,omitempty"`
}
func init() {
t["HostVirtualNicConnection"] = reflect.TypeOf((*HostVirtualNicConnection)(nil)).Elem()
- minAPIVersionForType["HostVirtualNicConnection"] = "4.0"
}
// The `HostVirtualNicIpRouteSpec` data object describes the
@@ -46538,7 +46434,6 @@ type HostVirtualNicIpRouteSpec struct {
func init() {
t["HostVirtualNicIpRouteSpec"] = reflect.TypeOf((*HostVirtualNicIpRouteSpec)(nil)).Elem()
- minAPIVersionForType["HostVirtualNicIpRouteSpec"] = "6.5"
}
// This data object type describes VirtualNic host
@@ -46555,7 +46450,6 @@ type HostVirtualNicManagerInfo struct {
func init() {
t["HostVirtualNicManagerInfo"] = reflect.TypeOf((*HostVirtualNicManagerInfo)(nil)).Elem()
- minAPIVersionForType["HostVirtualNicManagerInfo"] = "4.0"
}
// DataObject which lets a VirtualNic be marked for
@@ -46570,7 +46464,6 @@ type HostVirtualNicManagerNicTypeSelection struct {
func init() {
t["HostVirtualNicManagerNicTypeSelection"] = reflect.TypeOf((*HostVirtualNicManagerNicTypeSelection)(nil)).Elem()
- minAPIVersionForType["HostVirtualNicManagerNicTypeSelection"] = "4.0"
}
// The `HostVirtualNicOpaqueNetworkSpec` data object
@@ -46587,7 +46480,6 @@ type HostVirtualNicOpaqueNetworkSpec struct {
func init() {
t["HostVirtualNicOpaqueNetworkSpec"] = reflect.TypeOf((*HostVirtualNicOpaqueNetworkSpec)(nil)).Elem()
- minAPIVersionForType["HostVirtualNicOpaqueNetworkSpec"] = "6.0"
}
// The `HostVirtualNicSpec` data object describes the
@@ -46613,26 +46505,26 @@ type HostVirtualNicSpec struct {
// to which the virtual NIC should connect. You can specify this property
// only if you do not specify `HostVirtualNicSpec.distributedVirtualPort` and
// `HostVirtualNicSpec.opaqueNetwork`
- DistributedVirtualPort *DistributedVirtualSwitchPortConnection `xml:"distributedVirtualPort,omitempty" json:"distributedVirtualPort,omitempty" vim:"4.0"`
+ DistributedVirtualPort *DistributedVirtualSwitchPortConnection `xml:"distributedVirtualPort,omitempty" json:"distributedVirtualPort,omitempty"`
// Portgroup (`HostPortGroup`) to which the virtual NIC is connected.
//
// When reconfiguring a virtual NIC, this property indicates the new portgroup
// to which the virtual NIC should connect. You can specify this property
// only if you do not specify `HostVirtualNicSpec.distributedVirtualPort` and
// `HostVirtualNicSpec.opaqueNetwork`
- Portgroup string `xml:"portgroup,omitempty" json:"portgroup,omitempty" vim:"4.0"`
+ Portgroup string `xml:"portgroup,omitempty" json:"portgroup,omitempty"`
// Maximum transmission unit for packets size in bytes for the virtual
// NIC.
//
// If not specified, the Server will use the system default value.
- Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty" vim:"4.0"`
+ Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty"`
// Flag enabling or disabling TCP segmentation offset for a virtual NIC.
//
// If not specified, a default value of true will be used.
- TsoEnabled *bool `xml:"tsoEnabled" json:"tsoEnabled,omitempty" vim:"4.0"`
+ TsoEnabled *bool `xml:"tsoEnabled" json:"tsoEnabled,omitempty"`
// The NetStackInstance that the virtual NIC uses, the value of this property
// is default to be `defaultTcpipStack`
- NetStackInstanceKey string `xml:"netStackInstanceKey,omitempty" json:"netStackInstanceKey,omitempty" vim:"5.5"`
+ NetStackInstanceKey string `xml:"netStackInstanceKey,omitempty" json:"netStackInstanceKey,omitempty"`
// Opaque network (`HostOpaqueNetworkInfo`) to which the
// virtual NIC is connected.
//
@@ -46640,7 +46532,7 @@ type HostVirtualNicSpec struct {
// of opaque network to which the virtual NIC should connect. You can specify
// this property only if you do not specify `HostVirtualNicSpec.distributedVirtualPort`
// and `HostVirtualNicSpec.portgroup`.
- OpaqueNetwork *HostVirtualNicOpaqueNetworkSpec `xml:"opaqueNetwork,omitempty" json:"opaqueNetwork,omitempty" vim:"6.0"`
+ OpaqueNetwork *HostVirtualNicOpaqueNetworkSpec `xml:"opaqueNetwork,omitempty" json:"opaqueNetwork,omitempty"`
// An ID assigned to the vmkernel adapter by external management plane.
//
// The value and format of this property is determined by external management
@@ -46649,7 +46541,7 @@ type HostVirtualNicSpec struct {
//
// This property is applicable only when `HostVirtualNicSpec.opaqueNetwork` property is set,
// otherwise it's value is ignored.
- ExternalId string `xml:"externalId,omitempty" json:"externalId,omitempty" vim:"6.0"`
+ ExternalId string `xml:"externalId,omitempty" json:"externalId,omitempty"`
// The physical nic to which the vmkernel adapter is pinned.
//
// Setting this value
@@ -46660,15 +46552,15 @@ type HostVirtualNicSpec struct {
// If the vmkernel adapter is connected to a portgroup or dvPort, then such
// pinning can be achieved by configuring correct teaming policy on the portgroup
// or dvPort or dvPortgroup that is connected to virtual NIC.
- PinnedPnic string `xml:"pinnedPnic,omitempty" json:"pinnedPnic,omitempty" vim:"6.0"`
+ PinnedPnic string `xml:"pinnedPnic,omitempty" json:"pinnedPnic,omitempty"`
// The ip route configuration used by the vmkernel adapter.
//
// This attribute
// allows the vmkernel adapter to specify its own default gateway.
- IpRouteSpec *HostVirtualNicIpRouteSpec `xml:"ipRouteSpec,omitempty" json:"ipRouteSpec,omitempty" vim:"6.5"`
+ IpRouteSpec *HostVirtualNicIpRouteSpec `xml:"ipRouteSpec,omitempty" json:"ipRouteSpec,omitempty"`
// Set to true when the vmkernel adapter is configured by
// other system indirectly other than by the user directly.
- SystemOwned *bool `xml:"systemOwned" json:"systemOwned,omitempty" vim:"7.0"`
+ SystemOwned *bool `xml:"systemOwned" json:"systemOwned,omitempty"`
// The identifier of the DPU hosting the vmknic.
//
// If vmknic is on ESX host, dpuId will be unset.
@@ -46706,7 +46598,7 @@ type HostVirtualSwitch struct {
NumPortsAvailable int32 `xml:"numPortsAvailable" json:"numPortsAvailable"`
// The maximum transmission unit (MTU) associated with this virtual switch
// in bytes.
- Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty" vim:"2.5"`
+ Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty"`
// The list of port groups configured for this virtual switch.
Portgroup []string `xml:"portgroup,omitempty" json:"portgroup,omitempty"`
// The set of physical network adapters associated with this bridge.
@@ -46730,7 +46622,7 @@ type HostVirtualSwitchAutoBridge struct {
// List of physical network adapters that have been excluded from
// participating in the AutoBridge
- ExcludedNicDevice []string `xml:"excludedNicDevice,omitempty" json:"excludedNicDevice,omitempty" vim:"2.5"`
+ ExcludedNicDevice []string `xml:"excludedNicDevice,omitempty" json:"excludedNicDevice,omitempty"`
}
func init() {
@@ -46777,7 +46669,7 @@ type HostVirtualSwitchBondBridge struct {
// The link discovery protocol configuration for the virtual switch.
//
// See also `LinkDiscoveryProtocolConfig`.
- LinkDiscoveryProtocolConfig *LinkDiscoveryProtocolConfig `xml:"linkDiscoveryProtocolConfig,omitempty" json:"linkDiscoveryProtocolConfig,omitempty" vim:"4.0"`
+ LinkDiscoveryProtocolConfig *LinkDiscoveryProtocolConfig `xml:"linkDiscoveryProtocolConfig,omitempty" json:"linkDiscoveryProtocolConfig,omitempty"`
}
func init() {
@@ -46855,7 +46747,7 @@ type HostVirtualSwitchSpec struct {
// be unchanged.
Policy *HostNetworkPolicy `xml:"policy,omitempty" json:"policy,omitempty"`
// The maximum transmission unit (MTU) of the virtual switch in bytes.
- Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty" vim:"2.5"`
+ Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty"`
}
func init() {
@@ -46873,6 +46765,7 @@ func init() {
type HostVmciAccessManagerAccessSpec struct {
DynamicData
+ // Refers instance of `VirtualMachine`.
Vm ManagedObjectReference `xml:"vm" json:"vm"`
Services []string `xml:"services,omitempty" json:"services,omitempty"`
Mode string `xml:"mode" json:"mode"`
@@ -46880,7 +46773,6 @@ type HostVmciAccessManagerAccessSpec struct {
func init() {
t["HostVmciAccessManagerAccessSpec"] = reflect.TypeOf((*HostVmciAccessManagerAccessSpec)(nil)).Elem()
- minAPIVersionForType["HostVmciAccessManagerAccessSpec"] = "5.0"
}
// When a user resignatures an UnresolvedVmfsVolume through DatastoreSystem API,
@@ -46902,7 +46794,6 @@ type HostVmfsRescanResult struct {
func init() {
t["HostVmfsRescanResult"] = reflect.TypeOf((*HostVmfsRescanResult)(nil)).Elem()
- minAPIVersionForType["HostVmfsRescanResult"] = "4.0"
}
// This data object type describes the VMware File System (VMFS)
@@ -46953,7 +46844,7 @@ type HostVmfsSpec struct {
// In VMFS3, the valid block sizes are 1MB, 2MB, 4MB, and 8MB.
// In VMFS5, the only valid block size is 1MB.
// In VMFS6, the valid block sizes are 64KB and 1MB.
- BlockSize int32 `xml:"blockSize,omitempty" json:"blockSize,omitempty" vim:"6.5"`
+ BlockSize int32 `xml:"blockSize,omitempty" json:"blockSize,omitempty"`
// The granularity of VMFS unmap operations.
//
// VMFS unmap reclaims
@@ -46961,18 +46852,18 @@ type HostVmfsSpec struct {
// The unit is KB. The minimum unmap granularity is 8KB. The maximum
// unmap granularity is determined by the block size of VMFS
// `HostVmfsVolume.blockSize`.
- UnmapGranularity int32 `xml:"unmapGranularity,omitempty" json:"unmapGranularity,omitempty" vim:"6.5"`
+ UnmapGranularity int32 `xml:"unmapGranularity,omitempty" json:"unmapGranularity,omitempty"`
// VMFS unmap priority.
//
// VMFS unmap reclaims unused storage space. This
// determines the processing rate of unmaps.
// See `HostVmfsVolumeUnmapPriority_enum` for supported values.
- UnmapPriority string `xml:"unmapPriority,omitempty" json:"unmapPriority,omitempty" vim:"6.5"`
+ UnmapPriority string `xml:"unmapPriority,omitempty" json:"unmapPriority,omitempty"`
// VMFS unmap bandwidth related specification.
//
// See
// `VmfsUnmapBandwidthSpec` for detail.
- UnmapBandwidthSpec *VmfsUnmapBandwidthSpec `xml:"unmapBandwidthSpec,omitempty" json:"unmapBandwidthSpec,omitempty" vim:"6.7"`
+ UnmapBandwidthSpec *VmfsUnmapBandwidthSpec `xml:"unmapBandwidthSpec,omitempty" json:"unmapBandwidthSpec,omitempty"`
}
func init() {
@@ -47001,7 +46892,7 @@ type HostVmfsVolume struct {
// To increase the maximum size of a VMFS file, increase the block size.
//
// The minimum block size is 1MB.
- BlockSize int32 `xml:"blockSize,omitempty" json:"blockSize,omitempty" vim:"6.5"`
+ BlockSize int32 `xml:"blockSize,omitempty" json:"blockSize,omitempty"`
// VMFS unmap reclaims unused storage space.
//
// This property
@@ -47009,7 +46900,7 @@ type HostVmfsVolume struct {
// The unit is KB. If not specified, the default value is the same as
// the block size of VMFS `HostVmfsVolume.blockSize`.
// This property cannot be changed after a VMFS volume is created.
- UnmapGranularity int32 `xml:"unmapGranularity,omitempty" json:"unmapGranularity,omitempty" vim:"6.5"`
+ UnmapGranularity int32 `xml:"unmapGranularity,omitempty" json:"unmapGranularity,omitempty"`
// VMFS unmap reclaims unused storage space.
//
// This property
@@ -47019,12 +46910,12 @@ type HostVmfsVolume struct {
// `low`, which means
// unmap is processed at low rate. This property can be updated by
// calling `HostStorageSystem.UpdateVmfsUnmapPriority`.
- UnmapPriority string `xml:"unmapPriority,omitempty" json:"unmapPriority,omitempty" vim:"6.5"`
+ UnmapPriority string `xml:"unmapPriority,omitempty" json:"unmapPriority,omitempty"`
// VMFS unmap bandwidth related specification.
//
// See
// `VmfsUnmapBandwidthSpec` for detail.
- UnmapBandwidthSpec *VmfsUnmapBandwidthSpec `xml:"unmapBandwidthSpec,omitempty" json:"unmapBandwidthSpec,omitempty" vim:"6.7"`
+ UnmapBandwidthSpec *VmfsUnmapBandwidthSpec `xml:"unmapBandwidthSpec,omitempty" json:"unmapBandwidthSpec,omitempty"`
// Maximum number of blocks.
//
// Determines maximum file size along
@@ -47073,22 +46964,22 @@ type HostVmfsVolume struct {
// 'UnresolvedVmfsVolume'. If user decides to 'forceMount' the
// VmfsVolume on the host, forceMountedInfo will be populated.
// It will not be set for automounted VMFS volumes.
- ForceMountedInfo *HostForceMountedInfo `xml:"forceMountedInfo,omitempty" json:"forceMountedInfo,omitempty" vim:"4.0"`
+ ForceMountedInfo *HostForceMountedInfo `xml:"forceMountedInfo,omitempty" json:"forceMountedInfo,omitempty"`
// Indicates whether the volume is SSD backed.
//
// If unset, the information whether the volume is SSD backed is unknown.
- Ssd *bool `xml:"ssd" json:"ssd,omitempty" vim:"5.0"`
+ Ssd *bool `xml:"ssd" json:"ssd,omitempty"`
// Indicates whether the volume is backed by local disk.
//
// If unset, the information of the volume is local-disk backed is unknown.
- Local *bool `xml:"local" json:"local,omitempty" vim:"5.5"`
+ Local *bool `xml:"local" json:"local,omitempty"`
// The type of disk drives.
//
// See `ScsiDiskType_enum`
// for supported types.
// If unset, the default disk drive type is
// `native512`.
- ScsiDiskType string `xml:"scsiDiskType,omitempty" json:"scsiDiskType,omitempty" vim:"6.5"`
+ ScsiDiskType string `xml:"scsiDiskType,omitempty" json:"scsiDiskType,omitempty"`
}
func init() {
@@ -47104,12 +46995,11 @@ type HostVnicConnectedToCustomizedDVPortEvent struct {
// Information about the Virtual NIC that is using the DVport.
Vnic VnicPortArgument `xml:"vnic" json:"vnic"`
// Information about the previous Virtual NIC that is using the DVport.
- PrevPortKey string `xml:"prevPortKey,omitempty" json:"prevPortKey,omitempty" vim:"6.5"`
+ PrevPortKey string `xml:"prevPortKey,omitempty" json:"prevPortKey,omitempty"`
}
func init() {
t["HostVnicConnectedToCustomizedDVPortEvent"] = reflect.TypeOf((*HostVnicConnectedToCustomizedDVPortEvent)(nil)).Elem()
- minAPIVersionForType["HostVnicConnectedToCustomizedDVPortEvent"] = "4.0"
}
// All fields in the CMMDS Query spec are optional, but at least one needs
@@ -47129,7 +47019,6 @@ type HostVsanInternalSystemCmmdsQuery struct {
func init() {
t["HostVsanInternalSystemCmmdsQuery"] = reflect.TypeOf((*HostVsanInternalSystemCmmdsQuery)(nil)).Elem()
- minAPIVersionForType["HostVsanInternalSystemCmmdsQuery"] = "5.5"
}
// Result of DeleteVsanObjects.
@@ -47148,7 +47037,6 @@ type HostVsanInternalSystemDeleteVsanObjectsResult struct {
func init() {
t["HostVsanInternalSystemDeleteVsanObjectsResult"] = reflect.TypeOf((*HostVsanInternalSystemDeleteVsanObjectsResult)(nil)).Elem()
- minAPIVersionForType["HostVsanInternalSystemDeleteVsanObjectsResult"] = "5.5"
}
// Operation result for a VSAN object upon failure.
@@ -47163,7 +47051,6 @@ type HostVsanInternalSystemVsanObjectOperationResult struct {
func init() {
t["HostVsanInternalSystemVsanObjectOperationResult"] = reflect.TypeOf((*HostVsanInternalSystemVsanObjectOperationResult)(nil)).Elem()
- minAPIVersionForType["HostVsanInternalSystemVsanObjectOperationResult"] = "6.0"
}
// Result structure for a VSAN Physical Disk Diagnostics run.
@@ -47183,7 +47070,6 @@ type HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult struct {
func init() {
t["HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult"] = reflect.TypeOf((*HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult)(nil)).Elem()
- minAPIVersionForType["HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult"] = "5.5"
}
type HostVvolNQN struct {
@@ -47196,6 +47082,7 @@ type HostVvolNQN struct {
func init() {
t["HostVvolNQN"] = reflect.TypeOf((*HostVvolNQN)(nil)).Elem()
+ minAPIVersionForType["HostVvolNQN"] = "8.0.2.0"
}
type HostVvolVolume struct {
@@ -47214,6 +47101,8 @@ type HostVvolVolume struct {
ProtocolEndpointType string `xml:"protocolEndpointType,omitempty" json:"protocolEndpointType,omitempty" vim:"8.0.0.0"`
// vVol NQN field availability
VvolNQNFieldsAvailable *bool `xml:"vvolNQNFieldsAvailable" json:"vvolNQNFieldsAvailable,omitempty" vim:"8.0.2.0"`
+ // if set to true, indicates a stretched container
+ Stretched *bool `xml:"stretched" json:"stretched,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -47233,6 +47122,7 @@ type HostVvolVolumeHostVvolNQN struct {
func init() {
t["HostVvolVolumeHostVvolNQN"] = reflect.TypeOf((*HostVvolVolumeHostVvolNQN)(nil)).Elem()
+ minAPIVersionForType["HostVvolVolumeHostVvolNQN"] = "8.0.2.0"
}
type HostVvolVolumeSpecification struct {
@@ -47248,6 +47138,8 @@ type HostVvolVolumeSpecification struct {
StorageArray []VASAStorageArray `xml:"storageArray,omitempty" json:"storageArray,omitempty"`
// Vendor specified storage-container ID
Uuid string `xml:"uuid" json:"uuid"`
+ // if set to true, indicates a stretched container
+ Stretched *bool `xml:"stretched" json:"stretched,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -47270,7 +47162,6 @@ type HostWwnChangedEvent struct {
func init() {
t["HostWwnChangedEvent"] = reflect.TypeOf((*HostWwnChangedEvent)(nil)).Elem()
- minAPIVersionForType["HostWwnChangedEvent"] = "2.5"
}
// This event records a conflict of host WWNs (World Wide Name).
@@ -47289,7 +47180,6 @@ type HostWwnConflictEvent struct {
func init() {
t["HostWwnConflictEvent"] = reflect.TypeOf((*HostWwnConflictEvent)(nil)).Elem()
- minAPIVersionForType["HostWwnConflictEvent"] = "2.5"
}
// An attempt is being made to move a virtual machine's disk that has
@@ -47301,7 +47191,6 @@ type HotSnapshotMoveNotSupported struct {
func init() {
t["HotSnapshotMoveNotSupported"] = reflect.TypeOf((*HotSnapshotMoveNotSupported)(nil)).Elem()
- minAPIVersionForType["HotSnapshotMoveNotSupported"] = "2.5"
}
type HotSnapshotMoveNotSupportedFault HotSnapshotMoveNotSupported
@@ -47350,7 +47239,6 @@ type HttpFault struct {
func init() {
t["HttpFault"] = reflect.TypeOf((*HttpFault)(nil)).Elem()
- minAPIVersionForType["HttpFault"] = "4.0"
}
type HttpFaultFault HttpFault
@@ -47394,7 +47282,6 @@ type HttpNfcLeaseCapabilities struct {
func init() {
t["HttpNfcLeaseCapabilities"] = reflect.TypeOf((*HttpNfcLeaseCapabilities)(nil)).Elem()
- minAPIVersionForType["HttpNfcLeaseCapabilities"] = "6.7"
}
type HttpNfcLeaseComplete HttpNfcLeaseCompleteRequestType
@@ -47431,7 +47318,6 @@ type HttpNfcLeaseDatastoreLeaseInfo struct {
func init() {
t["HttpNfcLeaseDatastoreLeaseInfo"] = reflect.TypeOf((*HttpNfcLeaseDatastoreLeaseInfo)(nil)).Elem()
- minAPIVersionForType["HttpNfcLeaseDatastoreLeaseInfo"] = "4.1"
}
// Provides a mapping from logical device IDs to upload/download
@@ -47457,7 +47343,24 @@ type HttpNfcLeaseDeviceUrl struct {
// This is only
// set for import leases.
ImportKey string `xml:"importKey" json:"importKey"`
- Url string `xml:"url" json:"url"`
+ // The URL to use to upload/download the device content.
+ //
+ // The returned url contains either an IP address, a hostname or a "\*". If a
+ // "\*" is returned the client must substitutes the "\*" with the hostname
+ // or IP address used when connecting to the server.
+ // For example if the client connected to "someHost" and the device
+ // url returned is:
+ //
+ // http:// *:somePort/somePath
+ //
+ // the client must substitute the "\*" with "someHost" before use. The resulting
+ // url would be:
+ //
+ // http://someHost:somePort/somePath
+ //
+ // The server cannot return a valid hostname or IP address when the client
+ // connects via a NAT, a proxy, or when the server is multihomed.
+ Url string `xml:"url" json:"url"`
// SSL thumbprint for the host the URL refers to.
//
// Empty if no SSL thumbprint
@@ -47465,28 +47368,27 @@ type HttpNfcLeaseDeviceUrl struct {
SslThumbprint string `xml:"sslThumbprint" json:"sslThumbprint"`
// Optional value to specify if the attached file is a disk in
// vmdk format.
- Disk *bool `xml:"disk" json:"disk,omitempty" vim:"4.1"`
+ Disk *bool `xml:"disk" json:"disk,omitempty"`
// Id for this target.
//
// This only used for multi-POSTing, where a single HTTP
// POST is applied to multiple targets.
- TargetId string `xml:"targetId,omitempty" json:"targetId,omitempty" vim:"4.1"`
+ TargetId string `xml:"targetId,omitempty" json:"targetId,omitempty"`
// Key for the datastore this disk is on.
//
// This is used to look up hosts
// which can be used to multi-POST disk contents, in the host map of the
// lease.
- DatastoreKey string `xml:"datastoreKey,omitempty" json:"datastoreKey,omitempty" vim:"4.1"`
+ DatastoreKey string `xml:"datastoreKey,omitempty" json:"datastoreKey,omitempty"`
// Specifies the size of the file backing for this device.
//
// This property
// is only set for non-disk file backings.
- FileSize int64 `xml:"fileSize,omitempty" json:"fileSize,omitempty" vim:"4.1"`
+ FileSize int64 `xml:"fileSize,omitempty" json:"fileSize,omitempty"`
}
func init() {
t["HttpNfcLeaseDeviceUrl"] = reflect.TypeOf((*HttpNfcLeaseDeviceUrl)(nil)).Elem()
- minAPIVersionForType["HttpNfcLeaseDeviceUrl"] = "4.0"
}
type HttpNfcLeaseGetManifest HttpNfcLeaseGetManifestRequestType
@@ -47513,15 +47415,17 @@ type HttpNfcLeaseHostInfo struct {
// The host url will be of the form
//
- // https://hostname/nfc/ticket id/
+ // https://hostname/nfc/ticket id/
+ //
// The url can be used for both POST requests to a single device and for
// multi-POST requests to multiple devices. A single-POST URL is formed
// by adding the target id to the hostUrl:
//
- // https://hostname/nfc/ticket id/target id
+ // https://hostname/nfc/ticket id/target id
+ //
// a multi-POST URL looks like
//
- // https://hostname/nfc/ticket id/multi?targets=id1,id2,id3,...
+ // https://hostname/nfc/ticket id/multi?targets=id1,id2,id3,...
Url string `xml:"url" json:"url"`
// SSL thumbprint for the host the URL refers to.
//
@@ -47532,7 +47436,6 @@ type HttpNfcLeaseHostInfo struct {
func init() {
t["HttpNfcLeaseHostInfo"] = reflect.TypeOf((*HttpNfcLeaseHostInfo)(nil)).Elem()
- minAPIVersionForType["HttpNfcLeaseHostInfo"] = "4.1"
}
// This class holds information about the lease, such as the entity covered by the
@@ -47568,12 +47471,11 @@ type HttpNfcLeaseInfo struct {
//
// This is used to
// look up multi-POST-capable hosts for a datastore.
- HostMap []HttpNfcLeaseDatastoreLeaseInfo `xml:"hostMap,omitempty" json:"hostMap,omitempty" vim:"4.1"`
+ HostMap []HttpNfcLeaseDatastoreLeaseInfo `xml:"hostMap,omitempty" json:"hostMap,omitempty"`
}
func init() {
t["HttpNfcLeaseInfo"] = reflect.TypeOf((*HttpNfcLeaseInfo)(nil)).Elem()
- minAPIVersionForType["HttpNfcLeaseInfo"] = "4.0"
}
// Provides a manifest for downloaded (exported) files and disks.
@@ -47592,11 +47494,11 @@ type HttpNfcLeaseManifestEntry struct {
// Checksum of the data stream sent/recieved by host.
//
// See `HttpNfcLeaseManifestEntryChecksumType_enum` for used algoritm.
- Checksum string `xml:"checksum,omitempty" json:"checksum,omitempty" vim:"6.7"`
+ Checksum string `xml:"checksum,omitempty" json:"checksum,omitempty"`
// Algorithm used to produce checksum in respective property.
//
// See `HttpNfcLeaseManifestEntryChecksumType_enum` for supported algorithms.
- ChecksumType string `xml:"checksumType,omitempty" json:"checksumType,omitempty" vim:"6.7"`
+ ChecksumType string `xml:"checksumType,omitempty" json:"checksumType,omitempty"`
// Size of the downloaded file.
Size int64 `xml:"size" json:"size"`
// True if the downloaded file is a virtual disk backing.
@@ -47609,7 +47511,6 @@ type HttpNfcLeaseManifestEntry struct {
func init() {
t["HttpNfcLeaseManifestEntry"] = reflect.TypeOf((*HttpNfcLeaseManifestEntry)(nil)).Elem()
- minAPIVersionForType["HttpNfcLeaseManifestEntry"] = "4.1"
}
// Descriptor of ProbeResult
@@ -47645,6 +47546,7 @@ type HttpNfcLeaseProbeUrlsRequestType struct {
func init() {
t["HttpNfcLeaseProbeUrlsRequestType"] = reflect.TypeOf((*HttpNfcLeaseProbeUrlsRequestType)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseProbeUrlsRequestType"] = "7.0.2.0"
}
type HttpNfcLeaseProbeUrlsResponse struct {
@@ -47756,7 +47658,6 @@ type HttpNfcLeaseSourceFile struct {
func init() {
t["HttpNfcLeaseSourceFile"] = reflect.TypeOf((*HttpNfcLeaseSourceFile)(nil)).Elem()
- minAPIVersionForType["HttpNfcLeaseSourceFile"] = "6.7"
}
// This data object type describes an identifier class which
@@ -47771,7 +47672,6 @@ type ID struct {
func init() {
t["ID"] = reflect.TypeOf((*ID)(nil)).Elem()
- minAPIVersionForType["ID"] = "6.5"
}
// Deprecated as of VI API 2.5, use `DeviceControllerNotSupported`.
@@ -47812,7 +47712,6 @@ type IORMNotSupportedHostOnDatastore struct {
func init() {
t["IORMNotSupportedHostOnDatastore"] = reflect.TypeOf((*IORMNotSupportedHostOnDatastore)(nil)).Elem()
- minAPIVersionForType["IORMNotSupportedHostOnDatastore"] = "4.1"
}
type IORMNotSupportedHostOnDatastoreFault IORMNotSupportedHostOnDatastore
@@ -47828,7 +47727,6 @@ type IScsiBootFailureEvent struct {
func init() {
t["IScsiBootFailureEvent"] = reflect.TypeOf((*IScsiBootFailureEvent)(nil)).Elem()
- minAPIVersionForType["IScsiBootFailureEvent"] = "4.1"
}
type ImpersonateUser ImpersonateUserRequestType
@@ -47895,7 +47793,6 @@ type ImportHostAddFailure struct {
func init() {
t["ImportHostAddFailure"] = reflect.TypeOf((*ImportHostAddFailure)(nil)).Elem()
- minAPIVersionForType["ImportHostAddFailure"] = "5.1"
}
type ImportHostAddFailureFault ImportHostAddFailure
@@ -47914,7 +47811,6 @@ type ImportOperationBulkFault struct {
func init() {
t["ImportOperationBulkFault"] = reflect.TypeOf((*ImportOperationBulkFault)(nil)).Elem()
- minAPIVersionForType["ImportOperationBulkFault"] = "5.1"
}
type ImportOperationBulkFaultFault ImportOperationBulkFault
@@ -47940,7 +47836,6 @@ type ImportOperationBulkFaultFaultOnImport struct {
func init() {
t["ImportOperationBulkFaultFaultOnImport"] = reflect.TypeOf((*ImportOperationBulkFaultFaultOnImport)(nil)).Elem()
- minAPIVersionForType["ImportOperationBulkFaultFaultOnImport"] = "5.1"
}
// An ImportSpec is used when importing VMs or vApps.
@@ -47961,12 +47856,11 @@ type ImportSpec struct {
EntityConfig *VAppEntityConfigInfo `xml:"entityConfig,omitempty" json:"entityConfig,omitempty"`
// The instantiation OST (see `OvfConsumer` ) to be consumed by OVF
// consumers.
- InstantiationOst *OvfConsumerOstNode `xml:"instantiationOst,omitempty" json:"instantiationOst,omitempty" vim:"5.0"`
+ InstantiationOst *OvfConsumerOstNode `xml:"instantiationOst,omitempty" json:"instantiationOst,omitempty"`
}
func init() {
t["ImportSpec"] = reflect.TypeOf((*ImportSpec)(nil)).Elem()
- minAPIVersionForType["ImportSpec"] = "4.0"
}
type ImportUnmanagedSnapshot ImportUnmanagedSnapshotRequestType
@@ -48040,7 +47934,6 @@ type InUseFeatureManipulationDisallowed struct {
func init() {
t["InUseFeatureManipulationDisallowed"] = reflect.TypeOf((*InUseFeatureManipulationDisallowed)(nil)).Elem()
- minAPIVersionForType["InUseFeatureManipulationDisallowed"] = "4.0"
}
type InUseFeatureManipulationDisallowedFault InUseFeatureManipulationDisallowed
@@ -48076,7 +47969,6 @@ type InaccessibleFTMetadataDatastore struct {
func init() {
t["InaccessibleFTMetadataDatastore"] = reflect.TypeOf((*InaccessibleFTMetadataDatastore)(nil)).Elem()
- minAPIVersionForType["InaccessibleFTMetadataDatastore"] = "6.0"
}
type InaccessibleFTMetadataDatastoreFault InaccessibleFTMetadataDatastore
@@ -48098,7 +47990,6 @@ type InaccessibleVFlashSource struct {
func init() {
t["InaccessibleVFlashSource"] = reflect.TypeOf((*InaccessibleVFlashSource)(nil)).Elem()
- minAPIVersionForType["InaccessibleVFlashSource"] = "5.5"
}
type InaccessibleVFlashSourceFault InaccessibleVFlashSource
@@ -48132,7 +48023,6 @@ type IncompatibleDefaultDevice struct {
func init() {
t["IncompatibleDefaultDevice"] = reflect.TypeOf((*IncompatibleDefaultDevice)(nil)).Elem()
- minAPIVersionForType["IncompatibleDefaultDevice"] = "2.5"
}
type IncompatibleDefaultDeviceFault IncompatibleDefaultDevice
@@ -48158,7 +48048,6 @@ type IncompatibleHostForFtSecondary struct {
func init() {
t["IncompatibleHostForFtSecondary"] = reflect.TypeOf((*IncompatibleHostForFtSecondary)(nil)).Elem()
- minAPIVersionForType["IncompatibleHostForFtSecondary"] = "4.0"
}
type IncompatibleHostForFtSecondaryFault IncompatibleHostForFtSecondary
@@ -48183,7 +48072,6 @@ type IncompatibleHostForVmReplication struct {
func init() {
t["IncompatibleHostForVmReplication"] = reflect.TypeOf((*IncompatibleHostForVmReplication)(nil)).Elem()
- minAPIVersionForType["IncompatibleHostForVmReplication"] = "6.0"
}
type IncompatibleHostForVmReplicationFault IncompatibleHostForVmReplication
@@ -48236,7 +48124,6 @@ type IncorrectHostInformation struct {
func init() {
t["IncorrectHostInformation"] = reflect.TypeOf((*IncorrectHostInformation)(nil)).Elem()
- minAPIVersionForType["IncorrectHostInformation"] = "2.5"
}
// This event records if the host did not provide the information needed
@@ -48247,7 +48134,6 @@ type IncorrectHostInformationEvent struct {
func init() {
t["IncorrectHostInformationEvent"] = reflect.TypeOf((*IncorrectHostInformationEvent)(nil)).Elem()
- minAPIVersionForType["IncorrectHostInformationEvent"] = "2.5"
}
type IncorrectHostInformationFault IncorrectHostInformation
@@ -48282,6 +48168,7 @@ type IncreaseDirectorySizeRequestType struct {
func init() {
t["IncreaseDirectorySizeRequestType"] = reflect.TypeOf((*IncreaseDirectorySizeRequestType)(nil)).Elem()
+ minAPIVersionForType["IncreaseDirectorySizeRequestType"] = "8.0.1.0"
}
type IncreaseDirectorySizeResponse struct {
@@ -48296,7 +48183,6 @@ type IndependentDiskVMotionNotSupported struct {
func init() {
t["IndependentDiskVMotionNotSupported"] = reflect.TypeOf((*IndependentDiskVMotionNotSupported)(nil)).Elem()
- minAPIVersionForType["IndependentDiskVMotionNotSupported"] = "2.5"
}
type IndependentDiskVMotionNotSupportedFault IndependentDiskVMotionNotSupported
@@ -48392,7 +48278,6 @@ type InheritablePolicy struct {
func init() {
t["InheritablePolicy"] = reflect.TypeOf((*InheritablePolicy)(nil)).Elem()
- minAPIVersionForType["InheritablePolicy"] = "4.0"
}
// The parameters of `HostVsanSystem.InitializeDisks_Task`.
@@ -48557,6 +48442,10 @@ type InstallIoFilterRequestType struct {
//
// Refers instance of `ComputeResource`.
CompRes ManagedObjectReference `xml:"compRes" json:"compRes"`
+ // This specifies SSL trust policy `IoFilterManagerSslTrust`
+ // for the given VIB URL. If unset, the server certificate is
+ // validated against the trusted root certificates.
+ VibSslTrust BaseIoFilterManagerSslTrust `xml:"vibSslTrust,omitempty,typeattr" json:"vibSslTrust,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -48650,7 +48539,6 @@ type InsufficientAgentVmsDeployed struct {
func init() {
t["InsufficientAgentVmsDeployed"] = reflect.TypeOf((*InsufficientAgentVmsDeployed)(nil)).Elem()
- minAPIVersionForType["InsufficientAgentVmsDeployed"] = "5.0"
}
type InsufficientAgentVmsDeployedFault InsufficientAgentVmsDeployed
@@ -48688,7 +48576,6 @@ type InsufficientDisks struct {
func init() {
t["InsufficientDisks"] = reflect.TypeOf((*InsufficientDisks)(nil)).Elem()
- minAPIVersionForType["InsufficientDisks"] = "5.5"
}
type InsufficientDisksFault InsufficientDisks
@@ -48741,7 +48628,6 @@ type InsufficientGraphicsResourcesFault struct {
func init() {
t["InsufficientGraphicsResourcesFault"] = reflect.TypeOf((*InsufficientGraphicsResourcesFault)(nil)).Elem()
- minAPIVersionForType["InsufficientGraphicsResourcesFault"] = "6.0"
}
type InsufficientGraphicsResourcesFaultFault InsufficientGraphicsResourcesFault
@@ -48757,7 +48643,7 @@ type InsufficientHostCapacityFault struct {
// The host which does not have the enough capacity.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"2.5"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
}
func init() {
@@ -48782,7 +48668,6 @@ type InsufficientHostCpuCapacityFault struct {
func init() {
t["InsufficientHostCpuCapacityFault"] = reflect.TypeOf((*InsufficientHostCpuCapacityFault)(nil)).Elem()
- minAPIVersionForType["InsufficientHostCpuCapacityFault"] = "4.0"
}
type InsufficientHostCpuCapacityFaultFault InsufficientHostCpuCapacityFault
@@ -48803,7 +48688,6 @@ type InsufficientHostMemoryCapacityFault struct {
func init() {
t["InsufficientHostMemoryCapacityFault"] = reflect.TypeOf((*InsufficientHostMemoryCapacityFault)(nil)).Elem()
- minAPIVersionForType["InsufficientHostMemoryCapacityFault"] = "4.0"
}
type InsufficientHostMemoryCapacityFaultFault InsufficientHostMemoryCapacityFault
@@ -48839,7 +48723,6 @@ type InsufficientNetworkCapacity struct {
func init() {
t["InsufficientNetworkCapacity"] = reflect.TypeOf((*InsufficientNetworkCapacity)(nil)).Elem()
- minAPIVersionForType["InsufficientNetworkCapacity"] = "6.0"
}
type InsufficientNetworkCapacityFault InsufficientNetworkCapacity
@@ -48871,7 +48754,6 @@ type InsufficientNetworkResourcePoolCapacity struct {
func init() {
t["InsufficientNetworkResourcePoolCapacity"] = reflect.TypeOf((*InsufficientNetworkResourcePoolCapacity)(nil)).Elem()
- minAPIVersionForType["InsufficientNetworkResourcePoolCapacity"] = "6.0"
}
type InsufficientNetworkResourcePoolCapacityFault InsufficientNetworkResourcePoolCapacity
@@ -48887,7 +48769,6 @@ type InsufficientPerCpuCapacity struct {
func init() {
t["InsufficientPerCpuCapacity"] = reflect.TypeOf((*InsufficientPerCpuCapacity)(nil)).Elem()
- minAPIVersionForType["InsufficientPerCpuCapacity"] = "2.5"
}
type InsufficientPerCpuCapacityFault InsufficientPerCpuCapacity
@@ -48931,7 +48812,6 @@ type InsufficientStandbyCpuResource struct {
func init() {
t["InsufficientStandbyCpuResource"] = reflect.TypeOf((*InsufficientStandbyCpuResource)(nil)).Elem()
- minAPIVersionForType["InsufficientStandbyCpuResource"] = "4.0"
}
type InsufficientStandbyCpuResourceFault InsufficientStandbyCpuResource
@@ -48958,7 +48838,6 @@ type InsufficientStandbyMemoryResource struct {
func init() {
t["InsufficientStandbyMemoryResource"] = reflect.TypeOf((*InsufficientStandbyMemoryResource)(nil)).Elem()
- minAPIVersionForType["InsufficientStandbyMemoryResource"] = "4.0"
}
type InsufficientStandbyMemoryResourceFault InsufficientStandbyMemoryResource
@@ -48976,7 +48855,6 @@ type InsufficientStandbyResource struct {
func init() {
t["InsufficientStandbyResource"] = reflect.TypeOf((*InsufficientStandbyResource)(nil)).Elem()
- minAPIVersionForType["InsufficientStandbyResource"] = "4.0"
}
type InsufficientStandbyResourceFault BaseInsufficientStandbyResource
@@ -48999,7 +48877,6 @@ type InsufficientStorageIops struct {
func init() {
t["InsufficientStorageIops"] = reflect.TypeOf((*InsufficientStorageIops)(nil)).Elem()
- minAPIVersionForType["InsufficientStorageIops"] = "6.0"
}
type InsufficientStorageIopsFault InsufficientStorageIops
@@ -49017,7 +48894,6 @@ type InsufficientStorageSpace struct {
func init() {
t["InsufficientStorageSpace"] = reflect.TypeOf((*InsufficientStorageSpace)(nil)).Elem()
- minAPIVersionForType["InsufficientStorageSpace"] = "5.0"
}
type InsufficientStorageSpaceFault InsufficientStorageSpace
@@ -49031,18 +48907,17 @@ type InsufficientVFlashResourcesFault struct {
InsufficientResourcesFault
// The vFlash resource available capacity in MB.
- FreeSpaceInMB int64 `xml:"freeSpaceInMB,omitempty" json:"freeSpaceInMB,omitempty" vim:"6.0"`
+ FreeSpaceInMB int64 `xml:"freeSpaceInMB,omitempty" json:"freeSpaceInMB,omitempty"`
// The vFlash resource available capacity in bytes.
FreeSpace int64 `xml:"freeSpace" json:"freeSpace"`
// The vFlash resource amount requested in MB.
- RequestedSpaceInMB int64 `xml:"requestedSpaceInMB,omitempty" json:"requestedSpaceInMB,omitempty" vim:"6.0"`
+ RequestedSpaceInMB int64 `xml:"requestedSpaceInMB,omitempty" json:"requestedSpaceInMB,omitempty"`
// The vFlash resource amount requested in bytes.
RequestedSpace int64 `xml:"requestedSpace" json:"requestedSpace"`
}
func init() {
t["InsufficientVFlashResourcesFault"] = reflect.TypeOf((*InsufficientVFlashResourcesFault)(nil)).Elem()
- minAPIVersionForType["InsufficientVFlashResourcesFault"] = "5.5"
}
type InsufficientVFlashResourcesFaultFault InsufficientVFlashResourcesFault
@@ -49062,7 +48937,6 @@ type IntExpression struct {
func init() {
t["IntExpression"] = reflect.TypeOf((*IntExpression)(nil)).Elem()
- minAPIVersionForType["IntExpression"] = "5.5"
}
// The IntOption data object type is used to define the minimum, maximum,
@@ -49093,7 +48967,6 @@ type IntPolicy struct {
func init() {
t["IntPolicy"] = reflect.TypeOf((*IntPolicy)(nil)).Elem()
- minAPIVersionForType["IntPolicy"] = "4.0"
}
// An InvalidAffinitySettingsFault is thrown if an invalid affinity setting is
@@ -49104,7 +48977,6 @@ type InvalidAffinitySettingFault struct {
func init() {
t["InvalidAffinitySettingFault"] = reflect.TypeOf((*InvalidAffinitySettingFault)(nil)).Elem()
- minAPIVersionForType["InvalidAffinitySettingFault"] = "2.5"
}
type InvalidAffinitySettingFaultFault InvalidAffinitySettingFault
@@ -49144,7 +49016,6 @@ type InvalidBmcRole struct {
func init() {
t["InvalidBmcRole"] = reflect.TypeOf((*InvalidBmcRole)(nil)).Elem()
- minAPIVersionForType["InvalidBmcRole"] = "4.0"
}
type InvalidBmcRoleFault InvalidBmcRole
@@ -49161,7 +49032,6 @@ type InvalidBundle struct {
func init() {
t["InvalidBundle"] = reflect.TypeOf((*InvalidBundle)(nil)).Elem()
- minAPIVersionForType["InvalidBundle"] = "2.5"
}
type InvalidBundleFault InvalidBundle
@@ -49178,7 +49048,6 @@ type InvalidCAMCertificate struct {
func init() {
t["InvalidCAMCertificate"] = reflect.TypeOf((*InvalidCAMCertificate)(nil)).Elem()
- minAPIVersionForType["InvalidCAMCertificate"] = "5.0"
}
type InvalidCAMCertificateFault InvalidCAMCertificate
@@ -49199,7 +49068,6 @@ type InvalidCAMServer struct {
func init() {
t["InvalidCAMServer"] = reflect.TypeOf((*InvalidCAMServer)(nil)).Elem()
- minAPIVersionForType["InvalidCAMServer"] = "5.0"
}
type InvalidCAMServerFault BaseInvalidCAMServer
@@ -49216,7 +49084,6 @@ type InvalidClientCertificate struct {
func init() {
t["InvalidClientCertificate"] = reflect.TypeOf((*InvalidClientCertificate)(nil)).Elem()
- minAPIVersionForType["InvalidClientCertificate"] = "2.5u2"
}
type InvalidClientCertificateFault InvalidClientCertificate
@@ -49277,7 +49144,6 @@ type InvalidDasConfigArgument struct {
func init() {
t["InvalidDasConfigArgument"] = reflect.TypeOf((*InvalidDasConfigArgument)(nil)).Elem()
- minAPIVersionForType["InvalidDasConfigArgument"] = "5.1"
}
type InvalidDasConfigArgumentFault InvalidDasConfigArgument
@@ -49301,7 +49167,6 @@ type InvalidDasRestartPriorityForFtVm struct {
func init() {
t["InvalidDasRestartPriorityForFtVm"] = reflect.TypeOf((*InvalidDasRestartPriorityForFtVm)(nil)).Elem()
- minAPIVersionForType["InvalidDasRestartPriorityForFtVm"] = "4.1"
}
type InvalidDasRestartPriorityForFtVmFault InvalidDasRestartPriorityForFtVm
@@ -49371,7 +49236,6 @@ type InvalidDatastoreState struct {
func init() {
t["InvalidDatastoreState"] = reflect.TypeOf((*InvalidDatastoreState)(nil)).Elem()
- minAPIVersionForType["InvalidDatastoreState"] = "5.0"
}
type InvalidDatastoreStateFault InvalidDatastoreState
@@ -49472,7 +49336,6 @@ type InvalidDrsBehaviorForFtVm struct {
func init() {
t["InvalidDrsBehaviorForFtVm"] = reflect.TypeOf((*InvalidDrsBehaviorForFtVm)(nil)).Elem()
- minAPIVersionForType["InvalidDrsBehaviorForFtVm"] = "4.0"
}
type InvalidDrsBehaviorForFtVmFault InvalidDrsBehaviorForFtVm
@@ -49490,7 +49353,6 @@ type InvalidEditionEvent struct {
func init() {
t["InvalidEditionEvent"] = reflect.TypeOf((*InvalidEditionEvent)(nil)).Elem()
- minAPIVersionForType["InvalidEditionEvent"] = "2.5"
}
// An ExpiredEditionLicense fault is thrown if an attempt to acquire an Edition license
@@ -49503,7 +49365,6 @@ type InvalidEditionLicense struct {
func init() {
t["InvalidEditionLicense"] = reflect.TypeOf((*InvalidEditionLicense)(nil)).Elem()
- minAPIVersionForType["InvalidEditionLicense"] = "2.5"
}
type InvalidEditionLicenseFault InvalidEditionLicense
@@ -49520,7 +49381,6 @@ type InvalidEvent struct {
func init() {
t["InvalidEvent"] = reflect.TypeOf((*InvalidEvent)(nil)).Elem()
- minAPIVersionForType["InvalidEvent"] = "2.5"
}
type InvalidEventFault InvalidEvent
@@ -49581,7 +49441,6 @@ type InvalidGuestLogin struct {
func init() {
t["InvalidGuestLogin"] = reflect.TypeOf((*InvalidGuestLogin)(nil)).Elem()
- minAPIVersionForType["InvalidGuestLogin"] = "5.0"
}
type InvalidGuestLoginFault InvalidGuestLogin
@@ -49597,7 +49456,6 @@ type InvalidHostConnectionState struct {
func init() {
t["InvalidHostConnectionState"] = reflect.TypeOf((*InvalidHostConnectionState)(nil)).Elem()
- minAPIVersionForType["InvalidHostConnectionState"] = "5.1"
}
type InvalidHostConnectionStateFault InvalidHostConnectionState
@@ -49613,7 +49471,6 @@ type InvalidHostName struct {
func init() {
t["InvalidHostName"] = reflect.TypeOf((*InvalidHostName)(nil)).Elem()
- minAPIVersionForType["InvalidHostName"] = "4.1"
}
type InvalidHostNameFault InvalidHostName
@@ -49634,7 +49491,6 @@ type InvalidHostState struct {
func init() {
t["InvalidHostState"] = reflect.TypeOf((*InvalidHostState)(nil)).Elem()
- minAPIVersionForType["InvalidHostState"] = "2.5"
}
type InvalidHostStateFault BaseInvalidHostState
@@ -49654,7 +49510,6 @@ type InvalidIndexArgument struct {
func init() {
t["InvalidIndexArgument"] = reflect.TypeOf((*InvalidIndexArgument)(nil)).Elem()
- minAPIVersionForType["InvalidIndexArgument"] = "4.0"
}
type InvalidIndexArgumentFault InvalidIndexArgument
@@ -49673,7 +49528,6 @@ type InvalidIpfixConfig struct {
func init() {
t["InvalidIpfixConfig"] = reflect.TypeOf((*InvalidIpfixConfig)(nil)).Elem()
- minAPIVersionForType["InvalidIpfixConfig"] = "5.1"
}
type InvalidIpfixConfigFault InvalidIpfixConfig
@@ -49690,7 +49544,6 @@ type InvalidIpmiLoginInfo struct {
func init() {
t["InvalidIpmiLoginInfo"] = reflect.TypeOf((*InvalidIpmiLoginInfo)(nil)).Elem()
- minAPIVersionForType["InvalidIpmiLoginInfo"] = "4.0"
}
type InvalidIpmiLoginInfoFault InvalidIpmiLoginInfo
@@ -49710,7 +49563,6 @@ type InvalidIpmiMacAddress struct {
func init() {
t["InvalidIpmiMacAddress"] = reflect.TypeOf((*InvalidIpmiMacAddress)(nil)).Elem()
- minAPIVersionForType["InvalidIpmiMacAddress"] = "4.0"
}
type InvalidIpmiMacAddressFault InvalidIpmiMacAddress
@@ -49805,7 +49657,6 @@ type InvalidNasCredentials struct {
func init() {
t["InvalidNasCredentials"] = reflect.TypeOf((*InvalidNasCredentials)(nil)).Elem()
- minAPIVersionForType["InvalidNasCredentials"] = "2.5 U2"
}
type InvalidNasCredentialsFault InvalidNasCredentials
@@ -49821,7 +49672,6 @@ type InvalidNetworkInType struct {
func init() {
t["InvalidNetworkInType"] = reflect.TypeOf((*InvalidNetworkInType)(nil)).Elem()
- minAPIVersionForType["InvalidNetworkInType"] = "4.0"
}
type InvalidNetworkInTypeFault InvalidNetworkInType
@@ -49843,7 +49693,6 @@ type InvalidNetworkResource struct {
func init() {
t["InvalidNetworkResource"] = reflect.TypeOf((*InvalidNetworkResource)(nil)).Elem()
- minAPIVersionForType["InvalidNetworkResource"] = "2.5 U2"
}
type InvalidNetworkResourceFault InvalidNetworkResource
@@ -49864,7 +49713,6 @@ type InvalidOperationOnSecondaryVm struct {
func init() {
t["InvalidOperationOnSecondaryVm"] = reflect.TypeOf((*InvalidOperationOnSecondaryVm)(nil)).Elem()
- minAPIVersionForType["InvalidOperationOnSecondaryVm"] = "4.0"
}
type InvalidOperationOnSecondaryVmFault InvalidOperationOnSecondaryVm
@@ -49936,12 +49784,11 @@ type InvalidProfileReferenceHost struct {
// Refers instance of `Profile`.
Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
// The profile name: the replacement of the member above.
- ProfileName string `xml:"profileName,omitempty" json:"profileName,omitempty" vim:"6.5"`
+ ProfileName string `xml:"profileName,omitempty" json:"profileName,omitempty"`
}
func init() {
t["InvalidProfileReferenceHost"] = reflect.TypeOf((*InvalidProfileReferenceHost)(nil)).Elem()
- minAPIVersionForType["InvalidProfileReferenceHost"] = "5.0"
}
type InvalidProfileReferenceHostFault InvalidProfileReferenceHost
@@ -49975,7 +49822,6 @@ type InvalidPropertyType struct {
func init() {
t["InvalidPropertyType"] = reflect.TypeOf((*InvalidPropertyType)(nil)).Elem()
- minAPIVersionForType["InvalidPropertyType"] = "4.0"
}
type InvalidPropertyTypeFault InvalidPropertyType
@@ -49991,7 +49837,6 @@ type InvalidPropertyValue struct {
func init() {
t["InvalidPropertyValue"] = reflect.TypeOf((*InvalidPropertyValue)(nil)).Elem()
- minAPIVersionForType["InvalidPropertyValue"] = "4.0"
}
type InvalidPropertyValueFault BaseInvalidPropertyValue
@@ -50144,7 +49989,6 @@ type InvalidVmState struct {
func init() {
t["InvalidVmState"] = reflect.TypeOf((*InvalidVmState)(nil)).Elem()
- minAPIVersionForType["InvalidVmState"] = "6.5"
}
type InvalidVmStateFault InvalidVmState
@@ -50198,7 +50042,6 @@ type InventoryDescription struct {
func init() {
t["InventoryDescription"] = reflect.TypeOf((*InventoryDescription)(nil)).Elem()
- minAPIVersionForType["InventoryDescription"] = "4.0"
}
// A InventoryHasStandardAloneHosts fault is thrown if an assignment operation tries to downgrade a license that does have allow hosts licensed with StandardAlone license in the inventory.
@@ -50210,7 +50053,6 @@ type InventoryHasStandardAloneHosts struct {
func init() {
t["InventoryHasStandardAloneHosts"] = reflect.TypeOf((*InventoryHasStandardAloneHosts)(nil)).Elem()
- minAPIVersionForType["InventoryHasStandardAloneHosts"] = "4.0"
}
type InventoryHasStandardAloneHostsFault InventoryHasStandardAloneHosts
@@ -50233,7 +50075,6 @@ type IoFilterHostIssue struct {
func init() {
t["IoFilterHostIssue"] = reflect.TypeOf((*IoFilterHostIssue)(nil)).Elem()
- minAPIVersionForType["IoFilterHostIssue"] = "6.0"
}
// Information about an IO Filter.
@@ -50253,7 +50094,7 @@ type IoFilterInfo struct {
// The set of possible values are listed in
// `IoFilterType_enum`.
// The property is unset if the information is not available.
- Type string `xml:"type,omitempty" json:"type,omitempty" vim:"6.5"`
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
// Short description of the IO Filter.
//
// The property is unset if the information is not available.
@@ -50266,7 +50107,16 @@ type IoFilterInfo struct {
func init() {
t["IoFilterInfo"] = reflect.TypeOf((*IoFilterInfo)(nil)).Elem()
- minAPIVersionForType["IoFilterInfo"] = "6.0"
+}
+
+// Specifies an SSL trust policy.
+type IoFilterManagerSslTrust struct {
+ DynamicData
+}
+
+func init() {
+ t["IoFilterManagerSslTrust"] = reflect.TypeOf((*IoFilterManagerSslTrust)(nil)).Elem()
+ minAPIVersionForType["IoFilterManagerSslTrust"] = "8.0.3.0"
}
// Result for `IoFilterManager.QueryIoFilterIssues`.
@@ -50284,7 +50134,6 @@ type IoFilterQueryIssueResult struct {
func init() {
t["IoFilterQueryIssueResult"] = reflect.TypeOf((*IoFilterQueryIssueResult)(nil)).Elem()
- minAPIVersionForType["IoFilterQueryIssueResult"] = "6.0"
}
// This is the abstract base class for IP address.
@@ -50294,7 +50143,6 @@ type IpAddress struct {
func init() {
t["IpAddress"] = reflect.TypeOf((*IpAddress)(nil)).Elem()
- minAPIVersionForType["IpAddress"] = "5.5"
}
// The `IpAddressProfile` represents the Virtual NIC IP address.
@@ -50307,7 +50155,6 @@ type IpAddressProfile struct {
func init() {
t["IpAddressProfile"] = reflect.TypeOf((*IpAddressProfile)(nil)).Elem()
- minAPIVersionForType["IpAddressProfile"] = "4.0"
}
// An error occurred while running the IP/hostname generator application
@@ -50374,18 +50221,17 @@ type IpPool struct {
// The networks that are associated with this IP pool
NetworkAssociation []IpPoolAssociation `xml:"networkAssociation,omitempty" json:"networkAssociation,omitempty"`
// The number of IPv4 addresses available for allocation.
- AvailableIpv4Addresses int32 `xml:"availableIpv4Addresses,omitempty" json:"availableIpv4Addresses,omitempty" vim:"5.1"`
+ AvailableIpv4Addresses int32 `xml:"availableIpv4Addresses,omitempty" json:"availableIpv4Addresses,omitempty"`
// The number of IPv6 addresses available for allocation.
- AvailableIpv6Addresses int32 `xml:"availableIpv6Addresses,omitempty" json:"availableIpv6Addresses,omitempty" vim:"5.1"`
+ AvailableIpv6Addresses int32 `xml:"availableIpv6Addresses,omitempty" json:"availableIpv6Addresses,omitempty"`
// The number of allocated IPv4 addresses.
- AllocatedIpv4Addresses int32 `xml:"allocatedIpv4Addresses,omitempty" json:"allocatedIpv4Addresses,omitempty" vim:"5.1"`
+ AllocatedIpv4Addresses int32 `xml:"allocatedIpv4Addresses,omitempty" json:"allocatedIpv4Addresses,omitempty"`
// The number of allocated IPv6 addresses.
- AllocatedIpv6Addresses int32 `xml:"allocatedIpv6Addresses,omitempty" json:"allocatedIpv6Addresses,omitempty" vim:"5.1"`
+ AllocatedIpv6Addresses int32 `xml:"allocatedIpv6Addresses,omitempty" json:"allocatedIpv6Addresses,omitempty"`
}
func init() {
t["IpPool"] = reflect.TypeOf((*IpPool)(nil)).Elem()
- minAPIVersionForType["IpPool"] = "4.0"
}
// Information about a network or portgroup that is associated to an IP pool.
@@ -50405,7 +50251,6 @@ type IpPoolAssociation struct {
func init() {
t["IpPoolAssociation"] = reflect.TypeOf((*IpPoolAssociation)(nil)).Elem()
- minAPIVersionForType["IpPoolAssociation"] = "4.0"
}
// Specifications of either IPv4 or IPv6 configuration to be used
@@ -50423,22 +50268,22 @@ type IpPoolIpPoolConfigInfo struct {
// Address of the subnet.
//
// For example:
- // - IPv4: 192.168.5.0
- // - IPv6: 2001:0db8:85a3::
+ // - IPv4: 192.168.5.0
+ // - IPv6: 2001:0db8:85a3::
SubnetAddress string `xml:"subnetAddress,omitempty" json:"subnetAddress,omitempty"`
// Netmask
//
// For example:
- // - IPv4: 255.255.255.0
- // - IPv6: ffff:ffff:ffff::
+ // - IPv4: 255.255.255.0
+ // - IPv6: ffff:ffff:ffff::
Netmask string `xml:"netmask,omitempty" json:"netmask,omitempty"`
// Gateway.
//
// This can be an empty string - if no gateway is configured.
//
// Examples:
- // - IPv4: 192.168.5.1
- // - IPv6: 2001:0db8:85a3::1
+ // - IPv4: 192.168.5.1
+ // - IPv6: 2001:0db8:85a3::1
Gateway string `xml:"gateway,omitempty" json:"gateway,omitempty"`
// IP range.
//
@@ -50447,14 +50292,14 @@ type IpPoolIpPoolConfigInfo struct {
// of the range.
//
// For example:
- // - 192.0.2.235 # 20 is the IPv4 range from 192.0.2.235 to 192.0.2.254
- // - 2001::7334 # 20 is the IPv6 range from 2001::7334 to 2001::7347
+ // - 192.0.2.235 # 20 is the IPv4 range from 192.0.2.235 to 192.0.2.254
+ // - 2001::7334 # 20 is the IPv6 range from 2001::7334 to 2001::7347
Range string `xml:"range,omitempty" json:"range,omitempty"`
// DNS servers
//
// For example:
- // - IPv4: \["10.20.0.1", "10.20.0.2"\]
- // - IPv6: \["2001:0db8:85a3::0370:7334", "2001:0db8:85a3::0370:7335"\]
+ // - IPv4: \["10.20.0.1", "10.20.0.2"\]
+ // - IPv6: \["2001:0db8:85a3::0370:7334", "2001:0db8:85a3::0370:7335"\]
//
// If an empty list is passed, the existing value remains unchanged. To clear this
// list, pass an array containing the empty string as it's only element.
@@ -50468,7 +50313,6 @@ type IpPoolIpPoolConfigInfo struct {
func init() {
t["IpPoolIpPoolConfigInfo"] = reflect.TypeOf((*IpPoolIpPoolConfigInfo)(nil)).Elem()
- minAPIVersionForType["IpPoolIpPoolConfigInfo"] = "4.0"
}
// Describes an IP allocation.
@@ -50483,7 +50327,6 @@ type IpPoolManagerIpAllocation struct {
func init() {
t["IpPoolManagerIpAllocation"] = reflect.TypeOf((*IpPoolManagerIpAllocation)(nil)).Elem()
- minAPIVersionForType["IpPoolManagerIpAllocation"] = "5.1"
}
// This class specifies a range of IP addresses by using prefix.
@@ -50501,7 +50344,6 @@ type IpRange struct {
func init() {
t["IpRange"] = reflect.TypeOf((*IpRange)(nil)).Elem()
- minAPIVersionForType["IpRange"] = "5.5"
}
// The `IpRouteProfile` data object represents the host IP route configuration.
@@ -50518,7 +50360,6 @@ type IpRouteProfile struct {
func init() {
t["IpRouteProfile"] = reflect.TypeOf((*IpRouteProfile)(nil)).Elem()
- minAPIVersionForType["IpRouteProfile"] = "4.0"
}
type IsClusteredVmdkEnabled IsClusteredVmdkEnabledRequestType
@@ -50597,7 +50438,6 @@ type IscsiDependencyEntity struct {
func init() {
t["IscsiDependencyEntity"] = reflect.TypeOf((*IscsiDependencyEntity)(nil)).Elem()
- minAPIVersionForType["IscsiDependencyEntity"] = "5.0"
}
// Base class for faults that can be thrown while invoking iSCSI management operations.
@@ -50607,7 +50447,6 @@ type IscsiFault struct {
func init() {
t["IscsiFault"] = reflect.TypeOf((*IscsiFault)(nil)).Elem()
- minAPIVersionForType["IscsiFault"] = "5.0"
}
type IscsiFaultFault BaseIscsiFault
@@ -50629,7 +50468,6 @@ type IscsiFaultInvalidVnic struct {
func init() {
t["IscsiFaultInvalidVnic"] = reflect.TypeOf((*IscsiFaultInvalidVnic)(nil)).Elem()
- minAPIVersionForType["IscsiFaultInvalidVnic"] = "5.0"
}
type IscsiFaultInvalidVnicFault IscsiFaultInvalidVnic
@@ -50647,7 +50485,6 @@ type IscsiFaultPnicInUse struct {
func init() {
t["IscsiFaultPnicInUse"] = reflect.TypeOf((*IscsiFaultPnicInUse)(nil)).Elem()
- minAPIVersionForType["IscsiFaultPnicInUse"] = "5.0"
}
type IscsiFaultPnicInUseFault IscsiFaultPnicInUse
@@ -50665,7 +50502,6 @@ type IscsiFaultVnicAlreadyBound struct {
func init() {
t["IscsiFaultVnicAlreadyBound"] = reflect.TypeOf((*IscsiFaultVnicAlreadyBound)(nil)).Elem()
- minAPIVersionForType["IscsiFaultVnicAlreadyBound"] = "5.0"
}
type IscsiFaultVnicAlreadyBoundFault IscsiFaultVnicAlreadyBound
@@ -50683,7 +50519,6 @@ type IscsiFaultVnicHasActivePaths struct {
func init() {
t["IscsiFaultVnicHasActivePaths"] = reflect.TypeOf((*IscsiFaultVnicHasActivePaths)(nil)).Elem()
- minAPIVersionForType["IscsiFaultVnicHasActivePaths"] = "5.0"
}
type IscsiFaultVnicHasActivePathsFault IscsiFaultVnicHasActivePaths
@@ -50702,7 +50537,6 @@ type IscsiFaultVnicHasMultipleUplinks struct {
func init() {
t["IscsiFaultVnicHasMultipleUplinks"] = reflect.TypeOf((*IscsiFaultVnicHasMultipleUplinks)(nil)).Elem()
- minAPIVersionForType["IscsiFaultVnicHasMultipleUplinks"] = "5.0"
}
type IscsiFaultVnicHasMultipleUplinksFault IscsiFaultVnicHasMultipleUplinks
@@ -50721,7 +50555,6 @@ type IscsiFaultVnicHasNoUplinks struct {
func init() {
t["IscsiFaultVnicHasNoUplinks"] = reflect.TypeOf((*IscsiFaultVnicHasNoUplinks)(nil)).Elem()
- minAPIVersionForType["IscsiFaultVnicHasNoUplinks"] = "5.0"
}
type IscsiFaultVnicHasNoUplinksFault IscsiFaultVnicHasNoUplinks
@@ -50744,7 +50577,6 @@ type IscsiFaultVnicHasWrongUplink struct {
func init() {
t["IscsiFaultVnicHasWrongUplink"] = reflect.TypeOf((*IscsiFaultVnicHasWrongUplink)(nil)).Elem()
- minAPIVersionForType["IscsiFaultVnicHasWrongUplink"] = "5.0"
}
type IscsiFaultVnicHasWrongUplinkFault IscsiFaultVnicHasWrongUplink
@@ -50762,7 +50594,6 @@ type IscsiFaultVnicInUse struct {
func init() {
t["IscsiFaultVnicInUse"] = reflect.TypeOf((*IscsiFaultVnicInUse)(nil)).Elem()
- minAPIVersionForType["IscsiFaultVnicInUse"] = "5.0"
}
type IscsiFaultVnicInUseFault IscsiFaultVnicInUse
@@ -50783,7 +50614,6 @@ type IscsiFaultVnicIsLastPath struct {
func init() {
t["IscsiFaultVnicIsLastPath"] = reflect.TypeOf((*IscsiFaultVnicIsLastPath)(nil)).Elem()
- minAPIVersionForType["IscsiFaultVnicIsLastPath"] = "5.0"
}
type IscsiFaultVnicIsLastPathFault IscsiFaultVnicIsLastPath
@@ -50802,7 +50632,6 @@ type IscsiFaultVnicNotBound struct {
func init() {
t["IscsiFaultVnicNotBound"] = reflect.TypeOf((*IscsiFaultVnicNotBound)(nil)).Elem()
- minAPIVersionForType["IscsiFaultVnicNotBound"] = "5.0"
}
type IscsiFaultVnicNotBoundFault IscsiFaultVnicNotBound
@@ -50820,7 +50649,6 @@ type IscsiFaultVnicNotFound struct {
func init() {
t["IscsiFaultVnicNotFound"] = reflect.TypeOf((*IscsiFaultVnicNotFound)(nil)).Elem()
- minAPIVersionForType["IscsiFaultVnicNotFound"] = "5.0"
}
type IscsiFaultVnicNotFoundFault IscsiFaultVnicNotFound
@@ -50851,7 +50679,6 @@ type IscsiMigrationDependency struct {
func init() {
t["IscsiMigrationDependency"] = reflect.TypeOf((*IscsiMigrationDependency)(nil)).Elem()
- minAPIVersionForType["IscsiMigrationDependency"] = "5.0"
}
// The `IscsiPortInfo` data object describes the
@@ -50910,23 +50737,23 @@ type IscsiPortInfo struct {
//
// This property is set only when vnicDevice is associated with an
// opaque network.
- OpaqueNetworkId string `xml:"opaqueNetworkId,omitempty" json:"opaqueNetworkId,omitempty" vim:"6.5"`
+ OpaqueNetworkId string `xml:"opaqueNetworkId,omitempty" json:"opaqueNetworkId,omitempty"`
// Type of the Opaque network to which the virtual NIC is connected.
//
// This property is set only when vnicDevice is associated with an
// opaque network.
- OpaqueNetworkType string `xml:"opaqueNetworkType,omitempty" json:"opaqueNetworkType,omitempty" vim:"6.5"`
+ OpaqueNetworkType string `xml:"opaqueNetworkType,omitempty" json:"opaqueNetworkType,omitempty"`
// Name of the Opaque network to which the virtual NIC is connected.
//
// This property is set only when vnicDevice is associated with an
// opaque network.
- OpaqueNetworkName string `xml:"opaqueNetworkName,omitempty" json:"opaqueNetworkName,omitempty" vim:"6.5"`
+ OpaqueNetworkName string `xml:"opaqueNetworkName,omitempty" json:"opaqueNetworkName,omitempty"`
// An ID assigned to the vmkernel adapter by external management plane
// or controller.
//
// This property is set only when vnicDevice is associated with an
// opaque network.
- ExternalId string `xml:"externalId,omitempty" json:"externalId,omitempty" vim:"6.5"`
+ ExternalId string `xml:"externalId,omitempty" json:"externalId,omitempty"`
// Status indicating whether the Virtual NIC is compliant with the
// network policy that is required by iSCSI port binding.
//
@@ -50941,7 +50768,6 @@ type IscsiPortInfo struct {
func init() {
t["IscsiPortInfo"] = reflect.TypeOf((*IscsiPortInfo)(nil)).Elem()
- minAPIVersionForType["IscsiPortInfo"] = "5.0"
}
// The `IscsiStatus` data object describes the
@@ -50960,7 +50786,6 @@ type IscsiStatus struct {
func init() {
t["IscsiStatus"] = reflect.TypeOf((*IscsiStatus)(nil)).Elem()
- minAPIVersionForType["IscsiStatus"] = "5.0"
}
// This data object type describes a file that is an ISO CD-ROM image.
@@ -51067,7 +50892,6 @@ type KernelModuleInfo struct {
func init() {
t["KernelModuleInfo"] = reflect.TypeOf((*KernelModuleInfo)(nil)).Elem()
- minAPIVersionForType["KernelModuleInfo"] = "4.0"
}
// Information about a module section.
@@ -51082,7 +50906,6 @@ type KernelModuleSectionInfo struct {
func init() {
t["KernelModuleSectionInfo"] = reflect.TypeOf((*KernelModuleSectionInfo)(nil)).Elem()
- minAPIVersionForType["KernelModuleSectionInfo"] = "4.0"
}
// Non-localized key/value pair in which the
@@ -51098,7 +50921,6 @@ type KeyAnyValue struct {
func init() {
t["KeyAnyValue"] = reflect.TypeOf((*KeyAnyValue)(nil)).Elem()
- minAPIVersionForType["KeyAnyValue"] = "4.0"
}
// An KeyNotFound fault is returned when the key does not exist among
@@ -51112,7 +50934,6 @@ type KeyNotFound struct {
func init() {
t["KeyNotFound"] = reflect.TypeOf((*KeyNotFound)(nil)).Elem()
- minAPIVersionForType["KeyNotFound"] = "6.7.2"
}
type KeyNotFoundFault KeyNotFound
@@ -51134,7 +50955,6 @@ type KeyProviderId struct {
func init() {
t["KeyProviderId"] = reflect.TypeOf((*KeyProviderId)(nil)).Elem()
- minAPIVersionForType["KeyProviderId"] = "6.5"
}
// Non-localized key/value pair
@@ -51149,7 +50969,6 @@ type KeyValue struct {
func init() {
t["KeyValue"] = reflect.TypeOf((*KeyValue)(nil)).Elem()
- minAPIVersionForType["KeyValue"] = "2.5"
}
// Data Object representing a cluster of KMIP servers.
@@ -51171,7 +50990,7 @@ type KmipClusterInfo struct {
// Key provider management type.
//
// See `KmipClusterInfoKmsManagementType_enum` for valid values.
- ManagementType string `xml:"managementType,omitempty" json:"managementType,omitempty" vim:"7.0"`
+ ManagementType string `xml:"managementType,omitempty" json:"managementType,omitempty"`
// Use this cluster as default for the managed entities,
// when the optional CryptoKeyId.providerId is not set.
//
@@ -51179,15 +50998,14 @@ type KmipClusterInfo struct {
// supported managed entity type.
//
// Refers instances of `ManagedEntity`.
- UseAsEntityDefault []ManagedObjectReference `xml:"useAsEntityDefault,omitempty" json:"useAsEntityDefault,omitempty" vim:"7.0"`
- HasBackup *bool `xml:"hasBackup" json:"hasBackup,omitempty"`
- TpmRequired *bool `xml:"tpmRequired" json:"tpmRequired,omitempty"`
- KeyId string `xml:"keyId,omitempty" json:"keyId,omitempty"`
+ UseAsEntityDefault []ManagedObjectReference `xml:"useAsEntityDefault,omitempty" json:"useAsEntityDefault,omitempty"`
+ HasBackup *bool `xml:"hasBackup" json:"hasBackup,omitempty" vim:"7.0.2.0"`
+ TpmRequired *bool `xml:"tpmRequired" json:"tpmRequired,omitempty" vim:"7.0.2.0"`
+ KeyId string `xml:"keyId,omitempty" json:"keyId,omitempty" vim:"7.0.2.0"`
}
func init() {
t["KmipClusterInfo"] = reflect.TypeOf((*KmipClusterInfo)(nil)).Elem()
- minAPIVersionForType["KmipClusterInfo"] = "6.5"
}
// Data Object representing a KMIP server connection information.
@@ -51233,7 +51051,6 @@ type KmipServerInfo struct {
func init() {
t["KmipServerInfo"] = reflect.TypeOf((*KmipServerInfo)(nil)).Elem()
- minAPIVersionForType["KmipServerInfo"] = "6.5"
}
// Data Object representing a KMIP server connection spec.
@@ -51255,7 +51072,6 @@ type KmipServerSpec struct {
func init() {
t["KmipServerSpec"] = reflect.TypeOf((*KmipServerSpec)(nil)).Elem()
- minAPIVersionForType["KmipServerSpec"] = "6.5"
}
// Data Object representing a KMIP server status.
@@ -51274,7 +51090,6 @@ type KmipServerStatus struct {
func init() {
t["KmipServerStatus"] = reflect.TypeOf((*KmipServerStatus)(nil)).Elem()
- minAPIVersionForType["KmipServerStatus"] = "6.5"
}
// The virtual machine is using a 2TB+ RDM device and operation is
@@ -51288,7 +51103,6 @@ type LargeRDMConversionNotSupported struct {
func init() {
t["LargeRDMConversionNotSupported"] = reflect.TypeOf((*LargeRDMConversionNotSupported)(nil)).Elem()
- minAPIVersionForType["LargeRDMConversionNotSupported"] = "5.0"
}
type LargeRDMConversionNotSupportedFault LargeRDMConversionNotSupported
@@ -51319,7 +51133,6 @@ type LargeRDMNotSupportedOnDatastore struct {
func init() {
t["LargeRDMNotSupportedOnDatastore"] = reflect.TypeOf((*LargeRDMNotSupportedOnDatastore)(nil)).Elem()
- minAPIVersionForType["LargeRDMNotSupportedOnDatastore"] = "5.0"
}
type LargeRDMNotSupportedOnDatastoreFault LargeRDMNotSupportedOnDatastore
@@ -51362,7 +51175,6 @@ type LatencySensitivity struct {
func init() {
t["LatencySensitivity"] = reflect.TypeOf((*LatencySensitivity)(nil)).Elem()
- minAPIVersionForType["LatencySensitivity"] = "5.1"
}
// The parameters of `HostActiveDirectoryAuthentication.LeaveCurrentDomain_Task`.
@@ -51419,7 +51231,6 @@ type LicenseAssignmentFailed struct {
func init() {
t["LicenseAssignmentFailed"] = reflect.TypeOf((*LicenseAssignmentFailed)(nil)).Elem()
- minAPIVersionForType["LicenseAssignmentFailed"] = "4.0"
}
type LicenseAssignmentFailedFault LicenseAssignmentFailed
@@ -51523,7 +51334,6 @@ type LicenseDiagnostics struct {
func init() {
t["LicenseDiagnostics"] = reflect.TypeOf((*LicenseDiagnostics)(nil)).Elem()
- minAPIVersionForType["LicenseDiagnostics"] = "2.5"
}
// A LicenseDowngradeDisallowed fault is thrown if an assignment operation tries to downgrade a license that does have certain licensed features which are in use.
@@ -51539,7 +51349,6 @@ type LicenseDowngradeDisallowed struct {
func init() {
t["LicenseDowngradeDisallowed"] = reflect.TypeOf((*LicenseDowngradeDisallowed)(nil)).Elem()
- minAPIVersionForType["LicenseDowngradeDisallowed"] = "4.0"
}
type LicenseDowngradeDisallowedFault LicenseDowngradeDisallowed
@@ -51560,7 +51369,6 @@ type LicenseEntityNotFound struct {
func init() {
t["LicenseEntityNotFound"] = reflect.TypeOf((*LicenseEntityNotFound)(nil)).Elem()
- minAPIVersionForType["LicenseEntityNotFound"] = "4.0"
}
type LicenseEntityNotFoundFault LicenseEntityNotFound
@@ -51588,7 +51396,6 @@ type LicenseExpired struct {
func init() {
t["LicenseExpired"] = reflect.TypeOf((*LicenseExpired)(nil)).Elem()
- minAPIVersionForType["LicenseExpired"] = "4.0"
}
// This event records the expiration of a license.
@@ -51624,7 +51431,7 @@ type LicenseFeatureInfo struct {
// The display string for the feature name.
FeatureName string `xml:"featureName" json:"featureName"`
// A human readable description of what function this feature enables.
- FeatureDescription string `xml:"featureDescription,omitempty" json:"featureDescription,omitempty" vim:"2.5"`
+ FeatureDescription string `xml:"featureDescription,omitempty" json:"featureDescription,omitempty"`
// Describes the state of the feature based on the current edition license.
//
// This
@@ -51638,13 +51445,13 @@ type LicenseFeatureInfo struct {
// Describe any restriction on the source of a license for this feature.
//
// See also `LicenseFeatureInfoSourceRestriction_enum`.
- SourceRestriction string `xml:"sourceRestriction,omitempty" json:"sourceRestriction,omitempty" vim:"2.5"`
+ SourceRestriction string `xml:"sourceRestriction,omitempty" json:"sourceRestriction,omitempty"`
// Report List of feature keys used by this edition.
- DependentKey []string `xml:"dependentKey,omitempty" json:"dependentKey,omitempty" vim:"2.5"`
+ DependentKey []string `xml:"dependentKey,omitempty" json:"dependentKey,omitempty"`
// Flag to indicate whether the feature is an edition.
- Edition *bool `xml:"edition" json:"edition,omitempty" vim:"2.5"`
+ Edition *bool `xml:"edition" json:"edition,omitempty"`
// Date representing the expiration date
- ExpiresOn *time.Time `xml:"expiresOn" json:"expiresOn,omitempty" vim:"2.5"`
+ ExpiresOn *time.Time `xml:"expiresOn" json:"expiresOn,omitempty"`
}
func init() {
@@ -51660,7 +51467,6 @@ type LicenseKeyEntityMismatch struct {
func init() {
t["LicenseKeyEntityMismatch"] = reflect.TypeOf((*LicenseKeyEntityMismatch)(nil)).Elem()
- minAPIVersionForType["LicenseKeyEntityMismatch"] = "4.0"
}
type LicenseKeyEntityMismatchFault LicenseKeyEntityMismatch
@@ -51679,7 +51485,6 @@ type LicenseManagerEvaluationInfo struct {
func init() {
t["LicenseManagerEvaluationInfo"] = reflect.TypeOf((*LicenseManagerEvaluationInfo)(nil)).Elem()
- minAPIVersionForType["LicenseManagerEvaluationInfo"] = "4.0"
}
// Encapsulates information about a license
@@ -51708,7 +51513,6 @@ type LicenseManagerLicenseInfo struct {
func init() {
t["LicenseManagerLicenseInfo"] = reflect.TypeOf((*LicenseManagerLicenseInfo)(nil)).Elem()
- minAPIVersionForType["LicenseManagerLicenseInfo"] = "4.0"
}
// This event records that the inventory is not license compliant.
@@ -51722,7 +51526,6 @@ type LicenseNonComplianceEvent struct {
func init() {
t["LicenseNonComplianceEvent"] = reflect.TypeOf((*LicenseNonComplianceEvent)(nil)).Elem()
- minAPIVersionForType["LicenseNonComplianceEvent"] = "4.0"
}
// Deprecated as of vSphere API 4.0, this is not used by the system.
@@ -51761,7 +51564,6 @@ type LicenseRestricted struct {
func init() {
t["LicenseRestricted"] = reflect.TypeOf((*LicenseRestricted)(nil)).Elem()
- minAPIVersionForType["LicenseRestricted"] = "2.5"
}
// This event records if the required licenses could not be reserved because
@@ -51772,7 +51574,6 @@ type LicenseRestrictedEvent struct {
func init() {
t["LicenseRestrictedEvent"] = reflect.TypeOf((*LicenseRestrictedEvent)(nil)).Elem()
- minAPIVersionForType["LicenseRestrictedEvent"] = "2.5"
}
type LicenseRestrictedFault LicenseRestricted
@@ -51868,7 +51669,6 @@ type LicenseSourceUnavailable struct {
func init() {
t["LicenseSourceUnavailable"] = reflect.TypeOf((*LicenseSourceUnavailable)(nil)).Elem()
- minAPIVersionForType["LicenseSourceUnavailable"] = "2.5"
}
type LicenseSourceUnavailableFault LicenseSourceUnavailable
@@ -51914,7 +51714,6 @@ type LimitExceeded struct {
func init() {
t["LimitExceeded"] = reflect.TypeOf((*LimitExceeded)(nil)).Elem()
- minAPIVersionForType["LimitExceeded"] = "4.0"
}
type LimitExceededFault LimitExceeded
@@ -51942,7 +51741,6 @@ type LinkDiscoveryProtocolConfig struct {
func init() {
t["LinkDiscoveryProtocolConfig"] = reflect.TypeOf((*LinkDiscoveryProtocolConfig)(nil)).Elem()
- minAPIVersionForType["LinkDiscoveryProtocolConfig"] = "4.0"
}
// The Link Layer Discovery Protocol information.
@@ -51975,7 +51773,6 @@ type LinkLayerDiscoveryProtocolInfo struct {
func init() {
t["LinkLayerDiscoveryProtocolInfo"] = reflect.TypeOf((*LinkLayerDiscoveryProtocolInfo)(nil)).Elem()
- minAPIVersionForType["LinkLayerDiscoveryProtocolInfo"] = "5.0"
}
// The LinkProfile data object represents a subprofile
@@ -51986,7 +51783,6 @@ type LinkProfile struct {
func init() {
t["LinkProfile"] = reflect.TypeOf((*LinkProfile)(nil)).Elem()
- minAPIVersionForType["LinkProfile"] = "4.0"
}
// Customization operation is performed on a linux source vm that
@@ -52437,7 +52233,7 @@ type LocalDatastoreCreatedEvent struct {
// The associated datastore.
Datastore DatastoreEventArgument `xml:"datastore" json:"datastore"`
// Url of the associated datastore.
- DatastoreUrl string `xml:"datastoreUrl,omitempty" json:"datastoreUrl,omitempty" vim:"6.5"`
+ DatastoreUrl string `xml:"datastoreUrl,omitempty" json:"datastoreUrl,omitempty"`
}
func init() {
@@ -52482,7 +52278,6 @@ type LocalTSMEnabledEvent struct {
func init() {
t["LocalTSMEnabledEvent"] = reflect.TypeOf((*LocalTSMEnabledEvent)(nil)).Elem()
- minAPIVersionForType["LocalTSMEnabledEvent"] = "4.1"
}
// Message data which is intended to be displayed according
@@ -52528,7 +52323,6 @@ type LocalizableMessage struct {
func init() {
t["LocalizableMessage"] = reflect.TypeOf((*LocalizableMessage)(nil)).Elem()
- minAPIVersionForType["LocalizableMessage"] = "4.0"
}
// Description of an available message catalog
@@ -52558,12 +52352,11 @@ type LocalizationManagerMessageCatalog struct {
// The format is dot-separated version string, e.g.
//
// "1.2.3".
- Version string `xml:"version,omitempty" json:"version,omitempty" vim:"5.0"`
+ Version string `xml:"version,omitempty" json:"version,omitempty"`
}
func init() {
t["LocalizationManagerMessageCatalog"] = reflect.TypeOf((*LocalizationManagerMessageCatalog)(nil)).Elem()
- minAPIVersionForType["LocalizationManagerMessageCatalog"] = "4.0"
}
// A wrapper class used to pass MethodFault data objects over the wire
@@ -52598,7 +52391,6 @@ type LockerMisconfiguredEvent struct {
func init() {
t["LockerMisconfiguredEvent"] = reflect.TypeOf((*LockerMisconfiguredEvent)(nil)).Elem()
- minAPIVersionForType["LockerMisconfiguredEvent"] = "2.5"
}
// Locker was reconfigured to a new location.
@@ -52618,7 +52410,6 @@ type LockerReconfiguredEvent struct {
func init() {
t["LockerReconfiguredEvent"] = reflect.TypeOf((*LockerReconfiguredEvent)(nil)).Elem()
- minAPIVersionForType["LockerReconfiguredEvent"] = "2.5"
}
// A LogBundlingFailed exception is thrown when generation of a diagnostic
@@ -52868,7 +52659,6 @@ type LongPolicy struct {
func init() {
t["LongPolicy"] = reflect.TypeOf((*LongPolicy)(nil)).Elem()
- minAPIVersionForType["LongPolicy"] = "4.0"
}
type LookupDvPortGroup LookupDvPortGroupRequestType
@@ -52926,7 +52716,6 @@ type MacAddress struct {
func init() {
t["MacAddress"] = reflect.TypeOf((*MacAddress)(nil)).Elem()
- minAPIVersionForType["MacAddress"] = "5.5"
}
// This class defines a range of MAC address.
@@ -52948,7 +52737,6 @@ type MacRange struct {
func init() {
t["MacRange"] = reflect.TypeOf((*MacRange)(nil)).Elem()
- minAPIVersionForType["MacRange"] = "5.5"
}
// Migration of the virtual machine to the target host will need a move of
@@ -52960,7 +52748,6 @@ type MaintenanceModeFileMove struct {
func init() {
t["MaintenanceModeFileMove"] = reflect.TypeOf((*MaintenanceModeFileMove)(nil)).Elem()
- minAPIVersionForType["MaintenanceModeFileMove"] = "2.5"
}
type MaintenanceModeFileMoveFault MaintenanceModeFileMove
@@ -53080,7 +52867,6 @@ type ManagedByInfo struct {
func init() {
t["ManagedByInfo"] = reflect.TypeOf((*ManagedByInfo)(nil)).Elem()
- minAPIVersionForType["ManagedByInfo"] = "5.0"
}
// The general event argument for a managed entity.
@@ -53386,7 +53172,6 @@ type MemoryFileFormatNotSupportedByDatastore struct {
func init() {
t["MemoryFileFormatNotSupportedByDatastore"] = reflect.TypeOf((*MemoryFileFormatNotSupportedByDatastore)(nil)).Elem()
- minAPIVersionForType["MemoryFileFormatNotSupportedByDatastore"] = "6.0"
}
type MemoryFileFormatNotSupportedByDatastoreFault MemoryFileFormatNotSupportedByDatastore
@@ -53402,7 +53187,6 @@ type MemoryHotPlugNotSupported struct {
func init() {
t["MemoryHotPlugNotSupported"] = reflect.TypeOf((*MemoryHotPlugNotSupported)(nil)).Elem()
- minAPIVersionForType["MemoryHotPlugNotSupported"] = "4.0"
}
type MemoryHotPlugNotSupportedFault MemoryHotPlugNotSupported
@@ -53426,7 +53210,6 @@ type MemorySizeNotRecommended struct {
func init() {
t["MemorySizeNotRecommended"] = reflect.TypeOf((*MemorySizeNotRecommended)(nil)).Elem()
- minAPIVersionForType["MemorySizeNotRecommended"] = "2.5"
}
type MemorySizeNotRecommendedFault MemorySizeNotRecommended
@@ -53450,7 +53233,6 @@ type MemorySizeNotSupported struct {
func init() {
t["MemorySizeNotSupported"] = reflect.TypeOf((*MemorySizeNotSupported)(nil)).Elem()
- minAPIVersionForType["MemorySizeNotSupported"] = "2.5"
}
// The memory amount of the virtual machine is not within the acceptable
@@ -53470,7 +53252,6 @@ type MemorySizeNotSupportedByDatastore struct {
func init() {
t["MemorySizeNotSupportedByDatastore"] = reflect.TypeOf((*MemorySizeNotSupportedByDatastore)(nil)).Elem()
- minAPIVersionForType["MemorySizeNotSupportedByDatastore"] = "5.0"
}
type MemorySizeNotSupportedByDatastoreFault MemorySizeNotSupportedByDatastore
@@ -53587,7 +53368,6 @@ type MethodAlreadyDisabledFault struct {
func init() {
t["MethodAlreadyDisabledFault"] = reflect.TypeOf((*MethodAlreadyDisabledFault)(nil)).Elem()
- minAPIVersionForType["MethodAlreadyDisabledFault"] = "4.1"
}
type MethodAlreadyDisabledFaultFault MethodAlreadyDisabledFault
@@ -53621,7 +53401,6 @@ type MethodDisabled struct {
func init() {
t["MethodDisabled"] = reflect.TypeOf((*MethodDisabled)(nil)).Elem()
- minAPIVersionForType["MethodDisabled"] = "2.5"
}
type MethodDisabledFault MethodDisabled
@@ -53634,11 +53413,11 @@ func init() {
// that an application might handle.
type MethodFault struct {
// Fault which is the cause of this fault.
- FaultCause *LocalizedMethodFault `xml:"faultCause,omitempty" json:"faultCause,omitempty" vim:"4.0"`
+ FaultCause *LocalizedMethodFault `xml:"faultCause,omitempty" json:"faultCause,omitempty"`
// Message which has details about the error
// Message can also contain a key to message catalog which
// can be used to generate better localized messages.
- FaultMessage []LocalizableMessage `xml:"faultMessage,omitempty" json:"faultMessage,omitempty" vim:"4.0"`
+ FaultMessage []LocalizableMessage `xml:"faultMessage,omitempty" json:"faultMessage,omitempty"`
}
func init() {
@@ -53710,7 +53489,7 @@ type MetricAlarmExpression struct {
//
// If unset, the yellow status is
// triggered immediately when the yellow condition becomes true.
- YellowInterval int32 `xml:"yellowInterval,omitempty" json:"yellowInterval,omitempty" vim:"4.0"`
+ YellowInterval int32 `xml:"yellowInterval,omitempty" json:"yellowInterval,omitempty"`
// Whether or not to test for a red condition.
//
// If not set, do not calculate red status.
@@ -53721,7 +53500,7 @@ type MetricAlarmExpression struct {
//
// If unset, the red status is
// triggered immediately when the red condition becomes true.
- RedInterval int32 `xml:"redInterval,omitempty" json:"redInterval,omitempty" vim:"4.0"`
+ RedInterval int32 `xml:"redInterval,omitempty" json:"redInterval,omitempty"`
}
func init() {
@@ -53778,7 +53557,6 @@ type MigrationDisabled struct {
func init() {
t["MigrationDisabled"] = reflect.TypeOf((*MigrationDisabled)(nil)).Elem()
- minAPIVersionForType["MigrationDisabled"] = "4.0"
}
type MigrationDisabledFault MigrationDisabled
@@ -53872,7 +53650,6 @@ type MigrationFeatureNotSupported struct {
func init() {
t["MigrationFeatureNotSupported"] = reflect.TypeOf((*MigrationFeatureNotSupported)(nil)).Elem()
- minAPIVersionForType["MigrationFeatureNotSupported"] = "2.5"
}
type MigrationFeatureNotSupportedFault BaseMigrationFeatureNotSupported
@@ -53918,7 +53695,6 @@ type MigrationNotReady struct {
func init() {
t["MigrationNotReady"] = reflect.TypeOf((*MigrationNotReady)(nil)).Elem()
- minAPIVersionForType["MigrationNotReady"] = "4.0"
}
type MigrationNotReadyFault MigrationNotReady
@@ -53982,7 +53758,6 @@ type MismatchedBundle struct {
func init() {
t["MismatchedBundle"] = reflect.TypeOf((*MismatchedBundle)(nil)).Elem()
- minAPIVersionForType["MismatchedBundle"] = "2.5"
}
type MismatchedBundleFault MismatchedBundle
@@ -54054,7 +53829,6 @@ type MissingBmcSupport struct {
func init() {
t["MissingBmcSupport"] = reflect.TypeOf((*MissingBmcSupport)(nil)).Elem()
- minAPIVersionForType["MissingBmcSupport"] = "4.0"
}
type MissingBmcSupportFault MissingBmcSupport
@@ -54086,7 +53860,6 @@ type MissingIpPool struct {
func init() {
t["MissingIpPool"] = reflect.TypeOf((*MissingIpPool)(nil)).Elem()
- minAPIVersionForType["MissingIpPool"] = "5.0"
}
type MissingIpPoolFault MissingIpPool
@@ -54118,7 +53891,6 @@ type MissingNetworkIpConfig struct {
func init() {
t["MissingNetworkIpConfig"] = reflect.TypeOf((*MissingNetworkIpConfig)(nil)).Elem()
- minAPIVersionForType["MissingNetworkIpConfig"] = "4.0"
}
type MissingNetworkIpConfigFault MissingNetworkIpConfig
@@ -54139,10 +53911,10 @@ type MissingObject struct {
// Fault describing the failure to lookup this object
//
// The possible faults for missing objects are:
- // - `SystemError` if there was some unknown problem
- // looking up the object
- // - `ManagedObjectNotFound` if the object is no
- // longer available
+ // - `SystemError` if there was some unknown problem
+ // looking up the object
+ // - `ManagedObjectNotFound` if the object is no
+ // longer available
Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
@@ -54158,7 +53930,6 @@ type MissingPowerOffConfiguration struct {
func init() {
t["MissingPowerOffConfiguration"] = reflect.TypeOf((*MissingPowerOffConfiguration)(nil)).Elem()
- minAPIVersionForType["MissingPowerOffConfiguration"] = "4.0"
}
type MissingPowerOffConfigurationFault MissingPowerOffConfiguration
@@ -54175,7 +53946,6 @@ type MissingPowerOnConfiguration struct {
func init() {
t["MissingPowerOnConfiguration"] = reflect.TypeOf((*MissingPowerOnConfiguration)(nil)).Elem()
- minAPIVersionForType["MissingPowerOnConfiguration"] = "4.0"
}
type MissingPowerOnConfigurationFault MissingPowerOnConfiguration
@@ -54193,10 +53963,10 @@ type MissingProperty struct {
// Fault describing the failure to retrieve the property value.
//
// The possible faults for missing properties are:
- // - `SystemError` if there was some unknown problem
- // reading the value
- // - `SecurityError` if the logged in session did
- // not have permission to read the value
+ // - `SystemError` if there was some unknown problem
+ // reading the value
+ // - `SecurityError` if the logged in session did
+ // not have permission to read the value
Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
@@ -54230,7 +54000,6 @@ type MksConnectionLimitReached struct {
func init() {
t["MksConnectionLimitReached"] = reflect.TypeOf((*MksConnectionLimitReached)(nil)).Elem()
- minAPIVersionForType["MksConnectionLimitReached"] = "5.0"
}
type MksConnectionLimitReachedFault MksConnectionLimitReached
@@ -54728,7 +54497,7 @@ type MoveVirtualDiskRequestType struct {
// If not specified, it is assumed to be false
Force *bool `xml:"force" json:"force,omitempty"`
// User can specify new set of profile when moving virtual disk.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.5"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
}
func init() {
@@ -54753,7 +54522,6 @@ type MtuMatchEvent struct {
func init() {
t["MtuMatchEvent"] = reflect.TypeOf((*MtuMatchEvent)(nil)).Elem()
- minAPIVersionForType["MtuMatchEvent"] = "5.1"
}
// The value of MTU configured in the vSphere Distributed Switch
@@ -54764,7 +54532,6 @@ type MtuMismatchEvent struct {
func init() {
t["MtuMismatchEvent"] = reflect.TypeOf((*MtuMismatchEvent)(nil)).Elem()
- minAPIVersionForType["MtuMismatchEvent"] = "5.1"
}
// The multi-writer sharing of the specified virtual disk is not supported.
@@ -54779,7 +54546,6 @@ type MultiWriterNotSupported struct {
func init() {
t["MultiWriterNotSupported"] = reflect.TypeOf((*MultiWriterNotSupported)(nil)).Elem()
- minAPIVersionForType["MultiWriterNotSupported"] = "6.0"
}
type MultiWriterNotSupportedFault MultiWriterNotSupported
@@ -54810,7 +54576,6 @@ type MultipleCertificatesVerifyFault struct {
func init() {
t["MultipleCertificatesVerifyFault"] = reflect.TypeOf((*MultipleCertificatesVerifyFault)(nil)).Elem()
- minAPIVersionForType["MultipleCertificatesVerifyFault"] = "4.0"
}
type MultipleCertificatesVerifyFaultFault MultipleCertificatesVerifyFault
@@ -54855,7 +54620,7 @@ type NASDatastoreCreatedEvent struct {
// The associated datastore.
Datastore DatastoreEventArgument `xml:"datastore" json:"datastore"`
// Url of the associated datastore.
- DatastoreUrl string `xml:"datastoreUrl,omitempty" json:"datastoreUrl,omitempty" vim:"6.5"`
+ DatastoreUrl string `xml:"datastoreUrl,omitempty" json:"datastoreUrl,omitempty"`
}
func init() {
@@ -54885,7 +54650,6 @@ type NamePasswordAuthentication struct {
func init() {
t["NamePasswordAuthentication"] = reflect.TypeOf((*NamePasswordAuthentication)(nil)).Elem()
- minAPIVersionForType["NamePasswordAuthentication"] = "5.0"
}
// A NamespaceFull fault is thrown when an operation
@@ -54907,7 +54671,6 @@ type NamespaceFull struct {
func init() {
t["NamespaceFull"] = reflect.TypeOf((*NamespaceFull)(nil)).Elem()
- minAPIVersionForType["NamespaceFull"] = "5.1"
}
type NamespaceFullFault NamespaceFull
@@ -54927,7 +54690,6 @@ type NamespaceLimitReached struct {
func init() {
t["NamespaceLimitReached"] = reflect.TypeOf((*NamespaceLimitReached)(nil)).Elem()
- minAPIVersionForType["NamespaceLimitReached"] = "5.1"
}
type NamespaceLimitReachedFault NamespaceLimitReached
@@ -54947,7 +54709,6 @@ type NamespaceWriteProtected struct {
func init() {
t["NamespaceWriteProtected"] = reflect.TypeOf((*NamespaceWriteProtected)(nil)).Elem()
- minAPIVersionForType["NamespaceWriteProtected"] = "5.1"
}
type NamespaceWriteProtectedFault NamespaceWriteProtected
@@ -54966,7 +54727,6 @@ type NasConfigFault struct {
func init() {
t["NasConfigFault"] = reflect.TypeOf((*NasConfigFault)(nil)).Elem()
- minAPIVersionForType["NasConfigFault"] = "2.5 U2"
}
type NasConfigFaultFault BaseNasConfigFault
@@ -54989,7 +54749,6 @@ type NasConnectionLimitReached struct {
func init() {
t["NasConnectionLimitReached"] = reflect.TypeOf((*NasConnectionLimitReached)(nil)).Elem()
- minAPIVersionForType["NasConnectionLimitReached"] = "2.5 U2"
}
type NasConnectionLimitReachedFault NasConnectionLimitReached
@@ -55028,7 +54787,6 @@ type NasSessionCredentialConflict struct {
func init() {
t["NasSessionCredentialConflict"] = reflect.TypeOf((*NasSessionCredentialConflict)(nil)).Elem()
- minAPIVersionForType["NasSessionCredentialConflict"] = "2.5 U2"
}
type NasSessionCredentialConflictFault NasSessionCredentialConflict
@@ -55051,7 +54809,6 @@ type NasStorageProfile struct {
func init() {
t["NasStorageProfile"] = reflect.TypeOf((*NasStorageProfile)(nil)).Elem()
- minAPIVersionForType["NasStorageProfile"] = "4.0"
}
// This fault is thrown when an operation to configure a NAS datastore
@@ -55067,7 +54824,6 @@ type NasVolumeNotMounted struct {
func init() {
t["NasVolumeNotMounted"] = reflect.TypeOf((*NasVolumeNotMounted)(nil)).Elem()
- minAPIVersionForType["NasVolumeNotMounted"] = "2.5 U2"
}
type NasVolumeNotMountedFault NasVolumeNotMounted
@@ -55091,7 +54847,6 @@ type NegatableExpression struct {
func init() {
t["NegatableExpression"] = reflect.TypeOf((*NegatableExpression)(nil)).Elem()
- minAPIVersionForType["NegatableExpression"] = "5.5"
}
// This data object type describes the NetBIOS configuration of
@@ -55108,7 +54863,6 @@ type NetBIOSConfigInfo struct {
func init() {
t["NetBIOSConfigInfo"] = reflect.TypeOf((*NetBIOSConfigInfo)(nil)).Elem()
- minAPIVersionForType["NetBIOSConfigInfo"] = "4.1"
}
// Dynamic Host Configuration Protocol reporting for IP version 4 and version 6.
@@ -55123,7 +54877,6 @@ type NetDhcpConfigInfo struct {
func init() {
t["NetDhcpConfigInfo"] = reflect.TypeOf((*NetDhcpConfigInfo)(nil)).Elem()
- minAPIVersionForType["NetDhcpConfigInfo"] = "4.1"
}
// Provides for reporting of DHCP client.
@@ -55151,7 +54904,6 @@ type NetDhcpConfigInfoDhcpOptions struct {
func init() {
t["NetDhcpConfigInfoDhcpOptions"] = reflect.TypeOf((*NetDhcpConfigInfoDhcpOptions)(nil)).Elem()
- minAPIVersionForType["NetDhcpConfigInfoDhcpOptions"] = "4.1"
}
// Dynamic Host Configuration Protocol Configuration for IP version 4 and version 6.
@@ -55166,7 +54918,6 @@ type NetDhcpConfigSpec struct {
func init() {
t["NetDhcpConfigSpec"] = reflect.TypeOf((*NetDhcpConfigSpec)(nil)).Elem()
- minAPIVersionForType["NetDhcpConfigSpec"] = "4.1"
}
// Provides for configuration of IPv6
@@ -55187,7 +54938,6 @@ type NetDhcpConfigSpecDhcpOptionsSpec struct {
func init() {
t["NetDhcpConfigSpecDhcpOptionsSpec"] = reflect.TypeOf((*NetDhcpConfigSpecDhcpOptionsSpec)(nil)).Elem()
- minAPIVersionForType["NetDhcpConfigSpecDhcpOptionsSpec"] = "4.1"
}
// Domain Name Server (DNS) Configuration Specification -
@@ -55225,7 +54975,6 @@ type NetDnsConfigInfo struct {
func init() {
t["NetDnsConfigInfo"] = reflect.TypeOf((*NetDnsConfigInfo)(nil)).Elem()
- minAPIVersionForType["NetDnsConfigInfo"] = "4.1"
}
// Domain Name Server (DNS) Configuration Specification -
@@ -55273,7 +55022,6 @@ type NetDnsConfigSpec struct {
func init() {
t["NetDnsConfigSpec"] = reflect.TypeOf((*NetDnsConfigSpec)(nil)).Elem()
- minAPIVersionForType["NetDnsConfigSpec"] = "4.1"
}
// Protocol version independent address reporting data object for network
@@ -55297,7 +55045,6 @@ type NetIpConfigInfo struct {
func init() {
t["NetIpConfigInfo"] = reflect.TypeOf((*NetIpConfigInfo)(nil)).Elem()
- minAPIVersionForType["NetIpConfigInfo"] = "4.1"
}
// Information about a specific IP Address.
@@ -55345,7 +55092,6 @@ type NetIpConfigInfoIpAddress struct {
func init() {
t["NetIpConfigInfoIpAddress"] = reflect.TypeOf((*NetIpConfigInfoIpAddress)(nil)).Elem()
- minAPIVersionForType["NetIpConfigInfoIpAddress"] = "4.1"
}
// Internet Protocol Address Configuration for version 4 and version 6.
@@ -55364,7 +55110,6 @@ type NetIpConfigSpec struct {
func init() {
t["NetIpConfigSpec"] = reflect.TypeOf((*NetIpConfigSpec)(nil)).Elem()
- minAPIVersionForType["NetIpConfigSpec"] = "4.1"
}
// Provides for configuration of IP Addresses.
@@ -55400,7 +55145,6 @@ type NetIpConfigSpecIpAddressSpec struct {
func init() {
t["NetIpConfigSpecIpAddressSpec"] = reflect.TypeOf((*NetIpConfigSpecIpAddressSpec)(nil)).Elem()
- minAPIVersionForType["NetIpConfigSpecIpAddressSpec"] = "4.1"
}
// This data object reports the IP Route Table.
@@ -55413,7 +55157,6 @@ type NetIpRouteConfigInfo struct {
func init() {
t["NetIpRouteConfigInfo"] = reflect.TypeOf((*NetIpRouteConfigInfo)(nil)).Elem()
- minAPIVersionForType["NetIpRouteConfigInfo"] = "4.1"
}
// Next hop Gateway for a given route.
@@ -55426,7 +55169,6 @@ type NetIpRouteConfigInfoGateway struct {
func init() {
t["NetIpRouteConfigInfoGateway"] = reflect.TypeOf((*NetIpRouteConfigInfoGateway)(nil)).Elem()
- minAPIVersionForType["NetIpRouteConfigInfoGateway"] = "4.1"
}
// IpRoute report an individual host, network or default destination network
@@ -55455,7 +55197,6 @@ type NetIpRouteConfigInfoIpRoute struct {
func init() {
t["NetIpRouteConfigInfoIpRoute"] = reflect.TypeOf((*NetIpRouteConfigInfoIpRoute)(nil)).Elem()
- minAPIVersionForType["NetIpRouteConfigInfoIpRoute"] = "4.1"
}
// Address family independent IP Route Table Configuration data object.
@@ -55468,7 +55209,6 @@ type NetIpRouteConfigSpec struct {
func init() {
t["NetIpRouteConfigSpec"] = reflect.TypeOf((*NetIpRouteConfigSpec)(nil)).Elem()
- minAPIVersionForType["NetIpRouteConfigSpec"] = "4.1"
}
// IpRoute report an individual host, network or default destination network
@@ -55482,7 +55222,6 @@ type NetIpRouteConfigSpecGatewaySpec struct {
func init() {
t["NetIpRouteConfigSpecGatewaySpec"] = reflect.TypeOf((*NetIpRouteConfigSpecGatewaySpec)(nil)).Elem()
- minAPIVersionForType["NetIpRouteConfigSpecGatewaySpec"] = "4.1"
}
// Specify an individual host, network or default destination network
@@ -55514,7 +55253,6 @@ type NetIpRouteConfigSpecIpRouteSpec struct {
func init() {
t["NetIpRouteConfigSpecIpRouteSpec"] = reflect.TypeOf((*NetIpRouteConfigSpecIpRouteSpec)(nil)).Elem()
- minAPIVersionForType["NetIpRouteConfigSpecIpRouteSpec"] = "4.1"
}
// Protocol version independent reporting data object for IP stack.
@@ -55535,7 +55273,6 @@ type NetIpStackInfo struct {
func init() {
t["NetIpStackInfo"] = reflect.TypeOf((*NetIpStackInfo)(nil)).Elem()
- minAPIVersionForType["NetIpStackInfo"] = "4.1"
}
type NetIpStackInfoDefaultRouter struct {
@@ -55598,7 +55335,6 @@ type NetIpStackInfoNetToMedia struct {
func init() {
t["NetIpStackInfoNetToMedia"] = reflect.TypeOf((*NetIpStackInfoNetToMedia)(nil)).Elem()
- minAPIVersionForType["NetIpStackInfoNetToMedia"] = "4.1"
}
// The `NetStackInstanceProfile` data object represents a subprofile
@@ -55616,7 +55352,6 @@ type NetStackInstanceProfile struct {
func init() {
t["NetStackInstanceProfile"] = reflect.TypeOf((*NetStackInstanceProfile)(nil)).Elem()
- minAPIVersionForType["NetStackInstanceProfile"] = "5.5"
}
// A network copy of the file failed.
@@ -55645,7 +55380,6 @@ type NetworkDisruptedAndConfigRolledBack struct {
func init() {
t["NetworkDisruptedAndConfigRolledBack"] = reflect.TypeOf((*NetworkDisruptedAndConfigRolledBack)(nil)).Elem()
- minAPIVersionForType["NetworkDisruptedAndConfigRolledBack"] = "5.1"
}
type NetworkDisruptedAndConfigRolledBackFault NetworkDisruptedAndConfigRolledBack
@@ -55666,7 +55400,6 @@ type NetworkEventArgument struct {
func init() {
t["NetworkEventArgument"] = reflect.TypeOf((*NetworkEventArgument)(nil)).Elem()
- minAPIVersionForType["NetworkEventArgument"] = "4.0"
}
// This fault is thrown when an operation to configure a NAS volume fails
@@ -55677,7 +55410,6 @@ type NetworkInaccessible struct {
func init() {
t["NetworkInaccessible"] = reflect.TypeOf((*NetworkInaccessible)(nil)).Elem()
- minAPIVersionForType["NetworkInaccessible"] = "2.5 U2"
}
type NetworkInaccessibleFault NetworkInaccessible
@@ -55697,7 +55429,6 @@ type NetworkPolicyProfile struct {
func init() {
t["NetworkPolicyProfile"] = reflect.TypeOf((*NetworkPolicyProfile)(nil)).Elem()
- minAPIVersionForType["NetworkPolicyProfile"] = "4.0"
}
// The `NetworkProfile` data object contains a set of subprofiles for
@@ -55756,19 +55487,18 @@ type NetworkProfile struct {
//
// Use the `NsxHostVNicProfile*.*NsxHostVNicProfile.key` property
// to access a subprofile in the list.
- NsxHostNic []NsxHostVNicProfile `xml:"nsxHostNic,omitempty" json:"nsxHostNic,omitempty" vim:"6.7"`
+ NsxHostNic []NsxHostVNicProfile `xml:"nsxHostNic,omitempty" json:"nsxHostNic,omitempty"`
// List of NetStackInstance subprofiles.
//
// Use the `NetStackInstanceProfile.key` property to access
// a subprofile in the list.
- NetStackInstance []NetStackInstanceProfile `xml:"netStackInstance,omitempty" json:"netStackInstance,omitempty" vim:"5.5"`
+ NetStackInstance []NetStackInstanceProfile `xml:"netStackInstance,omitempty" json:"netStackInstance,omitempty"`
// OpaqueSwitch subprofile.
- OpaqueSwitch *OpaqueSwitchProfile `xml:"opaqueSwitch,omitempty" json:"opaqueSwitch,omitempty" vim:"7.0"`
+ OpaqueSwitch *OpaqueSwitchProfile `xml:"opaqueSwitch,omitempty" json:"opaqueSwitch,omitempty"`
}
func init() {
t["NetworkProfile"] = reflect.TypeOf((*NetworkProfile)(nil)).Elem()
- minAPIVersionForType["NetworkProfile"] = "4.0"
}
// The `NetworkProfileDnsConfigProfile` data object represents DNS configuration
@@ -55783,7 +55513,6 @@ type NetworkProfileDnsConfigProfile struct {
func init() {
t["NetworkProfileDnsConfigProfile"] = reflect.TypeOf((*NetworkProfileDnsConfigProfile)(nil)).Elem()
- minAPIVersionForType["NetworkProfileDnsConfigProfile"] = "4.0"
}
// This event records when networking configuration on the host
@@ -55799,7 +55528,6 @@ type NetworkRollbackEvent struct {
func init() {
t["NetworkRollbackEvent"] = reflect.TypeOf((*NetworkRollbackEvent)(nil)).Elem()
- minAPIVersionForType["NetworkRollbackEvent"] = "5.1"
}
// General information about a network.
@@ -55818,12 +55546,12 @@ type NetworkSummary struct {
//
// Empty if the network is not associated with an
// IP pool.
- IpPoolName string `xml:"ipPoolName" json:"ipPoolName" vim:"4.0"`
+ IpPoolName string `xml:"ipPoolName" json:"ipPoolName"`
// Identifier of the associated IP pool.
//
// Zero if the network is not associated
// with an IP pool.
- IpPoolId *int32 `xml:"ipPoolId" json:"ipPoolId,omitempty" vim:"5.1"`
+ IpPoolId *int32 `xml:"ipPoolId" json:"ipPoolId,omitempty"`
}
func init() {
@@ -55846,7 +55574,6 @@ type NetworksMayNotBeTheSame struct {
func init() {
t["NetworksMayNotBeTheSame"] = reflect.TypeOf((*NetworksMayNotBeTheSame)(nil)).Elem()
- minAPIVersionForType["NetworksMayNotBeTheSame"] = "2.5"
}
type NetworksMayNotBeTheSameFault NetworksMayNotBeTheSame
@@ -55869,7 +55596,6 @@ type NicSettingMismatch struct {
func init() {
t["NicSettingMismatch"] = reflect.TypeOf((*NicSettingMismatch)(nil)).Elem()
- minAPIVersionForType["NicSettingMismatch"] = "2.5"
}
type NicSettingMismatchFault NicSettingMismatch
@@ -55931,7 +55657,6 @@ type NoAvailableIp struct {
func init() {
t["NoAvailableIp"] = reflect.TypeOf((*NoAvailableIp)(nil)).Elem()
- minAPIVersionForType["NoAvailableIp"] = "4.0"
}
type NoAvailableIpFault NoAvailableIp
@@ -55948,7 +55673,6 @@ type NoClientCertificate struct {
func init() {
t["NoClientCertificate"] = reflect.TypeOf((*NoClientCertificate)(nil)).Elem()
- minAPIVersionForType["NoClientCertificate"] = "2.5"
}
type NoClientCertificateFault NoClientCertificate
@@ -55967,7 +55691,6 @@ type NoCompatibleDatastore struct {
func init() {
t["NoCompatibleDatastore"] = reflect.TypeOf((*NoCompatibleDatastore)(nil)).Elem()
- minAPIVersionForType["NoCompatibleDatastore"] = "5.0"
}
type NoCompatibleDatastoreFault NoCompatibleDatastore
@@ -55987,7 +55710,6 @@ type NoCompatibleHardAffinityHost struct {
func init() {
t["NoCompatibleHardAffinityHost"] = reflect.TypeOf((*NoCompatibleHardAffinityHost)(nil)).Elem()
- minAPIVersionForType["NoCompatibleHardAffinityHost"] = "4.1"
}
type NoCompatibleHardAffinityHostFault NoCompatibleHardAffinityHost
@@ -56013,7 +55735,6 @@ type NoCompatibleHost struct {
func init() {
t["NoCompatibleHost"] = reflect.TypeOf((*NoCompatibleHost)(nil)).Elem()
- minAPIVersionForType["NoCompatibleHost"] = "4.0"
}
type NoCompatibleHostFault BaseNoCompatibleHost
@@ -56031,7 +55752,6 @@ type NoCompatibleHostWithAccessToDevice struct {
func init() {
t["NoCompatibleHostWithAccessToDevice"] = reflect.TypeOf((*NoCompatibleHostWithAccessToDevice)(nil)).Elem()
- minAPIVersionForType["NoCompatibleHostWithAccessToDevice"] = "4.1"
}
type NoCompatibleHostWithAccessToDeviceFault NoCompatibleHostWithAccessToDevice
@@ -56051,7 +55771,6 @@ type NoCompatibleSoftAffinityHost struct {
func init() {
t["NoCompatibleSoftAffinityHost"] = reflect.TypeOf((*NoCompatibleSoftAffinityHost)(nil)).Elem()
- minAPIVersionForType["NoCompatibleSoftAffinityHost"] = "4.1"
}
type NoCompatibleSoftAffinityHostFault NoCompatibleSoftAffinityHost
@@ -56069,7 +55788,6 @@ type NoConnectedDatastore struct {
func init() {
t["NoConnectedDatastore"] = reflect.TypeOf((*NoConnectedDatastore)(nil)).Elem()
- minAPIVersionForType["NoConnectedDatastore"] = "5.0"
}
type NoConnectedDatastoreFault NoConnectedDatastore
@@ -56085,7 +55803,6 @@ type NoDatastoresConfiguredEvent struct {
func init() {
t["NoDatastoresConfiguredEvent"] = reflect.TypeOf((*NoDatastoresConfiguredEvent)(nil)).Elem()
- minAPIVersionForType["NoDatastoresConfiguredEvent"] = "2.5"
}
// This exception is thrown when a virtual machine
@@ -56210,7 +55927,6 @@ type NoHostSuitableForFtSecondary struct {
func init() {
t["NoHostSuitableForFtSecondary"] = reflect.TypeOf((*NoHostSuitableForFtSecondary)(nil)).Elem()
- minAPIVersionForType["NoHostSuitableForFtSecondary"] = "4.0"
}
type NoHostSuitableForFtSecondaryFault NoHostSuitableForFtSecondary
@@ -56253,7 +55969,6 @@ type NoLicenseServerConfigured struct {
func init() {
t["NoLicenseServerConfigured"] = reflect.TypeOf((*NoLicenseServerConfigured)(nil)).Elem()
- minAPIVersionForType["NoLicenseServerConfigured"] = "4.0"
}
type NoLicenseServerConfiguredFault NoLicenseServerConfigured
@@ -56295,7 +56010,6 @@ type NoPeerHostFound struct {
func init() {
t["NoPeerHostFound"] = reflect.TypeOf((*NoPeerHostFound)(nil)).Elem()
- minAPIVersionForType["NoPeerHostFound"] = "2.5"
}
type NoPeerHostFoundFault NoPeerHostFound
@@ -56353,7 +56067,6 @@ type NoPermissionOnAD struct {
func init() {
t["NoPermissionOnAD"] = reflect.TypeOf((*NoPermissionOnAD)(nil)).Elem()
- minAPIVersionForType["NoPermissionOnAD"] = "4.1"
}
type NoPermissionOnADFault NoPermissionOnAD
@@ -56392,7 +56105,6 @@ type NoPermissionOnNasVolume struct {
func init() {
t["NoPermissionOnNasVolume"] = reflect.TypeOf((*NoPermissionOnNasVolume)(nil)).Elem()
- minAPIVersionForType["NoPermissionOnNasVolume"] = "2.5 U2"
}
type NoPermissionOnNasVolumeFault NoPermissionOnNasVolume
@@ -56409,7 +56121,6 @@ type NoSubjectName struct {
func init() {
t["NoSubjectName"] = reflect.TypeOf((*NoSubjectName)(nil)).Elem()
- minAPIVersionForType["NoSubjectName"] = "2.5"
}
type NoSubjectNameFault NoSubjectName
@@ -56426,7 +56137,6 @@ type NoVcManagedIpConfigured struct {
func init() {
t["NoVcManagedIpConfigured"] = reflect.TypeOf((*NoVcManagedIpConfigured)(nil)).Elem()
- minAPIVersionForType["NoVcManagedIpConfigured"] = "4.0"
}
type NoVcManagedIpConfiguredFault NoVcManagedIpConfigured
@@ -56459,7 +56169,6 @@ type NoVmInVApp struct {
func init() {
t["NoVmInVApp"] = reflect.TypeOf((*NoVmInVApp)(nil)).Elem()
- minAPIVersionForType["NoVmInVApp"] = "4.0"
}
type NoVmInVAppFault NoVmInVApp
@@ -56536,7 +56245,6 @@ type NodeDeploymentSpec struct {
func init() {
t["NodeDeploymentSpec"] = reflect.TypeOf((*NodeDeploymentSpec)(nil)).Elem()
- minAPIVersionForType["NodeDeploymentSpec"] = "6.5"
}
// The NodeNetworkSpec class defines network specification of a node
@@ -56553,7 +56261,6 @@ type NodeNetworkSpec struct {
func init() {
t["NodeNetworkSpec"] = reflect.TypeOf((*NodeNetworkSpec)(nil)).Elem()
- minAPIVersionForType["NodeNetworkSpec"] = "6.5"
}
// Fault indicating that an operation must be executed by a
@@ -56564,7 +56271,6 @@ type NonADUserRequired struct {
func init() {
t["NonADUserRequired"] = reflect.TypeOf((*NonADUserRequired)(nil)).Elem()
- minAPIVersionForType["NonADUserRequired"] = "4.1"
}
type NonADUserRequiredFault NonADUserRequired
@@ -56587,7 +56293,6 @@ type NonHomeRDMVMotionNotSupported struct {
func init() {
t["NonHomeRDMVMotionNotSupported"] = reflect.TypeOf((*NonHomeRDMVMotionNotSupported)(nil)).Elem()
- minAPIVersionForType["NonHomeRDMVMotionNotSupported"] = "2.5"
}
type NonHomeRDMVMotionNotSupportedFault NonHomeRDMVMotionNotSupported
@@ -56606,7 +56311,6 @@ type NonPersistentDisksNotSupported struct {
func init() {
t["NonPersistentDisksNotSupported"] = reflect.TypeOf((*NonPersistentDisksNotSupported)(nil)).Elem()
- minAPIVersionForType["NonPersistentDisksNotSupported"] = "2.5"
}
type NonPersistentDisksNotSupportedFault NonPersistentDisksNotSupported
@@ -56622,7 +56326,6 @@ type NonVIWorkloadDetectedOnDatastoreEvent struct {
func init() {
t["NonVIWorkloadDetectedOnDatastoreEvent"] = reflect.TypeOf((*NonVIWorkloadDetectedOnDatastoreEvent)(nil)).Elem()
- minAPIVersionForType["NonVIWorkloadDetectedOnDatastoreEvent"] = "4.1"
}
// The host does not support VM that has VPX assigned prefix or ranged based
@@ -56638,7 +56341,6 @@ type NonVmwareOuiMacNotSupportedHost struct {
func init() {
t["NonVmwareOuiMacNotSupportedHost"] = reflect.TypeOf((*NonVmwareOuiMacNotSupportedHost)(nil)).Elem()
- minAPIVersionForType["NonVmwareOuiMacNotSupportedHost"] = "5.1"
}
type NonVmwareOuiMacNotSupportedHostFault NonVmwareOuiMacNotSupportedHost
@@ -56655,7 +56357,6 @@ type NotADirectory struct {
func init() {
t["NotADirectory"] = reflect.TypeOf((*NotADirectory)(nil)).Elem()
- minAPIVersionForType["NotADirectory"] = "5.0"
}
type NotADirectoryFault NotADirectory
@@ -56672,7 +56373,6 @@ type NotAFile struct {
func init() {
t["NotAFile"] = reflect.TypeOf((*NotAFile)(nil)).Elem()
- minAPIVersionForType["NotAFile"] = "5.0"
}
type NotAFileFault NotAFile
@@ -56689,7 +56389,6 @@ type NotAuthenticated struct {
func init() {
t["NotAuthenticated"] = reflect.TypeOf((*NotAuthenticated)(nil)).Elem()
- minAPIVersionForType["NotAuthenticated"] = "2.5"
}
type NotAuthenticatedFault NotAuthenticated
@@ -56746,7 +56445,7 @@ type NotEnoughLogicalCpus struct {
// The host that does not have enough logical CPUs.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"2.5"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
}
func init() {
@@ -56765,7 +56464,7 @@ type NotEnoughResourcesToStartVmEvent struct {
VmEvent
// The reason why the virtual machine could not be restarted
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"6.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
@@ -56855,7 +56554,6 @@ type NotSupportedDeviceForFT struct {
func init() {
t["NotSupportedDeviceForFT"] = reflect.TypeOf((*NotSupportedDeviceForFT)(nil)).Elem()
- minAPIVersionForType["NotSupportedDeviceForFT"] = "4.1"
}
type NotSupportedDeviceForFTFault NotSupportedDeviceForFT
@@ -56899,7 +56597,6 @@ type NotSupportedHostForChecksum struct {
func init() {
t["NotSupportedHostForChecksum"] = reflect.TypeOf((*NotSupportedHostForChecksum)(nil)).Elem()
- minAPIVersionForType["NotSupportedHostForChecksum"] = "6.0"
}
type NotSupportedHostForChecksumFault NotSupportedHostForChecksum
@@ -56918,7 +56615,6 @@ type NotSupportedHostForVFlash struct {
func init() {
t["NotSupportedHostForVFlash"] = reflect.TypeOf((*NotSupportedHostForVFlash)(nil)).Elem()
- minAPIVersionForType["NotSupportedHostForVFlash"] = "5.5"
}
type NotSupportedHostForVFlashFault NotSupportedHostForVFlash
@@ -56937,7 +56633,6 @@ type NotSupportedHostForVmcp struct {
func init() {
t["NotSupportedHostForVmcp"] = reflect.TypeOf((*NotSupportedHostForVmcp)(nil)).Elem()
- minAPIVersionForType["NotSupportedHostForVmcp"] = "6.0"
}
type NotSupportedHostForVmcpFault NotSupportedHostForVmcp
@@ -56956,7 +56651,6 @@ type NotSupportedHostForVmemFile struct {
func init() {
t["NotSupportedHostForVmemFile"] = reflect.TypeOf((*NotSupportedHostForVmemFile)(nil)).Elem()
- minAPIVersionForType["NotSupportedHostForVmemFile"] = "6.0"
}
type NotSupportedHostForVmemFileFault NotSupportedHostForVmemFile
@@ -56975,7 +56669,6 @@ type NotSupportedHostForVsan struct {
func init() {
t["NotSupportedHostForVsan"] = reflect.TypeOf((*NotSupportedHostForVsan)(nil)).Elem()
- minAPIVersionForType["NotSupportedHostForVsan"] = "5.5"
}
type NotSupportedHostForVsanFault NotSupportedHostForVsan
@@ -56992,7 +56685,6 @@ type NotSupportedHostInCluster struct {
func init() {
t["NotSupportedHostInCluster"] = reflect.TypeOf((*NotSupportedHostInCluster)(nil)).Elem()
- minAPIVersionForType["NotSupportedHostInCluster"] = "4.0"
}
type NotSupportedHostInClusterFault BaseNotSupportedHostInCluster
@@ -57016,7 +56708,6 @@ type NotSupportedHostInDvs struct {
func init() {
t["NotSupportedHostInDvs"] = reflect.TypeOf((*NotSupportedHostInDvs)(nil)).Elem()
- minAPIVersionForType["NotSupportedHostInDvs"] = "4.1"
}
type NotSupportedHostInDvsFault NotSupportedHostInDvs
@@ -57038,7 +56729,6 @@ type NotSupportedHostInHACluster struct {
func init() {
t["NotSupportedHostInHACluster"] = reflect.TypeOf((*NotSupportedHostInHACluster)(nil)).Elem()
- minAPIVersionForType["NotSupportedHostInHACluster"] = "5.0"
}
type NotSupportedHostInHAClusterFault NotSupportedHostInHACluster
@@ -57055,7 +56745,6 @@ type NotUserConfigurableProperty struct {
func init() {
t["NotUserConfigurableProperty"] = reflect.TypeOf((*NotUserConfigurableProperty)(nil)).Elem()
- minAPIVersionForType["NotUserConfigurableProperty"] = "4.0"
}
type NotUserConfigurablePropertyFault NotUserConfigurableProperty
@@ -57064,6 +56753,28 @@ func init() {
t["NotUserConfigurablePropertyFault"] = reflect.TypeOf((*NotUserConfigurablePropertyFault)(nil)).Elem()
}
+type NotifyAffectedServices NotifyAffectedServicesRequestType
+
+func init() {
+ t["NotifyAffectedServices"] = reflect.TypeOf((*NotifyAffectedServices)(nil)).Elem()
+}
+
+// The parameters of `HostCertificateManager.NotifyAffectedServices`.
+type NotifyAffectedServicesRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // list of services that need to be notified and no
+ // other service would be notified. if not provided all supported
+ // services would be notified.
+ Services []string `xml:"services,omitempty" json:"services,omitempty" vim:"8.0.1.0"`
+}
+
+func init() {
+ t["NotifyAffectedServicesRequestType"] = reflect.TypeOf((*NotifyAffectedServicesRequestType)(nil)).Elem()
+}
+
+type NotifyAffectedServicesResponse struct {
+}
+
// The `NsxHostVNicProfile` data object is the base object
// for host Virtual NIC connected to NSX logic switch subprofiles.
//
@@ -57081,7 +56792,6 @@ type NsxHostVNicProfile struct {
func init() {
t["NsxHostVNicProfile"] = reflect.TypeOf((*NsxHostVNicProfile)(nil)).Elem()
- minAPIVersionForType["NsxHostVNicProfile"] = "6.7"
}
// The NumPortsProfile data object represents a
@@ -57093,7 +56803,6 @@ type NumPortsProfile struct {
func init() {
t["NumPortsProfile"] = reflect.TypeOf((*NumPortsProfile)(nil)).Elem()
- minAPIVersionForType["NumPortsProfile"] = "4.0"
}
// The host's software does not support enough cores per socket to
@@ -57111,7 +56820,6 @@ type NumVirtualCoresPerSocketNotSupported struct {
func init() {
t["NumVirtualCoresPerSocketNotSupported"] = reflect.TypeOf((*NumVirtualCoresPerSocketNotSupported)(nil)).Elem()
- minAPIVersionForType["NumVirtualCoresPerSocketNotSupported"] = "5.0"
}
type NumVirtualCoresPerSocketNotSupportedFault NumVirtualCoresPerSocketNotSupported
@@ -57131,7 +56839,6 @@ type NumVirtualCpusExceedsLimit struct {
func init() {
t["NumVirtualCpusExceedsLimit"] = reflect.TypeOf((*NumVirtualCpusExceedsLimit)(nil)).Elem()
- minAPIVersionForType["NumVirtualCpusExceedsLimit"] = "4.1"
}
type NumVirtualCpusExceedsLimitFault NumVirtualCpusExceedsLimit
@@ -57155,7 +56862,6 @@ type NumVirtualCpusIncompatible struct {
func init() {
t["NumVirtualCpusIncompatible"] = reflect.TypeOf((*NumVirtualCpusIncompatible)(nil)).Elem()
- minAPIVersionForType["NumVirtualCpusIncompatible"] = "4.0"
}
type NumVirtualCpusIncompatibleFault NumVirtualCpusIncompatible
@@ -57199,7 +56905,6 @@ type NumericRange struct {
func init() {
t["NumericRange"] = reflect.TypeOf((*NumericRange)(nil)).Elem()
- minAPIVersionForType["NumericRange"] = "4.0"
}
// Get detailed information of a nvdimm
@@ -57236,7 +56941,6 @@ type NvdimmDimmInfo struct {
func init() {
t["NvdimmDimmInfo"] = reflect.TypeOf((*NvdimmDimmInfo)(nil)).Elem()
- minAPIVersionForType["NvdimmDimmInfo"] = "6.7"
}
// A unique identifier used for namespaces
@@ -57249,7 +56953,6 @@ type NvdimmGuid struct {
func init() {
t["NvdimmGuid"] = reflect.TypeOf((*NvdimmGuid)(nil)).Elem()
- minAPIVersionForType["NvdimmGuid"] = "6.7"
}
// \\brief NVDIMM health information
@@ -57305,7 +57008,6 @@ type NvdimmHealthInfo struct {
func init() {
t["NvdimmHealthInfo"] = reflect.TypeOf((*NvdimmHealthInfo)(nil)).Elem()
- minAPIVersionForType["NvdimmHealthInfo"] = "6.7"
}
// Characteristics of an interleave set of a NVDIMM
@@ -57336,7 +57038,6 @@ type NvdimmInterleaveSetInfo struct {
func init() {
t["NvdimmInterleaveSetInfo"] = reflect.TypeOf((*NvdimmInterleaveSetInfo)(nil)).Elem()
- minAPIVersionForType["NvdimmInterleaveSetInfo"] = "6.7"
}
// Deprecated as of vSphere 6.7u1, use PMemNamespaceCreateReq.
@@ -57379,7 +57080,6 @@ type NvdimmNamespaceCreateSpec struct {
func init() {
t["NvdimmNamespaceCreateSpec"] = reflect.TypeOf((*NvdimmNamespaceCreateSpec)(nil)).Elem()
- minAPIVersionForType["NvdimmNamespaceCreateSpec"] = "6.7"
}
// Arguments for deleting a namespace
@@ -57392,7 +57092,6 @@ type NvdimmNamespaceDeleteSpec struct {
func init() {
t["NvdimmNamespaceDeleteSpec"] = reflect.TypeOf((*NvdimmNamespaceDeleteSpec)(nil)).Elem()
- minAPIVersionForType["NvdimmNamespaceDeleteSpec"] = "6.7"
}
// Detailed information about a particular namespace.
@@ -57427,7 +57126,6 @@ type NvdimmNamespaceDetails struct {
func init() {
t["NvdimmNamespaceDetails"] = reflect.TypeOf((*NvdimmNamespaceDetails)(nil)).Elem()
- minAPIVersionForType["NvdimmNamespaceDetails"] = "6.7.1"
}
// Deprecated as of vSphere 6.7u1, use NamespaceDetails.
@@ -57479,7 +57177,6 @@ type NvdimmNamespaceInfo struct {
func init() {
t["NvdimmNamespaceInfo"] = reflect.TypeOf((*NvdimmNamespaceInfo)(nil)).Elem()
- minAPIVersionForType["NvdimmNamespaceInfo"] = "6.7"
}
// Arguments for creating a persistent memory mode namespace
@@ -57500,7 +57197,6 @@ type NvdimmPMemNamespaceCreateSpec struct {
func init() {
t["NvdimmPMemNamespaceCreateSpec"] = reflect.TypeOf((*NvdimmPMemNamespaceCreateSpec)(nil)).Elem()
- minAPIVersionForType["NvdimmPMemNamespaceCreateSpec"] = "6.7.1"
}
// \\brief NVDIMM region information.
@@ -57553,7 +57249,6 @@ type NvdimmRegionInfo struct {
func init() {
t["NvdimmRegionInfo"] = reflect.TypeOf((*NvdimmRegionInfo)(nil)).Elem()
- minAPIVersionForType["NvdimmRegionInfo"] = "6.7"
}
// \\brief Get summary of nvdimm
@@ -57580,7 +57275,6 @@ type NvdimmSummary struct {
func init() {
t["NvdimmSummary"] = reflect.TypeOf((*NvdimmSummary)(nil)).Elem()
- minAPIVersionForType["NvdimmSummary"] = "6.7"
}
// This data object represents Non-Volatile DIMMs host
@@ -57624,12 +57318,11 @@ type NvdimmSystemInfo struct {
//
// Namespace details is unset if the system does not support
// PMem feature.
- NsDetails []NvdimmNamespaceDetails `xml:"nsDetails,omitempty" json:"nsDetails,omitempty" vim:"6.7.1"`
+ NsDetails []NvdimmNamespaceDetails `xml:"nsDetails,omitempty" json:"nsDetails,omitempty"`
}
func init() {
t["NvdimmSystemInfo"] = reflect.TypeOf((*NvdimmSystemInfo)(nil)).Elem()
- minAPIVersionForType["NvdimmSystemInfo"] = "6.7"
}
// The `ObjectContent` data object type contains the
@@ -57739,7 +57432,6 @@ type OpaqueNetworkCapability struct {
func init() {
t["OpaqueNetworkCapability"] = reflect.TypeOf((*OpaqueNetworkCapability)(nil)).Elem()
- minAPIVersionForType["OpaqueNetworkCapability"] = "6.5"
}
// The summary of a opaque network.
@@ -57756,7 +57448,6 @@ type OpaqueNetworkSummary struct {
func init() {
t["OpaqueNetworkSummary"] = reflect.TypeOf((*OpaqueNetworkSummary)(nil)).Elem()
- minAPIVersionForType["OpaqueNetworkSummary"] = "5.5"
}
// This class describes an opaque network that a device backing
@@ -57768,12 +57459,11 @@ type OpaqueNetworkTargetInfo struct {
Network OpaqueNetworkSummary `xml:"network" json:"network"`
// Indicates whether network bandwidth reservation is supported on
// the opaque network
- NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty" vim:"6.0"`
+ NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty"`
}
func init() {
t["OpaqueNetworkTargetInfo"] = reflect.TypeOf((*OpaqueNetworkTargetInfo)(nil)).Elem()
- minAPIVersionForType["OpaqueNetworkTargetInfo"] = "5.5"
}
// The `OpaqueSwitchProfile` data object represents opaque switch
@@ -57788,7 +57478,6 @@ type OpaqueSwitchProfile struct {
func init() {
t["OpaqueSwitchProfile"] = reflect.TypeOf((*OpaqueSwitchProfile)(nil)).Elem()
- minAPIVersionForType["OpaqueSwitchProfile"] = "7.0"
}
type OpenInventoryViewFolder OpenInventoryViewFolderRequestType
@@ -57828,7 +57517,6 @@ type OperationDisabledByGuest struct {
func init() {
t["OperationDisabledByGuest"] = reflect.TypeOf((*OperationDisabledByGuest)(nil)).Elem()
- minAPIVersionForType["OperationDisabledByGuest"] = "5.0"
}
type OperationDisabledByGuestFault OperationDisabledByGuest
@@ -57851,7 +57539,6 @@ type OperationDisallowedOnHost struct {
func init() {
t["OperationDisallowedOnHost"] = reflect.TypeOf((*OperationDisallowedOnHost)(nil)).Elem()
- minAPIVersionForType["OperationDisallowedOnHost"] = "5.0"
}
type OperationDisallowedOnHostFault OperationDisallowedOnHost
@@ -57869,7 +57556,6 @@ type OperationNotSupportedByGuest struct {
func init() {
t["OperationNotSupportedByGuest"] = reflect.TypeOf((*OperationNotSupportedByGuest)(nil)).Elem()
- minAPIVersionForType["OperationNotSupportedByGuest"] = "5.0"
}
type OperationNotSupportedByGuestFault OperationNotSupportedByGuest
@@ -57912,7 +57598,6 @@ type OptionProfile struct {
func init() {
t["OptionProfile"] = reflect.TypeOf((*OptionProfile)(nil)).Elem()
- minAPIVersionForType["OptionProfile"] = "4.0"
}
// The base data object type for all options.
@@ -57960,11 +57645,11 @@ type OrAlarmExpression struct {
AlarmExpression
// List of alarm expressions that define the overall status of the alarm.
- // - The state of the alarm expression is gray if all subexpressions are gray.
- // Otherwise, gray subexpressions are ignored.
- // - The state is red if any subexpression is red.
- // - Otherwise, the state is yellow if any subexpression is yellow.
- // - Otherwise, the state of the alarm expression is green.
+ // - The state of the alarm expression is gray if all subexpressions are gray.
+ // Otherwise, gray subexpressions are ignored.
+ // - The state is red if any subexpression is red.
+ // - Otherwise, the state is yellow if any subexpression is yellow.
+ // - Otherwise, the state of the alarm expression is green.
Expression []BaseAlarmExpression `xml:"expression,typeattr" json:"expression"`
}
@@ -58002,7 +57687,6 @@ type OutOfSyncDvsHost struct {
func init() {
t["OutOfSyncDvsHost"] = reflect.TypeOf((*OutOfSyncDvsHost)(nil)).Elem()
- minAPIVersionForType["OutOfSyncDvsHost"] = "4.0"
}
type OverwriteCustomizationSpec OverwriteCustomizationSpecRequestType
@@ -58036,7 +57720,6 @@ type OvfAttribute struct {
func init() {
t["OvfAttribute"] = reflect.TypeOf((*OvfAttribute)(nil)).Elem()
- minAPIVersionForType["OvfAttribute"] = "4.0"
}
type OvfAttributeFault BaseOvfAttribute
@@ -58103,7 +57786,6 @@ type OvfConstraint struct {
func init() {
t["OvfConstraint"] = reflect.TypeOf((*OvfConstraint)(nil)).Elem()
- minAPIVersionForType["OvfConstraint"] = "4.1"
}
type OvfConstraintFault BaseOvfConstraint
@@ -58128,7 +57810,6 @@ type OvfConsumerCallbackFault struct {
func init() {
t["OvfConsumerCallbackFault"] = reflect.TypeOf((*OvfConsumerCallbackFault)(nil)).Elem()
- minAPIVersionForType["OvfConsumerCallbackFault"] = "5.0"
}
type OvfConsumerCallbackFaultFault BaseOvfConsumerCallbackFault
@@ -58147,7 +57828,6 @@ type OvfConsumerCommunicationError struct {
func init() {
t["OvfConsumerCommunicationError"] = reflect.TypeOf((*OvfConsumerCommunicationError)(nil)).Elem()
- minAPIVersionForType["OvfConsumerCommunicationError"] = "5.0"
}
type OvfConsumerCommunicationErrorFault OvfConsumerCommunicationError
@@ -58170,7 +57850,6 @@ type OvfConsumerFault struct {
func init() {
t["OvfConsumerFault"] = reflect.TypeOf((*OvfConsumerFault)(nil)).Elem()
- minAPIVersionForType["OvfConsumerFault"] = "5.0"
}
type OvfConsumerFaultFault OvfConsumerFault
@@ -58192,7 +57871,6 @@ type OvfConsumerInvalidSection struct {
func init() {
t["OvfConsumerInvalidSection"] = reflect.TypeOf((*OvfConsumerInvalidSection)(nil)).Elem()
- minAPIVersionForType["OvfConsumerInvalidSection"] = "5.0"
}
type OvfConsumerInvalidSectionFault OvfConsumerInvalidSection
@@ -58233,9 +57911,9 @@ type OvfConsumerOstNode struct {
//
// As dictated by OVF, this list is subject to the
// following rules:
- // - The Envelope node must have exactly one child.
- // - VirtualSystemCollection nodes may have zero or more children.
- // - VirtualSystem nodes must have no children.
+ // - The Envelope node must have exactly one child.
+ // - VirtualSystemCollection nodes may have zero or more children.
+ // - VirtualSystem nodes must have no children.
Child []OvfConsumerOstNode `xml:"child,omitempty" json:"child,omitempty"`
// The VM or vApp corresponding to this node.
//
@@ -58249,7 +57927,6 @@ type OvfConsumerOstNode struct {
func init() {
t["OvfConsumerOstNode"] = reflect.TypeOf((*OvfConsumerOstNode)(nil)).Elem()
- minAPIVersionForType["OvfConsumerOstNode"] = "5.0"
}
// A self-contained OVF section
@@ -58272,7 +57949,6 @@ type OvfConsumerOvfSection struct {
func init() {
t["OvfConsumerOvfSection"] = reflect.TypeOf((*OvfConsumerOvfSection)(nil)).Elem()
- minAPIVersionForType["OvfConsumerOvfSection"] = "5.0"
}
// A fault type indicating that the power on operation failed.
@@ -58289,7 +57965,6 @@ type OvfConsumerPowerOnFault struct {
func init() {
t["OvfConsumerPowerOnFault"] = reflect.TypeOf((*OvfConsumerPowerOnFault)(nil)).Elem()
- minAPIVersionForType["OvfConsumerPowerOnFault"] = "5.0"
}
type OvfConsumerPowerOnFaultFault OvfConsumerPowerOnFault
@@ -58311,7 +57986,6 @@ type OvfConsumerUndeclaredSection struct {
func init() {
t["OvfConsumerUndeclaredSection"] = reflect.TypeOf((*OvfConsumerUndeclaredSection)(nil)).Elem()
- minAPIVersionForType["OvfConsumerUndeclaredSection"] = "5.0"
}
type OvfConsumerUndeclaredSectionFault OvfConsumerUndeclaredSection
@@ -58330,7 +58004,6 @@ type OvfConsumerUndefinedPrefix struct {
func init() {
t["OvfConsumerUndefinedPrefix"] = reflect.TypeOf((*OvfConsumerUndefinedPrefix)(nil)).Elem()
- minAPIVersionForType["OvfConsumerUndefinedPrefix"] = "5.0"
}
type OvfConsumerUndefinedPrefixFault OvfConsumerUndefinedPrefix
@@ -58353,7 +58026,6 @@ type OvfConsumerValidationFault struct {
func init() {
t["OvfConsumerValidationFault"] = reflect.TypeOf((*OvfConsumerValidationFault)(nil)).Elem()
- minAPIVersionForType["OvfConsumerValidationFault"] = "5.0"
}
type OvfConsumerValidationFaultFault OvfConsumerValidationFault
@@ -58427,7 +58099,7 @@ type OvfCreateDescriptorParams struct {
// Controls whether attached image files should be included in the descriptor.
//
// This applies to image files attached to VirtualCdrom and VirtualFloppy.
- IncludeImageFiles *bool `xml:"includeImageFiles" json:"includeImageFiles,omitempty" vim:"4.1"`
+ IncludeImageFiles *bool `xml:"includeImageFiles" json:"includeImageFiles,omitempty"`
// An optional argument for modifying the export process.
//
// The option is used to control what extra information that will be included in the
@@ -58435,7 +58107,7 @@ type OvfCreateDescriptorParams struct {
//
// To get a list of supported keywords see `OvfManager.ovfExportOption`. Unknown
// options will be ignored by the server.
- ExportOption []string `xml:"exportOption,omitempty" json:"exportOption,omitempty" vim:"5.1"`
+ ExportOption []string `xml:"exportOption,omitempty" json:"exportOption,omitempty"`
// Snapshot reference from which the OVF descriptor should be based.
//
// If this parameter is set, the OVF descriptor is based off the
@@ -58447,12 +58119,11 @@ type OvfCreateDescriptorParams struct {
// createDescriptor call.
//
// Refers instance of `VirtualMachineSnapshot`.
- Snapshot *ManagedObjectReference `xml:"snapshot,omitempty" json:"snapshot,omitempty" vim:"5.5"`
+ Snapshot *ManagedObjectReference `xml:"snapshot,omitempty" json:"snapshot,omitempty"`
}
func init() {
t["OvfCreateDescriptorParams"] = reflect.TypeOf((*OvfCreateDescriptorParams)(nil)).Elem()
- minAPIVersionForType["OvfCreateDescriptorParams"] = "4.0"
}
// The result of creating the OVF descriptor for the entity.
@@ -58472,12 +58143,11 @@ type OvfCreateDescriptorResult struct {
// warnings.
Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
// Returns true if there are ISO or Floppy images attached to one or more VMs.
- IncludeImageFiles *bool `xml:"includeImageFiles" json:"includeImageFiles,omitempty" vim:"4.1"`
+ IncludeImageFiles *bool `xml:"includeImageFiles" json:"includeImageFiles,omitempty"`
}
func init() {
t["OvfCreateDescriptorResult"] = reflect.TypeOf((*OvfCreateDescriptorResult)(nil)).Elem()
- minAPIVersionForType["OvfCreateDescriptorResult"] = "4.0"
}
// Parameters for deploying an OVF.
@@ -58522,34 +58192,33 @@ type OvfCreateImportSpecParams struct {
//
// This can be used to distribute
// a vApp across multiple resource pools (and create linked children).
- ResourceMapping []OvfResourceMap `xml:"resourceMapping,omitempty" json:"resourceMapping,omitempty" vim:"4.1"`
+ ResourceMapping []OvfResourceMap `xml:"resourceMapping,omitempty" json:"resourceMapping,omitempty"`
// An optional disk provisioning.
//
// If set, all the disks in the deployed OVF will
// have get the same specified disk type (e.g., thin provisioned).
// The valide values for disk provisioning are:
- // - `monolithicSparse`
- // - `monolithicFlat`
- // - `twoGbMaxExtentSparse`
- // - `twoGbMaxExtentFlat`
- // - `thin`
- // - `thick`
- // - `sparse`
- // - `flat`
- // - `seSparse`
+ // - `monolithicSparse`
+ // - `monolithicFlat`
+ // - `twoGbMaxExtentSparse`
+ // - `twoGbMaxExtentFlat`
+ // - `thin`
+ // - `thick`
+ // - `sparse`
+ // - `flat`
+ // - `seSparse`
//
// See also `VirtualDiskMode_enum`.
- DiskProvisioning string `xml:"diskProvisioning,omitempty" json:"diskProvisioning,omitempty" vim:"4.1"`
+ DiskProvisioning string `xml:"diskProvisioning,omitempty" json:"diskProvisioning,omitempty"`
// The instantiation OST to configure OVF consumers.
//
// This is created by the client
// from the annotated OST. See `OvfConsumer` for details.
- InstantiationOst *OvfConsumerOstNode `xml:"instantiationOst,omitempty" json:"instantiationOst,omitempty" vim:"5.0"`
+ InstantiationOst *OvfConsumerOstNode `xml:"instantiationOst,omitempty" json:"instantiationOst,omitempty"`
}
func init() {
t["OvfCreateImportSpecParams"] = reflect.TypeOf((*OvfCreateImportSpecParams)(nil)).Elem()
- minAPIVersionForType["OvfCreateImportSpecParams"] = "4.0"
}
// The CreateImportSpecResult contains all information regarding the import that can
@@ -58586,7 +58255,6 @@ type OvfCreateImportSpecResult struct {
func init() {
t["OvfCreateImportSpecResult"] = reflect.TypeOf((*OvfCreateImportSpecResult)(nil)).Elem()
- minAPIVersionForType["OvfCreateImportSpecResult"] = "4.0"
}
// A deployment option as defined in the OVF specfication.
@@ -58607,7 +58275,6 @@ type OvfDeploymentOption struct {
func init() {
t["OvfDeploymentOption"] = reflect.TypeOf((*OvfDeploymentOption)(nil)).Elem()
- minAPIVersionForType["OvfDeploymentOption"] = "4.0"
}
type OvfDiskMappingNotFound struct {
@@ -58637,7 +58304,6 @@ type OvfDiskOrderConstraint struct {
func init() {
t["OvfDiskOrderConstraint"] = reflect.TypeOf((*OvfDiskOrderConstraint)(nil)).Elem()
- minAPIVersionForType["OvfDiskOrderConstraint"] = "4.1"
}
type OvfDiskOrderConstraintFault OvfDiskOrderConstraint
@@ -58653,7 +58319,6 @@ type OvfDuplicateElement struct {
func init() {
t["OvfDuplicateElement"] = reflect.TypeOf((*OvfDuplicateElement)(nil)).Elem()
- minAPIVersionForType["OvfDuplicateElement"] = "4.0"
}
type OvfDuplicateElementFault OvfDuplicateElement
@@ -58672,7 +58337,6 @@ type OvfDuplicatedElementBoundary struct {
func init() {
t["OvfDuplicatedElementBoundary"] = reflect.TypeOf((*OvfDuplicatedElementBoundary)(nil)).Elem()
- minAPIVersionForType["OvfDuplicatedElementBoundary"] = "4.0"
}
type OvfDuplicatedElementBoundaryFault OvfDuplicatedElementBoundary
@@ -58693,7 +58357,6 @@ type OvfDuplicatedPropertyIdExport struct {
func init() {
t["OvfDuplicatedPropertyIdExport"] = reflect.TypeOf((*OvfDuplicatedPropertyIdExport)(nil)).Elem()
- minAPIVersionForType["OvfDuplicatedPropertyIdExport"] = "5.0"
}
type OvfDuplicatedPropertyIdExportFault OvfDuplicatedPropertyIdExport
@@ -58711,7 +58374,6 @@ type OvfDuplicatedPropertyIdImport struct {
func init() {
t["OvfDuplicatedPropertyIdImport"] = reflect.TypeOf((*OvfDuplicatedPropertyIdImport)(nil)).Elem()
- minAPIVersionForType["OvfDuplicatedPropertyIdImport"] = "5.0"
}
type OvfDuplicatedPropertyIdImportFault OvfDuplicatedPropertyIdImport
@@ -58730,7 +58392,6 @@ type OvfElement struct {
func init() {
t["OvfElement"] = reflect.TypeOf((*OvfElement)(nil)).Elem()
- minAPIVersionForType["OvfElement"] = "4.0"
}
type OvfElementFault BaseOvfElement
@@ -58751,7 +58412,6 @@ type OvfElementInvalidValue struct {
func init() {
t["OvfElementInvalidValue"] = reflect.TypeOf((*OvfElementInvalidValue)(nil)).Elem()
- minAPIVersionForType["OvfElementInvalidValue"] = "4.0"
}
type OvfElementInvalidValueFault OvfElementInvalidValue
@@ -58767,7 +58427,6 @@ type OvfExport struct {
func init() {
t["OvfExport"] = reflect.TypeOf((*OvfExport)(nil)).Elem()
- minAPIVersionForType["OvfExport"] = "4.0"
}
// This fault is used if we fail to export an OVF package.
@@ -58777,7 +58436,6 @@ type OvfExportFailed struct {
func init() {
t["OvfExportFailed"] = reflect.TypeOf((*OvfExportFailed)(nil)).Elem()
- minAPIVersionForType["OvfExportFailed"] = "4.1"
}
type OvfExportFailedFault OvfExportFailed
@@ -58878,7 +58536,6 @@ type OvfFault struct {
func init() {
t["OvfFault"] = reflect.TypeOf((*OvfFault)(nil)).Elem()
- minAPIVersionForType["OvfFault"] = "4.0"
}
type OvfFaultFault BaseOvfFault
@@ -58934,19 +58591,18 @@ type OvfFile struct {
// Note that the "capacity" attribute is normally set to the capacity of the
// corresponding `VirtualDisk`. Setting this variable
// overrides the capacity from the VirtualDisk.
- Capacity int64 `xml:"capacity,omitempty" json:"capacity,omitempty" vim:"4.1"`
+ Capacity int64 `xml:"capacity,omitempty" json:"capacity,omitempty"`
// The populated size of the disk backed by this file.
//
// This should only be set if
// the device backed by this file is a disk. This value will be written in the
// "populatedSize" attribute of the corresponding "Disk" element in the OVF
// descriptor.
- PopulatedSize int64 `xml:"populatedSize,omitempty" json:"populatedSize,omitempty" vim:"4.1"`
+ PopulatedSize int64 `xml:"populatedSize,omitempty" json:"populatedSize,omitempty"`
}
func init() {
t["OvfFile"] = reflect.TypeOf((*OvfFile)(nil)).Elem()
- minAPIVersionForType["OvfFile"] = "4.0"
}
// An FileItem represents a file that must be uploaded by the caller when the
@@ -58996,7 +58652,6 @@ type OvfFileItem struct {
func init() {
t["OvfFileItem"] = reflect.TypeOf((*OvfFileItem)(nil)).Elem()
- minAPIVersionForType["OvfFileItem"] = "4.0"
}
type OvfHardwareCheck struct {
@@ -59029,7 +58684,6 @@ type OvfHardwareExport struct {
func init() {
t["OvfHardwareExport"] = reflect.TypeOf((*OvfHardwareExport)(nil)).Elem()
- minAPIVersionForType["OvfHardwareExport"] = "4.0"
}
type OvfHardwareExportFault BaseOvfHardwareExport
@@ -59049,7 +58703,6 @@ type OvfHostResourceConstraint struct {
func init() {
t["OvfHostResourceConstraint"] = reflect.TypeOf((*OvfHostResourceConstraint)(nil)).Elem()
- minAPIVersionForType["OvfHostResourceConstraint"] = "4.1"
}
type OvfHostResourceConstraintFault OvfHostResourceConstraint
@@ -59088,7 +58741,6 @@ type OvfImport struct {
func init() {
t["OvfImport"] = reflect.TypeOf((*OvfImport)(nil)).Elem()
- minAPIVersionForType["OvfImport"] = "4.0"
}
// This fault is used if we fail to deploy an OVF package.
@@ -59098,7 +58750,6 @@ type OvfImportFailed struct {
func init() {
t["OvfImportFailed"] = reflect.TypeOf((*OvfImportFailed)(nil)).Elem()
- minAPIVersionForType["OvfImportFailed"] = "4.1"
}
type OvfImportFailedFault OvfImportFailed
@@ -59120,7 +58771,6 @@ type OvfInternalError struct {
func init() {
t["OvfInternalError"] = reflect.TypeOf((*OvfInternalError)(nil)).Elem()
- minAPIVersionForType["OvfInternalError"] = "4.1"
}
type OvfInternalErrorFault OvfInternalError
@@ -59139,7 +58789,6 @@ type OvfInvalidPackage struct {
func init() {
t["OvfInvalidPackage"] = reflect.TypeOf((*OvfInvalidPackage)(nil)).Elem()
- minAPIVersionForType["OvfInvalidPackage"] = "4.0"
}
type OvfInvalidPackageFault BaseOvfInvalidPackage
@@ -59158,7 +58807,6 @@ type OvfInvalidValue struct {
func init() {
t["OvfInvalidValue"] = reflect.TypeOf((*OvfInvalidValue)(nil)).Elem()
- minAPIVersionForType["OvfInvalidValue"] = "4.0"
}
// If an malformed ovf:configuration attribute value is found in the
@@ -59169,7 +58817,6 @@ type OvfInvalidValueConfiguration struct {
func init() {
t["OvfInvalidValueConfiguration"] = reflect.TypeOf((*OvfInvalidValueConfiguration)(nil)).Elem()
- minAPIVersionForType["OvfInvalidValueConfiguration"] = "4.0"
}
type OvfInvalidValueConfigurationFault OvfInvalidValueConfiguration
@@ -59185,7 +58832,6 @@ type OvfInvalidValueEmpty struct {
func init() {
t["OvfInvalidValueEmpty"] = reflect.TypeOf((*OvfInvalidValueEmpty)(nil)).Elem()
- minAPIVersionForType["OvfInvalidValueEmpty"] = "4.0"
}
type OvfInvalidValueEmptyFault OvfInvalidValueEmpty
@@ -59208,7 +58854,6 @@ type OvfInvalidValueFormatMalformed struct {
func init() {
t["OvfInvalidValueFormatMalformed"] = reflect.TypeOf((*OvfInvalidValueFormatMalformed)(nil)).Elem()
- minAPIVersionForType["OvfInvalidValueFormatMalformed"] = "4.0"
}
type OvfInvalidValueFormatMalformedFault OvfInvalidValueFormatMalformed
@@ -59225,7 +58870,6 @@ type OvfInvalidValueReference struct {
func init() {
t["OvfInvalidValueReference"] = reflect.TypeOf((*OvfInvalidValueReference)(nil)).Elem()
- minAPIVersionForType["OvfInvalidValueReference"] = "4.0"
}
type OvfInvalidValueReferenceFault OvfInvalidValueReference
@@ -59244,7 +58888,6 @@ type OvfInvalidVmName struct {
func init() {
t["OvfInvalidVmName"] = reflect.TypeOf((*OvfInvalidVmName)(nil)).Elem()
- minAPIVersionForType["OvfInvalidVmName"] = "4.0"
}
type OvfInvalidVmNameFault OvfInvalidVmName
@@ -59288,12 +58931,11 @@ type OvfManagerCommonParams struct {
//
// To get a list of supported keywords see `OvfManager.ovfImportOption`. Unknown
// options will be ignored by the server.
- ImportOption []string `xml:"importOption,omitempty" json:"importOption,omitempty" vim:"5.1"`
+ ImportOption []string `xml:"importOption,omitempty" json:"importOption,omitempty"`
}
func init() {
t["OvfManagerCommonParams"] = reflect.TypeOf((*OvfManagerCommonParams)(nil)).Elem()
- minAPIVersionForType["OvfManagerCommonParams"] = "4.0"
}
type OvfMappedOsId struct {
@@ -59324,7 +58966,6 @@ type OvfMissingAttribute struct {
func init() {
t["OvfMissingAttribute"] = reflect.TypeOf((*OvfMissingAttribute)(nil)).Elem()
- minAPIVersionForType["OvfMissingAttribute"] = "4.0"
}
type OvfMissingAttributeFault OvfMissingAttribute
@@ -59340,7 +58981,6 @@ type OvfMissingElement struct {
func init() {
t["OvfMissingElement"] = reflect.TypeOf((*OvfMissingElement)(nil)).Elem()
- minAPIVersionForType["OvfMissingElement"] = "4.0"
}
type OvfMissingElementFault BaseOvfMissingElement
@@ -59359,7 +58999,6 @@ type OvfMissingElementNormalBoundary struct {
func init() {
t["OvfMissingElementNormalBoundary"] = reflect.TypeOf((*OvfMissingElementNormalBoundary)(nil)).Elem()
- minAPIVersionForType["OvfMissingElementNormalBoundary"] = "4.0"
}
type OvfMissingElementNormalBoundaryFault OvfMissingElementNormalBoundary
@@ -59381,7 +59020,6 @@ type OvfMissingHardware struct {
func init() {
t["OvfMissingHardware"] = reflect.TypeOf((*OvfMissingHardware)(nil)).Elem()
- minAPIVersionForType["OvfMissingHardware"] = "4.0"
}
type OvfMissingHardwareFault OvfMissingHardware
@@ -59400,7 +59038,6 @@ type OvfNetworkInfo struct {
func init() {
t["OvfNetworkInfo"] = reflect.TypeOf((*OvfNetworkInfo)(nil)).Elem()
- minAPIVersionForType["OvfNetworkInfo"] = "4.0"
}
// A NetworkMapping is a choice made by the caller about which VI network to use for a
@@ -59408,13 +59045,13 @@ func init() {
type OvfNetworkMapping struct {
DynamicData
- Name string `xml:"name" json:"name"`
+ Name string `xml:"name" json:"name"`
+ // Refers instance of `Network`.
Network ManagedObjectReference `xml:"network" json:"network"`
}
func init() {
t["OvfNetworkMapping"] = reflect.TypeOf((*OvfNetworkMapping)(nil)).Elem()
- minAPIVersionForType["OvfNetworkMapping"] = "4.0"
}
// The network mapping provided for OVF Import
@@ -59425,7 +59062,6 @@ type OvfNetworkMappingNotSupported struct {
func init() {
t["OvfNetworkMappingNotSupported"] = reflect.TypeOf((*OvfNetworkMappingNotSupported)(nil)).Elem()
- minAPIVersionForType["OvfNetworkMappingNotSupported"] = "5.1"
}
type OvfNetworkMappingNotSupportedFault OvfNetworkMappingNotSupported
@@ -59441,7 +59077,6 @@ type OvfNoHostNic struct {
func init() {
t["OvfNoHostNic"] = reflect.TypeOf((*OvfNoHostNic)(nil)).Elem()
- minAPIVersionForType["OvfNoHostNic"] = "4.0"
}
type OvfNoHostNicFault OvfNoHostNic
@@ -59461,7 +59096,6 @@ type OvfNoSpaceOnController struct {
func init() {
t["OvfNoSpaceOnController"] = reflect.TypeOf((*OvfNoSpaceOnController)(nil)).Elem()
- minAPIVersionForType["OvfNoSpaceOnController"] = "5.0"
}
type OvfNoSpaceOnControllerFault OvfNoSpaceOnController
@@ -59500,7 +59134,6 @@ type OvfOptionInfo struct {
func init() {
t["OvfOptionInfo"] = reflect.TypeOf((*OvfOptionInfo)(nil)).Elem()
- minAPIVersionForType["OvfOptionInfo"] = "5.1"
}
type OvfParseDescriptorParams struct {
@@ -59571,12 +59204,12 @@ type OvfParseDescriptorResult struct {
// entity with id = "vm1", would simply be "vm1". If the vm is
// the child of a VirtualSystemCollection called "webTier", then
// the path would be "webTier/vm".
- EntityName []KeyValue `xml:"entityName,omitempty" json:"entityName,omitempty" vim:"4.1"`
+ EntityName []KeyValue `xml:"entityName,omitempty" json:"entityName,omitempty"`
// The annotated OST for the OVF descriptor, generated by OVF
// consumers.
//
// See `OvfConsumer` for details.
- AnnotatedOst *OvfConsumerOstNode `xml:"annotatedOst,omitempty" json:"annotatedOst,omitempty" vim:"5.0"`
+ AnnotatedOst *OvfConsumerOstNode `xml:"annotatedOst,omitempty" json:"annotatedOst,omitempty"`
// Errors that happened during processing.
//
// Something
@@ -59610,7 +59243,6 @@ type OvfProperty struct {
func init() {
t["OvfProperty"] = reflect.TypeOf((*OvfProperty)(nil)).Elem()
- minAPIVersionForType["OvfProperty"] = "4.0"
}
// VIM property type that can not be converted to OVF
@@ -59625,7 +59257,6 @@ type OvfPropertyExport struct {
func init() {
t["OvfPropertyExport"] = reflect.TypeOf((*OvfPropertyExport)(nil)).Elem()
- minAPIVersionForType["OvfPropertyExport"] = "4.0"
}
type OvfPropertyExportFault OvfPropertyExport
@@ -59647,7 +59278,6 @@ type OvfPropertyNetwork struct {
func init() {
t["OvfPropertyNetwork"] = reflect.TypeOf((*OvfPropertyNetwork)(nil)).Elem()
- minAPIVersionForType["OvfPropertyNetwork"] = "4.0"
}
// VIM property type that refers to a network that
@@ -59662,7 +59292,6 @@ type OvfPropertyNetworkExport struct {
func init() {
t["OvfPropertyNetworkExport"] = reflect.TypeOf((*OvfPropertyNetworkExport)(nil)).Elem()
- minAPIVersionForType["OvfPropertyNetworkExport"] = "5.0"
}
type OvfPropertyNetworkExportFault OvfPropertyNetworkExport
@@ -59687,7 +59316,6 @@ type OvfPropertyQualifier struct {
func init() {
t["OvfPropertyQualifier"] = reflect.TypeOf((*OvfPropertyQualifier)(nil)).Elem()
- minAPIVersionForType["OvfPropertyQualifier"] = "4.0"
}
// Indicate that a property qualifier was duplicated.
@@ -59700,7 +59328,6 @@ type OvfPropertyQualifierDuplicate struct {
func init() {
t["OvfPropertyQualifierDuplicate"] = reflect.TypeOf((*OvfPropertyQualifierDuplicate)(nil)).Elem()
- minAPIVersionForType["OvfPropertyQualifierDuplicate"] = "4.0"
}
type OvfPropertyQualifierDuplicateFault OvfPropertyQualifierDuplicate
@@ -59725,7 +59352,6 @@ type OvfPropertyQualifierIgnored struct {
func init() {
t["OvfPropertyQualifierIgnored"] = reflect.TypeOf((*OvfPropertyQualifierIgnored)(nil)).Elem()
- minAPIVersionForType["OvfPropertyQualifierIgnored"] = "4.0"
}
type OvfPropertyQualifierIgnoredFault OvfPropertyQualifierIgnored
@@ -59741,7 +59367,6 @@ type OvfPropertyType struct {
func init() {
t["OvfPropertyType"] = reflect.TypeOf((*OvfPropertyType)(nil)).Elem()
- minAPIVersionForType["OvfPropertyType"] = "4.0"
}
type OvfPropertyTypeFault OvfPropertyType
@@ -59757,7 +59382,6 @@ type OvfPropertyValue struct {
func init() {
t["OvfPropertyValue"] = reflect.TypeOf((*OvfPropertyValue)(nil)).Elem()
- minAPIVersionForType["OvfPropertyValue"] = "4.0"
}
type OvfPropertyValueFault OvfPropertyValue
@@ -59810,7 +59434,6 @@ type OvfResourceMap struct {
func init() {
t["OvfResourceMap"] = reflect.TypeOf((*OvfResourceMap)(nil)).Elem()
- minAPIVersionForType["OvfResourceMap"] = "4.1"
}
// A common base class to host all the OVF subsystems's system faults.
@@ -59824,7 +59447,6 @@ type OvfSystemFault struct {
func init() {
t["OvfSystemFault"] = reflect.TypeOf((*OvfSystemFault)(nil)).Elem()
- minAPIVersionForType["OvfSystemFault"] = "4.0"
}
type OvfSystemFaultFault BaseOvfSystemFault
@@ -59843,7 +59465,6 @@ type OvfToXmlUnsupportedElement struct {
func init() {
t["OvfToXmlUnsupportedElement"] = reflect.TypeOf((*OvfToXmlUnsupportedElement)(nil)).Elem()
- minAPIVersionForType["OvfToXmlUnsupportedElement"] = "4.0"
}
type OvfToXmlUnsupportedElementFault OvfToXmlUnsupportedElement
@@ -59876,7 +59497,6 @@ type OvfUnexpectedElement struct {
func init() {
t["OvfUnexpectedElement"] = reflect.TypeOf((*OvfUnexpectedElement)(nil)).Elem()
- minAPIVersionForType["OvfUnexpectedElement"] = "4.0"
}
type OvfUnexpectedElementFault OvfUnexpectedElement
@@ -59950,7 +59570,6 @@ type OvfUnsupportedAttribute struct {
func init() {
t["OvfUnsupportedAttribute"] = reflect.TypeOf((*OvfUnsupportedAttribute)(nil)).Elem()
- minAPIVersionForType["OvfUnsupportedAttribute"] = "4.0"
}
type OvfUnsupportedAttributeFault BaseOvfUnsupportedAttribute
@@ -59969,7 +59588,6 @@ type OvfUnsupportedAttributeValue struct {
func init() {
t["OvfUnsupportedAttributeValue"] = reflect.TypeOf((*OvfUnsupportedAttributeValue)(nil)).Elem()
- minAPIVersionForType["OvfUnsupportedAttributeValue"] = "4.0"
}
type OvfUnsupportedAttributeValueFault OvfUnsupportedAttributeValue
@@ -60050,7 +59668,6 @@ type OvfUnsupportedDiskProvisioning struct {
func init() {
t["OvfUnsupportedDiskProvisioning"] = reflect.TypeOf((*OvfUnsupportedDiskProvisioning)(nil)).Elem()
- minAPIVersionForType["OvfUnsupportedDiskProvisioning"] = "4.1"
}
type OvfUnsupportedDiskProvisioningFault OvfUnsupportedDiskProvisioning
@@ -60069,7 +59686,6 @@ type OvfUnsupportedElement struct {
func init() {
t["OvfUnsupportedElement"] = reflect.TypeOf((*OvfUnsupportedElement)(nil)).Elem()
- minAPIVersionForType["OvfUnsupportedElement"] = "4.0"
}
type OvfUnsupportedElementFault BaseOvfUnsupportedElement
@@ -60089,7 +59705,6 @@ type OvfUnsupportedElementValue struct {
func init() {
t["OvfUnsupportedElementValue"] = reflect.TypeOf((*OvfUnsupportedElementValue)(nil)).Elem()
- minAPIVersionForType["OvfUnsupportedElementValue"] = "4.0"
}
type OvfUnsupportedElementValueFault OvfUnsupportedElementValue
@@ -60108,7 +59723,6 @@ type OvfUnsupportedPackage struct {
func init() {
t["OvfUnsupportedPackage"] = reflect.TypeOf((*OvfUnsupportedPackage)(nil)).Elem()
- minAPIVersionForType["OvfUnsupportedPackage"] = "4.0"
}
type OvfUnsupportedPackageFault BaseOvfUnsupportedPackage
@@ -60127,7 +59741,6 @@ type OvfUnsupportedSection struct {
func init() {
t["OvfUnsupportedSection"] = reflect.TypeOf((*OvfUnsupportedSection)(nil)).Elem()
- minAPIVersionForType["OvfUnsupportedSection"] = "4.0"
}
type OvfUnsupportedSectionFault OvfUnsupportedSection
@@ -60208,7 +59821,7 @@ type OvfValidateHostResult struct {
// Non-fatal warnings from the validation.
Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
// An array of the disk provisioning type supported by the target host system.
- SupportedDiskProvisioning []string `xml:"supportedDiskProvisioning,omitempty" json:"supportedDiskProvisioning,omitempty" vim:"4.1"`
+ SupportedDiskProvisioning []string `xml:"supportedDiskProvisioning,omitempty" json:"supportedDiskProvisioning,omitempty"`
}
func init() {
@@ -60222,7 +59835,6 @@ type OvfWrongElement struct {
func init() {
t["OvfWrongElement"] = reflect.TypeOf((*OvfWrongElement)(nil)).Elem()
- minAPIVersionForType["OvfWrongElement"] = "4.0"
}
type OvfWrongElementFault OvfWrongElement
@@ -60242,7 +59854,6 @@ type OvfWrongNamespace struct {
func init() {
t["OvfWrongNamespace"] = reflect.TypeOf((*OvfWrongNamespace)(nil)).Elem()
- minAPIVersionForType["OvfWrongNamespace"] = "4.0"
}
type OvfWrongNamespaceFault OvfWrongNamespace
@@ -60263,7 +59874,6 @@ type OvfXmlFormat struct {
func init() {
t["OvfXmlFormat"] = reflect.TypeOf((*OvfXmlFormat)(nil)).Elem()
- minAPIVersionForType["OvfXmlFormat"] = "4.0"
}
type OvfXmlFormatFault OvfXmlFormat
@@ -60290,7 +59900,6 @@ type ParaVirtualSCSIController struct {
func init() {
t["ParaVirtualSCSIController"] = reflect.TypeOf((*ParaVirtualSCSIController)(nil)).Elem()
- minAPIVersionForType["ParaVirtualSCSIController"] = "2.5 U2"
}
// ParaVirtualSCSIControllerOption is the data object that contains
@@ -60301,7 +59910,6 @@ type ParaVirtualSCSIControllerOption struct {
func init() {
t["ParaVirtualSCSIControllerOption"] = reflect.TypeOf((*ParaVirtualSCSIControllerOption)(nil)).Elem()
- minAPIVersionForType["ParaVirtualSCSIControllerOption"] = "2.5 U2"
}
type ParseDescriptor ParseDescriptorRequestType
@@ -60343,7 +59951,6 @@ type PassiveNodeDeploymentSpec struct {
func init() {
t["PassiveNodeDeploymentSpec"] = reflect.TypeOf((*PassiveNodeDeploymentSpec)(nil)).Elem()
- minAPIVersionForType["PassiveNodeDeploymentSpec"] = "6.5"
}
// The PassiveNodeNetworkSpec class defines VCHA Failover and Cluster
@@ -60361,7 +59968,6 @@ type PassiveNodeNetworkSpec struct {
func init() {
t["PassiveNodeNetworkSpec"] = reflect.TypeOf((*PassiveNodeNetworkSpec)(nil)).Elem()
- minAPIVersionForType["PassiveNodeNetworkSpec"] = "6.5"
}
// Thrown when a server login fails due to expired user password.
@@ -60371,7 +59977,6 @@ type PasswordExpired struct {
func init() {
t["PasswordExpired"] = reflect.TypeOf((*PasswordExpired)(nil)).Elem()
- minAPIVersionForType["PasswordExpired"] = "6.7.2"
}
type PasswordExpiredFault PasswordExpired
@@ -60391,7 +59996,6 @@ type PasswordField struct {
func init() {
t["PasswordField"] = reflect.TypeOf((*PasswordField)(nil)).Elem()
- minAPIVersionForType["PasswordField"] = "4.0"
}
// This fault is thrown if a patch install fails because the patch
@@ -60675,7 +60279,7 @@ type PerfCounterInfo struct {
// performance data that is typically useful to administrators and
// developers alike. The specific level of each counter is documented in
// the respective counter-documentation pages, by group. See `PerformanceManager` for links to the counter group pages.
- Level int32 `xml:"level,omitempty" json:"level,omitempty" vim:"2.5"`
+ Level int32 `xml:"level,omitempty" json:"level,omitempty"`
// Minimum level at which the per device metrics of this type will be
// collected by vCenter Server.
//
@@ -60685,7 +60289,7 @@ type PerfCounterInfo struct {
// counter is collected at a certain level, the aggregate metric is also
// calculated at that level, i.e., perDeviceLevel is greater than or
// equal to level.
- PerDeviceLevel int32 `xml:"perDeviceLevel,omitempty" json:"perDeviceLevel,omitempty" vim:"4.1"`
+ PerDeviceLevel int32 `xml:"perDeviceLevel,omitempty" json:"perDeviceLevel,omitempty"`
// Deprecated as of VI API 2.5, this property is not used.
//
// The counter IDs associated with the same performance counter name for
@@ -60865,7 +60469,7 @@ type PerfInterval struct {
DynamicData
// A unique identifier for the interval.
- Key int32 `xml:"key" json:"key" vim:"2.5"`
+ Key int32 `xml:"key" json:"key"`
// Number of seconds that data is sampled for this interval.
//
// The real-time
@@ -60875,10 +60479,10 @@ type PerfInterval struct {
//
// A localized string that provides a
// name for the interval. Names include:
- // - "Past Day"
- // - "Past Week"
- // - "Past Month"
- // - "Past Year"
+ // - "Past Day"
+ // - "Past Week"
+ // - "Past Month"
+ // - "Past Year"
//
// The name is not meaningful in terms of system behavior. That is, the
// interval named Past Week works as it does because of its
@@ -60894,7 +60498,7 @@ type PerfInterval struct {
// property for this historical interval. For ESX, the value of this
// property is null. For vCenter Server, the value will be a number from 1
// to 4.
- Level int32 `xml:"level,omitempty" json:"level,omitempty" vim:"2.5"`
+ Level int32 `xml:"level,omitempty" json:"level,omitempty"`
// Indicates whether the interval is enabled (true) or disabled (false).
//
// Disabling a historical interval prevents vCenter Server from collecting
@@ -60903,7 +60507,7 @@ type PerfInterval struct {
// For example, disabling the "Past Month" interval disables both "Past
// Month" and "Past Year" intervals. The system will aggregate and retain
// performance data using the "Past Day" and "Past Week" intervals only.
- Enabled bool `xml:"enabled" json:"enabled" vim:"2.5"`
+ Enabled bool `xml:"enabled" json:"enabled"`
}
func init() {
@@ -60930,19 +60534,19 @@ type PerfMetricId struct {
//
// It identifies the instance of the metric
// with its source. This property may be empty.
- // - For memory and aggregated statistics, this property is empty.
- // - For host and virtual machine devices, this property contains the
- // name of the device, such as the name of the host-bus adapter or
- // the name of the virtual Ethernet adapter. For example,
- // mpx.vmhba33:C0:T0:L0 or
- // vmnic0:
- // - For a CPU, this property identifies the numeric position within
- // the CPU core, such as 0, 1, 2, 3.
- // - For a virtual disk, this property identifies the file type:
- // - DISKFILE, for virtual machine base-disk files
- // - SWAPFILE, for virtual machine swap files
- // - DELTAFILE, for virtual machine snapshot overhead files
- // - OTHERFILE, for all other files of a virtual machine
+ // - For memory and aggregated statistics, this property is empty.
+ // - For host and virtual machine devices, this property contains the
+ // name of the device, such as the name of the host-bus adapter or
+ // the name of the virtual Ethernet adapter. For example,
+ // mpx.vmhba33:C0:T0:L0 or
+ // vmnic0:
+ // - For a CPU, this property identifies the numeric position within
+ // the CPU core, such as 0, 1, 2, 3.
+ // - For a virtual disk, this property identifies the file type:
+ // - DISKFILE, for virtual machine base-disk files
+ // - SWAPFILE, for virtual machine swap files
+ // - DELTAFILE, for virtual machine snapshot overhead files
+ // - OTHERFILE, for all other files of a virtual machine
Instance string `xml:"instance" json:"instance"`
}
@@ -61091,8 +60695,8 @@ type PerfQuerySpec struct {
// one of the historical intervals for this property.
//
// See `PerfInterval` for more information.
- // - To obtain the greatest detail, use the providers `PerfProviderSummary.refreshRate` for this
- // property.
+ // - To obtain the greatest detail, use the providers `PerfProviderSummary.refreshRate` for this
+ // property.
IntervalId int32 `xml:"intervalId,omitempty" json:"intervalId,omitempty"`
// The format to be used while returning the statistics.
//
@@ -61269,7 +60873,6 @@ type PerformanceManagerCounterLevelMapping struct {
func init() {
t["PerformanceManagerCounterLevelMapping"] = reflect.TypeOf((*PerformanceManagerCounterLevelMapping)(nil)).Elem()
- minAPIVersionForType["PerformanceManagerCounterLevelMapping"] = "4.1"
}
// Data object to capture all information needed to
@@ -61287,7 +60890,6 @@ type PerformanceStatisticsDescription struct {
func init() {
t["PerformanceStatisticsDescription"] = reflect.TypeOf((*PerformanceStatisticsDescription)(nil)).Elem()
- minAPIVersionForType["PerformanceStatisticsDescription"] = "4.0"
}
// This data object type provides assignment of some role access to
@@ -61369,7 +60971,6 @@ type PermissionProfile struct {
func init() {
t["PermissionProfile"] = reflect.TypeOf((*PermissionProfile)(nil)).Elem()
- minAPIVersionForType["PermissionProfile"] = "4.1"
}
// This event records the removal of a permission.
@@ -61390,9 +60991,9 @@ type PermissionUpdatedEvent struct {
// Whether or not the permission applies to sub-entities.
Propagate bool `xml:"propagate" json:"propagate"`
// The previous associated role.
- PrevRole *RoleEventArgument `xml:"prevRole,omitempty" json:"prevRole,omitempty" vim:"6.5"`
+ PrevRole *RoleEventArgument `xml:"prevRole,omitempty" json:"prevRole,omitempty"`
// Previous propogate value.
- PrevPropagate *bool `xml:"prevPropagate" json:"prevPropagate,omitempty" vim:"6.5"`
+ PrevPropagate *bool `xml:"prevPropagate" json:"prevPropagate,omitempty"`
}
func init() {
@@ -61454,12 +61055,12 @@ type PhysicalNic struct {
// The specification of the physical network adapter.
Spec PhysicalNicSpec `xml:"spec" json:"spec"`
// Flag indicating whether the NIC is wake-on-LAN capable
- WakeOnLanSupported bool `xml:"wakeOnLanSupported" json:"wakeOnLanSupported" vim:"2.5"`
+ WakeOnLanSupported bool `xml:"wakeOnLanSupported" json:"wakeOnLanSupported"`
// The media access control (MAC) address of the physical
// network adapter.
- Mac string `xml:"mac" json:"mac" vim:"2.5"`
+ Mac string `xml:"mac" json:"mac"`
// The FCoE configuration of the physical network adapter.
- FcoeConfiguration *FcoeConfig `xml:"fcoeConfiguration,omitempty" json:"fcoeConfiguration,omitempty" vim:"5.0"`
+ FcoeConfiguration *FcoeConfig `xml:"fcoeConfiguration,omitempty" json:"fcoeConfiguration,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and
// there is no replacement.
//
@@ -61474,7 +61075,7 @@ type PhysicalNic struct {
// the NIC capability.
//
// See also `HostCapability.vmDirectPathGen2Supported`.
- VmDirectPathGen2Supported *bool `xml:"vmDirectPathGen2Supported" json:"vmDirectPathGen2Supported,omitempty" vim:"4.1"`
+ VmDirectPathGen2Supported *bool `xml:"vmDirectPathGen2Supported" json:"vmDirectPathGen2Supported,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and
// there is no replacement.
//
@@ -61484,28 +61085,28 @@ type PhysicalNic struct {
//
// A mode may require that the associated vSphere Distributed Switch have
// a particular ProductSpec in order for network passthrough to be possible.
- VmDirectPathGen2SupportedMode string `xml:"vmDirectPathGen2SupportedMode,omitempty" json:"vmDirectPathGen2SupportedMode,omitempty" vim:"4.1"`
+ VmDirectPathGen2SupportedMode string `xml:"vmDirectPathGen2SupportedMode,omitempty" json:"vmDirectPathGen2SupportedMode,omitempty"`
// Flag indicating whether the NIC allows resource pool based scheduling
// for network I/O control.
- ResourcePoolSchedulerAllowed *bool `xml:"resourcePoolSchedulerAllowed" json:"resourcePoolSchedulerAllowed,omitempty" vim:"4.1"`
+ ResourcePoolSchedulerAllowed *bool `xml:"resourcePoolSchedulerAllowed" json:"resourcePoolSchedulerAllowed,omitempty"`
// If `PhysicalNic.resourcePoolSchedulerAllowed` is false, this property
// advertises the reason for disallowing resource scheduling on
// this NIC.
//
// The reasons may be one of
// `PhysicalNicResourcePoolSchedulerDisallowedReason_enum`
- ResourcePoolSchedulerDisallowedReason []string `xml:"resourcePoolSchedulerDisallowedReason,omitempty" json:"resourcePoolSchedulerDisallowedReason,omitempty" vim:"4.1"`
+ ResourcePoolSchedulerDisallowedReason []string `xml:"resourcePoolSchedulerDisallowedReason,omitempty" json:"resourcePoolSchedulerDisallowedReason,omitempty"`
// If set the flag indicates if the physical network adapter supports
// autonegotiate.
- AutoNegotiateSupported *bool `xml:"autoNegotiateSupported" json:"autoNegotiateSupported,omitempty" vim:"4.1"`
+ AutoNegotiateSupported *bool `xml:"autoNegotiateSupported" json:"autoNegotiateSupported,omitempty"`
// If set the flag indicates whether a physical nic supports Enhanced
// Networking Stack driver
- EnhancedNetworkingStackSupported *bool `xml:"enhancedNetworkingStackSupported" json:"enhancedNetworkingStackSupported,omitempty" vim:"6.7"`
+ EnhancedNetworkingStackSupported *bool `xml:"enhancedNetworkingStackSupported" json:"enhancedNetworkingStackSupported,omitempty"`
// If set the flag indicates whether a physical nic supports Enhanced
// Networking Stack interrupt mode
- EnsInterruptSupported *bool `xml:"ensInterruptSupported" json:"ensInterruptSupported,omitempty" vim:"7.0"`
+ EnsInterruptSupported *bool `xml:"ensInterruptSupported" json:"ensInterruptSupported,omitempty"`
// Associated RDMA device, if any.
- RdmaDevice string `xml:"rdmaDevice,omitempty" json:"rdmaDevice,omitempty" vim:"7.0"`
+ RdmaDevice string `xml:"rdmaDevice,omitempty" json:"rdmaDevice,omitempty"`
// The identifier of the DPU by which the physical NIC is backed.
//
// When physical NIC is not backed by DPU, dpuId will be unset.
@@ -61550,7 +61151,6 @@ type PhysicalNicCdpDeviceCapability struct {
func init() {
t["PhysicalNicCdpDeviceCapability"] = reflect.TypeOf((*PhysicalNicCdpDeviceCapability)(nil)).Elem()
- minAPIVersionForType["PhysicalNicCdpDeviceCapability"] = "2.5"
}
// CDP (Cisco Discovery Protocol) is a link level protocol that allows
@@ -61645,7 +61245,6 @@ type PhysicalNicCdpInfo struct {
func init() {
t["PhysicalNicCdpInfo"] = reflect.TypeOf((*PhysicalNicCdpInfo)(nil)).Elem()
- minAPIVersionForType["PhysicalNicCdpInfo"] = "2.5"
}
// The configuration of the physical network adapter containing
@@ -61701,7 +61300,7 @@ type PhysicalNicHintInfo struct {
// CDP-awared device or CDP is not enabled on the device, this
// property will be unset.
// `PhysicalNicCdpInfo`
- ConnectedSwitchPort *PhysicalNicCdpInfo `xml:"connectedSwitchPort,omitempty" json:"connectedSwitchPort,omitempty" vim:"2.5"`
+ ConnectedSwitchPort *PhysicalNicCdpInfo `xml:"connectedSwitchPort,omitempty" json:"connectedSwitchPort,omitempty"`
// If the uplink directly connects to an LLDP-aware network device and
// the device's LLDP broadcast is enabled, this property will be set to
// return the LLDP information that is received on this physical network
@@ -61709,7 +61308,7 @@ type PhysicalNicHintInfo struct {
//
// If the uplink is not connecting to a LLDP-aware device or
// LLDP is not enabled on the device, this property will be unset.
- LldpInfo *LinkLayerDiscoveryProtocolInfo `xml:"lldpInfo,omitempty" json:"lldpInfo,omitempty" vim:"5.0"`
+ LldpInfo *LinkLayerDiscoveryProtocolInfo `xml:"lldpInfo,omitempty" json:"lldpInfo,omitempty"`
}
func init() {
@@ -61778,7 +61377,6 @@ type PhysicalNicProfile struct {
func init() {
t["PhysicalNicProfile"] = reflect.TypeOf((*PhysicalNicProfile)(nil)).Elem()
- minAPIVersionForType["PhysicalNicProfile"] = "4.0"
}
// This data object type describes the physical network adapter specification
@@ -61801,16 +61399,30 @@ type PhysicalNicSpec struct {
LinkSpeed *PhysicalNicLinkInfo `xml:"linkSpeed,omitempty" json:"linkSpeed,omitempty"`
// If set the flag indicates if the physical network adapter is
// configured for Enhanced Networking Stack
- EnableEnhancedNetworkingStack *bool `xml:"enableEnhancedNetworkingStack" json:"enableEnhancedNetworkingStack,omitempty" vim:"6.7"`
+ EnableEnhancedNetworkingStack *bool `xml:"enableEnhancedNetworkingStack" json:"enableEnhancedNetworkingStack,omitempty"`
// If set the flag indicates if the physical network adapter is
// configured for Enhanced Networking Stack interrupt mode
- EnsInterruptEnabled *bool `xml:"ensInterruptEnabled" json:"ensInterruptEnabled,omitempty" vim:"7.0"`
+ EnsInterruptEnabled *bool `xml:"ensInterruptEnabled" json:"ensInterruptEnabled,omitempty"`
}
func init() {
t["PhysicalNicSpec"] = reflect.TypeOf((*PhysicalNicSpec)(nil)).Elem()
}
+// Specifies SSL policy to trust a pinned SSL certificate.
+type PinnedCertificate struct {
+ IoFilterManagerSslTrust
+
+ // PEM-encoded pinned SSL certificate of the server that needs to be
+ // trusted.
+ SslCertificate string `xml:"sslCertificate" json:"sslCertificate"`
+}
+
+func init() {
+ t["PinnedCertificate"] = reflect.TypeOf((*PinnedCertificate)(nil)).Elem()
+ minAPIVersionForType["PinnedCertificate"] = "8.0.3.0"
+}
+
type PlaceVm PlaceVmRequestType
func init() {
@@ -61862,7 +61474,6 @@ type PlacementAction struct {
func init() {
t["PlacementAction"] = reflect.TypeOf((*PlacementAction)(nil)).Elem()
- minAPIVersionForType["PlacementAction"] = "6.0"
}
// The `PlacementAffinityRule` data object specifies
@@ -61891,7 +61502,6 @@ type PlacementAffinityRule struct {
func init() {
t["PlacementAffinityRule"] = reflect.TypeOf((*PlacementAffinityRule)(nil)).Elem()
- minAPIVersionForType["PlacementAffinityRule"] = "6.0"
}
// PlacementRankResult is the class of the result returned by
@@ -61925,7 +61535,6 @@ type PlacementRankResult struct {
func init() {
t["PlacementRankResult"] = reflect.TypeOf((*PlacementRankResult)(nil)).Elem()
- minAPIVersionForType["PlacementRankResult"] = "6.0"
}
// PlacementRankSpec encapsulates all of the inputs passed to
@@ -61947,7 +61556,6 @@ type PlacementRankSpec struct {
func init() {
t["PlacementRankSpec"] = reflect.TypeOf((*PlacementRankSpec)(nil)).Elem()
- minAPIVersionForType["PlacementRankSpec"] = "6.0"
}
// `ClusterComputeResource.PlaceVm` method can invoke DRS
@@ -61967,7 +61575,6 @@ type PlacementResult struct {
func init() {
t["PlacementResult"] = reflect.TypeOf((*PlacementResult)(nil)).Elem()
- minAPIVersionForType["PlacementResult"] = "6.0"
}
// PlacementSpec encapsulates all of the information passed to the
@@ -62084,7 +61691,6 @@ type PlacementSpec struct {
func init() {
t["PlacementSpec"] = reflect.TypeOf((*PlacementSpec)(nil)).Elem()
- minAPIVersionForType["PlacementSpec"] = "6.0"
}
// A PlatformConfigFault is a catch-all fault indicating that some error has
@@ -62128,7 +61734,6 @@ type PnicUplinkProfile struct {
func init() {
t["PnicUplinkProfile"] = reflect.TypeOf((*PnicUplinkProfile)(nil)).Elem()
- minAPIVersionForType["PnicUplinkProfile"] = "4.0"
}
// The disk locator class.
@@ -62149,12 +61754,11 @@ type PodDiskLocator struct {
// interact with it.
// This is an optional parameter and if user doesn't specify profile,
// the default behavior will apply.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.5"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
}
func init() {
t["PodDiskLocator"] = reflect.TypeOf((*PodDiskLocator)(nil)).Elem()
- minAPIVersionForType["PodDiskLocator"] = "5.0"
}
// An entry containing storage DRS configuration, runtime
@@ -62183,7 +61787,6 @@ type PodStorageDrsEntry struct {
func init() {
t["PodStorageDrsEntry"] = reflect.TypeOf((*PodStorageDrsEntry)(nil)).Elem()
- minAPIVersionForType["PodStorageDrsEntry"] = "5.0"
}
// The `PolicyOption` data object represents one or more configuration
@@ -62211,7 +61814,6 @@ type PolicyOption struct {
func init() {
t["PolicyOption"] = reflect.TypeOf((*PolicyOption)(nil)).Elem()
- minAPIVersionForType["PolicyOption"] = "4.0"
}
// `PortGroupProfile` is the base class for the different port group
@@ -62233,7 +61835,6 @@ type PortGroupProfile struct {
func init() {
t["PortGroupProfile"] = reflect.TypeOf((*PortGroupProfile)(nil)).Elem()
- minAPIVersionForType["PortGroupProfile"] = "4.0"
}
// Searching for users and groups on POSIX systems provides
@@ -62405,7 +62006,6 @@ type PowerOnFtSecondaryFailed struct {
func init() {
t["PowerOnFtSecondaryFailed"] = reflect.TypeOf((*PowerOnFtSecondaryFailed)(nil)).Elem()
- minAPIVersionForType["PowerOnFtSecondaryFailed"] = "4.0"
}
type PowerOnFtSecondaryFailedFault PowerOnFtSecondaryFailed
@@ -62434,7 +62034,6 @@ type PowerOnFtSecondaryTimedout struct {
func init() {
t["PowerOnFtSecondaryTimedout"] = reflect.TypeOf((*PowerOnFtSecondaryTimedout)(nil)).Elem()
- minAPIVersionForType["PowerOnFtSecondaryTimedout"] = "4.0"
}
type PowerOnFtSecondaryTimedoutFault PowerOnFtSecondaryTimedout
@@ -62456,7 +62055,7 @@ type PowerOnMultiVMRequestType struct {
// for this power-on session. The names and values of the
// options are defined in
// `ClusterPowerOnVmOption_enum`.
- Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty" vim:"4.1"`
+ Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty"`
}
func init() {
@@ -62530,7 +62129,6 @@ type PowerSystemCapability struct {
func init() {
t["PowerSystemCapability"] = reflect.TypeOf((*PowerSystemCapability)(nil)).Elem()
- minAPIVersionForType["PowerSystemCapability"] = "4.1"
}
// Power System Info data object.
@@ -62548,7 +62146,6 @@ type PowerSystemInfo struct {
func init() {
t["PowerSystemInfo"] = reflect.TypeOf((*PowerSystemInfo)(nil)).Elem()
- minAPIVersionForType["PowerSystemInfo"] = "4.1"
}
// The parameters of `HostSystem.PowerUpHostFromStandBy_Task`.
@@ -62604,7 +62201,6 @@ type PrivilegeAvailability struct {
func init() {
t["PrivilegeAvailability"] = reflect.TypeOf((*PrivilegeAvailability)(nil)).Elem()
- minAPIVersionForType["PrivilegeAvailability"] = "5.5"
}
// Describes a basic privilege policy.
@@ -62623,7 +62219,6 @@ type PrivilegePolicyDef struct {
func init() {
t["PrivilegePolicyDef"] = reflect.TypeOf((*PrivilegePolicyDef)(nil)).Elem()
- minAPIVersionForType["PrivilegePolicyDef"] = "2.5"
}
// ProductComponentInfo data object type describes installed components.
@@ -62652,7 +62247,6 @@ type ProductComponentInfo struct {
func init() {
t["ProductComponentInfo"] = reflect.TypeOf((*ProductComponentInfo)(nil)).Elem()
- minAPIVersionForType["ProductComponentInfo"] = "2.5"
}
// DataObject which represents an ApplyProfile element.
@@ -62670,7 +62264,6 @@ type ProfileApplyProfileElement struct {
func init() {
t["ProfileApplyProfileElement"] = reflect.TypeOf((*ProfileApplyProfileElement)(nil)).Elem()
- minAPIVersionForType["ProfileApplyProfileElement"] = "5.0"
}
// The `ProfileApplyProfileProperty` data object defines one or more subprofiles.
@@ -62687,7 +62280,6 @@ type ProfileApplyProfileProperty struct {
func init() {
t["ProfileApplyProfileProperty"] = reflect.TypeOf((*ProfileApplyProfileProperty)(nil)).Elem()
- minAPIVersionForType["ProfileApplyProfileProperty"] = "5.0"
}
// This event records that a Profile was associated with a managed entitiy.
@@ -62697,7 +62289,6 @@ type ProfileAssociatedEvent struct {
func init() {
t["ProfileAssociatedEvent"] = reflect.TypeOf((*ProfileAssociatedEvent)(nil)).Elem()
- minAPIVersionForType["ProfileAssociatedEvent"] = "4.0"
}
// This event records that the profile has beed edited
@@ -62707,7 +62298,6 @@ type ProfileChangedEvent struct {
func init() {
t["ProfileChangedEvent"] = reflect.TypeOf((*ProfileChangedEvent)(nil)).Elem()
- minAPIVersionForType["ProfileChangedEvent"] = "4.0"
}
// DataObject to Compose expressions.
@@ -62734,7 +62324,6 @@ type ProfileCompositeExpression struct {
func init() {
t["ProfileCompositeExpression"] = reflect.TypeOf((*ProfileCompositeExpression)(nil)).Elem()
- minAPIVersionForType["ProfileCompositeExpression"] = "4.0"
}
// The `ProfileCompositePolicyOptionMetadata` data object represents the metadata information
@@ -62758,7 +62347,6 @@ type ProfileCompositePolicyOptionMetadata struct {
func init() {
t["ProfileCompositePolicyOptionMetadata"] = reflect.TypeOf((*ProfileCompositePolicyOptionMetadata)(nil)).Elem()
- minAPIVersionForType["ProfileCompositePolicyOptionMetadata"] = "4.0"
}
type ProfileConfigInfo struct {
@@ -62790,7 +62378,6 @@ type ProfileCreateSpec struct {
func init() {
t["ProfileCreateSpec"] = reflect.TypeOf((*ProfileCreateSpec)(nil)).Elem()
- minAPIVersionForType["ProfileCreateSpec"] = "4.0"
}
// This event records that a Profile was created.
@@ -62800,7 +62387,6 @@ type ProfileCreatedEvent struct {
func init() {
t["ProfileCreatedEvent"] = reflect.TypeOf((*ProfileCreatedEvent)(nil)).Elem()
- minAPIVersionForType["ProfileCreatedEvent"] = "4.0"
}
// The `ProfileDeferredPolicyOptionParameter` data object contains
@@ -62828,7 +62414,6 @@ type ProfileDeferredPolicyOptionParameter struct {
func init() {
t["ProfileDeferredPolicyOptionParameter"] = reflect.TypeOf((*ProfileDeferredPolicyOptionParameter)(nil)).Elem()
- minAPIVersionForType["ProfileDeferredPolicyOptionParameter"] = "4.0"
}
// The `ProfileDescription` data object describes a profile.
@@ -62844,7 +62429,6 @@ type ProfileDescription struct {
func init() {
t["ProfileDescription"] = reflect.TypeOf((*ProfileDescription)(nil)).Elem()
- minAPIVersionForType["ProfileDescription"] = "4.0"
}
// The `ProfileDescriptionSection` data object
@@ -62861,7 +62445,6 @@ type ProfileDescriptionSection struct {
func init() {
t["ProfileDescriptionSection"] = reflect.TypeOf((*ProfileDescriptionSection)(nil)).Elem()
- minAPIVersionForType["ProfileDescriptionSection"] = "4.0"
}
// This event records that a Profile was dissociated from a managed entity
@@ -62871,7 +62454,6 @@ type ProfileDissociatedEvent struct {
func init() {
t["ProfileDissociatedEvent"] = reflect.TypeOf((*ProfileDissociatedEvent)(nil)).Elem()
- minAPIVersionForType["ProfileDissociatedEvent"] = "4.0"
}
// This event records a Profile specific event.
@@ -62884,20 +62466,19 @@ type ProfileEvent struct {
func init() {
t["ProfileEvent"] = reflect.TypeOf((*ProfileEvent)(nil)).Elem()
- minAPIVersionForType["ProfileEvent"] = "4.0"
}
// The event argument is a Profile object
type ProfileEventArgument struct {
EventArgument
+ // Refers instance of `Profile`.
Profile ManagedObjectReference `xml:"profile" json:"profile"`
Name string `xml:"name" json:"name"`
}
func init() {
t["ProfileEventArgument"] = reflect.TypeOf((*ProfileEventArgument)(nil)).Elem()
- minAPIVersionForType["ProfileEventArgument"] = "4.0"
}
// The `ProfileExecuteError` data object
@@ -62913,7 +62494,6 @@ type ProfileExecuteError struct {
func init() {
t["ProfileExecuteError"] = reflect.TypeOf((*ProfileExecuteError)(nil)).Elem()
- minAPIVersionForType["ProfileExecuteError"] = "4.0"
}
// The `ProfileExecuteResult` data object contains the results from a
@@ -62972,10 +62552,10 @@ type ProfileExecuteResult struct {
// When `HostProfile.ExecuteHostProfile` returns a success status,
// the requireInput
list contains the complete list of parameters,
// consisting of the following data:
- // - Deferred parameter values resolved through successive calls to
- // `HostProfile.ExecuteHostProfile`.
- // - Default parameter values from the host configuration.
- // - User-specified values that override the defaults.
+ // - Deferred parameter values resolved through successive calls to
+ // `HostProfile.ExecuteHostProfile`.
+ // - Default parameter values from the host configuration.
+ // - User-specified values that override the defaults.
//
// You can specify the returned requireInput
list in the
// userInput
parameter to the
@@ -62991,7 +62571,6 @@ type ProfileExecuteResult struct {
func init() {
t["ProfileExecuteResult"] = reflect.TypeOf((*ProfileExecuteResult)(nil)).Elem()
- minAPIVersionForType["ProfileExecuteResult"] = "4.0"
}
type ProfileExpression struct {
@@ -63027,7 +62606,6 @@ type ProfileExpressionMetadata struct {
func init() {
t["ProfileExpressionMetadata"] = reflect.TypeOf((*ProfileExpressionMetadata)(nil)).Elem()
- minAPIVersionForType["ProfileExpressionMetadata"] = "4.0"
}
// This data object represents the metadata information of a Profile.
@@ -63037,7 +62615,7 @@ type ProfileMetadata struct {
// Type of the Profile
Key string `xml:"key" json:"key"`
// Type identifier for the ApplyProfile
- ProfileTypeName string `xml:"profileTypeName,omitempty" json:"profileTypeName,omitempty" vim:"5.0"`
+ ProfileTypeName string `xml:"profileTypeName,omitempty" json:"profileTypeName,omitempty"`
// Property which describes the profile
Description *ExtendedDescription `xml:"description,omitempty" json:"description,omitempty"`
// Property that determines a sorting order for display purposes.
@@ -63046,14 +62624,14 @@ type ProfileMetadata struct {
// the list contains more than one sort spec, then the precedence should
// be determined by the list order (i.e. sort first by the first spec in
// the list, then sort by the second spec in the list, etc).
- SortSpec []ProfileMetadataProfileSortSpec `xml:"sortSpec,omitempty" json:"sortSpec,omitempty" vim:"5.0"`
+ SortSpec []ProfileMetadataProfileSortSpec `xml:"sortSpec,omitempty" json:"sortSpec,omitempty"`
// Identifies the profile category that this subprofile is a part of.
//
// The
// value of this string should correspond to the key value of a
// `ProfileCategoryMetadata` object's `ElementDescription.key`
// in its `ProfileCategoryMetadata.id` property.
- ProfileCategory string `xml:"profileCategory,omitempty" json:"profileCategory,omitempty" vim:"5.1"`
+ ProfileCategory string `xml:"profileCategory,omitempty" json:"profileCategory,omitempty"`
// Property indicating that the subprofile described by this
// ProfileMetadata
object is declared in the
// `ProfileComponentMetadata.profileTypeNames` of the specified
@@ -63066,14 +62644,13 @@ type ProfileMetadata struct {
// This property should not be present for subprofiles that are not directly
// declared in the `ProfileComponentMetadata.profileTypeNames`
// property of a `ProfileComponentMetadata` object.
- ProfileComponent string `xml:"profileComponent,omitempty" json:"profileComponent,omitempty" vim:"5.1"`
+ ProfileComponent string `xml:"profileComponent,omitempty" json:"profileComponent,omitempty"`
// A list of ProfileOperationMessage
for this profile.
- OperationMessages []ProfileMetadataProfileOperationMessage `xml:"operationMessages,omitempty" json:"operationMessages,omitempty" vim:"6.7"`
+ OperationMessages []ProfileMetadataProfileOperationMessage `xml:"operationMessages,omitempty" json:"operationMessages,omitempty"`
}
func init() {
t["ProfileMetadata"] = reflect.TypeOf((*ProfileMetadata)(nil)).Elem()
- minAPIVersionForType["ProfileMetadata"] = "4.0"
}
// Some operations on host profile documents may cause unexpected result.
@@ -63093,7 +62670,6 @@ type ProfileMetadataProfileOperationMessage struct {
func init() {
t["ProfileMetadataProfileOperationMessage"] = reflect.TypeOf((*ProfileMetadataProfileOperationMessage)(nil)).Elem()
- minAPIVersionForType["ProfileMetadataProfileOperationMessage"] = "6.7"
}
type ProfileMetadataProfileSortSpec struct {
@@ -63127,18 +62703,17 @@ type ProfileParameterMetadata struct {
// Default value that can be used for the parameter.
DefaultValue AnyType `xml:"defaultValue,omitempty,typeattr" json:"defaultValue,omitempty"`
// Whether the parameter will not be displayed in UI.
- Hidden *bool `xml:"hidden" json:"hidden,omitempty" vim:"6.5"`
+ Hidden *bool `xml:"hidden" json:"hidden,omitempty"`
// Whether the parameter is security sensitive.
- SecuritySensitive *bool `xml:"securitySensitive" json:"securitySensitive,omitempty" vim:"6.5"`
+ SecuritySensitive *bool `xml:"securitySensitive" json:"securitySensitive,omitempty"`
// Indicates that the parameter value is read-only.
- ReadOnly *bool `xml:"readOnly" json:"readOnly,omitempty" vim:"6.5"`
+ ReadOnly *bool `xml:"readOnly" json:"readOnly,omitempty"`
// Relations with other profile or parameters.
- ParameterRelations []ProfileParameterMetadataParameterRelationMetadata `xml:"parameterRelations,omitempty" json:"parameterRelations,omitempty" vim:"6.7"`
+ ParameterRelations []ProfileParameterMetadataParameterRelationMetadata `xml:"parameterRelations,omitempty" json:"parameterRelations,omitempty"`
}
func init() {
t["ProfileParameterMetadata"] = reflect.TypeOf((*ProfileParameterMetadata)(nil)).Elem()
- minAPIVersionForType["ProfileParameterMetadata"] = "4.0"
}
// This class to define a relation between the parameter and a profile
@@ -63160,7 +62735,6 @@ type ProfileParameterMetadataParameterRelationMetadata struct {
func init() {
t["ProfileParameterMetadataParameterRelationMetadata"] = reflect.TypeOf((*ProfileParameterMetadataParameterRelationMetadata)(nil)).Elem()
- minAPIVersionForType["ProfileParameterMetadataParameterRelationMetadata"] = "6.7"
}
// The `ProfilePolicy` data object represents a policy.
@@ -63175,7 +62749,6 @@ type ProfilePolicy struct {
func init() {
t["ProfilePolicy"] = reflect.TypeOf((*ProfilePolicy)(nil)).Elem()
- minAPIVersionForType["ProfilePolicy"] = "4.0"
}
// The `ProfilePolicyMetadata` data object represents the metadata information
@@ -63196,7 +62769,6 @@ type ProfilePolicyMetadata struct {
func init() {
t["ProfilePolicyMetadata"] = reflect.TypeOf((*ProfilePolicyMetadata)(nil)).Elem()
- minAPIVersionForType["ProfilePolicyMetadata"] = "4.0"
}
// The `ProfilePolicyOptionMetadata` data object contains the metadata information
@@ -63205,17 +62777,17 @@ type ProfilePolicyOptionMetadata struct {
DynamicData
// Identifier for the policy option.
- // - The id.key
value
- // (`ExtendedElementDescription*.*ElementDescription.key`)
- // identifies the policy option type.
- // - The id.label
property
- // (`ExtendedElementDescription*.*Description.label`)
- // contains a brief localizable message describing the policy option.
- // - The id.summary
property
- // (`ExtendedElementDescription*.*Description.summary`)
- // contains a localizable summary of the policy option.
- // Summary information can contain embedded variable names which can
- // be replaced with values from the parameter
property.
+ // - The id.key
value
+ // (`ExtendedElementDescription*.*ElementDescription.key`)
+ // identifies the policy option type.
+ // - The id.label
property
+ // (`ExtendedElementDescription*.*Description.label`)
+ // contains a brief localizable message describing the policy option.
+ // - The id.summary
property
+ // (`ExtendedElementDescription*.*Description.summary`)
+ // contains a localizable summary of the policy option.
+ // Summary information can contain embedded variable names which can
+ // be replaced with values from the parameter
property.
Id ExtendedElementDescription `xml:"id" json:"id"`
// Metadata about the parameters for the policy option.
Parameter []ProfileParameterMetadata `xml:"parameter,omitempty" json:"parameter,omitempty"`
@@ -63223,7 +62795,6 @@ type ProfilePolicyOptionMetadata struct {
func init() {
t["ProfilePolicyOptionMetadata"] = reflect.TypeOf((*ProfilePolicyOptionMetadata)(nil)).Elem()
- minAPIVersionForType["ProfilePolicyOptionMetadata"] = "4.0"
}
type ProfileProfileStructure struct {
@@ -63275,14 +62846,13 @@ type ProfilePropertyPath struct {
//
// See `PolicyOption*.*PolicyOption.parameter`
// and `KeyAnyValue.key`.
- ParameterId string `xml:"parameterId,omitempty" json:"parameterId,omitempty" vim:"5.1"`
+ ParameterId string `xml:"parameterId,omitempty" json:"parameterId,omitempty"`
// Policy option identifier.
- PolicyOptionId string `xml:"policyOptionId,omitempty" json:"policyOptionId,omitempty" vim:"6.7"`
+ PolicyOptionId string `xml:"policyOptionId,omitempty" json:"policyOptionId,omitempty"`
}
func init() {
t["ProfilePropertyPath"] = reflect.TypeOf((*ProfilePropertyPath)(nil)).Elem()
- minAPIVersionForType["ProfilePropertyPath"] = "4.0"
}
// This event records that the reference host associated with this profile has changed
@@ -63294,14 +62864,13 @@ type ProfileReferenceHostChangedEvent struct {
// Refers instance of `HostSystem`.
ReferenceHost *ManagedObjectReference `xml:"referenceHost,omitempty" json:"referenceHost,omitempty"`
// The newly associated reference host name
- ReferenceHostName string `xml:"referenceHostName,omitempty" json:"referenceHostName,omitempty" vim:"6.5"`
+ ReferenceHostName string `xml:"referenceHostName,omitempty" json:"referenceHostName,omitempty"`
// The previous reference host name
- PrevReferenceHostName string `xml:"prevReferenceHostName,omitempty" json:"prevReferenceHostName,omitempty" vim:"6.5"`
+ PrevReferenceHostName string `xml:"prevReferenceHostName,omitempty" json:"prevReferenceHostName,omitempty"`
}
func init() {
t["ProfileReferenceHostChangedEvent"] = reflect.TypeOf((*ProfileReferenceHostChangedEvent)(nil)).Elem()
- minAPIVersionForType["ProfileReferenceHostChangedEvent"] = "4.0"
}
// This event records that a Profile was removed.
@@ -63311,7 +62880,6 @@ type ProfileRemovedEvent struct {
func init() {
t["ProfileRemovedEvent"] = reflect.TypeOf((*ProfileRemovedEvent)(nil)).Elem()
- minAPIVersionForType["ProfileRemovedEvent"] = "4.0"
}
// The `ProfileSerializedCreateSpec` data object
@@ -63325,7 +62893,6 @@ type ProfileSerializedCreateSpec struct {
func init() {
t["ProfileSerializedCreateSpec"] = reflect.TypeOf((*ProfileSerializedCreateSpec)(nil)).Elem()
- minAPIVersionForType["ProfileSerializedCreateSpec"] = "4.0"
}
// DataObject represents a pre-defined expression
@@ -63346,7 +62913,6 @@ type ProfileSimpleExpression struct {
func init() {
t["ProfileSimpleExpression"] = reflect.TypeOf((*ProfileSimpleExpression)(nil)).Elem()
- minAPIVersionForType["ProfileSimpleExpression"] = "4.0"
}
// Errors were detected during Profile update.
@@ -63356,12 +62922,11 @@ type ProfileUpdateFailed struct {
// Failures encountered during update/validation
Failure []ProfileUpdateFailedUpdateFailure `xml:"failure" json:"failure"`
// Warnings encountered during update/validation
- Warnings []ProfileUpdateFailedUpdateFailure `xml:"warnings,omitempty" json:"warnings,omitempty" vim:"6.7"`
+ Warnings []ProfileUpdateFailedUpdateFailure `xml:"warnings,omitempty" json:"warnings,omitempty"`
}
func init() {
t["ProfileUpdateFailed"] = reflect.TypeOf((*ProfileUpdateFailed)(nil)).Elem()
- minAPIVersionForType["ProfileUpdateFailed"] = "4.0"
}
type ProfileUpdateFailedFault ProfileUpdateFailed
@@ -63416,9 +62981,9 @@ type PropertyChange struct {
//
// Nested
// properties are specified by paths; for example,
- // - foo.bar
- // - foo.arProp\["key val"\]
- // - foo.arProp\["key val"\].baz
+ // - foo.bar
+ // - foo.arProp\["key val"\]
+ // - foo.arProp\["key val"\].baz
Name string `xml:"name" json:"name"`
// Change operation for the property.
//
@@ -63478,7 +63043,7 @@ type PropertyFilterSpec struct {
//
// For a call to `PropertyCollector.RetrieveProperties` missing objects will simply
// be omitted from the results.
- ReportMissingObjectsInResults *bool `xml:"reportMissingObjectsInResults" json:"reportMissingObjectsInResults,omitempty" vim:"4.1"`
+ ReportMissingObjectsInResults *bool `xml:"reportMissingObjectsInResults" json:"reportMissingObjectsInResults,omitempty"`
}
func init() {
@@ -63546,6 +63111,27 @@ func init() {
t["PropertySpec"] = reflect.TypeOf((*PropertySpec)(nil)).Elem()
}
+type ProvisionServerPrivateKey ProvisionServerPrivateKeyRequestType
+
+func init() {
+ t["ProvisionServerPrivateKey"] = reflect.TypeOf((*ProvisionServerPrivateKey)(nil)).Elem()
+}
+
+// The parameters of `HostCertificateManager.ProvisionServerPrivateKey`.
+type ProvisionServerPrivateKeyRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // SSL private key in PEM format
+ Key string `xml:"key" json:"key"`
+}
+
+func init() {
+ t["ProvisionServerPrivateKeyRequestType"] = reflect.TypeOf((*ProvisionServerPrivateKeyRequestType)(nil)).Elem()
+ minAPIVersionForType["ProvisionServerPrivateKeyRequestType"] = "8.0.3.0"
+}
+
+type ProvisionServerPrivateKeyResponse struct {
+}
+
type PutUsbScanCodes PutUsbScanCodesRequestType
func init() {
@@ -63663,7 +63249,7 @@ type QueryAvailableDvsSpecRequestType struct {
// If set to true, return only the recommended versions.
// If set to false, return only the not recommended versions.
// If unset, return all supported versions.
- Recommended *bool `xml:"recommended" json:"recommended,omitempty" vim:"6.0"`
+ Recommended *bool `xml:"recommended" json:"recommended,omitempty"`
}
func init() {
@@ -63714,10 +63300,10 @@ type QueryAvailablePerfMetricRequestType struct {
EndTime *time.Time `xml:"endTime" json:"endTime,omitempty"`
// Period of time from which to retrieve metrics, defined by intervalId
// (rather than beginTime or endTime). Valid intervalIds include:
- // - For real-time counters, the `refreshRate` of
- // the *performance
- // provider*.
- // - For historical counters, the `samplingPeriod` of the *historical interval*.
+ // - For real-time counters, the `refreshRate` of
+ // the *performance
+ // provider*.
+ // - For historical counters, the `samplingPeriod` of the *historical interval*.
//
// If this parameter is not specified, the system returns available metrics
// for historical statistics.
@@ -63990,6 +63576,7 @@ type QueryCompatibleVmnicsFromHostsRequestType struct {
func init() {
t["QueryCompatibleVmnicsFromHostsRequestType"] = reflect.TypeOf((*QueryCompatibleVmnicsFromHostsRequestType)(nil)).Elem()
+ minAPIVersionForType["QueryCompatibleVmnicsFromHostsRequestType"] = "8.0.0.1"
}
type QueryCompatibleVmnicsFromHostsResponse struct {
@@ -64167,7 +63754,7 @@ type QueryConnectionInfoRequestType struct {
// The password of the user.
Password string `xml:"password" json:"password"`
// The expected SSL thumbprint of the host's certificate.
- SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty" vim:"2.5"`
+ SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty"`
}
func init() {
@@ -64336,6 +63923,7 @@ type QueryDirectoryInfoRequestType struct {
func init() {
t["QueryDirectoryInfoRequestType"] = reflect.TypeOf((*QueryDirectoryInfoRequestType)(nil)).Elem()
+ minAPIVersionForType["QueryDirectoryInfoRequestType"] = "8.0.1.0"
}
type QueryDirectoryInfoResponse struct {
@@ -64556,7 +64144,7 @@ type QueryExpressionMetadataRequestType struct {
// Base profile whose context needs to be used during the operation
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"5.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
}
func init() {
@@ -64653,6 +64241,7 @@ type QueryFileLockInfoRequestType struct {
func init() {
t["QueryFileLockInfoRequestType"] = reflect.TypeOf((*QueryFileLockInfoRequestType)(nil)).Elem()
+ minAPIVersionForType["QueryFileLockInfoRequestType"] = "8.0.2.0"
}
type QueryFileLockInfoResponse struct {
@@ -64856,7 +64445,7 @@ type QueryHostProfileMetadataRequestType struct {
// Base profile whose context needs to be used during the operation
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"5.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
}
func init() {
@@ -65138,6 +64727,7 @@ type QueryMaxQueueDepthRequestType struct {
func init() {
t["QueryMaxQueueDepthRequestType"] = reflect.TypeOf((*QueryMaxQueueDepthRequestType)(nil)).Elem()
+ minAPIVersionForType["QueryMaxQueueDepthRequestType"] = "8.0.0.1"
}
type QueryMaxQueueDepthResponse struct {
@@ -65611,7 +65201,7 @@ type QueryPolicyMetadataRequestType struct {
// Base profile whose context needs to be used during the operation
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"5.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
}
func init() {
@@ -65800,6 +65390,7 @@ type QuerySupportedNetworkOffloadSpecRequestType struct {
func init() {
t["QuerySupportedNetworkOffloadSpecRequestType"] = reflect.TypeOf((*QuerySupportedNetworkOffloadSpecRequestType)(nil)).Elem()
+ minAPIVersionForType["QuerySupportedNetworkOffloadSpecRequestType"] = "8.0.0.1"
}
type QuerySupportedNetworkOffloadSpecResponse struct {
@@ -66111,6 +65702,44 @@ func init() {
t["QueryVirtualDiskUuid"] = reflect.TypeOf((*QueryVirtualDiskUuid)(nil)).Elem()
}
+type QueryVirtualDiskUuidEx QueryVirtualDiskUuidExRequestType
+
+func init() {
+ t["QueryVirtualDiskUuidEx"] = reflect.TypeOf((*QueryVirtualDiskUuidEx)(nil)).Elem()
+}
+
+// The parameters of `VcenterVStorageObjectManager.QueryVirtualDiskUuidEx`.
+type QueryVirtualDiskUuidExRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // The name of the disk, either a datastore path or a URL
+ // referring to the virtual disk whose uuid for the DDB entry needs to be queried.
+ // A datastore path has the form
+ // > \[_datastore_\] _path_
+ //
+ // where
+ // - _datastore_ is the datastore name.
+ // - _path_ is a slash-delimited path from the root of the datastore.
+ //
+ // An example datastore path is "\[storage\] path/to/file.extension".
+ Name string `xml:"name" json:"name"`
+ // If name
is a datastore path, the datacenter for
+ // that datastore path is mandatory. Not needed when invoked directly on ESX.
+ // If not specified on a call from VirtualCenter,
+ // name
must be a URL.
+ //
+ // Refers instance of `Datacenter`.
+ Datacenter *ManagedObjectReference `xml:"datacenter,omitempty" json:"datacenter,omitempty"`
+}
+
+func init() {
+ t["QueryVirtualDiskUuidExRequestType"] = reflect.TypeOf((*QueryVirtualDiskUuidExRequestType)(nil)).Elem()
+ minAPIVersionForType["QueryVirtualDiskUuidExRequestType"] = "8.0.3.0"
+}
+
+type QueryVirtualDiskUuidExResponse struct {
+ Returnval string `xml:"returnval" json:"returnval"`
+}
+
// The parameters of `VirtualDiskManager.QueryVirtualDiskUuid`.
type QueryVirtualDiskUuidRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
@@ -66170,7 +65799,7 @@ type QueryVmfsDatastoreCreateOptionsRequestType struct {
// parameter is not specified, then the highest
// *supported VMFS major version* for the host
// is used.
- VmfsMajorVersion int32 `xml:"vmfsMajorVersion,omitempty" json:"vmfsMajorVersion,omitempty" vim:"5.0"`
+ VmfsMajorVersion int32 `xml:"vmfsMajorVersion,omitempty" json:"vmfsMajorVersion,omitempty"`
}
func init() {
@@ -66225,7 +65854,7 @@ type QueryVmfsDatastoreExtendOptionsRequestType struct {
// Free space can be used for adding an extent or expanding an existing
// extent. If this parameter is set to true, the list of options
// returned will not include free space that can be used for expansion.
- SuppressExpandCandidates *bool `xml:"suppressExpandCandidates" json:"suppressExpandCandidates,omitempty" vim:"4.0"`
+ SuppressExpandCandidates *bool `xml:"suppressExpandCandidates" json:"suppressExpandCandidates,omitempty"`
}
func init() {
@@ -66359,7 +65988,6 @@ type QuestionPending struct {
func init() {
t["QuestionPending"] = reflect.TypeOf((*QuestionPending)(nil)).Elem()
- minAPIVersionForType["QuestionPending"] = "4.1"
}
type QuestionPendingFault QuestionPending
@@ -66389,7 +66017,6 @@ type QuiesceDatastoreIOForHAFailed struct {
func init() {
t["QuiesceDatastoreIOForHAFailed"] = reflect.TypeOf((*QuiesceDatastoreIOForHAFailed)(nil)).Elem()
- minAPIVersionForType["QuiesceDatastoreIOForHAFailed"] = "5.0"
}
type QuiesceDatastoreIOForHAFailedFault QuiesceDatastoreIOForHAFailed
@@ -66410,7 +66037,6 @@ type RDMConversionNotSupported struct {
func init() {
t["RDMConversionNotSupported"] = reflect.TypeOf((*RDMConversionNotSupported)(nil)).Elem()
- minAPIVersionForType["RDMConversionNotSupported"] = "4.0"
}
type RDMConversionNotSupportedFault RDMConversionNotSupported
@@ -66485,7 +66111,6 @@ type RDMNotSupportedOnDatastore struct {
func init() {
t["RDMNotSupportedOnDatastore"] = reflect.TypeOf((*RDMNotSupportedOnDatastore)(nil)).Elem()
- minAPIVersionForType["RDMNotSupportedOnDatastore"] = "2.5"
}
type RDMNotSupportedOnDatastoreFault RDMNotSupportedOnDatastore
@@ -66574,7 +66199,6 @@ type ReadHostResourcePoolTreeFailed struct {
func init() {
t["ReadHostResourcePoolTreeFailed"] = reflect.TypeOf((*ReadHostResourcePoolTreeFailed)(nil)).Elem()
- minAPIVersionForType["ReadHostResourcePoolTreeFailed"] = "5.0"
}
type ReadHostResourcePoolTreeFailedFault ReadHostResourcePoolTreeFailed
@@ -66882,7 +66506,7 @@ type ReconfigurationSatisfiableRequestType struct {
Pcbs []VsanPolicyChangeBatch `xml:"pcbs" json:"pcbs"`
// Optionally populate PolicyCost even though
// object cannot be reconfigured in the current cluster topology.
- IgnoreSatisfiability *bool `xml:"ignoreSatisfiability" json:"ignoreSatisfiability,omitempty" vim:"6.0"`
+ IgnoreSatisfiability *bool `xml:"ignoreSatisfiability" json:"ignoreSatisfiability,omitempty"`
}
func init() {
@@ -67216,7 +66840,7 @@ type ReconnectHostRequestType struct {
// reconnect. This will mainly be used to indicate how to
// handle divergence between the host settings and vCenter Server
// settings when the host was disconnected.
- ReconnectSpec *HostSystemReconnectSpec `xml:"reconnectSpec,omitempty" json:"reconnectSpec,omitempty" vim:"5.0"`
+ ReconnectSpec *HostSystemReconnectSpec `xml:"reconnectSpec,omitempty" json:"reconnectSpec,omitempty"`
}
func init() {
@@ -67243,7 +66867,6 @@ type RecordReplayDisabled struct {
func init() {
t["RecordReplayDisabled"] = reflect.TypeOf((*RecordReplayDisabled)(nil)).Elem()
- minAPIVersionForType["RecordReplayDisabled"] = "4.0"
}
type RecordReplayDisabledFault RecordReplayDisabled
@@ -67268,7 +66891,6 @@ type RecoveryEvent struct {
func init() {
t["RecoveryEvent"] = reflect.TypeOf((*RecoveryEvent)(nil)).Elem()
- minAPIVersionForType["RecoveryEvent"] = "5.1"
}
// The parameters of `DistributedVirtualSwitch.RectifyDvsHost_Task`.
@@ -67746,6 +67368,10 @@ func init() {
type RegisterKmipServerRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP server connection information.
+ // When register a new KMIP server to the key provider,
+ // the `KmipServerSpec#defaultKeyType` and
+ // `KmipServerSpec#wrappingKeySpec` must match
+ // existing servers.
Server KmipServerSpec `xml:"server" json:"server"`
}
@@ -67949,7 +67575,7 @@ type RelocateVMRequestType struct {
Spec VirtualMachineRelocateSpec `xml:"spec" json:"spec"`
// The task priority
// (see `VirtualMachineMovePriority_enum`).
- Priority VirtualMachineMovePriority `xml:"priority,omitempty" json:"priority,omitempty" vim:"4.0"`
+ Priority VirtualMachineMovePriority `xml:"priority,omitempty" json:"priority,omitempty"`
}
func init() {
@@ -68020,7 +67646,6 @@ type RemoteTSMEnabledEvent struct {
func init() {
t["RemoteTSMEnabledEvent"] = reflect.TypeOf((*RemoteTSMEnabledEvent)(nil)).Elem()
- minAPIVersionForType["RemoteTSMEnabledEvent"] = "4.1"
}
type RemoveAlarm RemoveAlarmRequestType
@@ -68045,7 +67670,11 @@ type RemoveAllSnapshotsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// (optional) If set to true, the virtual disks of the deleted
// snapshot will be merged with other disk if possible. Default to true.
- Consolidate *bool `xml:"consolidate" json:"consolidate,omitempty" vim:"5.0"`
+ Consolidate *bool `xml:"consolidate" json:"consolidate,omitempty"`
+ // (optional) When provided, only snapshots satisfying the
+ // criteria described by the spec will be removed. If unset, all snapshots
+ // will be removed.
+ Spec *SnapshotSelectionSpec `xml:"spec,omitempty" json:"spec,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -68178,12 +67807,12 @@ type RemoveDiskMappingRequestType struct {
// before removing it. See `HostMaintenanceSpec`.
// If unspecified, there is no action taken to move
// data from the disk.
- MaintenanceSpec *HostMaintenanceSpec `xml:"maintenanceSpec,omitempty" json:"maintenanceSpec,omitempty" vim:"6.0"`
+ MaintenanceSpec *HostMaintenanceSpec `xml:"maintenanceSpec,omitempty" json:"maintenanceSpec,omitempty"`
// Time to wait for the task to complete in seconds.
// If the value is less than or equal to zero, there
// is no timeout. The operation fails with a Timedout
// exception if it timed out.
- Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty" vim:"6.0"`
+ Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty"`
}
func init() {
@@ -68209,12 +67838,12 @@ type RemoveDiskRequestType struct {
// before removing it. See `HostMaintenanceSpec`.
// If unspecified, there is no action taken to move
// data from the disk.
- MaintenanceSpec *HostMaintenanceSpec `xml:"maintenanceSpec,omitempty" json:"maintenanceSpec,omitempty" vim:"6.0"`
+ MaintenanceSpec *HostMaintenanceSpec `xml:"maintenanceSpec,omitempty" json:"maintenanceSpec,omitempty"`
// Time to wait for the task to complete in seconds.
// If the value is less than or equal to zero, there
// is no timeout. The operation fails with a Timedout
// exception if it timed out.
- Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty" vim:"6.0"`
+ Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty"`
}
func init() {
@@ -68758,7 +68387,7 @@ type RemoveSnapshotRequestType struct {
RemoveChildren bool `xml:"removeChildren" json:"removeChildren"`
// (optional) If set to true, the virtual disk associated
// with this snapshot will be merged with other disk if possible. Defaults to true.
- Consolidate *bool `xml:"consolidate" json:"consolidate,omitempty" vim:"5.0"`
+ Consolidate *bool `xml:"consolidate" json:"consolidate,omitempty"`
}
func init() {
@@ -68790,6 +68419,7 @@ type RemoveSoftwareAdapterRequestType struct {
func init() {
t["RemoveSoftwareAdapterRequestType"] = reflect.TypeOf((*RemoveSoftwareAdapterRequestType)(nil)).Elem()
+ minAPIVersionForType["RemoveSoftwareAdapterRequestType"] = "7.0.3.0"
}
type RemoveSoftwareAdapterResponse struct {
@@ -68975,6 +68605,7 @@ type RenameVStorageObjectExRequestType struct {
func init() {
t["RenameVStorageObjectExRequestType"] = reflect.TypeOf((*RenameVStorageObjectExRequestType)(nil)).Elem()
+ minAPIVersionForType["RenameVStorageObjectExRequestType"] = "8.0.2.0"
}
type RenameVStorageObjectExResponse struct {
@@ -69064,7 +68695,6 @@ type ReplicationConfigFault struct {
func init() {
t["ReplicationConfigFault"] = reflect.TypeOf((*ReplicationConfigFault)(nil)).Elem()
- minAPIVersionForType["ReplicationConfigFault"] = "5.0"
}
type ReplicationConfigFaultFault BaseReplicationConfigFault
@@ -69137,25 +68767,28 @@ type ReplicationConfigSpec struct {
//
// The primary will negotiate the best compression with
// the server on the secondary if this is enabled.
- NetCompressionEnabled *bool `xml:"netCompressionEnabled" json:"netCompressionEnabled,omitempty" vim:"6.0"`
+ NetCompressionEnabled *bool `xml:"netCompressionEnabled" json:"netCompressionEnabled,omitempty"`
// Flag that indicates whether or not encription should
// be used when sending traffic over the network.
//
// The primary will use the remoteCertificateThumbprint
// to verify the identity of the remote server.
- NetEncryptionEnabled *bool `xml:"netEncryptionEnabled" json:"netEncryptionEnabled,omitempty" vim:"6.7"`
+ NetEncryptionEnabled *bool `xml:"netEncryptionEnabled" json:"netEncryptionEnabled,omitempty"`
// The IP address of the remote HBR server, target for encrypted LWD.
//
// This field is required when net encryption is enabled, ignored otherwise.
- EncryptionDestination string `xml:"encryptionDestination,omitempty" json:"encryptionDestination,omitempty" vim:"6.7"`
+ EncryptionDestination string `xml:"encryptionDestination,omitempty" json:"encryptionDestination,omitempty"`
// The port on the remote HBR server, target for encrypted LWD.
//
// This field is only relevant when net encryption is enabled.
- EncryptionPort int32 `xml:"encryptionPort,omitempty" json:"encryptionPort,omitempty" vim:"6.7"`
+ EncryptionPort int32 `xml:"encryptionPort,omitempty" json:"encryptionPort,omitempty"`
+ // Deprecated field is deprecated, use
+ // `vim.HbrManager.configureReplicationTargets` instead.
+ //
// The SHA256 thumbprint of the remote server certificate.
//
// This field is only relevant when net encription is enabled.
- RemoteCertificateThumbprint string `xml:"remoteCertificateThumbprint,omitempty" json:"remoteCertificateThumbprint,omitempty" vim:"6.7"`
+ RemoteCertificateThumbprint string `xml:"remoteCertificateThumbprint,omitempty" json:"remoteCertificateThumbprint,omitempty"`
// Flag that indicates whether DataSets files are replicated or not.
DataSetsReplicationEnabled *bool `xml:"dataSetsReplicationEnabled" json:"dataSetsReplicationEnabled,omitempty" vim:"8.0.0.0"`
// The set of the disks of this VM that are configured for
@@ -69165,7 +68798,6 @@ type ReplicationConfigSpec struct {
func init() {
t["ReplicationConfigSpec"] = reflect.TypeOf((*ReplicationConfigSpec)(nil)).Elem()
- minAPIVersionForType["ReplicationConfigSpec"] = "5.0"
}
// A ReplicationDiskConfigFault is thrown when there is an issue with
@@ -69188,7 +68820,6 @@ type ReplicationDiskConfigFault struct {
func init() {
t["ReplicationDiskConfigFault"] = reflect.TypeOf((*ReplicationDiskConfigFault)(nil)).Elem()
- minAPIVersionForType["ReplicationDiskConfigFault"] = "5.0"
}
type ReplicationDiskConfigFaultFault ReplicationDiskConfigFault
@@ -69204,7 +68835,6 @@ type ReplicationFault struct {
func init() {
t["ReplicationFault"] = reflect.TypeOf((*ReplicationFault)(nil)).Elem()
- minAPIVersionForType["ReplicationFault"] = "5.0"
}
type ReplicationFaultFault BaseReplicationFault
@@ -69246,7 +68876,6 @@ type ReplicationGroupId struct {
func init() {
t["ReplicationGroupId"] = reflect.TypeOf((*ReplicationGroupId)(nil)).Elem()
- minAPIVersionForType["ReplicationGroupId"] = "6.5"
}
// Used to indicate that FT cannot be enabled on a replicated virtual machine
@@ -69257,7 +68886,6 @@ type ReplicationIncompatibleWithFT struct {
func init() {
t["ReplicationIncompatibleWithFT"] = reflect.TypeOf((*ReplicationIncompatibleWithFT)(nil)).Elem()
- minAPIVersionForType["ReplicationIncompatibleWithFT"] = "5.0"
}
type ReplicationIncompatibleWithFTFault ReplicationIncompatibleWithFT
@@ -69285,7 +68913,6 @@ type ReplicationInfoDiskSettings struct {
func init() {
t["ReplicationInfoDiskSettings"] = reflect.TypeOf((*ReplicationInfoDiskSettings)(nil)).Elem()
- minAPIVersionForType["ReplicationInfoDiskSettings"] = "5.0"
}
// A ReplicationInvalidOptions fault is thrown when the options
@@ -69303,7 +68930,6 @@ type ReplicationInvalidOptions struct {
func init() {
t["ReplicationInvalidOptions"] = reflect.TypeOf((*ReplicationInvalidOptions)(nil)).Elem()
- minAPIVersionForType["ReplicationInvalidOptions"] = "5.0"
}
type ReplicationInvalidOptionsFault ReplicationInvalidOptions
@@ -69319,7 +68945,6 @@ type ReplicationNotSupportedOnHost struct {
func init() {
t["ReplicationNotSupportedOnHost"] = reflect.TypeOf((*ReplicationNotSupportedOnHost)(nil)).Elem()
- minAPIVersionForType["ReplicationNotSupportedOnHost"] = "5.0"
}
type ReplicationNotSupportedOnHostFault ReplicationNotSupportedOnHost
@@ -69356,7 +68981,6 @@ type ReplicationVmConfigFault struct {
func init() {
t["ReplicationVmConfigFault"] = reflect.TypeOf((*ReplicationVmConfigFault)(nil)).Elem()
- minAPIVersionForType["ReplicationVmConfigFault"] = "5.0"
}
type ReplicationVmConfigFaultFault ReplicationVmConfigFault
@@ -69387,7 +69011,6 @@ type ReplicationVmFault struct {
func init() {
t["ReplicationVmFault"] = reflect.TypeOf((*ReplicationVmFault)(nil)).Elem()
- minAPIVersionForType["ReplicationVmFault"] = "5.0"
}
type ReplicationVmFaultFault BaseReplicationVmFault
@@ -69410,7 +69033,6 @@ type ReplicationVmInProgressFault struct {
func init() {
t["ReplicationVmInProgressFault"] = reflect.TypeOf((*ReplicationVmInProgressFault)(nil)).Elem()
- minAPIVersionForType["ReplicationVmInProgressFault"] = "6.0"
}
type ReplicationVmInProgressFaultFault ReplicationVmInProgressFault
@@ -69458,7 +69080,6 @@ type ReplicationVmProgressInfo struct {
func init() {
t["ReplicationVmProgressInfo"] = reflect.TypeOf((*ReplicationVmProgressInfo)(nil)).Elem()
- minAPIVersionForType["ReplicationVmProgressInfo"] = "5.0"
}
// A RequestCanceled fault is thrown if the user canceled the task.
@@ -69906,7 +69527,7 @@ type ResourceAllocationInfo struct {
// at this time.
// The server will throw an exception if you attempt to set
// this property.
- OverheadLimit *int64 `xml:"overheadLimit" json:"overheadLimit,omitempty" vim:"2.5"`
+ OverheadLimit *int64 `xml:"overheadLimit" json:"overheadLimit,omitempty"`
}
func init() {
@@ -69924,7 +69545,6 @@ type ResourceAllocationOption struct {
func init() {
t["ResourceAllocationOption"] = reflect.TypeOf((*ResourceAllocationOption)(nil)).Elem()
- minAPIVersionForType["ResourceAllocationOption"] = "4.1"
}
// This data object type is a default value and value range specification
@@ -69944,7 +69564,6 @@ type ResourceConfigOption struct {
func init() {
t["ResourceConfigOption"] = reflect.TypeOf((*ResourceConfigOption)(nil)).Elem()
- minAPIVersionForType["ResourceConfigOption"] = "4.1"
}
// This data object type is a specification for a set of resources
@@ -69994,7 +69613,7 @@ type ResourceConfigSpec struct {
// pool. The `ResourcePoolRuntimeInfo.sharesScalable` property
// indicates whether or not a resource pool's shares are scalable. This
// property does not apply to virtual machines.
- ScaleDescendantsShares string `xml:"scaleDescendantsShares,omitempty" json:"scaleDescendantsShares,omitempty" vim:"7.0"`
+ ScaleDescendantsShares string `xml:"scaleDescendantsShares,omitempty" json:"scaleDescendantsShares,omitempty"`
}
func init() {
@@ -70045,7 +69664,6 @@ type ResourceNotAvailable struct {
func init() {
t["ResourceNotAvailable"] = reflect.TypeOf((*ResourceNotAvailable)(nil)).Elem()
- minAPIVersionForType["ResourceNotAvailable"] = "4.0"
}
type ResourceNotAvailableFault ResourceNotAvailable
@@ -70207,12 +69825,11 @@ type ResourcePoolQuickStats struct {
// in `ResourcePoolQuickStats.overheadMemory`.
ConsumedOverheadMemory int64 `xml:"consumedOverheadMemory,omitempty" json:"consumedOverheadMemory,omitempty"`
// The amount of compressed memory currently consumed by VM, in KB.
- CompressedMemory int64 `xml:"compressedMemory,omitempty" json:"compressedMemory,omitempty" vim:"4.1"`
+ CompressedMemory int64 `xml:"compressedMemory,omitempty" json:"compressedMemory,omitempty"`
}
func init() {
t["ResourcePoolQuickStats"] = reflect.TypeOf((*ResourcePoolQuickStats)(nil)).Elem()
- minAPIVersionForType["ResourcePoolQuickStats"] = "4.0"
}
// This event records when a resource pool configuration is changed.
@@ -70220,7 +69837,7 @@ type ResourcePoolReconfiguredEvent struct {
ResourcePoolEvent
// The configuration values changed during the reconfiguration.
- ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
+ ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty"`
}
func init() {
@@ -70318,7 +69935,7 @@ type ResourcePoolRuntimeInfo struct {
// system will automatically compute this property based on the `ResourceConfigSpec.scaleDescendantsShares` setting on every
// ancestor resource pool. This property does not apply to virtual
// machines.
- SharesScalable string `xml:"sharesScalable,omitempty" json:"sharesScalable,omitempty" vim:"7.0"`
+ SharesScalable string `xml:"sharesScalable,omitempty" json:"sharesScalable,omitempty"`
}
func init() {
@@ -70341,9 +69958,9 @@ type ResourcePoolSummary struct {
// This data object type does not support notification, for scalability reasons.
// Therefore, changes in QuickStats do not generate property collector updates.
// To monitor statistics values, use the statistics and alarms modules instead.
- QuickStats *ResourcePoolQuickStats `xml:"quickStats,omitempty" json:"quickStats,omitempty" vim:"4.0"`
+ QuickStats *ResourcePoolQuickStats `xml:"quickStats,omitempty" json:"quickStats,omitempty"`
// Total configured memory of all virtual machines in the resource pool, in MB.
- ConfiguredMemoryMB int32 `xml:"configuredMemoryMB,omitempty" json:"configuredMemoryMB,omitempty" vim:"4.0"`
+ ConfiguredMemoryMB int32 `xml:"configuredMemoryMB,omitempty" json:"configuredMemoryMB,omitempty"`
}
func init() {
@@ -70431,7 +70048,6 @@ type RestrictedByAdministrator struct {
func init() {
t["RestrictedByAdministrator"] = reflect.TypeOf((*RestrictedByAdministrator)(nil)).Elem()
- minAPIVersionForType["RestrictedByAdministrator"] = "6.0"
}
type RestrictedByAdministratorFault RestrictedByAdministrator
@@ -70448,7 +70064,6 @@ type RestrictedVersion struct {
func init() {
t["RestrictedVersion"] = reflect.TypeOf((*RestrictedVersion)(nil)).Elem()
- minAPIVersionForType["RestrictedVersion"] = "2.5"
}
type RestrictedVersionFault RestrictedVersion
@@ -70954,7 +70569,6 @@ type RetrieveOptions struct {
func init() {
t["RetrieveOptions"] = reflect.TypeOf((*RetrieveOptions)(nil)).Elem()
- minAPIVersionForType["RetrieveOptions"] = "4.1"
}
type RetrieveProductComponents RetrieveProductComponentsRequestType
@@ -71040,7 +70654,6 @@ type RetrieveResult struct {
func init() {
t["RetrieveResult"] = reflect.TypeOf((*RetrieveResult)(nil)).Elem()
- minAPIVersionForType["RetrieveResult"] = "4.1"
}
type RetrieveRolePermissions RetrieveRolePermissionsRequestType
@@ -71254,7 +70867,6 @@ type RetrieveVStorageObjSpec struct {
func init() {
t["RetrieveVStorageObjSpec"] = reflect.TypeOf((*RetrieveVStorageObjSpec)(nil)).Elem()
- minAPIVersionForType["RetrieveVStorageObjSpec"] = "6.7"
}
type RetrieveVStorageObject RetrieveVStorageObjectRequestType
@@ -71416,7 +71028,7 @@ type RevertToCurrentSnapshotRequestType struct {
// (optional) If set to true, the virtual
// machine will not be powered on regardless of the power state when
// the current snapshot was created. Default to false.
- SuppressPowerOn *bool `xml:"suppressPowerOn" json:"suppressPowerOn,omitempty" vim:"2.5 U2"`
+ SuppressPowerOn *bool `xml:"suppressPowerOn" json:"suppressPowerOn,omitempty"`
}
func init() {
@@ -71453,7 +71065,7 @@ type RevertToSnapshotRequestType struct {
// (optional) If set to true, the virtual
// machine will not be powered on regardless of the power state when
// the snapshot was created. Default to false.
- SuppressPowerOn *bool `xml:"suppressPowerOn" json:"suppressPowerOn,omitempty" vim:"2.5 U2"`
+ SuppressPowerOn *bool `xml:"suppressPowerOn" json:"suppressPowerOn,omitempty"`
}
func init() {
@@ -71486,6 +71098,7 @@ type RevertVStorageObjectExRequestType struct {
func init() {
t["RevertVStorageObjectExRequestType"] = reflect.TypeOf((*RevertVStorageObjectExRequestType)(nil)).Elem()
+ minAPIVersionForType["RevertVStorageObjectExRequestType"] = "8.0.2.0"
}
type RevertVStorageObjectEx_Task RevertVStorageObjectExRequestType
@@ -71597,11 +71210,11 @@ type RoleUpdatedEvent struct {
// The privileges granted to the role.
PrivilegeList []string `xml:"privilegeList,omitempty" json:"privilegeList,omitempty"`
// The name of the previous role.
- PrevRoleName string `xml:"prevRoleName,omitempty" json:"prevRoleName,omitempty" vim:"6.5"`
+ PrevRoleName string `xml:"prevRoleName,omitempty" json:"prevRoleName,omitempty"`
// The privileges added to the role.
- PrivilegesAdded []string `xml:"privilegesAdded,omitempty" json:"privilegesAdded,omitempty" vim:"6.5"`
+ PrivilegesAdded []string `xml:"privilegesAdded,omitempty" json:"privilegesAdded,omitempty"`
// The privileges removed from the role.
- PrivilegesRemoved []string `xml:"privilegesRemoved,omitempty" json:"privilegesRemoved,omitempty" vim:"6.5"`
+ PrivilegesRemoved []string `xml:"privilegesRemoved,omitempty" json:"privilegesRemoved,omitempty"`
}
func init() {
@@ -71622,7 +71235,6 @@ type RollbackEvent struct {
func init() {
t["RollbackEvent"] = reflect.TypeOf((*RollbackEvent)(nil)).Elem()
- minAPIVersionForType["RollbackEvent"] = "5.1"
}
// Thrown if a Rollback operation fails
@@ -71637,7 +71249,6 @@ type RollbackFailure struct {
func init() {
t["RollbackFailure"] = reflect.TypeOf((*RollbackFailure)(nil)).Elem()
- minAPIVersionForType["RollbackFailure"] = "5.1"
}
type RollbackFailureFault RollbackFailure
@@ -71660,11 +71271,11 @@ type RuleViolation struct {
// violate a rule.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"2.5"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// The rule that is violated.
//
// It can be an affinity or anti-affinity rule.
- Rule BaseClusterRuleInfo `xml:"rule,omitempty,typeattr" json:"rule,omitempty" vim:"4.0"`
+ Rule BaseClusterRuleInfo `xml:"rule,omitempty,typeattr" json:"rule,omitempty"`
}
func init() {
@@ -71780,7 +71391,6 @@ type SAMLTokenAuthentication struct {
func init() {
t["SAMLTokenAuthentication"] = reflect.TypeOf((*SAMLTokenAuthentication)(nil)).Elem()
- minAPIVersionForType["SAMLTokenAuthentication"] = "6.0"
}
// An empty data object which can be used as the base class for data objects
@@ -71794,7 +71404,6 @@ type SDDCBase struct {
func init() {
t["SDDCBase"] = reflect.TypeOf((*SDDCBase)(nil)).Elem()
- minAPIVersionForType["SDDCBase"] = "6.0"
}
// A SSLDisabledFault fault occurs when a host does not have ssl enabled.
@@ -71804,7 +71413,6 @@ type SSLDisabledFault struct {
func init() {
t["SSLDisabledFault"] = reflect.TypeOf((*SSLDisabledFault)(nil)).Elem()
- minAPIVersionForType["SSLDisabledFault"] = "4.0"
}
type SSLDisabledFaultFault SSLDisabledFault
@@ -71839,7 +71447,6 @@ type SSLVerifyFault struct {
func init() {
t["SSLVerifyFault"] = reflect.TypeOf((*SSLVerifyFault)(nil)).Elem()
- minAPIVersionForType["SSLVerifyFault"] = "2.5"
}
type SSLVerifyFaultFault SSLVerifyFault
@@ -71888,7 +71495,6 @@ type SSPIAuthentication struct {
func init() {
t["SSPIAuthentication"] = reflect.TypeOf((*SSPIAuthentication)(nil)).Elem()
- minAPIVersionForType["SSPIAuthentication"] = "5.0"
}
// Thrown during SSPI pass-through authentication if further
@@ -71902,7 +71508,6 @@ type SSPIChallenge struct {
func init() {
t["SSPIChallenge"] = reflect.TypeOf((*SSPIChallenge)(nil)).Elem()
- minAPIVersionForType["SSPIChallenge"] = "2.5"
}
type SSPIChallengeFault SSPIChallenge
@@ -72011,7 +71616,6 @@ type ScheduledHardwareUpgradeInfo struct {
func init() {
t["ScheduledHardwareUpgradeInfo"] = reflect.TypeOf((*ScheduledHardwareUpgradeInfo)(nil)).Elem()
- minAPIVersionForType["ScheduledHardwareUpgradeInfo"] = "5.1"
}
// This event records the completion of a scheduled task.
@@ -72177,7 +71781,7 @@ type ScheduledTaskInfo struct {
// This field will have information about either the
// ManagedEntity or the ManagedObject on which the scheduled
// task is defined.
- TaskObject *ManagedObjectReference `xml:"taskObject,omitempty" json:"taskObject,omitempty" vim:"4.0"`
+ TaskObject *ManagedObjectReference `xml:"taskObject,omitempty" json:"taskObject,omitempty"`
}
func init() {
@@ -72189,7 +71793,7 @@ type ScheduledTaskReconfiguredEvent struct {
ScheduledTaskEvent
// The configuration values changed during the reconfiguration.
- ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
+ ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty"`
}
func init() {
@@ -72298,7 +71902,7 @@ type ScsiLun struct {
// only sufficient to identify the ScsiLun within a single host. Each
// descriptor contains a quality property that indicates whether or not
// the descriptor is suitable for correlation.
- Descriptor []ScsiLunDescriptor `xml:"descriptor,omitempty" json:"descriptor,omitempty" vim:"4.0"`
+ Descriptor []ScsiLunDescriptor `xml:"descriptor,omitempty" json:"descriptor,omitempty"`
// Canonical name of the SCSI logical unit.
//
// Disk partition or extent identifiers refer to this name when
@@ -72313,7 +71917,7 @@ type ScsiLun struct {
// display name will be used if available. If the display name is not
// supported, it will be unset. The display name does not have to be
// unique but it is recommended that it be unique.
- DisplayName string `xml:"displayName,omitempty" json:"displayName,omitempty" vim:"4.0"`
+ DisplayName string `xml:"displayName,omitempty" json:"displayName,omitempty"`
// The type of SCSI device.
//
// Must be one of the values of
@@ -72348,13 +71952,13 @@ type ScsiLun struct {
// Product Data (VPD) and the Identification Vital Product Data (VPD) page
// 83h as defined by the SCSI-3 Primary Commands. For devices that are not
// SCSI-3 compliant this property is not defined.
- AlternateName []ScsiLunDurableName `xml:"alternateName,omitempty" json:"alternateName,omitempty" vim:"2.5"`
+ AlternateName []ScsiLunDurableName `xml:"alternateName,omitempty" json:"alternateName,omitempty"`
// Standard Inquiry payload.
//
// For a SCSI-3 compliant device this property is derived from the
// standard inquiry data. For devices that are not SCSI-3 compliant this
// property is not defined.
- StandardInquiry []byte `xml:"standardInquiry,omitempty" json:"standardInquiry,omitempty" vim:"2.5"`
+ StandardInquiry ByteSlice `xml:"standardInquiry,omitempty" json:"standardInquiry,omitempty"`
// The queue depth of SCSI device.
QueueDepth int32 `xml:"queueDepth,omitempty" json:"queueDepth,omitempty"`
// The operational states of the LUN.
@@ -72367,7 +71971,7 @@ type ScsiLun struct {
// See also `ScsiLunState_enum`.
OperationalState []string `xml:"operationalState" json:"operationalState"`
// Capabilities of SCSI device.
- Capabilities *ScsiLunCapabilities `xml:"capabilities,omitempty" json:"capabilities,omitempty" vim:"4.0"`
+ Capabilities *ScsiLunCapabilities `xml:"capabilities,omitempty" json:"capabilities,omitempty"`
// vStorage hardware acceleration support status.
//
// This property
@@ -72381,7 +71985,7 @@ type ScsiLun struct {
// less CPU, memory, and storage fabric bandwidth.
//
// For vSphere 4.0 or earlier hosts, this value will be unset.
- VStorageSupport string `xml:"vStorageSupport,omitempty" json:"vStorageSupport,omitempty" vim:"4.1"`
+ VStorageSupport string `xml:"vStorageSupport,omitempty" json:"vStorageSupport,omitempty"`
// Indicates that this SCSI LUN is protocol endpoint.
//
// This
@@ -72389,16 +71993,16 @@ type ScsiLun struct {
// VirtualVolume based Datastore. Check the host capability
// `HostCapability.virtualVolumeDatastoreSupported`.
// See `HostProtocolEndpoint`.
- ProtocolEndpoint *bool `xml:"protocolEndpoint" json:"protocolEndpoint,omitempty" vim:"6.0"`
+ ProtocolEndpoint *bool `xml:"protocolEndpoint" json:"protocolEndpoint,omitempty"`
// Indicates the state of a perennially reserved flag for a LUN.
//
// If
// set for Raw Device Mapped (RDM) LUNs, the host startup or LUN rescan
// take comparatively shorter duration than when it is unset.
- PerenniallyReserved *bool `xml:"perenniallyReserved" json:"perenniallyReserved,omitempty" vim:"6.7.2"`
+ PerenniallyReserved *bool `xml:"perenniallyReserved" json:"perenniallyReserved,omitempty"`
// Indicates if LUN has the prequisite properties to enable Clustered Vmdk
// feature once formatted into VMFS Datastore.
- ClusteredVmdkSupported *bool `xml:"clusteredVmdkSupported" json:"clusteredVmdkSupported,omitempty" vim:"7.0"`
+ ClusteredVmdkSupported *bool `xml:"clusteredVmdkSupported" json:"clusteredVmdkSupported,omitempty"`
// Indicates the current device protocol.
//
// Application protocol for a device which is set based on input
@@ -72409,6 +72013,13 @@ type ScsiLun struct {
//
// Set to true when the namespace of LUN is dispersed.
DispersedNs *bool `xml:"dispersedNs" json:"dispersedNs,omitempty" vim:"8.0.1.0"`
+ // Indicates whether a device is under SCSI/NVMe reservation.
+ //
+ // Device reservation for a SCSI/NVMe device set based on
+ // values received from vmkernel. The list of supported values is defined in
+ // `ScsiLunLunReservationStatus_enum`.
+ // If unset, the reservation status is unknown.
+ DeviceReservation string `xml:"deviceReservation,omitempty" json:"deviceReservation,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -72425,7 +72036,6 @@ type ScsiLunCapabilities struct {
func init() {
t["ScsiLunCapabilities"] = reflect.TypeOf((*ScsiLunCapabilities)(nil)).Elem()
- minAPIVersionForType["ScsiLunCapabilities"] = "4.0"
}
// A structure that encapsulates an identifier and its properties for the
@@ -72444,7 +72054,6 @@ type ScsiLunDescriptor struct {
func init() {
t["ScsiLunDescriptor"] = reflect.TypeOf((*ScsiLunDescriptor)(nil)).Elem()
- minAPIVersionForType["ScsiLunDescriptor"] = "4.0"
}
// This data object type represents an SMI-S "Correlatable and
@@ -72469,7 +72078,7 @@ type ScsiLunDurableName struct {
// along with the payload for data obtained from page 83h, and is the
// payload for data obtained from page 80h of the Vital Product Data
// (VPD).
- Data []byte `xml:"data,omitempty" json:"data,omitempty"`
+ Data ByteSlice `xml:"data,omitempty" json:"data,omitempty"`
}
func init() {
@@ -72489,7 +72098,6 @@ type SeSparseVirtualDiskSpec struct {
func init() {
t["SeSparseVirtualDiskSpec"] = reflect.TypeOf((*SeSparseVirtualDiskSpec)(nil)).Elem()
- minAPIVersionForType["SeSparseVirtualDiskSpec"] = "5.1"
}
// The parameters of `HostDatastoreBrowser.SearchDatastore_Task`.
@@ -72545,7 +72153,6 @@ type SecondaryVmAlreadyDisabled struct {
func init() {
t["SecondaryVmAlreadyDisabled"] = reflect.TypeOf((*SecondaryVmAlreadyDisabled)(nil)).Elem()
- minAPIVersionForType["SecondaryVmAlreadyDisabled"] = "4.0"
}
type SecondaryVmAlreadyDisabledFault SecondaryVmAlreadyDisabled
@@ -72565,7 +72172,6 @@ type SecondaryVmAlreadyEnabled struct {
func init() {
t["SecondaryVmAlreadyEnabled"] = reflect.TypeOf((*SecondaryVmAlreadyEnabled)(nil)).Elem()
- minAPIVersionForType["SecondaryVmAlreadyEnabled"] = "4.0"
}
type SecondaryVmAlreadyEnabledFault SecondaryVmAlreadyEnabled
@@ -72586,7 +72192,6 @@ type SecondaryVmAlreadyRegistered struct {
func init() {
t["SecondaryVmAlreadyRegistered"] = reflect.TypeOf((*SecondaryVmAlreadyRegistered)(nil)).Elem()
- minAPIVersionForType["SecondaryVmAlreadyRegistered"] = "4.0"
}
type SecondaryVmAlreadyRegisteredFault SecondaryVmAlreadyRegistered
@@ -72607,7 +72212,6 @@ type SecondaryVmNotRegistered struct {
func init() {
t["SecondaryVmNotRegistered"] = reflect.TypeOf((*SecondaryVmNotRegistered)(nil)).Elem()
- minAPIVersionForType["SecondaryVmNotRegistered"] = "4.0"
}
type SecondaryVmNotRegisteredFault SecondaryVmNotRegistered
@@ -72640,12 +72244,11 @@ type SecurityProfile struct {
ApplyProfile
// Permission configuration.
- Permission []PermissionProfile `xml:"permission,omitempty" json:"permission,omitempty" vim:"4.1"`
+ Permission []PermissionProfile `xml:"permission,omitempty" json:"permission,omitempty"`
}
func init() {
t["SecurityProfile"] = reflect.TypeOf((*SecurityProfile)(nil)).Elem()
- minAPIVersionForType["SecurityProfile"] = "4.0"
}
type SelectActivePartition SelectActivePartitionRequestType
@@ -72716,7 +72319,6 @@ type SelectionSet struct {
func init() {
t["SelectionSet"] = reflect.TypeOf((*SelectionSet)(nil)).Elem()
- minAPIVersionForType["SelectionSet"] = "5.0"
}
// The `SelectionSpec` is the base type for data
@@ -72847,7 +72449,6 @@ type ServiceConsolePortGroupProfile struct {
func init() {
t["ServiceConsolePortGroupProfile"] = reflect.TypeOf((*ServiceConsolePortGroupProfile)(nil)).Elem()
- minAPIVersionForType["ServiceConsolePortGroupProfile"] = "4.0"
}
// The ServiceConsoleReservationInfo data object type describes the
@@ -72903,7 +72504,7 @@ type ServiceContent struct {
// A singleton managed object for tracking custom sets of objects.
//
// Refers instance of `ViewManager`.
- ViewManager *ManagedObjectReference `xml:"viewManager,omitempty" json:"viewManager,omitempty" vim:"2.5"`
+ ViewManager *ManagedObjectReference `xml:"viewManager,omitempty" json:"viewManager,omitempty"`
// Information about the service, such as the software version.
About AboutInfo `xml:"about" json:"about"`
// Generic configuration for a management server.
@@ -72931,7 +72532,7 @@ type ServiceContent struct {
// A singleton managed object that manages local services.
//
// Refers instance of `ServiceManager`.
- ServiceManager *ManagedObjectReference `xml:"serviceManager,omitempty" json:"serviceManager,omitempty" vim:"5.1"`
+ ServiceManager *ManagedObjectReference `xml:"serviceManager,omitempty" json:"serviceManager,omitempty"`
// A singleton managed object that manages the collection and reporting
// of performance statistics.
//
@@ -72956,7 +72557,7 @@ type ServiceContent struct {
// A singleton managed object that manages extensions.
//
// Refers instance of `ExtensionManager`.
- ExtensionManager *ManagedObjectReference `xml:"extensionManager,omitempty" json:"extensionManager,omitempty" vim:"2.5"`
+ ExtensionManager *ManagedObjectReference `xml:"extensionManager,omitempty" json:"extensionManager,omitempty"`
// A singleton managed object that manages saved guest customization
// specifications.
//
@@ -72969,7 +72570,7 @@ type ServiceContent struct {
// InstantClone operation. See `VirtualMachine.InstantClone_Task`.
//
// Refers instance of `VirtualMachineGuestCustomizationManager`.
- GuestCustomizationManager *ManagedObjectReference `xml:"guestCustomizationManager,omitempty" json:"guestCustomizationManager,omitempty" vim:"6.8.7"`
+ GuestCustomizationManager *ManagedObjectReference `xml:"guestCustomizationManager,omitempty" json:"guestCustomizationManager,omitempty"`
// A singleton managed object that managed custom fields.
//
// Refers instance of `CustomFieldsManager`.
@@ -72994,101 +72595,101 @@ type ServiceContent struct {
// on datastores.
//
// Refers instance of `FileManager`.
- FileManager *ManagedObjectReference `xml:"fileManager,omitempty" json:"fileManager,omitempty" vim:"2.5"`
+ FileManager *ManagedObjectReference `xml:"fileManager,omitempty" json:"fileManager,omitempty"`
// Datastore Namespace manager.
//
// A singleton managed object that is used to manage manipulations
// related to datastores' namespaces.
//
// Refers instance of `DatastoreNamespaceManager`.
- DatastoreNamespaceManager *ManagedObjectReference `xml:"datastoreNamespaceManager,omitempty" json:"datastoreNamespaceManager,omitempty" vim:"5.5"`
+ DatastoreNamespaceManager *ManagedObjectReference `xml:"datastoreNamespaceManager,omitempty" json:"datastoreNamespaceManager,omitempty"`
// A singleton managed object that allows management of virtual disks
// on datastores.
//
// Refers instance of `VirtualDiskManager`.
- VirtualDiskManager *ManagedObjectReference `xml:"virtualDiskManager,omitempty" json:"virtualDiskManager,omitempty" vim:"2.5"`
+ VirtualDiskManager *ManagedObjectReference `xml:"virtualDiskManager,omitempty" json:"virtualDiskManager,omitempty"`
// Deprecated as of VI API 2.5, use the VMware vCenter Converter plug-in.
//
// A singleton managed object that manages the discovery, analysis,
// recommendation and virtualization of physical machines
//
// Refers instance of `VirtualizationManager`.
- VirtualizationManager *ManagedObjectReference `xml:"virtualizationManager,omitempty" json:"virtualizationManager,omitempty" vim:"2.5"`
+ VirtualizationManager *ManagedObjectReference `xml:"virtualizationManager,omitempty" json:"virtualizationManager,omitempty"`
// A singleton managed object that allows SNMP configuration.
//
// Not set if not supported on a particular platform.
//
// Refers instance of `HostSnmpSystem`.
- SnmpSystem *ManagedObjectReference `xml:"snmpSystem,omitempty" json:"snmpSystem,omitempty" vim:"4.0"`
+ SnmpSystem *ManagedObjectReference `xml:"snmpSystem,omitempty" json:"snmpSystem,omitempty"`
// A singleton managed object that can answer questions about the
// feasibility of certain provisioning operations.
//
// Refers instance of `VirtualMachineProvisioningChecker`.
- VmProvisioningChecker *ManagedObjectReference `xml:"vmProvisioningChecker,omitempty" json:"vmProvisioningChecker,omitempty" vim:"4.0"`
+ VmProvisioningChecker *ManagedObjectReference `xml:"vmProvisioningChecker,omitempty" json:"vmProvisioningChecker,omitempty"`
// A singleton managed object that can answer questions about compatibility
// of a virtual machine with a host.
//
// Refers instance of `VirtualMachineCompatibilityChecker`.
- VmCompatibilityChecker *ManagedObjectReference `xml:"vmCompatibilityChecker,omitempty" json:"vmCompatibilityChecker,omitempty" vim:"4.0"`
+ VmCompatibilityChecker *ManagedObjectReference `xml:"vmCompatibilityChecker,omitempty" json:"vmCompatibilityChecker,omitempty"`
// A singleton managed object that can generate OVF descriptors (export) and create
// vApps (single-VM or vApp container-based) from OVF descriptors (import).
//
// Refers instance of `OvfManager`.
- OvfManager *ManagedObjectReference `xml:"ovfManager,omitempty" json:"ovfManager,omitempty" vim:"4.0"`
+ OvfManager *ManagedObjectReference `xml:"ovfManager,omitempty" json:"ovfManager,omitempty"`
// A singleton managed object that supports management of IpPool objects.
//
// IP pools are
// used when allocating IPv4 and IPv6 addresses to vApps.
//
// Refers instance of `IpPoolManager`.
- IpPoolManager *ManagedObjectReference `xml:"ipPoolManager,omitempty" json:"ipPoolManager,omitempty" vim:"4.0"`
+ IpPoolManager *ManagedObjectReference `xml:"ipPoolManager,omitempty" json:"ipPoolManager,omitempty"`
// A singleton managed object that provides relevant information of
// DistributedVirtualSwitch.
//
// Refers instance of `DistributedVirtualSwitchManager`.
- DvSwitchManager *ManagedObjectReference `xml:"dvSwitchManager,omitempty" json:"dvSwitchManager,omitempty" vim:"4.0"`
+ DvSwitchManager *ManagedObjectReference `xml:"dvSwitchManager,omitempty" json:"dvSwitchManager,omitempty"`
// A singleton managed object that manages the host profiles.
//
// Refers instance of `HostProfileManager`.
- HostProfileManager *ManagedObjectReference `xml:"hostProfileManager,omitempty" json:"hostProfileManager,omitempty" vim:"4.0"`
+ HostProfileManager *ManagedObjectReference `xml:"hostProfileManager,omitempty" json:"hostProfileManager,omitempty"`
// A singleton managed object that manages the cluster profiles.
//
// Refers instance of `ClusterProfileManager`.
- ClusterProfileManager *ManagedObjectReference `xml:"clusterProfileManager,omitempty" json:"clusterProfileManager,omitempty" vim:"4.0"`
+ ClusterProfileManager *ManagedObjectReference `xml:"clusterProfileManager,omitempty" json:"clusterProfileManager,omitempty"`
// A singleton managed object that manages compliance aspects of entities.
//
// Refers instance of `ProfileComplianceManager`.
- ComplianceManager *ManagedObjectReference `xml:"complianceManager,omitempty" json:"complianceManager,omitempty" vim:"4.0"`
+ ComplianceManager *ManagedObjectReference `xml:"complianceManager,omitempty" json:"complianceManager,omitempty"`
// A singleton managed object that provides methods for retrieving message
// catalogs for client-side localization support.
//
// Refers instance of `LocalizationManager`.
- LocalizationManager *ManagedObjectReference `xml:"localizationManager,omitempty" json:"localizationManager,omitempty" vim:"4.0"`
+ LocalizationManager *ManagedObjectReference `xml:"localizationManager,omitempty" json:"localizationManager,omitempty"`
// A singleton managed object that provides methods for storage resource
// management.
//
// Refers instance of `StorageResourceManager`.
- StorageResourceManager *ManagedObjectReference `xml:"storageResourceManager,omitempty" json:"storageResourceManager,omitempty" vim:"4.1"`
+ StorageResourceManager *ManagedObjectReference `xml:"storageResourceManager,omitempty" json:"storageResourceManager,omitempty"`
// A singleton managed object that provides methods for guest operations.
//
// Refers instance of `GuestOperationsManager`.
- GuestOperationsManager *ManagedObjectReference `xml:"guestOperationsManager,omitempty" json:"guestOperationsManager,omitempty" vim:"5.0"`
+ GuestOperationsManager *ManagedObjectReference `xml:"guestOperationsManager,omitempty" json:"guestOperationsManager,omitempty"`
// A singleton managed object that provides methods for looking up static VM
// overhead memory.
//
// Refers instance of `OverheadMemoryManager`.
- OverheadMemoryManager *ManagedObjectReference `xml:"overheadMemoryManager,omitempty" json:"overheadMemoryManager,omitempty" vim:"6.0"`
+ OverheadMemoryManager *ManagedObjectReference `xml:"overheadMemoryManager,omitempty" json:"overheadMemoryManager,omitempty"`
// host certificate manager
// A singleton managed object to manage the certificates between the
// Certificate Server and the host.
//
// Refers instance of `CertificateManager`.
- CertificateManager *ManagedObjectReference `xml:"certificateManager,omitempty" json:"certificateManager,omitempty" vim:"6.0"`
+ CertificateManager *ManagedObjectReference `xml:"certificateManager,omitempty" json:"certificateManager,omitempty"`
// A singleton managed object that manages IO Filters installed on the ESXi
// hosts and IO Filter configuration of virtual disks.
//
// Refers instance of `IoFilterManager`.
- IoFilterManager *ManagedObjectReference `xml:"ioFilterManager,omitempty" json:"ioFilterManager,omitempty" vim:"6.0"`
+ IoFilterManager *ManagedObjectReference `xml:"ioFilterManager,omitempty" json:"ioFilterManager,omitempty"`
// A singleton managed object that manages all storage objects in the
// Virtual Infrastructure.
//
@@ -73100,40 +72701,40 @@ type ServiceContent struct {
// vStorageObject.
//
// Refers instance of `VStorageObjectManagerBase`.
- VStorageObjectManager *ManagedObjectReference `xml:"vStorageObjectManager,omitempty" json:"vStorageObjectManager,omitempty" vim:"6.5"`
+ VStorageObjectManager *ManagedObjectReference `xml:"vStorageObjectManager,omitempty" json:"vStorageObjectManager,omitempty"`
// A singleton managed object that manages the host specification data.
//
// Refers instance of `HostSpecificationManager`.
- HostSpecManager *ManagedObjectReference `xml:"hostSpecManager,omitempty" json:"hostSpecManager,omitempty" vim:"6.5"`
+ HostSpecManager *ManagedObjectReference `xml:"hostSpecManager,omitempty" json:"hostSpecManager,omitempty"`
// A singleton managed object used to manage cryptographic keys.
//
// Refers instance of `CryptoManager`.
- CryptoManager *ManagedObjectReference `xml:"cryptoManager,omitempty" json:"cryptoManager,omitempty" vim:"6.5"`
+ CryptoManager *ManagedObjectReference `xml:"cryptoManager,omitempty" json:"cryptoManager,omitempty"`
// A singleton managed object that manages the health updates.
//
// Refers instance of `HealthUpdateManager`.
- HealthUpdateManager *ManagedObjectReference `xml:"healthUpdateManager,omitempty" json:"healthUpdateManager,omitempty" vim:"6.5"`
+ HealthUpdateManager *ManagedObjectReference `xml:"healthUpdateManager,omitempty" json:"healthUpdateManager,omitempty"`
// A singleton managed object that manages the VCHA Cluster
// configuration.
//
// Refers instance of `FailoverClusterConfigurator`.
- FailoverClusterConfigurator *ManagedObjectReference `xml:"failoverClusterConfigurator,omitempty" json:"failoverClusterConfigurator,omitempty" vim:"6.5"`
+ FailoverClusterConfigurator *ManagedObjectReference `xml:"failoverClusterConfigurator,omitempty" json:"failoverClusterConfigurator,omitempty"`
// A singleton managed object for managing a configured VCHA Cluster.
//
// Refers instance of `FailoverClusterManager`.
- FailoverClusterManager *ManagedObjectReference `xml:"failoverClusterManager,omitempty" json:"failoverClusterManager,omitempty" vim:"6.5"`
+ FailoverClusterManager *ManagedObjectReference `xml:"failoverClusterManager,omitempty" json:"failoverClusterManager,omitempty"`
// A singleton managed object used to configure tenants.
//
// Refers instance of `TenantTenantManager`.
- TenantManager *ManagedObjectReference `xml:"tenantManager,omitempty" json:"tenantManager,omitempty" vim:"6.9.1"`
+ TenantManager *ManagedObjectReference `xml:"tenantManager,omitempty" json:"tenantManager,omitempty"`
// A singleton managed object used to manage site related capabilities.
//
// Refers instance of `SiteInfoManager`.
- SiteInfoManager *ManagedObjectReference `xml:"siteInfoManager,omitempty" json:"siteInfoManager,omitempty" vim:"7.0"`
+ SiteInfoManager *ManagedObjectReference `xml:"siteInfoManager,omitempty" json:"siteInfoManager,omitempty"`
// A singleton managed object used to query storage related entities.
//
// Refers instance of `StorageQueryManager`.
- StorageQueryManager *ManagedObjectReference `xml:"storageQueryManager,omitempty" json:"storageQueryManager,omitempty" vim:"6.7.2"`
+ StorageQueryManager *ManagedObjectReference `xml:"storageQueryManager,omitempty" json:"storageQueryManager,omitempty"`
}
func init() {
@@ -73166,7 +72767,6 @@ type ServiceLocator struct {
func init() {
t["ServiceLocator"] = reflect.TypeOf((*ServiceLocator)(nil)).Elem()
- minAPIVersionForType["ServiceLocator"] = "6.0"
}
// The data object type is a base type of credential for authentication such
@@ -73177,7 +72777,6 @@ type ServiceLocatorCredential struct {
func init() {
t["ServiceLocatorCredential"] = reflect.TypeOf((*ServiceLocatorCredential)(nil)).Elem()
- minAPIVersionForType["ServiceLocatorCredential"] = "6.0"
}
// The data object type specifies the username and password credential for
@@ -73193,7 +72792,6 @@ type ServiceLocatorNamePassword struct {
func init() {
t["ServiceLocatorNamePassword"] = reflect.TypeOf((*ServiceLocatorNamePassword)(nil)).Elem()
- minAPIVersionForType["ServiceLocatorNamePassword"] = "6.0"
}
// The data object type specifies the SAML token (SSO) based credential for
@@ -73207,7 +72805,6 @@ type ServiceLocatorSAMLCredential struct {
func init() {
t["ServiceLocatorSAMLCredential"] = reflect.TypeOf((*ServiceLocatorSAMLCredential)(nil)).Elem()
- minAPIVersionForType["ServiceLocatorSAMLCredential"] = "6.0"
}
// This data object represents essential information about a particular service.
@@ -73260,7 +72857,6 @@ type ServiceProfile struct {
func init() {
t["ServiceProfile"] = reflect.TypeOf((*ServiceProfile)(nil)).Elem()
- minAPIVersionForType["ServiceProfile"] = "4.0"
}
// These are session events.
@@ -73311,11 +72907,11 @@ type SessionManagerGenericServiceTicket struct {
// A unique string identifying the ticket.
Id string `xml:"id" json:"id"`
// The name of the host that the service is running on
- HostName string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"5.1"`
+ HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
// The expected thumbprint of the SSL certificate of the host.
//
// If it is empty, the host must be authenticated by name.
- SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty" vim:"5.1"`
+ SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty"`
// List of expected thumbprints of the certificate of the host to
// which we are connecting.
//
@@ -73331,7 +72927,6 @@ type SessionManagerGenericServiceTicket struct {
func init() {
t["SessionManagerGenericServiceTicket"] = reflect.TypeOf((*SessionManagerGenericServiceTicket)(nil)).Elem()
- minAPIVersionForType["SessionManagerGenericServiceTicket"] = "5.0"
}
// This data object type describes a request to an HTTP or HTTPS service.
@@ -73349,8 +72944,8 @@ type SessionManagerHttpServiceRequestSpec struct {
// E.g. 'https://127.0.0.1:8080/cgi-bin/vm-support.cgi?n=val'.
//
// For ESXi CGI service requests:
- // - only the path and query parts of the URL are used
- // (e.g. "/cgi-bin/vm-support.cgi?n=val").
+ // - only the path and query parts of the URL are used
+ // (e.g. "/cgi-bin/vm-support.cgi?n=val").
//
// This is so because the scheme is not known to the CGI service,
// and the port may not be the same if using a proxy.
@@ -73359,7 +72954,6 @@ type SessionManagerHttpServiceRequestSpec struct {
func init() {
t["SessionManagerHttpServiceRequestSpec"] = reflect.TypeOf((*SessionManagerHttpServiceRequestSpec)(nil)).Elem()
- minAPIVersionForType["SessionManagerHttpServiceRequestSpec"] = "5.0"
}
// This data object type contains the user name
@@ -73390,7 +72984,6 @@ type SessionManagerServiceRequestSpec struct {
func init() {
t["SessionManagerServiceRequestSpec"] = reflect.TypeOf((*SessionManagerServiceRequestSpec)(nil)).Elem()
- minAPIVersionForType["SessionManagerServiceRequestSpec"] = "5.0"
}
// This data object type describes a request to invoke a specific method
@@ -73409,7 +73002,6 @@ type SessionManagerVmomiServiceRequestSpec struct {
func init() {
t["SessionManagerVmomiServiceRequestSpec"] = reflect.TypeOf((*SessionManagerVmomiServiceRequestSpec)(nil)).Elem()
- minAPIVersionForType["SessionManagerVmomiServiceRequestSpec"] = "5.1"
}
// This event records the termination of a session.
@@ -73461,6 +73053,10 @@ type SetCryptoModeRequestType struct {
// input and will be interpreted as
// `onDemand`.
CryptoMode string `xml:"cryptoMode" json:"cryptoMode"`
+ // The encryption mode policy for the cluster. When no policy
+ // is specified, host keys will be automcatically generated
+ // using the current default key provider.
+ Policy *ClusterComputeResourceCryptoModePolicy `xml:"policy,omitempty" json:"policy,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -73610,6 +73206,7 @@ type SetKeyCustomAttributesRequestType struct {
func init() {
t["SetKeyCustomAttributesRequestType"] = reflect.TypeOf((*SetKeyCustomAttributesRequestType)(nil)).Elem()
+ minAPIVersionForType["SetKeyCustomAttributesRequestType"] = "8.0.1.0"
}
type SetKeyCustomAttributesResponse struct {
@@ -73688,6 +73285,7 @@ type SetMaxQueueDepthRequestType struct {
func init() {
t["SetMaxQueueDepthRequestType"] = reflect.TypeOf((*SetMaxQueueDepthRequestType)(nil)).Elem()
+ minAPIVersionForType["SetMaxQueueDepthRequestType"] = "8.0.0.1"
}
type SetMaxQueueDepthResponse struct {
@@ -73834,6 +73432,7 @@ type SetServiceAccountRequestType struct {
func init() {
t["SetServiceAccountRequestType"] = reflect.TypeOf((*SetServiceAccountRequestType)(nil)).Elem()
+ minAPIVersionForType["SetServiceAccountRequestType"] = "8.0.2.0"
}
type SetServiceAccountResponse struct {
@@ -73923,6 +73522,47 @@ func init() {
t["SetVirtualDiskUuid"] = reflect.TypeOf((*SetVirtualDiskUuid)(nil)).Elem()
}
+// The parameters of `VcenterVStorageObjectManager.SetVirtualDiskUuidEx_Task`.
+type SetVirtualDiskUuidExRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // The name of the disk, either a datastore path or a URL
+ // referring to the virtual disk whose uuid for the DDB entry needs to be set.
+ // A datastore path has the form
+ // > \[_datastore_\] _path_
+ //
+ // where
+ // - _datastore_ is the datastore name.
+ // - _path_ is a slash-delimited path from the root of the datastore.
+ //
+ // An example datastore path is "\[storage\] path/to/file.extension".
+ Name string `xml:"name" json:"name"`
+ // If name
is a datastore path, the datacenter for
+ // that datastore path is mandatory. Not needed when invoked directly on ESX.
+ // If not specified on a call from VirtualCenter,
+ // name
must be a URL.
+ //
+ // Refers instance of `Datacenter`.
+ Datacenter *ManagedObjectReference `xml:"datacenter,omitempty" json:"datacenter,omitempty"`
+ // The hex representation of the unique ID for this virtual disk. If uuid is not set or missing,
+ // a random UUID is generated and assigned.
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
+}
+
+func init() {
+ t["SetVirtualDiskUuidExRequestType"] = reflect.TypeOf((*SetVirtualDiskUuidExRequestType)(nil)).Elem()
+ minAPIVersionForType["SetVirtualDiskUuidExRequestType"] = "8.0.3.0"
+}
+
+type SetVirtualDiskUuidEx_Task SetVirtualDiskUuidExRequestType
+
+func init() {
+ t["SetVirtualDiskUuidEx_Task"] = reflect.TypeOf((*SetVirtualDiskUuidEx_Task)(nil)).Elem()
+}
+
+type SetVirtualDiskUuidEx_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
+}
+
// The parameters of `VirtualDiskManager.SetVirtualDiskUuid`.
type SetVirtualDiskUuidRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
@@ -74014,7 +73654,6 @@ type SharesOption struct {
func init() {
t["SharesOption"] = reflect.TypeOf((*SharesOption)(nil)).Elem()
- minAPIVersionForType["SharesOption"] = "4.1"
}
// This exception is thrown when VirtualMachine.shrinkDisk
@@ -74028,7 +73667,6 @@ type ShrinkDiskFault struct {
func init() {
t["ShrinkDiskFault"] = reflect.TypeOf((*ShrinkDiskFault)(nil)).Elem()
- minAPIVersionForType["ShrinkDiskFault"] = "5.1"
}
type ShrinkDiskFaultFault ShrinkDiskFault
@@ -74124,7 +73762,6 @@ type SingleIp struct {
func init() {
t["SingleIp"] = reflect.TypeOf((*SingleIp)(nil)).Elem()
- minAPIVersionForType["SingleIp"] = "5.5"
}
// This class defines a Single MAC address.
@@ -74140,7 +73777,6 @@ type SingleMac struct {
func init() {
t["SingleMac"] = reflect.TypeOf((*SingleMac)(nil)).Elem()
- minAPIVersionForType["SingleMac"] = "5.5"
}
// This data object type represents the external site-related capabilities
@@ -74151,7 +73787,6 @@ type SiteInfo struct {
func init() {
t["SiteInfo"] = reflect.TypeOf((*SiteInfo)(nil)).Elem()
- minAPIVersionForType["SiteInfo"] = "7.0"
}
// An attempt is being made to copy a virtual machine's disk that has
@@ -74165,7 +73800,6 @@ type SnapshotCloneNotSupported struct {
func init() {
t["SnapshotCloneNotSupported"] = reflect.TypeOf((*SnapshotCloneNotSupported)(nil)).Elem()
- minAPIVersionForType["SnapshotCloneNotSupported"] = "2.5"
}
type SnapshotCloneNotSupportedFault SnapshotCloneNotSupported
@@ -74204,7 +73838,6 @@ type SnapshotDisabled struct {
func init() {
t["SnapshotDisabled"] = reflect.TypeOf((*SnapshotDisabled)(nil)).Elem()
- minAPIVersionForType["SnapshotDisabled"] = "2.5"
}
type SnapshotDisabledFault SnapshotDisabled
@@ -74262,7 +73895,6 @@ type SnapshotLocked struct {
func init() {
t["SnapshotLocked"] = reflect.TypeOf((*SnapshotLocked)(nil)).Elem()
- minAPIVersionForType["SnapshotLocked"] = "2.5"
}
type SnapshotLockedFault SnapshotLocked
@@ -74281,7 +73913,6 @@ type SnapshotMoveFromNonHomeNotSupported struct {
func init() {
t["SnapshotMoveFromNonHomeNotSupported"] = reflect.TypeOf((*SnapshotMoveFromNonHomeNotSupported)(nil)).Elem()
- minAPIVersionForType["SnapshotMoveFromNonHomeNotSupported"] = "2.5"
}
type SnapshotMoveFromNonHomeNotSupportedFault SnapshotMoveFromNonHomeNotSupported
@@ -74299,7 +73930,6 @@ type SnapshotMoveNotSupported struct {
func init() {
t["SnapshotMoveNotSupported"] = reflect.TypeOf((*SnapshotMoveNotSupported)(nil)).Elem()
- minAPIVersionForType["SnapshotMoveNotSupported"] = "2.5"
}
type SnapshotMoveNotSupportedFault SnapshotMoveNotSupported
@@ -74318,7 +73948,6 @@ type SnapshotMoveToNonHomeNotSupported struct {
func init() {
t["SnapshotMoveToNonHomeNotSupported"] = reflect.TypeOf((*SnapshotMoveToNonHomeNotSupported)(nil)).Elem()
- minAPIVersionForType["SnapshotMoveToNonHomeNotSupported"] = "2.5"
}
type SnapshotMoveToNonHomeNotSupportedFault SnapshotMoveToNonHomeNotSupported
@@ -74339,7 +73968,6 @@ type SnapshotNoChange struct {
func init() {
t["SnapshotNoChange"] = reflect.TypeOf((*SnapshotNoChange)(nil)).Elem()
- minAPIVersionForType["SnapshotNoChange"] = "2.5"
}
type SnapshotNoChangeFault SnapshotNoChange
@@ -74382,6 +74010,20 @@ func init() {
t["SnapshotRevertIssueFault"] = reflect.TypeOf((*SnapshotRevertIssueFault)(nil)).Elem()
}
+// This data type defines the filtering specification for removing snapshots
+// from virtual machine.
+type SnapshotSelectionSpec struct {
+ DynamicData
+
+ // This is the property to select snapshots older than X days.
+ RetentionDays int32 `xml:"retentionDays,omitempty" json:"retentionDays,omitempty"`
+}
+
+func init() {
+ t["SnapshotSelectionSpec"] = reflect.TypeOf((*SnapshotSelectionSpec)(nil)).Elem()
+ minAPIVersionForType["SnapshotSelectionSpec"] = "8.0.3.0"
+}
+
// The current DRS migration priority setting prevents generating
// a recommendation to correct the soft VM/Host affinity rules constraint
// violation for the VM so the violation will not be corrected.
@@ -74395,7 +74037,6 @@ type SoftRuleVioCorrectionDisallowed struct {
func init() {
t["SoftRuleVioCorrectionDisallowed"] = reflect.TypeOf((*SoftRuleVioCorrectionDisallowed)(nil)).Elem()
- minAPIVersionForType["SoftRuleVioCorrectionDisallowed"] = "4.1"
}
type SoftRuleVioCorrectionDisallowedFault SoftRuleVioCorrectionDisallowed
@@ -74417,7 +74058,6 @@ type SoftRuleVioCorrectionImpact struct {
func init() {
t["SoftRuleVioCorrectionImpact"] = reflect.TypeOf((*SoftRuleVioCorrectionImpact)(nil)).Elem()
- minAPIVersionForType["SoftRuleVioCorrectionImpact"] = "4.1"
}
type SoftRuleVioCorrectionImpactFault SoftRuleVioCorrectionImpact
@@ -74487,7 +74127,6 @@ type SoftwarePackage struct {
func init() {
t["SoftwarePackage"] = reflect.TypeOf((*SoftwarePackage)(nil)).Elem()
- minAPIVersionForType["SoftwarePackage"] = "6.5"
}
type SoftwarePackageCapability struct {
@@ -74518,7 +74157,6 @@ type SolutionUserRequired struct {
func init() {
t["SolutionUserRequired"] = reflect.TypeOf((*SolutionUserRequired)(nil)).Elem()
- minAPIVersionForType["SolutionUserRequired"] = "7.0"
}
type SolutionUserRequiredFault SolutionUserRequired
@@ -74544,7 +74182,6 @@ type SourceNodeSpec struct {
func init() {
t["SourceNodeSpec"] = reflect.TypeOf((*SourceNodeSpec)(nil)).Elem()
- minAPIVersionForType["SourceNodeSpec"] = "6.5"
}
// A SsdDiskNotAvailable fault indicating that the specified SSD
@@ -74563,7 +74200,6 @@ type SsdDiskNotAvailable struct {
func init() {
t["SsdDiskNotAvailable"] = reflect.TypeOf((*SsdDiskNotAvailable)(nil)).Elem()
- minAPIVersionForType["SsdDiskNotAvailable"] = "5.5"
}
type SsdDiskNotAvailableFault SsdDiskNotAvailable
@@ -74788,9 +74424,9 @@ type StateAlarmExpression struct {
// Path of the state property.
//
// The supported values:
- // - for vim.VirtualMachine type:
- // - runtime.powerState or summary.quickStats.guestHeartbeatStatus
- // - for vim.HostSystem type: runtime.connectionState
+ // - for vim.VirtualMachine type:
+ // - runtime.powerState or summary.quickStats.guestHeartbeatStatus
+ // - for vim.HostSystem type: runtime.connectionState
StatePath string `xml:"statePath" json:"statePath"`
// Whether or not to test for a yellow condition.
//
@@ -74814,12 +74450,11 @@ type StaticRouteProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"5.1"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
}
func init() {
t["StaticRouteProfile"] = reflect.TypeOf((*StaticRouteProfile)(nil)).Elem()
- minAPIVersionForType["StaticRouteProfile"] = "4.0"
}
type StopRecordingRequestType struct {
@@ -74891,6 +74526,8 @@ type StorageDrsAutomationConfig struct {
// overrides the datastore cluster level automation behavior defined in the
// `StorageDrsPodConfigInfo`.
SpaceLoadBalanceAutomationMode string `xml:"spaceLoadBalanceAutomationMode,omitempty" json:"spaceLoadBalanceAutomationMode,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Specifies the behavior of Storage DRS when it generates
// recommendations for correcting I/O load imbalance in a datastore
// cluster.
@@ -74930,7 +74567,6 @@ type StorageDrsAutomationConfig struct {
func init() {
t["StorageDrsAutomationConfig"] = reflect.TypeOf((*StorageDrsAutomationConfig)(nil)).Elem()
- minAPIVersionForType["StorageDrsAutomationConfig"] = "6.0"
}
// This fault is thrown because Storage DRS cannot generate recommendations
@@ -74942,7 +74578,6 @@ type StorageDrsCannotMoveDiskInMultiWriterMode struct {
func init() {
t["StorageDrsCannotMoveDiskInMultiWriterMode"] = reflect.TypeOf((*StorageDrsCannotMoveDiskInMultiWriterMode)(nil)).Elem()
- minAPIVersionForType["StorageDrsCannotMoveDiskInMultiWriterMode"] = "5.1"
}
type StorageDrsCannotMoveDiskInMultiWriterModeFault StorageDrsCannotMoveDiskInMultiWriterMode
@@ -74959,7 +74594,6 @@ type StorageDrsCannotMoveFTVm struct {
func init() {
t["StorageDrsCannotMoveFTVm"] = reflect.TypeOf((*StorageDrsCannotMoveFTVm)(nil)).Elem()
- minAPIVersionForType["StorageDrsCannotMoveFTVm"] = "5.1"
}
type StorageDrsCannotMoveFTVmFault StorageDrsCannotMoveFTVm
@@ -74976,7 +74610,6 @@ type StorageDrsCannotMoveIndependentDisk struct {
func init() {
t["StorageDrsCannotMoveIndependentDisk"] = reflect.TypeOf((*StorageDrsCannotMoveIndependentDisk)(nil)).Elem()
- minAPIVersionForType["StorageDrsCannotMoveIndependentDisk"] = "5.1"
}
type StorageDrsCannotMoveIndependentDiskFault StorageDrsCannotMoveIndependentDisk
@@ -74994,7 +74627,6 @@ type StorageDrsCannotMoveManuallyPlacedSwapFile struct {
func init() {
t["StorageDrsCannotMoveManuallyPlacedSwapFile"] = reflect.TypeOf((*StorageDrsCannotMoveManuallyPlacedSwapFile)(nil)).Elem()
- minAPIVersionForType["StorageDrsCannotMoveManuallyPlacedSwapFile"] = "5.1"
}
type StorageDrsCannotMoveManuallyPlacedSwapFileFault StorageDrsCannotMoveManuallyPlacedSwapFile
@@ -75011,7 +74643,6 @@ type StorageDrsCannotMoveManuallyPlacedVm struct {
func init() {
t["StorageDrsCannotMoveManuallyPlacedVm"] = reflect.TypeOf((*StorageDrsCannotMoveManuallyPlacedVm)(nil)).Elem()
- minAPIVersionForType["StorageDrsCannotMoveManuallyPlacedVm"] = "5.1"
}
type StorageDrsCannotMoveManuallyPlacedVmFault StorageDrsCannotMoveManuallyPlacedVm
@@ -75028,7 +74659,6 @@ type StorageDrsCannotMoveSharedDisk struct {
func init() {
t["StorageDrsCannotMoveSharedDisk"] = reflect.TypeOf((*StorageDrsCannotMoveSharedDisk)(nil)).Elem()
- minAPIVersionForType["StorageDrsCannotMoveSharedDisk"] = "5.1"
}
type StorageDrsCannotMoveSharedDiskFault StorageDrsCannotMoveSharedDisk
@@ -75045,7 +74675,6 @@ type StorageDrsCannotMoveTemplate struct {
func init() {
t["StorageDrsCannotMoveTemplate"] = reflect.TypeOf((*StorageDrsCannotMoveTemplate)(nil)).Elem()
- minAPIVersionForType["StorageDrsCannotMoveTemplate"] = "5.1"
}
type StorageDrsCannotMoveTemplateFault StorageDrsCannotMoveTemplate
@@ -75062,7 +74691,6 @@ type StorageDrsCannotMoveVmInUserFolder struct {
func init() {
t["StorageDrsCannotMoveVmInUserFolder"] = reflect.TypeOf((*StorageDrsCannotMoveVmInUserFolder)(nil)).Elem()
- minAPIVersionForType["StorageDrsCannotMoveVmInUserFolder"] = "5.1"
}
type StorageDrsCannotMoveVmInUserFolderFault StorageDrsCannotMoveVmInUserFolder
@@ -75079,7 +74707,6 @@ type StorageDrsCannotMoveVmWithMountedCDROM struct {
func init() {
t["StorageDrsCannotMoveVmWithMountedCDROM"] = reflect.TypeOf((*StorageDrsCannotMoveVmWithMountedCDROM)(nil)).Elem()
- minAPIVersionForType["StorageDrsCannotMoveVmWithMountedCDROM"] = "5.1"
}
type StorageDrsCannotMoveVmWithMountedCDROMFault StorageDrsCannotMoveVmWithMountedCDROM
@@ -75096,7 +74723,6 @@ type StorageDrsCannotMoveVmWithNoFilesInLayout struct {
func init() {
t["StorageDrsCannotMoveVmWithNoFilesInLayout"] = reflect.TypeOf((*StorageDrsCannotMoveVmWithNoFilesInLayout)(nil)).Elem()
- minAPIVersionForType["StorageDrsCannotMoveVmWithNoFilesInLayout"] = "5.1"
}
type StorageDrsCannotMoveVmWithNoFilesInLayoutFault StorageDrsCannotMoveVmWithNoFilesInLayout
@@ -75125,7 +74751,6 @@ type StorageDrsConfigInfo struct {
func init() {
t["StorageDrsConfigInfo"] = reflect.TypeOf((*StorageDrsConfigInfo)(nil)).Elem()
- minAPIVersionForType["StorageDrsConfigInfo"] = "5.0"
}
// The `StorageDrsConfigSpec` data object provides a set of update
@@ -75144,7 +74769,6 @@ type StorageDrsConfigSpec struct {
func init() {
t["StorageDrsConfigSpec"] = reflect.TypeOf((*StorageDrsConfigSpec)(nil)).Elem()
- minAPIVersionForType["StorageDrsConfigSpec"] = "5.0"
}
// This fault is thrown when one datastore using Storage DRS is added to two
@@ -75155,7 +74779,6 @@ type StorageDrsDatacentersCannotShareDatastore struct {
func init() {
t["StorageDrsDatacentersCannotShareDatastore"] = reflect.TypeOf((*StorageDrsDatacentersCannotShareDatastore)(nil)).Elem()
- minAPIVersionForType["StorageDrsDatacentersCannotShareDatastore"] = "5.5"
}
type StorageDrsDatacentersCannotShareDatastoreFault StorageDrsDatacentersCannotShareDatastore
@@ -75172,7 +74795,6 @@ type StorageDrsDisabledOnVm struct {
func init() {
t["StorageDrsDisabledOnVm"] = reflect.TypeOf((*StorageDrsDisabledOnVm)(nil)).Elem()
- minAPIVersionForType["StorageDrsDisabledOnVm"] = "5.0"
}
type StorageDrsDisabledOnVmFault StorageDrsDisabledOnVm
@@ -75193,7 +74815,6 @@ type StorageDrsHbrDiskNotMovable struct {
func init() {
t["StorageDrsHbrDiskNotMovable"] = reflect.TypeOf((*StorageDrsHbrDiskNotMovable)(nil)).Elem()
- minAPIVersionForType["StorageDrsHbrDiskNotMovable"] = "6.0"
}
type StorageDrsHbrDiskNotMovableFault StorageDrsHbrDiskNotMovable
@@ -75210,7 +74831,6 @@ type StorageDrsHmsMoveInProgress struct {
func init() {
t["StorageDrsHmsMoveInProgress"] = reflect.TypeOf((*StorageDrsHmsMoveInProgress)(nil)).Elem()
- minAPIVersionForType["StorageDrsHmsMoveInProgress"] = "6.0"
}
type StorageDrsHmsMoveInProgressFault StorageDrsHmsMoveInProgress
@@ -75227,7 +74847,6 @@ type StorageDrsHmsUnreachable struct {
func init() {
t["StorageDrsHmsUnreachable"] = reflect.TypeOf((*StorageDrsHmsUnreachable)(nil)).Elem()
- minAPIVersionForType["StorageDrsHmsUnreachable"] = "6.0"
}
type StorageDrsHmsUnreachableFault StorageDrsHmsUnreachable
@@ -75236,6 +74855,8 @@ func init() {
t["StorageDrsHmsUnreachableFault"] = reflect.TypeOf((*StorageDrsHmsUnreachableFault)(nil)).Elem()
}
+// Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+//
// Storage DRS configuration for I/O load balancing.
type StorageDrsIoLoadBalanceConfig struct {
DynamicData
@@ -75254,7 +74875,7 @@ type StorageDrsIoLoadBalanceConfig struct {
//
// The valid values are in the range of 30 (i.e., 30%) to 100 (i.e., 100%).
// If not specified, the default value is 60%.
- ReservablePercentThreshold int32 `xml:"reservablePercentThreshold,omitempty" json:"reservablePercentThreshold,omitempty" vim:"6.0"`
+ ReservablePercentThreshold int32 `xml:"reservablePercentThreshold,omitempty" json:"reservablePercentThreshold,omitempty"`
// Storage DRS makes storage migration recommendations if total
// IOPs reservation of all VMs running on a datastore is higher than
// the specified threshold.
@@ -75268,7 +74889,7 @@ type StorageDrsIoLoadBalanceConfig struct {
// should be based on conservative estimate of storage performance,
// and ideally should be set to about 50-60% of worse case peak
// performance of backing LUN.
- ReservableIopsThreshold int32 `xml:"reservableIopsThreshold,omitempty" json:"reservableIopsThreshold,omitempty" vim:"6.0"`
+ ReservableIopsThreshold int32 `xml:"reservableIopsThreshold,omitempty" json:"reservableIopsThreshold,omitempty"`
// Determines which reservation threshold specification to use.
//
// See `StorageDrsPodConfigInfoBehavior_enum`. If unspecified, the
@@ -75276,7 +74897,7 @@ type StorageDrsIoLoadBalanceConfig struct {
// percentage value in that case.
// If mode is specified, but corresponding reservationThreshold
// value is absent, option specific defaults are used.
- ReservableThresholdMode string `xml:"reservableThresholdMode,omitempty" json:"reservableThresholdMode,omitempty" vim:"6.0"`
+ ReservableThresholdMode string `xml:"reservableThresholdMode,omitempty" json:"reservableThresholdMode,omitempty"`
// Storage DRS makes storage migration recommendations if
// I/O latency on one (or more) of the datastores is higher than
// the specified threshold.
@@ -75296,9 +74917,10 @@ type StorageDrsIoLoadBalanceConfig struct {
func init() {
t["StorageDrsIoLoadBalanceConfig"] = reflect.TypeOf((*StorageDrsIoLoadBalanceConfig)(nil)).Elem()
- minAPIVersionForType["StorageDrsIoLoadBalanceConfig"] = "5.0"
}
+// Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+//
// The fault occurs when Storage DRS disables IO Load balancing internally
// even though it is enabled by the user.
//
@@ -75313,7 +74935,6 @@ type StorageDrsIolbDisabledInternally struct {
func init() {
t["StorageDrsIolbDisabledInternally"] = reflect.TypeOf((*StorageDrsIolbDisabledInternally)(nil)).Elem()
- minAPIVersionForType["StorageDrsIolbDisabledInternally"] = "5.0"
}
type StorageDrsIolbDisabledInternallyFault StorageDrsIolbDisabledInternally
@@ -75331,7 +74952,6 @@ type StorageDrsOptionSpec struct {
func init() {
t["StorageDrsOptionSpec"] = reflect.TypeOf((*StorageDrsOptionSpec)(nil)).Elem()
- minAPIVersionForType["StorageDrsOptionSpec"] = "5.0"
}
type StorageDrsPlacementRankVmSpec struct {
@@ -75356,6 +74976,8 @@ type StorageDrsPodConfigInfo struct {
// Flag indicating whether or not storage DRS is enabled.
Enabled bool `xml:"enabled" json:"enabled"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Flag indicating whether or not storage DRS takes into account storage I/O
// workload when making load balancing and initial placement recommendations.
IoLoadBalanceEnabled bool `xml:"ioLoadBalanceEnabled" json:"ioLoadBalanceEnabled"`
@@ -75384,13 +75006,15 @@ type StorageDrsPodConfigInfo struct {
DefaultIntraVmAffinity *bool `xml:"defaultIntraVmAffinity" json:"defaultIntraVmAffinity,omitempty"`
// The configuration settings for load balancing storage space.
SpaceLoadBalanceConfig *StorageDrsSpaceLoadBalanceConfig `xml:"spaceLoadBalanceConfig,omitempty" json:"spaceLoadBalanceConfig,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// The configuration settings for load balancing I/O workload.
//
// This takes effect only if `StorageDrsPodConfigInfo.ioLoadBalanceEnabled` is true
.
IoLoadBalanceConfig *StorageDrsIoLoadBalanceConfig `xml:"ioLoadBalanceConfig,omitempty" json:"ioLoadBalanceConfig,omitempty"`
// Configuration settings for fine-grain automation overrides on
// the cluster level setting.
- AutomationOverrides *StorageDrsAutomationConfig `xml:"automationOverrides,omitempty" json:"automationOverrides,omitempty" vim:"6.0"`
+ AutomationOverrides *StorageDrsAutomationConfig `xml:"automationOverrides,omitempty" json:"automationOverrides,omitempty"`
// Pod-wide rules.
Rule []BaseClusterRuleInfo `xml:"rule,omitempty,typeattr" json:"rule,omitempty"`
// Advanced settings.
@@ -75399,7 +75023,6 @@ type StorageDrsPodConfigInfo struct {
func init() {
t["StorageDrsPodConfigInfo"] = reflect.TypeOf((*StorageDrsPodConfigInfo)(nil)).Elem()
- minAPIVersionForType["StorageDrsPodConfigInfo"] = "5.0"
}
// The `StorageDrsPodConfigSpec` data object provides a set of update
@@ -75412,6 +75035,8 @@ type StorageDrsPodConfigSpec struct {
// Flag indicating whether or not storage DRS is enabled.
Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Flag indicating whether or not storage DRS takes into account storage I/O
// workload when making load balancing and initial placement recommendations.
IoLoadBalanceEnabled *bool `xml:"ioLoadBalanceEnabled" json:"ioLoadBalanceEnabled,omitempty"`
@@ -75429,13 +75054,15 @@ type StorageDrsPodConfigSpec struct {
DefaultIntraVmAffinity *bool `xml:"defaultIntraVmAffinity" json:"defaultIntraVmAffinity,omitempty"`
// The configuration settings for load balancing storage space.
SpaceLoadBalanceConfig *StorageDrsSpaceLoadBalanceConfig `xml:"spaceLoadBalanceConfig,omitempty" json:"spaceLoadBalanceConfig,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// The configuration settings for load balancing I/O workload.
//
// This takes effect only if `StorageDrsPodConfigInfo.ioLoadBalanceEnabled` is true
.
IoLoadBalanceConfig *StorageDrsIoLoadBalanceConfig `xml:"ioLoadBalanceConfig,omitempty" json:"ioLoadBalanceConfig,omitempty"`
// Configuration settings for fine-grain automation overrides on
// the cluster level setting.
- AutomationOverrides *StorageDrsAutomationConfig `xml:"automationOverrides,omitempty" json:"automationOverrides,omitempty" vim:"6.0"`
+ AutomationOverrides *StorageDrsAutomationConfig `xml:"automationOverrides,omitempty" json:"automationOverrides,omitempty"`
// Changes to the set of rules.
Rule []ClusterRuleSpec `xml:"rule,omitempty" json:"rule,omitempty"`
// Changes to advance settings.
@@ -75444,7 +75071,6 @@ type StorageDrsPodConfigSpec struct {
func init() {
t["StorageDrsPodConfigSpec"] = reflect.TypeOf((*StorageDrsPodConfigSpec)(nil)).Elem()
- minAPIVersionForType["StorageDrsPodConfigSpec"] = "5.0"
}
// Specification for moving or copying a virtual machine to a different Storage Pod.
@@ -75463,7 +75089,6 @@ type StorageDrsPodSelectionSpec struct {
func init() {
t["StorageDrsPodSelectionSpec"] = reflect.TypeOf((*StorageDrsPodSelectionSpec)(nil)).Elem()
- minAPIVersionForType["StorageDrsPodSelectionSpec"] = "5.0"
}
// This fault is thrown when Storage DRS cannot move disks of a virtual machine
@@ -75474,7 +75099,6 @@ type StorageDrsRelocateDisabled struct {
func init() {
t["StorageDrsRelocateDisabled"] = reflect.TypeOf((*StorageDrsRelocateDisabled)(nil)).Elem()
- minAPIVersionForType["StorageDrsRelocateDisabled"] = "6.0"
}
type StorageDrsRelocateDisabledFault StorageDrsRelocateDisabled
@@ -75503,7 +75127,7 @@ type StorageDrsSpaceLoadBalanceConfig struct {
// The maximum value is limited by the capacity of the smallest
// datastore in a datastore cluster.
// If not specified, the default value is 50GB.
- FreeSpaceThresholdGB int32 `xml:"freeSpaceThresholdGB,omitempty" json:"freeSpaceThresholdGB,omitempty" vim:"6.0"`
+ FreeSpaceThresholdGB int32 `xml:"freeSpaceThresholdGB,omitempty" json:"freeSpaceThresholdGB,omitempty"`
// Storage DRS considers making storage migration recommendations if
// the difference in space utilization between the source and destination datastores
// is higher than the specified threshold.
@@ -75515,7 +75139,6 @@ type StorageDrsSpaceLoadBalanceConfig struct {
func init() {
t["StorageDrsSpaceLoadBalanceConfig"] = reflect.TypeOf((*StorageDrsSpaceLoadBalanceConfig)(nil)).Elem()
- minAPIVersionForType["StorageDrsSpaceLoadBalanceConfig"] = "5.0"
}
// This fault is thrown when Storage DRS action for relocating
@@ -75527,7 +75150,6 @@ type StorageDrsStaleHmsCollection struct {
func init() {
t["StorageDrsStaleHmsCollection"] = reflect.TypeOf((*StorageDrsStaleHmsCollection)(nil)).Elem()
- minAPIVersionForType["StorageDrsStaleHmsCollection"] = "6.0"
}
type StorageDrsStaleHmsCollectionFault StorageDrsStaleHmsCollection
@@ -75544,7 +75166,6 @@ type StorageDrsUnableToMoveFiles struct {
func init() {
t["StorageDrsUnableToMoveFiles"] = reflect.TypeOf((*StorageDrsUnableToMoveFiles)(nil)).Elem()
- minAPIVersionForType["StorageDrsUnableToMoveFiles"] = "5.1"
}
type StorageDrsUnableToMoveFilesFault StorageDrsUnableToMoveFiles
@@ -75598,12 +75219,11 @@ type StorageDrsVmConfigInfo struct {
// virtual machine.
IntraVmAntiAffinity *VirtualDiskAntiAffinityRuleSpec `xml:"intraVmAntiAffinity,omitempty" json:"intraVmAntiAffinity,omitempty"`
// List of the virtual disk rules that can be overridden/created.
- VirtualDiskRules []VirtualDiskRuleSpec `xml:"virtualDiskRules,omitempty" json:"virtualDiskRules,omitempty" vim:"6.7"`
+ VirtualDiskRules []VirtualDiskRuleSpec `xml:"virtualDiskRules,omitempty" json:"virtualDiskRules,omitempty"`
}
func init() {
t["StorageDrsVmConfigInfo"] = reflect.TypeOf((*StorageDrsVmConfigInfo)(nil)).Elem()
- minAPIVersionForType["StorageDrsVmConfigInfo"] = "5.0"
}
// Updates the per-virtual-machine storage DRS configuration.
@@ -75615,9 +75235,10 @@ type StorageDrsVmConfigSpec struct {
func init() {
t["StorageDrsVmConfigSpec"] = reflect.TypeOf((*StorageDrsVmConfigSpec)(nil)).Elem()
- minAPIVersionForType["StorageDrsVmConfigSpec"] = "5.0"
}
+// Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+//
// The IOAllocationInfo specifies the shares, limit and reservation
// for storage I/O resource.
//
@@ -75646,6 +75267,8 @@ type StorageIOAllocationInfo struct {
// a default value of -1 will be returned, which indicates that there is no
// limit on resource usage.
Limit *int64 `xml:"limit" json:"limit,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Shares are used in case of resource contention.
//
// The value should be within a range of 200 to 4000.
@@ -75655,6 +75278,8 @@ type StorageIOAllocationInfo struct {
// a default value of `SharesInfo.level` = normal,
// `SharesInfo.shares` = 1000 will be returned.
Shares *SharesInfo `xml:"shares,omitempty" json:"shares,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Reservation control is used to provide guaranteed allocation in terms
// of IOPS.
//
@@ -75664,14 +75289,15 @@ type StorageIOAllocationInfo struct {
// on shared storage based on integration with Storage IO Control.
// Also right now we don't do any admission control based on IO
// reservation values.
- Reservation *int32 `xml:"reservation" json:"reservation,omitempty" vim:"5.5"`
+ Reservation *int32 `xml:"reservation" json:"reservation,omitempty"`
}
func init() {
t["StorageIOAllocationInfo"] = reflect.TypeOf((*StorageIOAllocationInfo)(nil)).Elem()
- minAPIVersionForType["StorageIOAllocationInfo"] = "4.1"
}
+// Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+//
// The IOAllocationOption specifies value ranges that can be used
// to initialize `StorageIOAllocationInfo` object.
type StorageIOAllocationOption struct {
@@ -75687,9 +75313,10 @@ type StorageIOAllocationOption struct {
func init() {
t["StorageIOAllocationOption"] = reflect.TypeOf((*StorageIOAllocationOption)(nil)).Elem()
- minAPIVersionForType["StorageIOAllocationOption"] = "4.1"
}
+// Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+//
// Configuration setting ranges for `StorageIORMConfigSpec` object.
type StorageIORMConfigOption struct {
DynamicData
@@ -75702,17 +75329,20 @@ type StorageIORMConfigOption struct {
CongestionThresholdOption IntOption `xml:"congestionThresholdOption" json:"congestionThresholdOption"`
// statsCollectionEnabledOption provides default value for
// `StorageIORMConfigSpec.statsCollectionEnabled`
- StatsCollectionEnabledOption *BoolOption `xml:"statsCollectionEnabledOption,omitempty" json:"statsCollectionEnabledOption,omitempty" vim:"5.0"`
+ StatsCollectionEnabledOption *BoolOption `xml:"statsCollectionEnabledOption,omitempty" json:"statsCollectionEnabledOption,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// reservationEnabledOption provides default value for
// `StorageIORMConfigSpec.reservationEnabled`
- ReservationEnabledOption *BoolOption `xml:"reservationEnabledOption,omitempty" json:"reservationEnabledOption,omitempty" vim:"6.0"`
+ ReservationEnabledOption *BoolOption `xml:"reservationEnabledOption,omitempty" json:"reservationEnabledOption,omitempty"`
}
func init() {
t["StorageIORMConfigOption"] = reflect.TypeOf((*StorageIORMConfigOption)(nil)).Elem()
- minAPIVersionForType["StorageIORMConfigOption"] = "4.1"
}
+// Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+//
// Configuration settings used for creating or reconfiguring
// storage I/O resource management.
//
@@ -75726,7 +75356,7 @@ type StorageIORMConfigSpec struct {
// Mode of congestion threshold specification
// For more information, see
// `StorageIORMThresholdMode_enum`
- CongestionThresholdMode string `xml:"congestionThresholdMode,omitempty" json:"congestionThresholdMode,omitempty" vim:"5.1"`
+ CongestionThresholdMode string `xml:"congestionThresholdMode,omitempty" json:"congestionThresholdMode,omitempty"`
// The latency beyond which the storage array is considered congested.
//
// For more information, see
@@ -75739,26 +75369,32 @@ type StorageIORMConfigSpec struct {
//
// For more information, see
// `StorageIORMInfo.congestionThreshold`
- PercentOfPeakThroughput int32 `xml:"percentOfPeakThroughput,omitempty" json:"percentOfPeakThroughput,omitempty" vim:"5.1"`
+ PercentOfPeakThroughput int32 `xml:"percentOfPeakThroughput,omitempty" json:"percentOfPeakThroughput,omitempty"`
// Flag indicating whether the service is enabled in stats collection mode.
- StatsCollectionEnabled *bool `xml:"statsCollectionEnabled" json:"statsCollectionEnabled,omitempty" vim:"5.0"`
+ StatsCollectionEnabled *bool `xml:"statsCollectionEnabled" json:"statsCollectionEnabled,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Flag indicating whether IO reservations support is enabled.
- ReservationEnabled *bool `xml:"reservationEnabled" json:"reservationEnabled,omitempty" vim:"6.0"`
+ ReservationEnabled *bool `xml:"reservationEnabled" json:"reservationEnabled,omitempty"`
// Flag indicating whether stats aggregation is disabled.
- StatsAggregationDisabled *bool `xml:"statsAggregationDisabled" json:"statsAggregationDisabled,omitempty" vim:"5.0"`
+ StatsAggregationDisabled *bool `xml:"statsAggregationDisabled" json:"statsAggregationDisabled,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Storage DRS makes storage migration recommendations
// if total IOPs reservation for all VMs running on the
// datastore is higher than specified threshold value.
//
// This value (if present) overrides
- ReservableIopsThreshold int32 `xml:"reservableIopsThreshold,omitempty" json:"reservableIopsThreshold,omitempty" vim:"6.0"`
+ // `vim.StorageResourceManager.PodConfigInfo.reservableIopsThreshold`
+ ReservableIopsThreshold int32 `xml:"reservableIopsThreshold,omitempty" json:"reservableIopsThreshold,omitempty"`
}
func init() {
t["StorageIORMConfigSpec"] = reflect.TypeOf((*StorageIORMConfigSpec)(nil)).Elem()
- minAPIVersionForType["StorageIORMConfigSpec"] = "4.1"
}
+// Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+//
// Configuration of storage I/O resource management.
type StorageIORMInfo struct {
DynamicData
@@ -75768,7 +75404,7 @@ type StorageIORMInfo struct {
// Mode of congestion threshold specification
// For more information, see
// `StorageIORMThresholdMode_enum`
- CongestionThresholdMode string `xml:"congestionThresholdMode,omitempty" json:"congestionThresholdMode,omitempty" vim:"5.1"`
+ CongestionThresholdMode string `xml:"congestionThresholdMode,omitempty" json:"congestionThresholdMode,omitempty"`
// The latency beyond which the storage array is considered congested.
//
// If storage I/O resource management is enabled on a datastore,
@@ -75783,26 +75419,30 @@ type StorageIORMInfo struct {
//
// For more information, see
// `StorageIORMInfo.congestionThreshold`
- PercentOfPeakThroughput int32 `xml:"percentOfPeakThroughput,omitempty" json:"percentOfPeakThroughput,omitempty" vim:"5.1"`
+ PercentOfPeakThroughput int32 `xml:"percentOfPeakThroughput,omitempty" json:"percentOfPeakThroughput,omitempty"`
// Deprecated as of vSphere API 6.5, use `StorageIORMInfo.enabled` instead.
//
// Flag indicating whether service is running in stats collection mode.
- StatsCollectionEnabled *bool `xml:"statsCollectionEnabled" json:"statsCollectionEnabled,omitempty" vim:"5.0"`
+ StatsCollectionEnabled *bool `xml:"statsCollectionEnabled" json:"statsCollectionEnabled,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Flag indicating whether IO reservations support is enabled.
- ReservationEnabled *bool `xml:"reservationEnabled" json:"reservationEnabled,omitempty" vim:"6.0"`
+ ReservationEnabled *bool `xml:"reservationEnabled" json:"reservationEnabled,omitempty"`
// Flag indicating whether stats aggregation is disabled.
- StatsAggregationDisabled *bool `xml:"statsAggregationDisabled" json:"statsAggregationDisabled,omitempty" vim:"5.0"`
+ StatsAggregationDisabled *bool `xml:"statsAggregationDisabled" json:"statsAggregationDisabled,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Storage DRS makes storage migration recommendations
// if total IOPs reservation for all VMs running on the
// datastore is higher than specified threshold value.
//
// This value (if present) overrides
- ReservableIopsThreshold int32 `xml:"reservableIopsThreshold,omitempty" json:"reservableIopsThreshold,omitempty" vim:"6.0"`
+ // `vim.StorageResourceManager.PodConfigInfo.reservableIopsThreshold`
+ ReservableIopsThreshold int32 `xml:"reservableIopsThreshold,omitempty" json:"reservableIopsThreshold,omitempty"`
}
func init() {
t["StorageIORMInfo"] = reflect.TypeOf((*StorageIORMInfo)(nil)).Elem()
- minAPIVersionForType["StorageIORMInfo"] = "4.1"
}
// Describes a single storage migration action.
@@ -75851,11 +75491,15 @@ type StorageMigrationAction struct {
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
SpaceUtilDstAfter float32 `xml:"spaceUtilDstAfter,omitempty" json:"spaceUtilDstAfter,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// I/O latency on the source datastore before storage migration.
//
// Unit: millisecond.
// If not set, the value is not available.
IoLatencySrcBefore float32 `xml:"ioLatencySrcBefore,omitempty" json:"ioLatencySrcBefore,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// I/O latency on the destination datastore before storage migration.
//
// Unit: millisecond.
@@ -75865,9 +75509,10 @@ type StorageMigrationAction struct {
func init() {
t["StorageMigrationAction"] = reflect.TypeOf((*StorageMigrationAction)(nil)).Elem()
- minAPIVersionForType["StorageMigrationAction"] = "5.0"
}
+// Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+//
// Summary statistics for datastore performance
// The statistics are reported in aggregated quantiles over a time period
type StoragePerformanceSummary struct {
@@ -75897,6 +75542,8 @@ type StoragePerformanceSummary struct {
DatastoreReadIops []float64 `xml:"datastoreReadIops" json:"datastoreReadIops"`
// Aggregated datastore Write IO rate (Writes/second)
DatastoreWriteIops []float64 `xml:"datastoreWriteIops" json:"datastoreWriteIops"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Cumulative SIOC activity to satisfy SIOC latency threshold
// setting.
//
@@ -75912,7 +75559,6 @@ type StoragePerformanceSummary struct {
func init() {
t["StoragePerformanceSummary"] = reflect.TypeOf((*StoragePerformanceSummary)(nil)).Elem()
- minAPIVersionForType["StoragePerformanceSummary"] = "5.1"
}
// Describes a single storage initial placement action for placing a virtual
@@ -75944,7 +75590,7 @@ type StoragePlacementAction struct {
// Unit: percentage. For example, if set to 70.0, space demand is 70%. This
// value include the space demanded by thin provisioned VMs. Hence, it may
// be higher than 100%. If not set, the value is not available.
- SpaceDemandBefore float32 `xml:"spaceDemandBefore,omitempty" json:"spaceDemandBefore,omitempty" vim:"6.0"`
+ SpaceDemandBefore float32 `xml:"spaceDemandBefore,omitempty" json:"spaceDemandBefore,omitempty"`
// Space utilization on the target datastore after placing the virtual disk.
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
@@ -75955,7 +75601,9 @@ type StoragePlacementAction struct {
// Unit: percentage. For example, if set to 70.0, space demand is 70%. This
// value include the space demanded by thin provisioned VMs. Hence, it may
// be higher than 100%. If not set, the value is not available.
- SpaceDemandAfter float32 `xml:"spaceDemandAfter,omitempty" json:"spaceDemandAfter,omitempty" vim:"6.0"`
+ SpaceDemandAfter float32 `xml:"spaceDemandAfter,omitempty" json:"spaceDemandAfter,omitempty"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Current I/O latency on the target datastore.
//
// Unit: millisecond.
@@ -75965,7 +75613,6 @@ type StoragePlacementAction struct {
func init() {
t["StoragePlacementAction"] = reflect.TypeOf((*StoragePlacementAction)(nil)).Elem()
- minAPIVersionForType["StoragePlacementAction"] = "5.0"
}
// Both `StorageResourceManager.RecommendDatastores` and
@@ -75990,7 +75637,6 @@ type StoragePlacementResult struct {
func init() {
t["StoragePlacementResult"] = reflect.TypeOf((*StoragePlacementResult)(nil)).Elem()
- minAPIVersionForType["StoragePlacementResult"] = "5.0"
}
// StoragePlacementSpec encapsulates all of the inputs passed to the
@@ -76044,7 +75690,7 @@ type StoragePlacementSpec struct {
//
// If unset, default behavior is to allow such
// prerequisite moves.
- DisallowPrerequisiteMoves *bool `xml:"disallowPrerequisiteMoves" json:"disallowPrerequisiteMoves,omitempty" vim:"5.1"`
+ DisallowPrerequisiteMoves *bool `xml:"disallowPrerequisiteMoves" json:"disallowPrerequisiteMoves,omitempty"`
// Resource lease duration in seconds.
//
// If the duration is within bounds,
@@ -76052,12 +75698,11 @@ type StoragePlacementSpec struct {
// generated as part of that call.
// Only initial placement recommendations generated by storage DRS can reserve
// resources this way.
- ResourceLeaseDurationSec int32 `xml:"resourceLeaseDurationSec,omitempty" json:"resourceLeaseDurationSec,omitempty" vim:"5.1"`
+ ResourceLeaseDurationSec int32 `xml:"resourceLeaseDurationSec,omitempty" json:"resourceLeaseDurationSec,omitempty"`
}
func init() {
t["StoragePlacementSpec"] = reflect.TypeOf((*StoragePlacementSpec)(nil)).Elem()
- minAPIVersionForType["StoragePlacementSpec"] = "5.0"
}
// The `StoragePodSummary` data object
@@ -76083,7 +75728,6 @@ type StoragePodSummary struct {
func init() {
t["StoragePodSummary"] = reflect.TypeOf((*StoragePodSummary)(nil)).Elem()
- minAPIVersionForType["StoragePodSummary"] = "5.0"
}
// The `StorageProfile` data object represents the host storage configuration.
@@ -76103,7 +75747,6 @@ type StorageProfile struct {
func init() {
t["StorageProfile"] = reflect.TypeOf((*StorageProfile)(nil)).Elem()
- minAPIVersionForType["StorageProfile"] = "4.0"
}
// Describes the storage requirement to perform a consolidation
@@ -76121,7 +75764,6 @@ type StorageRequirement struct {
func init() {
t["StorageRequirement"] = reflect.TypeOf((*StorageRequirement)(nil)).Elem()
- minAPIVersionForType["StorageRequirement"] = "5.0"
}
// A data object to report aggregate storage statistics by storage
@@ -76144,7 +75786,6 @@ type StorageResourceManagerStorageProfileStatistics struct {
func init() {
t["StorageResourceManagerStorageProfileStatistics"] = reflect.TypeOf((*StorageResourceManagerStorageProfileStatistics)(nil)).Elem()
- minAPIVersionForType["StorageResourceManagerStorageProfileStatistics"] = "6.0"
}
// An operation on a powered-on virtual machine requests a change of storage
@@ -76155,7 +75796,6 @@ type StorageVMotionNotSupported struct {
func init() {
t["StorageVMotionNotSupported"] = reflect.TypeOf((*StorageVMotionNotSupported)(nil)).Elem()
- minAPIVersionForType["StorageVMotionNotSupported"] = "4.0"
}
type StorageVMotionNotSupportedFault StorageVMotionNotSupported
@@ -76177,7 +75817,6 @@ type StorageVmotionIncompatible struct {
func init() {
t["StorageVmotionIncompatible"] = reflect.TypeOf((*StorageVmotionIncompatible)(nil)).Elem()
- minAPIVersionForType["StorageVmotionIncompatible"] = "5.0"
}
type StorageVmotionIncompatibleFault StorageVmotionIncompatible
@@ -76197,7 +75836,6 @@ type StringExpression struct {
func init() {
t["StringExpression"] = reflect.TypeOf((*StringExpression)(nil)).Elem()
- minAPIVersionForType["StringExpression"] = "5.5"
}
// The StringOption data object type is used to define an open-ended
@@ -76229,7 +75867,6 @@ type StringPolicy struct {
func init() {
t["StringPolicy"] = reflect.TypeOf((*StringPolicy)(nil)).Elem()
- minAPIVersionForType["StringPolicy"] = "4.0"
}
// Implementation of `HostProfilesEntityCustomizations`
@@ -76260,7 +75897,6 @@ type StructuredCustomizations struct {
func init() {
t["StructuredCustomizations"] = reflect.TypeOf((*StructuredCustomizations)(nil)).Elem()
- minAPIVersionForType["StructuredCustomizations"] = "6.5"
}
type SuspendVAppRequestType struct {
@@ -76331,7 +75967,6 @@ type SwapDatastoreNotWritableOnHost struct {
func init() {
t["SwapDatastoreNotWritableOnHost"] = reflect.TypeOf((*SwapDatastoreNotWritableOnHost)(nil)).Elem()
- minAPIVersionForType["SwapDatastoreNotWritableOnHost"] = "2.5"
}
type SwapDatastoreNotWritableOnHostFault SwapDatastoreNotWritableOnHost
@@ -76356,7 +75991,6 @@ type SwapDatastoreUnset struct {
func init() {
t["SwapDatastoreUnset"] = reflect.TypeOf((*SwapDatastoreUnset)(nil)).Elem()
- minAPIVersionForType["SwapDatastoreUnset"] = "2.5"
}
type SwapDatastoreUnsetFault SwapDatastoreUnset
@@ -76373,7 +76007,6 @@ type SwapPlacementOverrideNotSupported struct {
func init() {
t["SwapPlacementOverrideNotSupported"] = reflect.TypeOf((*SwapPlacementOverrideNotSupported)(nil)).Elem()
- minAPIVersionForType["SwapPlacementOverrideNotSupported"] = "2.5"
}
type SwapPlacementOverrideNotSupportedFault SwapPlacementOverrideNotSupported
@@ -76393,7 +76026,6 @@ type SwitchIpUnset struct {
func init() {
t["SwitchIpUnset"] = reflect.TypeOf((*SwitchIpUnset)(nil)).Elem()
- minAPIVersionForType["SwitchIpUnset"] = "5.1"
}
type SwitchIpUnsetFault SwitchIpUnset
@@ -76410,7 +76042,6 @@ type SwitchNotInUpgradeMode struct {
func init() {
t["SwitchNotInUpgradeMode"] = reflect.TypeOf((*SwitchNotInUpgradeMode)(nil)).Elem()
- minAPIVersionForType["SwitchNotInUpgradeMode"] = "4.0"
}
type SwitchNotInUpgradeModeFault SwitchNotInUpgradeMode
@@ -76471,7 +76102,6 @@ type SystemEventInfo struct {
func init() {
t["SystemEventInfo"] = reflect.TypeOf((*SystemEventInfo)(nil)).Elem()
- minAPIVersionForType["SystemEventInfo"] = "6.5"
}
// Defines a tag that can be associated with a managed entity.
@@ -76484,7 +76114,6 @@ type Tag struct {
func init() {
t["Tag"] = reflect.TypeOf((*Tag)(nil)).Elem()
- minAPIVersionForType["Tag"] = "4.0"
}
// Static strings for task objects.
@@ -76547,7 +76176,7 @@ type TaskFilterSpec struct {
UserName *TaskFilterSpecByUsername `xml:"userName,omitempty" json:"userName,omitempty"`
// This property, if provided, limits the set of collected tasks to those
// associated with the specified activation Ids.
- ActivationId []string `xml:"activationId,omitempty" json:"activationId,omitempty" vim:"6.0"`
+ ActivationId []string `xml:"activationId,omitempty" json:"activationId,omitempty"`
// This property, if provided, limits the set of collected tasks by their states.
//
// Task states are enumerated in `State`.
@@ -76574,7 +76203,7 @@ type TaskFilterSpec struct {
// tasks not with the given `TaskInfo.eventChainId` will be
// filtered out. If the property is not set, tasks' chain ID is disregarded
// for filtering purposes.
- EventChainId []int32 `xml:"eventChainId,omitempty" json:"eventChainId,omitempty" vim:"4.0"`
+ EventChainId []int32 `xml:"eventChainId,omitempty" json:"eventChainId,omitempty"`
// The filter specification for retrieving tasks by
// `tag`.
//
@@ -76582,21 +76211,21 @@ type TaskFilterSpec struct {
// will be filtered out. If the property is not set, tasks' tag is disregarded for
// filtering purposes. If it is set, and includes an empty string, tasks without a
// tag will be returned.
- Tag []string `xml:"tag,omitempty" json:"tag,omitempty" vim:"4.0"`
+ Tag []string `xml:"tag,omitempty" json:"tag,omitempty"`
// The filter specification for retrieving tasks by
// `TaskInfo.parentTaskKey`.
//
// If it is set, tasks not with the
// given parentTaskKey(s) will be filtered out. If the property is not set,
// tasks' parentTaskKey is disregarded for filtering purposes.
- ParentTaskKey []string `xml:"parentTaskKey,omitempty" json:"parentTaskKey,omitempty" vim:"4.0"`
+ ParentTaskKey []string `xml:"parentTaskKey,omitempty" json:"parentTaskKey,omitempty"`
// The filter specification for retrieving tasks by
// `TaskInfo.rootTaskKey`.
//
// If it is set, tasks not with the
// given rootTaskKey(s) will be filtered out. If the property is not set,
// tasks' rootTaskKey is disregarded for filtering purposes.
- RootTaskKey []string `xml:"rootTaskKey,omitempty" json:"rootTaskKey,omitempty" vim:"4.0"`
+ RootTaskKey []string `xml:"rootTaskKey,omitempty" json:"rootTaskKey,omitempty"`
}
func init() {
@@ -76706,7 +76335,7 @@ type TaskInfo struct {
// activity, this will be fixed and unchanging.
// For tasks that have various substeps, this field will change
// as the task progresses from one phase to another.
- Description *LocalizableMessage `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description *LocalizableMessage `xml:"description,omitempty" json:"description,omitempty"`
// The name of the operation that created the task.
//
// This is not set
@@ -76747,7 +76376,7 @@ type TaskInfo struct {
//
// If this property is not set, then the command does not report progress.
Progress int32 `xml:"progress,omitempty" json:"progress,omitempty"`
- ProgressDetails []KeyAnyValue `xml:"progressDetails,omitempty" json:"progressDetails,omitempty"`
+ ProgressDetails []KeyAnyValue `xml:"progressDetails,omitempty" json:"progressDetails,omitempty" vim:"8.0.1.0"`
// Kind of entity responsible for creating this task.
Reason BaseTaskReason `xml:"reason,typeattr" json:"reason"`
// Time stamp when the task was created.
@@ -76759,26 +76388,86 @@ type TaskInfo struct {
// Event chain ID that leads to the corresponding events.
EventChainId int32 `xml:"eventChainId" json:"eventChainId"`
// The user entered tag to identify the operations and their side effects
- ChangeTag string `xml:"changeTag,omitempty" json:"changeTag,omitempty" vim:"4.0"`
+ ChangeTag string `xml:"changeTag,omitempty" json:"changeTag,omitempty"`
// Tasks can be created by another task.
//
// This shows `TaskInfo.key` of the task spun off this task. This is to
// track causality between tasks.
- ParentTaskKey string `xml:"parentTaskKey,omitempty" json:"parentTaskKey,omitempty" vim:"4.0"`
+ ParentTaskKey string `xml:"parentTaskKey,omitempty" json:"parentTaskKey,omitempty"`
// Tasks can be created by another task and such creation can go on for
// multiple levels.
//
// This is the `TaskInfo.key` of the task
// that started the chain of tasks.
- RootTaskKey string `xml:"rootTaskKey,omitempty" json:"rootTaskKey,omitempty" vim:"4.0"`
+ RootTaskKey string `xml:"rootTaskKey,omitempty" json:"rootTaskKey,omitempty"`
// The activation Id is a client-provided token to link an API call with a task.
- ActivationId string `xml:"activationId,omitempty" json:"activationId,omitempty" vim:"6.0"`
+ ActivationId string `xml:"activationId,omitempty" json:"activationId,omitempty"`
}
func init() {
t["TaskInfo"] = reflect.TypeOf((*TaskInfo)(nil)).Elem()
}
+// This data object type defines the specification for the filter used
+// to include or exclude various information from the tasks while retrieving
+// from the history collector database.
+//
+// The client creates a task history
+// collector with `TaskFilterSpec` along with this optional
+// spec, then retrieves the tasks from the task history collector.
+type TaskInfoFilterSpec struct {
+ DynamicData
+
+ // The filter specification for filtering out tasks' results.
+ //
+ // If it is set, then the
+ // results information will be included or excluded based on the supplied parameters. If it is
+ // not set, then results information of all tasks will be included.
+ FilterTaskResults *TaskInfoFilterSpecFilterTaskResults `xml:"filterTaskResults,omitempty" json:"filterTaskResults,omitempty"`
+}
+
+func init() {
+ t["TaskInfoFilterSpec"] = reflect.TypeOf((*TaskInfoFilterSpec)(nil)).Elem()
+ minAPIVersionForType["TaskInfoFilterSpec"] = "8.0.3.0"
+}
+
+// This data object type enables to filter the results information for
+// all or the specified tasks.
+//
+// 1\. If removeAll=true, the results information of all tasks will be excluded.
+// 2\. If removeAll=false/unset:
+// a. If descriptionIds is empty, the results information of all tasks will be included.
+// b. If descriptionIds is non-empty:
+// i. If filterIn=true, the results information of all tasks will be included.
+// ii. If filterIn=false/unset, the results information of all tasks will be excluded.
+type TaskInfoFilterSpecFilterTaskResults struct {
+ DynamicData
+
+ // Excludes results information of all tasks.
+ //
+ // If set to true, the results information of all tasks will be excluded.
+ RemoveAll *bool `xml:"removeAll" json:"removeAll,omitempty"`
+ // The description IDs of tasks that have to be filtered out.
+ //
+ // The `TaskInfoFilterSpecFilterTaskResults.filterIn`
+ // option can switch the behavior to filter in.
+ DescriptionIds []string `xml:"descriptionIds,omitempty" json:"descriptionIds,omitempty"`
+ // Boolean Flag to invert the filter semantics to filter in the results instead of
+ // filtering out.
+ //
+ // If set to true, then the results of only the tasks specified by the
+ // `TaskInfoFilterSpecFilterTaskResults.descriptionIds` will be included.
+ // If unset or set to false, then the results of only the tasks specified by the
+ // `TaskInfoFilterSpecFilterTaskResults.descriptionIds` will be excluded.
+ // This boolean flag will only be considered if descriptionsIds is non-empty and if removeAll is false.
+ FilterIn *bool `xml:"filterIn" json:"filterIn,omitempty"`
+}
+
+func init() {
+ t["TaskInfoFilterSpecFilterTaskResults"] = reflect.TypeOf((*TaskInfoFilterSpecFilterTaskResults)(nil)).Elem()
+ minAPIVersionForType["TaskInfoFilterSpecFilterTaskResults"] = "8.0.3.0"
+}
+
// Base type for all task reasons.
//
// Task reasons represent the kind of entity responsible for a task's creation.
@@ -76905,7 +76594,6 @@ type TaskTimeoutEvent struct {
func init() {
t["TaskTimeoutEvent"] = reflect.TypeOf((*TaskTimeoutEvent)(nil)).Elem()
- minAPIVersionForType["TaskTimeoutEvent"] = "2.5"
}
// The teaming configuration of the uplink ports in the DVS matches
@@ -76916,7 +76604,6 @@ type TeamingMatchEvent struct {
func init() {
t["TeamingMatchEvent"] = reflect.TypeOf((*TeamingMatchEvent)(nil)).Elem()
- minAPIVersionForType["TeamingMatchEvent"] = "5.1"
}
// The teaming configuration of the uplink ports in the DVS
@@ -76927,7 +76614,6 @@ type TeamingMisMatchEvent struct {
func init() {
t["TeamingMisMatchEvent"] = reflect.TypeOf((*TeamingMisMatchEvent)(nil)).Elem()
- minAPIVersionForType["TeamingMisMatchEvent"] = "5.1"
}
// This event records the start of a template upgrade.
@@ -77126,7 +76812,6 @@ type ThirdPartyLicenseAssignmentFailed struct {
func init() {
t["ThirdPartyLicenseAssignmentFailed"] = reflect.TypeOf((*ThirdPartyLicenseAssignmentFailed)(nil)).Elem()
- minAPIVersionForType["ThirdPartyLicenseAssignmentFailed"] = "5.0"
}
type ThirdPartyLicenseAssignmentFailedFault ThirdPartyLicenseAssignmentFailed
@@ -77156,7 +76841,6 @@ type TicketedSessionAuthentication struct {
func init() {
t["TicketedSessionAuthentication"] = reflect.TypeOf((*TicketedSessionAuthentication)(nil)).Elem()
- minAPIVersionForType["TicketedSessionAuthentication"] = "5.0"
}
// This event indicates that an operation performed on the host timed out.
@@ -77196,7 +76880,6 @@ type TooManyConcurrentNativeClones struct {
func init() {
t["TooManyConcurrentNativeClones"] = reflect.TypeOf((*TooManyConcurrentNativeClones)(nil)).Elem()
- minAPIVersionForType["TooManyConcurrentNativeClones"] = "5.0"
}
type TooManyConcurrentNativeClonesFault TooManyConcurrentNativeClones
@@ -77224,7 +76907,6 @@ type TooManyConsecutiveOverrides struct {
func init() {
t["TooManyConsecutiveOverrides"] = reflect.TypeOf((*TooManyConsecutiveOverrides)(nil)).Elem()
- minAPIVersionForType["TooManyConsecutiveOverrides"] = "2.5"
}
type TooManyConsecutiveOverridesFault TooManyConsecutiveOverrides
@@ -77268,7 +76950,6 @@ type TooManyDisksOnLegacyHost struct {
func init() {
t["TooManyDisksOnLegacyHost"] = reflect.TypeOf((*TooManyDisksOnLegacyHost)(nil)).Elem()
- minAPIVersionForType["TooManyDisksOnLegacyHost"] = "2.5"
}
type TooManyDisksOnLegacyHostFault TooManyDisksOnLegacyHost
@@ -77290,7 +76971,6 @@ type TooManyGuestLogons struct {
func init() {
t["TooManyGuestLogons"] = reflect.TypeOf((*TooManyGuestLogons)(nil)).Elem()
- minAPIVersionForType["TooManyGuestLogons"] = "5.0"
}
type TooManyGuestLogonsFault TooManyGuestLogons
@@ -77325,7 +77005,6 @@ type TooManyNativeCloneLevels struct {
func init() {
t["TooManyNativeCloneLevels"] = reflect.TypeOf((*TooManyNativeCloneLevels)(nil)).Elem()
- minAPIVersionForType["TooManyNativeCloneLevels"] = "5.0"
}
type TooManyNativeCloneLevelsFault TooManyNativeCloneLevels
@@ -77342,7 +77021,6 @@ type TooManyNativeClonesOnFile struct {
func init() {
t["TooManyNativeClonesOnFile"] = reflect.TypeOf((*TooManyNativeClonesOnFile)(nil)).Elem()
- minAPIVersionForType["TooManyNativeClonesOnFile"] = "5.0"
}
type TooManyNativeClonesOnFileFault TooManyNativeClonesOnFile
@@ -77375,7 +77053,6 @@ type ToolsAlreadyUpgraded struct {
func init() {
t["ToolsAlreadyUpgraded"] = reflect.TypeOf((*ToolsAlreadyUpgraded)(nil)).Elem()
- minAPIVersionForType["ToolsAlreadyUpgraded"] = "4.0"
}
type ToolsAlreadyUpgradedFault ToolsAlreadyUpgraded
@@ -77392,7 +77069,6 @@ type ToolsAutoUpgradeNotSupported struct {
func init() {
t["ToolsAutoUpgradeNotSupported"] = reflect.TypeOf((*ToolsAutoUpgradeNotSupported)(nil)).Elem()
- minAPIVersionForType["ToolsAutoUpgradeNotSupported"] = "4.0"
}
type ToolsAutoUpgradeNotSupportedFault ToolsAutoUpgradeNotSupported
@@ -77412,7 +77088,7 @@ type ToolsConfigInfo struct {
//
// The set of possible values is described in
// `VirtualMachineToolsInstallType_enum`
- ToolsInstallType string `xml:"toolsInstallType,omitempty" json:"toolsInstallType,omitempty" vim:"6.5"`
+ ToolsInstallType string `xml:"toolsInstallType,omitempty" json:"toolsInstallType,omitempty"`
// Flag to specify whether or not scripts should run
// after the virtual machine powers on.
AfterPowerOn *bool `xml:"afterPowerOn" json:"afterPowerOn,omitempty"`
@@ -77431,14 +77107,14 @@ type ToolsConfigInfo struct {
// Tools upgrade policy setting for the virtual machine.
//
// See also `UpgradePolicy_enum`.
- ToolsUpgradePolicy string `xml:"toolsUpgradePolicy,omitempty" json:"toolsUpgradePolicy,omitempty" vim:"2.5"`
+ ToolsUpgradePolicy string `xml:"toolsUpgradePolicy,omitempty" json:"toolsUpgradePolicy,omitempty"`
// When set, this indicates that a customization operation is pending on the VM.
//
// The value represents the filename of the customization package on the host.
- PendingCustomization string `xml:"pendingCustomization,omitempty" json:"pendingCustomization,omitempty" vim:"2.5"`
+ PendingCustomization string `xml:"pendingCustomization,omitempty" json:"pendingCustomization,omitempty"`
// When set, provides the id of the key used to encrypt the customization
// package attached to the VM.
- CustomizationKeyId *CryptoKeyId `xml:"customizationKeyId,omitempty" json:"customizationKeyId,omitempty" vim:"6.5"`
+ CustomizationKeyId *CryptoKeyId `xml:"customizationKeyId,omitempty" json:"customizationKeyId,omitempty"`
// Indicates whether or not the tools program is allowed to synchronize
// guest time with host time.
//
@@ -77452,11 +77128,11 @@ type ToolsConfigInfo struct {
// Periodical synchronization is
// only allowed if `ToolsConfigInfo.syncTimeWithHostAllowed`
// is not set to false
.
- SyncTimeWithHost *bool `xml:"syncTimeWithHost" json:"syncTimeWithHost,omitempty" vim:"2.5"`
+ SyncTimeWithHost *bool `xml:"syncTimeWithHost" json:"syncTimeWithHost,omitempty"`
// Information about the last tools upgrade attempt if applicable.
//
// This information is maintained by the server and is ignored if set by the client.
- LastInstallInfo *ToolsConfigInfoToolsLastInstallInfo `xml:"lastInstallInfo,omitempty" json:"lastInstallInfo,omitempty" vim:"5.0"`
+ LastInstallInfo *ToolsConfigInfoToolsLastInstallInfo `xml:"lastInstallInfo,omitempty" json:"lastInstallInfo,omitempty"`
}
func init() {
@@ -77476,7 +77152,6 @@ type ToolsConfigInfoToolsLastInstallInfo struct {
func init() {
t["ToolsConfigInfoToolsLastInstallInfo"] = reflect.TypeOf((*ToolsConfigInfoToolsLastInstallInfo)(nil)).Elem()
- minAPIVersionForType["ToolsConfigInfoToolsLastInstallInfo"] = "5.0"
}
// Thrown when the tools image couldn't be copied to the guest
@@ -77487,7 +77162,6 @@ type ToolsImageCopyFailed struct {
func init() {
t["ToolsImageCopyFailed"] = reflect.TypeOf((*ToolsImageCopyFailed)(nil)).Elem()
- minAPIVersionForType["ToolsImageCopyFailed"] = "5.1"
}
type ToolsImageCopyFailedFault ToolsImageCopyFailed
@@ -77504,7 +77178,6 @@ type ToolsImageNotAvailable struct {
func init() {
t["ToolsImageNotAvailable"] = reflect.TypeOf((*ToolsImageNotAvailable)(nil)).Elem()
- minAPIVersionForType["ToolsImageNotAvailable"] = "4.0"
}
type ToolsImageNotAvailableFault ToolsImageNotAvailable
@@ -77521,7 +77194,6 @@ type ToolsImageSignatureCheckFailed struct {
func init() {
t["ToolsImageSignatureCheckFailed"] = reflect.TypeOf((*ToolsImageSignatureCheckFailed)(nil)).Elem()
- minAPIVersionForType["ToolsImageSignatureCheckFailed"] = "4.0"
}
type ToolsImageSignatureCheckFailedFault ToolsImageSignatureCheckFailed
@@ -77538,7 +77210,6 @@ type ToolsInstallationInProgress struct {
func init() {
t["ToolsInstallationInProgress"] = reflect.TypeOf((*ToolsInstallationInProgress)(nil)).Elem()
- minAPIVersionForType["ToolsInstallationInProgress"] = "4.0"
}
type ToolsInstallationInProgressFault ToolsInstallationInProgress
@@ -77572,7 +77243,6 @@ type ToolsUpgradeCancelled struct {
func init() {
t["ToolsUpgradeCancelled"] = reflect.TypeOf((*ToolsUpgradeCancelled)(nil)).Elem()
- minAPIVersionForType["ToolsUpgradeCancelled"] = "4.0"
}
type ToolsUpgradeCancelledFault ToolsUpgradeCancelled
@@ -77694,7 +77364,6 @@ type UnSupportedDatastoreForVFlash struct {
func init() {
t["UnSupportedDatastoreForVFlash"] = reflect.TypeOf((*UnSupportedDatastoreForVFlash)(nil)).Elem()
- minAPIVersionForType["UnSupportedDatastoreForVFlash"] = "5.5"
}
type UnSupportedDatastoreForVFlashFault UnSupportedDatastoreForVFlash
@@ -77780,7 +77449,6 @@ type UnconfiguredPropertyValue struct {
func init() {
t["UnconfiguredPropertyValue"] = reflect.TypeOf((*UnconfiguredPropertyValue)(nil)).Elem()
- minAPIVersionForType["UnconfiguredPropertyValue"] = "4.0"
}
type UnconfiguredPropertyValueFault UnconfiguredPropertyValue
@@ -77930,7 +77598,6 @@ type UnlicensedVirtualMachinesEvent struct {
func init() {
t["UnlicensedVirtualMachinesEvent"] = reflect.TypeOf((*UnlicensedVirtualMachinesEvent)(nil)).Elem()
- minAPIVersionForType["UnlicensedVirtualMachinesEvent"] = "2.5"
}
// This event records that we discovered unlicensed virtual machines on
@@ -77949,7 +77616,6 @@ type UnlicensedVirtualMachinesFoundEvent struct {
func init() {
t["UnlicensedVirtualMachinesFoundEvent"] = reflect.TypeOf((*UnlicensedVirtualMachinesFoundEvent)(nil)).Elem()
- minAPIVersionForType["UnlicensedVirtualMachinesFoundEvent"] = "2.5"
}
// The parameters of `HostStorageSystem.UnmapVmfsVolumeEx_Task`.
@@ -78129,7 +77795,6 @@ type UnrecognizedHost struct {
func init() {
t["UnrecognizedHost"] = reflect.TypeOf((*UnrecognizedHost)(nil)).Elem()
- minAPIVersionForType["UnrecognizedHost"] = "2.5"
}
type UnrecognizedHostFault UnrecognizedHost
@@ -78242,7 +77907,6 @@ type UnsharedSwapVMotionNotSupported struct {
func init() {
t["UnsharedSwapVMotionNotSupported"] = reflect.TypeOf((*UnsharedSwapVMotionNotSupported)(nil)).Elem()
- minAPIVersionForType["UnsharedSwapVMotionNotSupported"] = "2.5"
}
type UnsharedSwapVMotionNotSupportedFault UnsharedSwapVMotionNotSupported
@@ -78305,7 +77969,6 @@ type UnsupportedVimApiVersion struct {
func init() {
t["UnsupportedVimApiVersion"] = reflect.TypeOf((*UnsupportedVimApiVersion)(nil)).Elem()
- minAPIVersionForType["UnsupportedVimApiVersion"] = "4.0"
}
type UnsupportedVimApiVersionFault UnsupportedVimApiVersion
@@ -78334,6 +77997,18 @@ func init() {
t["UnsupportedVmxLocationFault"] = reflect.TypeOf((*UnsupportedVmxLocationFault)(nil)).Elem()
}
+// Specifies SSL policy for untrusted SSL certificate.
+//
+// This option allows to explicitly disable SSL certificate verification.
+type UntrustedCertificate struct {
+ IoFilterManagerSslTrust
+}
+
+func init() {
+ t["UntrustedCertificate"] = reflect.TypeOf((*UntrustedCertificate)(nil)).Elem()
+ minAPIVersionForType["UntrustedCertificate"] = "8.0.3.0"
+}
+
// The unused disk blocks of the specified virtual disk have not been
// scrubbed on the file system.
//
@@ -78347,7 +78022,6 @@ type UnusedVirtualDiskBlocksNotScrubbed struct {
func init() {
t["UnusedVirtualDiskBlocksNotScrubbed"] = reflect.TypeOf((*UnusedVirtualDiskBlocksNotScrubbed)(nil)).Elem()
- minAPIVersionForType["UnusedVirtualDiskBlocksNotScrubbed"] = "4.0"
}
type UnusedVirtualDiskBlocksNotScrubbedFault UnusedVirtualDiskBlocksNotScrubbed
@@ -78977,7 +78651,7 @@ type UpdateInternetScsiAuthenticationPropertiesRequestType struct {
// The set the targets to configure. Optional,
// when obmitted will configura the authentication properties
// for the adapter instead.
- TargetSet *HostInternetScsiHbaTargetSet `xml:"targetSet,omitempty" json:"targetSet,omitempty" vim:"4.0"`
+ TargetSet *HostInternetScsiHbaTargetSet `xml:"targetSet,omitempty" json:"targetSet,omitempty"`
}
func init() {
@@ -79192,6 +78866,10 @@ func init() {
type UpdateKmipServerRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP server connection information.
+ // When update a KMIP server settings, changes to
+ // `KmipServerSpec#defaultKeyType` and
+ // `KmipServerSpec#wrappingKeySpec`
+ // will apply to all servers.
Server KmipServerSpec `xml:"server" json:"server"`
}
@@ -79741,7 +79419,7 @@ type UpdateSet struct {
// change calculations. The version may be passed to `PropertyCollector.CheckForUpdates`, `PropertyCollector.WaitForUpdates`, or `PropertyCollector.WaitForUpdatesEx` more than once. Re-using a version allows a client
// to recover a change sequence after a transient failure on a previous
// call.
- Truncated *bool `xml:"truncated" json:"truncated,omitempty" vim:"4.1"`
+ Truncated *bool `xml:"truncated" json:"truncated,omitempty"`
}
func init() {
@@ -79995,7 +79673,6 @@ type UpdateVirtualMachineFilesResult struct {
func init() {
t["UpdateVirtualMachineFilesResult"] = reflect.TypeOf((*UpdateVirtualMachineFilesResult)(nil)).Elem()
- minAPIVersionForType["UpdateVirtualMachineFilesResult"] = "4.1"
}
type UpdateVirtualMachineFilesResultFailedVmFileInfo struct {
@@ -80136,7 +79813,6 @@ type UpdatedAgentBeingRestartedEvent struct {
func init() {
t["UpdatedAgentBeingRestartedEvent"] = reflect.TypeOf((*UpdatedAgentBeingRestartedEvent)(nil)).Elem()
- minAPIVersionForType["UpdatedAgentBeingRestartedEvent"] = "2.5"
}
// These event types represent events converted from VirtualCenter 1.x.
@@ -80165,6 +79841,10 @@ type UpgradeIoFilterRequestType struct {
CompRes ManagedObjectReference `xml:"compRes" json:"compRes"`
// The URL that points to the new IO Filter VIB package.
VibUrl string `xml:"vibUrl" json:"vibUrl"`
+ // This specifies SSL trust policy `IoFilterManagerSslTrust`
+ // for the given VIB URL. If unset, the server certificate is
+ // validated against the trusted root certificates.
+ VibSslTrust BaseIoFilterManagerSslTrust `xml:"vibSslTrust,omitempty,typeattr" json:"vibSslTrust,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -80294,7 +79974,6 @@ type UplinkPortMtuNotSupportEvent struct {
func init() {
t["UplinkPortMtuNotSupportEvent"] = reflect.TypeOf((*UplinkPortMtuNotSupportEvent)(nil)).Elem()
- minAPIVersionForType["UplinkPortMtuNotSupportEvent"] = "5.1"
}
// Mtu health check status of an uplink port is changed, and in the latest mtu health check,
@@ -80306,7 +79985,6 @@ type UplinkPortMtuSupportEvent struct {
func init() {
t["UplinkPortMtuSupportEvent"] = reflect.TypeOf((*UplinkPortMtuSupportEvent)(nil)).Elem()
- minAPIVersionForType["UplinkPortMtuSupportEvent"] = "5.1"
}
// Vlans health check status of an uplink port is changed, and in the latest vlan health check,
@@ -80317,7 +79995,6 @@ type UplinkPortVlanTrunkedEvent struct {
func init() {
t["UplinkPortVlanTrunkedEvent"] = reflect.TypeOf((*UplinkPortVlanTrunkedEvent)(nil)).Elem()
- minAPIVersionForType["UplinkPortVlanTrunkedEvent"] = "5.1"
}
// Vlans health check status of an uplink port is changed, and in the latest vlan health check,
@@ -80328,7 +80005,6 @@ type UplinkPortVlanUntrunkedEvent struct {
func init() {
t["UplinkPortVlanUntrunkedEvent"] = reflect.TypeOf((*UplinkPortVlanUntrunkedEvent)(nil)).Elem()
- minAPIVersionForType["UplinkPortVlanUntrunkedEvent"] = "5.1"
}
type UploadClientCert UploadClientCertRequestType
@@ -80387,7 +80063,6 @@ type UsbScanCodeSpec struct {
func init() {
t["UsbScanCodeSpec"] = reflect.TypeOf((*UsbScanCodeSpec)(nil)).Elem()
- minAPIVersionForType["UsbScanCodeSpec"] = "6.5"
}
type UsbScanCodeSpecKeyEvent struct {
@@ -80427,7 +80102,6 @@ type UsbScanCodeSpecModifierType struct {
func init() {
t["UsbScanCodeSpecModifierType"] = reflect.TypeOf((*UsbScanCodeSpecModifierType)(nil)).Elem()
- minAPIVersionForType["UsbScanCodeSpecModifierType"] = "6.5"
}
// This event records that a user account membership was added to a group.
@@ -80456,7 +80130,6 @@ type UserGroupProfile struct {
func init() {
t["UserGroupProfile"] = reflect.TypeOf((*UserGroupProfile)(nil)).Elem()
- minAPIVersionForType["UserGroupProfile"] = "4.0"
}
// The `UserInputRequiredParameterMetadata` data object represents policy option metadata
@@ -80475,7 +80148,6 @@ type UserInputRequiredParameterMetadata struct {
func init() {
t["UserInputRequiredParameterMetadata"] = reflect.TypeOf((*UserInputRequiredParameterMetadata)(nil)).Elem()
- minAPIVersionForType["UserInputRequiredParameterMetadata"] = "4.0"
}
// This event records a user logon.
@@ -80489,7 +80161,7 @@ type UserLoginSessionEvent struct {
// proxy if the binding uses a protocol that supports proxies, such as HTTP.
IpAddress string `xml:"ipAddress" json:"ipAddress"`
// The user agent or application
- UserAgent string `xml:"userAgent,omitempty" json:"userAgent,omitempty" vim:"5.1"`
+ UserAgent string `xml:"userAgent,omitempty" json:"userAgent,omitempty"`
// The locale of the session.
Locale string `xml:"locale" json:"locale"`
// The unique identifier for the session.
@@ -80505,15 +80177,15 @@ type UserLogoutSessionEvent struct {
SessionEvent
// The IP address of client
- IpAddress string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty" vim:"5.1"`
+ IpAddress string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
// The user agent or application
- UserAgent string `xml:"userAgent,omitempty" json:"userAgent,omitempty" vim:"5.1"`
+ UserAgent string `xml:"userAgent,omitempty" json:"userAgent,omitempty"`
// Number of API invocations made by the session
- CallCount int64 `xml:"callCount,omitempty" json:"callCount,omitempty" vim:"5.1"`
+ CallCount int64 `xml:"callCount,omitempty" json:"callCount,omitempty"`
// The unique identifier for the session.
- SessionId string `xml:"sessionId,omitempty" json:"sessionId,omitempty" vim:"5.1"`
+ SessionId string `xml:"sessionId,omitempty" json:"sessionId,omitempty"`
// Timestamp when the user logged on for this session.
- LoginTime *time.Time `xml:"loginTime" json:"loginTime,omitempty" vim:"5.1"`
+ LoginTime *time.Time `xml:"loginTime" json:"loginTime,omitempty"`
}
func init() {
@@ -80571,7 +80243,6 @@ type UserPrivilegeResult struct {
func init() {
t["UserPrivilegeResult"] = reflect.TypeOf((*UserPrivilegeResult)(nil)).Elem()
- minAPIVersionForType["UserPrivilegeResult"] = "6.5"
}
// The `UserProfile` data object represents a user.
@@ -80588,7 +80259,6 @@ type UserProfile struct {
func init() {
t["UserProfile"] = reflect.TypeOf((*UserProfile)(nil)).Elem()
- minAPIVersionForType["UserProfile"] = "4.0"
}
// When searching for users, the search results in
@@ -80641,16 +80311,16 @@ type UserSession struct {
// the server determines this locale.
MessageLocale string `xml:"messageLocale" json:"messageLocale"`
// Whether or not this session belongs to a VC Extension.
- ExtensionSession *bool `xml:"extensionSession" json:"extensionSession,omitempty" vim:"5.0"`
+ ExtensionSession *bool `xml:"extensionSession" json:"extensionSession,omitempty"`
// The client identity.
//
// It could be IP address, or pipe name depended
// on client binding
- IpAddress string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty" vim:"5.1"`
+ IpAddress string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
// The name of user agent or application
- UserAgent string `xml:"userAgent,omitempty" json:"userAgent,omitempty" vim:"5.1"`
+ UserAgent string `xml:"userAgent,omitempty" json:"userAgent,omitempty"`
// Number of API invocations since the session started
- CallCount int64 `xml:"callCount,omitempty" json:"callCount,omitempty" vim:"5.1"`
+ CallCount int64 `xml:"callCount,omitempty" json:"callCount,omitempty"`
}
func init() {
@@ -80697,7 +80367,6 @@ type VASAStorageArray struct {
func init() {
t["VASAStorageArray"] = reflect.TypeOf((*VASAStorageArray)(nil)).Elem()
- minAPIVersionForType["VASAStorageArray"] = "6.0"
}
// Discovery service information of the array with FC
@@ -80772,12 +80441,12 @@ type VAppCloneSpec struct {
//
// This is often not a required
// parameter. If not specified, the behavior is as follows:
- // - If the target pool represents a stand-alone host, that host is used.
- // - If the target pool represents a DRS-enabled cluster, a host selected
- // by DRS is used.
- // - If the target pool represents a cluster without DRS enabled or a
- // DRS-enabled cluster in manual mode, an InvalidArgument exception is
- // thrown.
+ // - If the target pool represents a stand-alone host, that host is used.
+ // - If the target pool represents a DRS-enabled cluster, a host selected
+ // by DRS is used.
+ // - If the target pool represents a cluster without DRS enabled or a
+ // DRS-enabled cluster in manual mode, an InvalidArgument exception is
+ // thrown.
//
// Refers instance of `HostSystem`.
Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
@@ -80794,14 +80463,13 @@ type VAppCloneSpec struct {
// A set of property values to override.
Property []KeyValue `xml:"property,omitempty" json:"property,omitempty"`
// The resource configuration for the cloned vApp.
- ResourceMapping []VAppCloneSpecResourceMap `xml:"resourceMapping,omitempty" json:"resourceMapping,omitempty" vim:"4.1"`
+ ResourceMapping []VAppCloneSpecResourceMap `xml:"resourceMapping,omitempty" json:"resourceMapping,omitempty"`
// Specify how the VMs in the vApp should be provisioned.
- Provisioning string `xml:"provisioning,omitempty" json:"provisioning,omitempty" vim:"4.1"`
+ Provisioning string `xml:"provisioning,omitempty" json:"provisioning,omitempty"`
}
func init() {
t["VAppCloneSpec"] = reflect.TypeOf((*VAppCloneSpec)(nil)).Elem()
- minAPIVersionForType["VAppCloneSpec"] = "4.0"
}
// Maps one network to another as part of the clone process.
@@ -80822,7 +80490,6 @@ type VAppCloneSpecNetworkMappingPair struct {
func init() {
t["VAppCloneSpecNetworkMappingPair"] = reflect.TypeOf((*VAppCloneSpecNetworkMappingPair)(nil)).Elem()
- minAPIVersionForType["VAppCloneSpecNetworkMappingPair"] = "4.0"
}
// Maps source child entities to destination resource pools
@@ -80863,7 +80530,6 @@ type VAppCloneSpecResourceMap struct {
func init() {
t["VAppCloneSpecResourceMap"] = reflect.TypeOf((*VAppCloneSpecResourceMap)(nil)).Elem()
- minAPIVersionForType["VAppCloneSpecResourceMap"] = "4.1"
}
// Base for configuration / environment issues that can be thrown when powering on or
@@ -80874,7 +80540,6 @@ type VAppConfigFault struct {
func init() {
t["VAppConfigFault"] = reflect.TypeOf((*VAppConfigFault)(nil)).Elem()
- minAPIVersionForType["VAppConfigFault"] = "4.0"
}
type VAppConfigFaultFault BaseVAppConfigFault
@@ -80896,18 +80561,17 @@ type VAppConfigInfo struct {
//
// This identifier is used by vCenter to uniquely identify all
// vApp instances.
- InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty" vim:"4.1"`
+ InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty"`
// Specifies that this vApp is managed by a VC Extension.
//
// See the
// `managedBy` property in the
// VAppConfigSpec for more details.
- ManagedBy *ManagedByInfo `xml:"managedBy,omitempty" json:"managedBy,omitempty" vim:"5.0"`
+ ManagedBy *ManagedByInfo `xml:"managedBy,omitempty" json:"managedBy,omitempty"`
}
func init() {
t["VAppConfigInfo"] = reflect.TypeOf((*VAppConfigInfo)(nil)).Elem()
- minAPIVersionForType["VAppConfigInfo"] = "4.0"
}
// Configuration of a vApp
@@ -80933,7 +80597,7 @@ type VAppConfigSpec struct {
// VirtualCenter detects an identifier conflict between vApps.
//
// Reconfigure privilege: VApp.ApplicationConfig
- InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty" vim:"4.1"`
+ InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty"`
// Specifies that this vApp is managed by a VC Extension.
//
// This information is primarily used in the Client to show a custom icon for
@@ -80944,12 +80608,11 @@ type VAppConfigSpec struct {
// extension, the default vApp icon is used, and no description is shown.
//
// Reconfigure privilege: VApp.ApplicationConfig
- ManagedBy *ManagedByInfo `xml:"managedBy,omitempty" json:"managedBy,omitempty" vim:"5.0"`
+ ManagedBy *ManagedByInfo `xml:"managedBy,omitempty" json:"managedBy,omitempty"`
}
func init() {
t["VAppConfigSpec"] = reflect.TypeOf((*VAppConfigSpec)(nil)).Elem()
- minAPIVersionForType["VAppConfigSpec"] = "4.0"
}
// This object type describes the behavior of an entity (virtual machine or
@@ -81044,12 +80707,11 @@ type VAppEntityConfigInfo struct {
// This is only set for linked children.
//
// Reconfigure privilege: VApp.ApplicationConfig
- DestroyWithParent *bool `xml:"destroyWithParent" json:"destroyWithParent,omitempty" vim:"4.1"`
+ DestroyWithParent *bool `xml:"destroyWithParent" json:"destroyWithParent,omitempty"`
}
func init() {
t["VAppEntityConfigInfo"] = reflect.TypeOf((*VAppEntityConfigInfo)(nil)).Elem()
- minAPIVersionForType["VAppEntityConfigInfo"] = "4.0"
}
// The IPAssignmentInfo class specifies how the guest software gets
@@ -81126,7 +80788,6 @@ type VAppIPAssignmentInfo struct {
func init() {
t["VAppIPAssignmentInfo"] = reflect.TypeOf((*VAppIPAssignmentInfo)(nil)).Elem()
- minAPIVersionForType["VAppIPAssignmentInfo"] = "4.0"
}
// A virtual machine in a vApp cannot be powered on unless the
@@ -81137,7 +80798,6 @@ type VAppNotRunning struct {
func init() {
t["VAppNotRunning"] = reflect.TypeOf((*VAppNotRunning)(nil)).Elem()
- minAPIVersionForType["VAppNotRunning"] = "4.0"
}
type VAppNotRunningFault VAppNotRunning
@@ -81157,7 +80817,6 @@ type VAppOperationInProgress struct {
func init() {
t["VAppOperationInProgress"] = reflect.TypeOf((*VAppOperationInProgress)(nil)).Elem()
- minAPIVersionForType["VAppOperationInProgress"] = "5.0"
}
type VAppOperationInProgressFault VAppOperationInProgress
@@ -81193,7 +80852,6 @@ type VAppOvfSectionInfo struct {
func init() {
t["VAppOvfSectionInfo"] = reflect.TypeOf((*VAppOvfSectionInfo)(nil)).Elem()
- minAPIVersionForType["VAppOvfSectionInfo"] = "4.0"
}
// An incremental update to the OvfSection list.
@@ -81205,7 +80863,6 @@ type VAppOvfSectionSpec struct {
func init() {
t["VAppOvfSectionSpec"] = reflect.TypeOf((*VAppOvfSectionSpec)(nil)).Elem()
- minAPIVersionForType["VAppOvfSectionSpec"] = "4.0"
}
// Information that describes what product a vApp contains, for example,
@@ -81247,7 +80904,6 @@ type VAppProductInfo struct {
func init() {
t["VAppProductInfo"] = reflect.TypeOf((*VAppProductInfo)(nil)).Elem()
- minAPIVersionForType["VAppProductInfo"] = "4.0"
}
// An incremental update to the Product information list.
@@ -81259,7 +80915,6 @@ type VAppProductSpec struct {
func init() {
t["VAppProductSpec"] = reflect.TypeOf((*VAppProductSpec)(nil)).Elem()
- minAPIVersionForType["VAppProductSpec"] = "4.0"
}
// The base fault for all vApp property configuration issues
@@ -81281,7 +80936,6 @@ type VAppPropertyFault struct {
func init() {
t["VAppPropertyFault"] = reflect.TypeOf((*VAppPropertyFault)(nil)).Elem()
- minAPIVersionForType["VAppPropertyFault"] = "4.0"
}
type VAppPropertyFaultFault BaseVAppPropertyFault
@@ -81334,41 +80988,41 @@ type VAppPropertyInfo struct {
// Describes the valid format of the property.
//
// A type must be one of:
- // - string : A generic string. Max length 65535 (64k).
- // - string(x..) : A string with minimum character length x.
- // - string(..y) : A string with maximum character length y.
- // - string(x..y) : A string with minimum character length x and maximum
- // character length y.
- // - string\["choice1", "choice2", "choice3"\] : A set of choices. " inside a choice
- // must be either \\" or ' e.g "start\\"middle\\"end" or "start'middle'end" and
- // a \\ inside a string choice must be encoded as \\\\ e.g. "start\\\\end".
- // - int : An integer value. Is semantically equivalent to
- // int(-2147483648..2147483647) e.g. signed int32.
- // - int(x..y): An integer value with a minimum size x and a maximum size y.
- // For example int(0..255) is a number between 0 and 255 both incl. This is
- // also a way to specify that the number must be a uint8. There is always a lower
- // and lower bound. Max number of digits is 100 including any sign. If exported to OVF the
- // value will be truncated to max of uint64 or int64.
- // - real : IEEE 8-byte floating-point value.
- // - real(x..y) : IEEE 8-byte floating-point value with a minimum size x and a
- // maximum size y. For example real(-1.5..1.5) must be a number between -1.5 and 1.5.
- // Because of the nature of float some conversions can truncate the value.
- // Real must be encoded according to CIM:
- // RealValue = \[ "+" | "-" } \*decimalDigit "." 1\*decimalDigit
- // \[ ("e" | "E" ) \[ "+" | "-" \] 1\*decimalDigit \] \]
- // - boolean : A boolean. The value can be True or False
- // - password : A generic string. Max length 65535 (64k).
- // - password(x..) : A string with minimum character length x.
- // - password(..y) : A string with maximum character length y.
- // - password(x..y) : A string with minimum character length x and maximum
- // character length y.
- // - ip : An IPv4 address in dot-decimal notation or an IPv6 address in
- // colon-hexadecimal notation.
- // - ip:network : An IP address in dot-notation (IPv4) and colon-hexadecimal (IPv6)
- // on a particular network. The behavior of this type depends on the
- // ipAllocationPolicy. See below.
- // - expression: The default value specifies an expression that is calculated
- // by the system.
+ // - string : A generic string. Max length 65535 (64k).
+ // - string(x..) : A string with minimum character length x.
+ // - string(..y) : A string with maximum character length y.
+ // - string(x..y) : A string with minimum character length x and maximum
+ // character length y.
+ // - string\["choice1", "choice2", "choice3"\] : A set of choices. " inside a choice
+ // must be either \\" or ' e.g "start\\"middle\\"end" or "start'middle'end" and
+ // a \\ inside a string choice must be encoded as \\\\ e.g. "start\\\\end".
+ // - int : An integer value. Is semantically equivalent to
+ // int(-2147483648..2147483647) e.g. signed int32.
+ // - int(x..y): An integer value with a minimum size x and a maximum size y.
+ // For example int(0..255) is a number between 0 and 255 both incl. This is
+ // also a way to specify that the number must be a uint8. There is always a lower
+ // and lower bound. Max number of digits is 100 including any sign. If exported to OVF the
+ // value will be truncated to max of uint64 or int64.
+ // - real : IEEE 8-byte floating-point value.
+ // - real(x..y) : IEEE 8-byte floating-point value with a minimum size x and a
+ // maximum size y. For example real(-1.5..1.5) must be a number between -1.5 and 1.5.
+ // Because of the nature of float some conversions can truncate the value.
+ // Real must be encoded according to CIM:
+ // RealValue = \[ "+" | "-" } \*decimalDigit "." 1\*decimalDigit
+ // \[ ("e" | "E" ) \[ "+" | "-" \] 1\*decimalDigit \] \]
+ // - boolean : A boolean. The value can be True or False
+ // - password : A generic string. Max length 65535 (64k).
+ // - password(x..) : A string with minimum character length x.
+ // - password(..y) : A string with maximum character length y.
+ // - password(x..y) : A string with minimum character length x and maximum
+ // character length y.
+ // - ip : An IPv4 address in dot-decimal notation or an IPv6 address in
+ // colon-hexadecimal notation.
+ // - ip:network : An IP address in dot-notation (IPv4) and colon-hexadecimal (IPv6)
+ // on a particular network. The behavior of this type depends on the
+ // ipAllocationPolicy. See below.
+ // - expression: The default value specifies an expression that is calculated
+ // by the system.
//
// For properties of type 'password', the value field and default value field will
// always be returned as an empty string when queried. Thus, it is a write-only property.
@@ -81377,29 +81031,29 @@ type VAppPropertyInfo struct {
//
// An expression follows the general patterns of either ${arg} or ${cmd:arg}. The
// list of supported expressions are listed below:
- // - ${<name>} : This expression evaluates to the same value as the named
- // property in the parent vApp. A parent vApp is the
- // first vApp in the ancestry chain (resource pools are
- // skipped). If no parent vApp exists or the property is
- // not defined on the parent vApp, the expression
- // evaluates to the empty value.
- // - ${subnet:<network>} : The subnet value of the given network.
- // - ${netmask:<network>} : The netmask value of the given network.
- // - ${gateway:<network>} : The gateway value of the given network.
- // - ${autoIp:<network>} : An auto-assigned network address on the given
- // network
- // - ${net:<network>} : The name of the network
- // - ${domainName:<network>} : The DNS domain name, e.g., vmware.com, of
- // the given network.
- // - ${searchPath:<network>} : The DNS search path, e.g.,
- // eng.vmware.com;vmware.com, of the given
- // network.
- // - ${hostPrefix:<network>}: The host prefix on a given network, e.g.,
- // "voe-"
- // - ${dns:network}: A comma-separated string of configured network addresses
- // - ${httpProxy:network}: The hostname:port for a proxy on the network
- // - ${vimIp:} : The IP address of the VIM API provider server. This would
- // typical be an ESX Server or VirtualCenter Server.
+ // - ${<name>} : This expression evaluates to the same value as the named
+ // property in the parent vApp. A parent vApp is the
+ // first vApp in the ancestry chain (resource pools are
+ // skipped). If no parent vApp exists or the property is
+ // not defined on the parent vApp, the expression
+ // evaluates to the empty value.
+ // - ${subnet:<network>} : The subnet value of the given network.
+ // - ${netmask:<network>} : The netmask value of the given network.
+ // - ${gateway:<network>} : The gateway value of the given network.
+ // - ${autoIp:<network>} : An auto-assigned network address on the given
+ // network
+ // - ${net:<network>} : The name of the network
+ // - ${domainName:<network>} : The DNS domain name, e.g., vmware.com, of
+ // the given network.
+ // - ${searchPath:<network>} : The DNS search path, e.g.,
+ // eng.vmware.com;vmware.com, of the given
+ // network.
+ // - ${hostPrefix:<network>}: The host prefix on a given network, e.g.,
+ // "voe-"
+ // - ${dns:network}: A comma-separated string of configured network addresses
+ // - ${httpProxy:network}: The hostname:port for a proxy on the network
+ // - ${vimIp:} : The IP address of the VIM API provider server. This would
+ // typical be an ESX Server or VirtualCenter Server.
//
// A vApp will fail to start if any of the properties cannot be computed. For
// example, if a property reference a gateway on a network, for which is has not
@@ -81408,9 +81062,9 @@ type VAppPropertyInfo struct {
// the vApp or virtual machine is not-running.
//
// The system provides three ways of specifying IP addresses:
- // - ip,
- // - ip:network type,
- // - ${ip:network} expression.
+ // - ip,
+ // - ip:network type,
+ // - ${ip:network} expression.
//
// The _ip_ types are typically used to specify an IP addressed to an
// external system. Thus, these are not used by a virtual ethernet adapter
@@ -81459,7 +81113,7 @@ type VAppPropertyInfo struct {
// For types that
// refer to network names the type reference is the managed object reference
// of the network.
- TypeReference string `xml:"typeReference,omitempty" json:"typeReference,omitempty" vim:"5.1"`
+ TypeReference string `xml:"typeReference,omitempty" json:"typeReference,omitempty"`
// Whether the property is user-configurable or a system property.
//
// This is not used
@@ -81487,7 +81141,6 @@ type VAppPropertyInfo struct {
func init() {
t["VAppPropertyInfo"] = reflect.TypeOf((*VAppPropertyInfo)(nil)).Elem()
- minAPIVersionForType["VAppPropertyInfo"] = "4.0"
}
// An incremental update to the Property list.
@@ -81499,7 +81152,6 @@ type VAppPropertySpec struct {
func init() {
t["VAppPropertySpec"] = reflect.TypeOf((*VAppPropertySpec)(nil)).Elem()
- minAPIVersionForType["VAppPropertySpec"] = "4.0"
}
// A specialized TaskInProgress when an operation is performed
@@ -81515,7 +81167,6 @@ type VAppTaskInProgress struct {
func init() {
t["VAppTaskInProgress"] = reflect.TypeOf((*VAppTaskInProgress)(nil)).Elem()
- minAPIVersionForType["VAppTaskInProgress"] = "4.0"
}
type VAppTaskInProgressFault VAppTaskInProgress
@@ -81542,6 +81193,7 @@ type VCenterUpdateVStorageObjectMetadataExRequestType struct {
func init() {
t["VCenterUpdateVStorageObjectMetadataExRequestType"] = reflect.TypeOf((*VCenterUpdateVStorageObjectMetadataExRequestType)(nil)).Elem()
+ minAPIVersionForType["VCenterUpdateVStorageObjectMetadataExRequestType"] = "7.0.2.0"
}
type VCenterUpdateVStorageObjectMetadataEx_Task VCenterUpdateVStorageObjectMetadataExRequestType
@@ -81561,7 +81213,6 @@ type VFlashCacheHotConfigNotSupported struct {
func init() {
t["VFlashCacheHotConfigNotSupported"] = reflect.TypeOf((*VFlashCacheHotConfigNotSupported)(nil)).Elem()
- minAPIVersionForType["VFlashCacheHotConfigNotSupported"] = "6.0"
}
type VFlashCacheHotConfigNotSupportedFault VFlashCacheHotConfigNotSupported
@@ -81587,7 +81238,6 @@ type VFlashModuleNotSupported struct {
func init() {
t["VFlashModuleNotSupported"] = reflect.TypeOf((*VFlashModuleNotSupported)(nil)).Elem()
- minAPIVersionForType["VFlashModuleNotSupported"] = "5.5"
}
type VFlashModuleNotSupportedFault VFlashModuleNotSupported
@@ -81614,7 +81264,6 @@ type VFlashModuleVersionIncompatible struct {
func init() {
t["VFlashModuleVersionIncompatible"] = reflect.TypeOf((*VFlashModuleVersionIncompatible)(nil)).Elem()
- minAPIVersionForType["VFlashModuleVersionIncompatible"] = "5.5"
}
type VFlashModuleVersionIncompatibleFault VFlashModuleVersionIncompatible
@@ -81630,7 +81279,7 @@ type VMFSDatastoreCreatedEvent struct {
// The associated datastore.
Datastore DatastoreEventArgument `xml:"datastore" json:"datastore"`
// Url of the associated datastore.
- DatastoreUrl string `xml:"datastoreUrl,omitempty" json:"datastoreUrl,omitempty" vim:"6.5"`
+ DatastoreUrl string `xml:"datastoreUrl,omitempty" json:"datastoreUrl,omitempty"`
}
func init() {
@@ -81647,7 +81296,6 @@ type VMFSDatastoreExpandedEvent struct {
func init() {
t["VMFSDatastoreExpandedEvent"] = reflect.TypeOf((*VMFSDatastoreExpandedEvent)(nil)).Elem()
- minAPIVersionForType["VMFSDatastoreExpandedEvent"] = "4.0"
}
// This event records when a datastore is extended.
@@ -81660,7 +81308,6 @@ type VMFSDatastoreExtendedEvent struct {
func init() {
t["VMFSDatastoreExtendedEvent"] = reflect.TypeOf((*VMFSDatastoreExtendedEvent)(nil)).Elem()
- minAPIVersionForType["VMFSDatastoreExtendedEvent"] = "4.0"
}
// The virtual machine is configured to use a VMI ROM, which is not
@@ -81671,7 +81318,6 @@ type VMINotSupported struct {
func init() {
t["VMINotSupported"] = reflect.TypeOf((*VMINotSupported)(nil)).Elem()
- minAPIVersionForType["VMINotSupported"] = "2.5"
}
type VMINotSupportedFault VMINotSupported
@@ -81690,7 +81336,6 @@ type VMOnConflictDVPort struct {
func init() {
t["VMOnConflictDVPort"] = reflect.TypeOf((*VMOnConflictDVPort)(nil)).Elem()
- minAPIVersionForType["VMOnConflictDVPort"] = "4.0"
}
type VMOnConflictDVPortFault VMOnConflictDVPort
@@ -81727,7 +81372,6 @@ type VMotionAcrossNetworkNotSupported struct {
func init() {
t["VMotionAcrossNetworkNotSupported"] = reflect.TypeOf((*VMotionAcrossNetworkNotSupported)(nil)).Elem()
- minAPIVersionForType["VMotionAcrossNetworkNotSupported"] = "5.5"
}
type VMotionAcrossNetworkNotSupportedFault VMotionAcrossNetworkNotSupported
@@ -81751,7 +81395,7 @@ type VMotionInterfaceIssue struct {
// The host with the bad interface.
//
// Refers instance of `HostSystem`.
- FailedHostEntity *ManagedObjectReference `xml:"failedHostEntity,omitempty" json:"failedHostEntity,omitempty" vim:"2.5"`
+ FailedHostEntity *ManagedObjectReference `xml:"failedHostEntity,omitempty" json:"failedHostEntity,omitempty"`
}
func init() {
@@ -81897,7 +81541,7 @@ type VMwareDVSConfigInfo struct {
DVSConfigInfo
// The Distributed Port Mirroring sessions in the switch.
- VspanSession []VMwareVspanSession `xml:"vspanSession,omitempty" json:"vspanSession,omitempty" vim:"5.0"`
+ VspanSession []VMwareVspanSession `xml:"vspanSession,omitempty" json:"vspanSession,omitempty"`
// The PVLAN configured in the switch.
PvlanConfig []VMwareDVSPvlanMapEntry `xml:"pvlanConfig,omitempty" json:"pvlanConfig,omitempty"`
// The maximum MTU in the switch.
@@ -81911,26 +81555,31 @@ type VMwareDVSConfigInfo struct {
// portgroup or port of the switch.
//
// See also `VMwareDVSPortSetting.ipfixEnabled`.
- IpfixConfig *VMwareIpfixConfig `xml:"ipfixConfig,omitempty" json:"ipfixConfig,omitempty" vim:"5.0"`
+ IpfixConfig *VMwareIpfixConfig `xml:"ipfixConfig,omitempty" json:"ipfixConfig,omitempty"`
// The Link Aggregation Control Protocol groups in the switch.
- LacpGroupConfig []VMwareDvsLacpGroupConfig `xml:"lacpGroupConfig,omitempty" json:"lacpGroupConfig,omitempty" vim:"5.5"`
+ LacpGroupConfig []VMwareDvsLacpGroupConfig `xml:"lacpGroupConfig,omitempty" json:"lacpGroupConfig,omitempty"`
// The Link Aggregation Control Protocol group version in the switch.
//
// See `VMwareDvsLacpApiVersion_enum` for valid values.
- LacpApiVersion string `xml:"lacpApiVersion,omitempty" json:"lacpApiVersion,omitempty" vim:"5.5"`
+ LacpApiVersion string `xml:"lacpApiVersion,omitempty" json:"lacpApiVersion,omitempty"`
// The Multicast Filtering mode in the switch.
//
// See `VMwareDvsMulticastFilteringMode_enum` for valid values.
- MulticastFilteringMode string `xml:"multicastFilteringMode,omitempty" json:"multicastFilteringMode,omitempty" vim:"6.0"`
+ MulticastFilteringMode string `xml:"multicastFilteringMode,omitempty" json:"multicastFilteringMode,omitempty"`
// Indicate the ID of NetworkOffloadSpec used in the switch.
//
// ID "None" means that network offload is not allowed in the switch.
NetworkOffloadSpecId string `xml:"networkOffloadSpecId,omitempty" json:"networkOffloadSpecId,omitempty" vim:"8.0.0.1"`
+ // The network offload specific configuration of the switch.
+ //
+ // It is only set when network offload is allowed
+ // (`VMwareDVSConfigInfo.networkOffloadSpecId`
+ // is not "None").
+ NetworkOffloadConfig *VmwareDistributedVirtualSwitchNetworkOffloadConfig `xml:"networkOffloadConfig,omitempty" json:"networkOffloadConfig,omitempty" vim:"8.0.3.0"`
}
func init() {
t["VMwareDVSConfigInfo"] = reflect.TypeOf((*VMwareDVSConfigInfo)(nil)).Elem()
- minAPIVersionForType["VMwareDVSConfigInfo"] = "4.0"
}
// This class defines the VMware specific configuration for
@@ -81969,7 +81618,7 @@ type VMwareDVSConfigSpec struct {
//
// The VSPAN
// sessions in the array cannot be of the same key.
- VspanConfigSpec []VMwareDVSVspanConfigSpec `xml:"vspanConfigSpec,omitempty" json:"vspanConfigSpec,omitempty" vim:"5.0"`
+ VspanConfigSpec []VMwareDVSVspanConfigSpec `xml:"vspanConfigSpec,omitempty" json:"vspanConfigSpec,omitempty"`
// The maximum MTU in the switch.
MaxMtu int32 `xml:"maxMtu,omitempty" json:"maxMtu,omitempty"`
// See `LinkDiscoveryProtocolConfig`.
@@ -81981,25 +81630,30 @@ type VMwareDVSConfigSpec struct {
// portgroup or port of the switch.
//
// See also `VMwareDVSPortSetting.ipfixEnabled`.
- IpfixConfig *VMwareIpfixConfig `xml:"ipfixConfig,omitempty" json:"ipfixConfig,omitempty" vim:"5.0"`
+ IpfixConfig *VMwareIpfixConfig `xml:"ipfixConfig,omitempty" json:"ipfixConfig,omitempty"`
// The Link Aggregation Control Protocol group version in the switch.
//
// See `VMwareDvsLacpApiVersion_enum` for valid values.
- LacpApiVersion string `xml:"lacpApiVersion,omitempty" json:"lacpApiVersion,omitempty" vim:"5.5"`
+ LacpApiVersion string `xml:"lacpApiVersion,omitempty" json:"lacpApiVersion,omitempty"`
// The Multicast Filtering mode in the switch.
//
// See `VMwareDvsMulticastFilteringMode_enum` for valid values.
- MulticastFilteringMode string `xml:"multicastFilteringMode,omitempty" json:"multicastFilteringMode,omitempty" vim:"6.0"`
+ MulticastFilteringMode string `xml:"multicastFilteringMode,omitempty" json:"multicastFilteringMode,omitempty"`
// Indicate the ID of NetworkOffloadSpec used in the switch.
//
// Unset it when network offload is not allowed when creating a switch.
// Use ID "None" to change network offload from allowed to not allowed.
NetworkOffloadSpecId string `xml:"networkOffloadSpecId,omitempty" json:"networkOffloadSpecId,omitempty" vim:"8.0.0.1"`
+ // The network offload specific configuration of the switch.
+ //
+ // This can be set only when network offload is allowed
+ // (`VMwareDVSConfigInfo.networkOffloadSpecId`
+ // is not "None").
+ NetworkOffloadConfig *VmwareDistributedVirtualSwitchNetworkOffloadConfig `xml:"networkOffloadConfig,omitempty" json:"networkOffloadConfig,omitempty" vim:"8.0.3.0"`
}
func init() {
t["VMwareDVSConfigSpec"] = reflect.TypeOf((*VMwareDVSConfigSpec)(nil)).Elem()
- minAPIVersionForType["VMwareDVSConfigSpec"] = "4.0"
}
// Indicators of support for version-specific DVS features that are only
@@ -82011,44 +81665,43 @@ type VMwareDVSFeatureCapability struct {
// vSphere Distributed Switch.
//
// Distributed Port Mirroring is supported in vSphere Distributed Switch Version 5.0 or later.
- VspanSupported *bool `xml:"vspanSupported" json:"vspanSupported,omitempty" vim:"5.0"`
+ VspanSupported *bool `xml:"vspanSupported" json:"vspanSupported,omitempty"`
// Flag to indicate whether LLDP(Link Layer Discovery Protocol) is supported on the
// vSphere Distributed Switch.
//
// LLDP is supported in vSphere Distributed Switch Version 5.0 or later.
- LldpSupported *bool `xml:"lldpSupported" json:"lldpSupported,omitempty" vim:"5.0"`
+ LldpSupported *bool `xml:"lldpSupported" json:"lldpSupported,omitempty"`
// Deprecated as of vSphere API 6.0, use `VMwareDvsIpfixCapability`.
//
// Flag to indicate whether IPFIX(NetFlow) is supported on the
// vSphere Distributed Switch.
//
// IPFIX is supported in vSphere Distributed Switch Version 5.0 or later.
- IpfixSupported *bool `xml:"ipfixSupported" json:"ipfixSupported,omitempty" vim:"5.0"`
+ IpfixSupported *bool `xml:"ipfixSupported" json:"ipfixSupported,omitempty"`
// The support for version-specific IPFIX(NetFlow).
- IpfixCapability *VMwareDvsIpfixCapability `xml:"ipfixCapability,omitempty" json:"ipfixCapability,omitempty" vim:"6.0"`
+ IpfixCapability *VMwareDvsIpfixCapability `xml:"ipfixCapability,omitempty" json:"ipfixCapability,omitempty"`
// Flag to indicate whether multicast snooping(IGMP/MLD Snooping)
// is supported on the vSphere Distributed Switch.
//
// IGMP/MLD Snooping is supported in vSphere Distributed Switch Version 6.0 or later.
- MulticastSnoopingSupported *bool `xml:"multicastSnoopingSupported" json:"multicastSnoopingSupported,omitempty" vim:"6.0"`
+ MulticastSnoopingSupported *bool `xml:"multicastSnoopingSupported" json:"multicastSnoopingSupported,omitempty"`
// The support for version-specific Distributed Port Mirroring sessions.
- VspanCapability *VMwareDVSVspanCapability `xml:"vspanCapability,omitempty" json:"vspanCapability,omitempty" vim:"5.1"`
+ VspanCapability *VMwareDVSVspanCapability `xml:"vspanCapability,omitempty" json:"vspanCapability,omitempty"`
// The support for version-specific Link Aggregation Control Protocol.
- LacpCapability *VMwareDvsLacpCapability `xml:"lacpCapability,omitempty" json:"lacpCapability,omitempty" vim:"5.1"`
+ LacpCapability *VMwareDvsLacpCapability `xml:"lacpCapability,omitempty" json:"lacpCapability,omitempty"`
// The support for version-specific DPU(SmartNic).
DpuCapability *VMwareDvsDpuCapability `xml:"dpuCapability,omitempty" json:"dpuCapability,omitempty" vim:"8.0.0.1"`
// Flag to indicate whether NSX is supported on the
// vSphere Distributed Switch.
//
// NSX is supported in vSphere Distributed Switch Version 7.0 or later.
- NsxSupported *bool `xml:"nsxSupported" json:"nsxSupported,omitempty" vim:"7.0"`
+ NsxSupported *bool `xml:"nsxSupported" json:"nsxSupported,omitempty"`
// The support for version-specific supported MTU.
MtuCapability *VMwareDvsMtuCapability `xml:"mtuCapability,omitempty" json:"mtuCapability,omitempty" vim:"7.0.2.0"`
}
func init() {
t["VMwareDVSFeatureCapability"] = reflect.TypeOf((*VMwareDVSFeatureCapability)(nil)).Elem()
- minAPIVersionForType["VMwareDVSFeatureCapability"] = "4.1"
}
// The feature capabilities of health check supported by the
@@ -82066,7 +81719,6 @@ type VMwareDVSHealthCheckCapability struct {
func init() {
t["VMwareDVSHealthCheckCapability"] = reflect.TypeOf((*VMwareDVSHealthCheckCapability)(nil)).Elem()
- minAPIVersionForType["VMwareDVSHealthCheckCapability"] = "5.1"
}
// This class defines health check configuration for
@@ -82077,7 +81729,6 @@ type VMwareDVSHealthCheckConfig struct {
func init() {
t["VMwareDVSHealthCheckConfig"] = reflect.TypeOf((*VMwareDVSHealthCheckConfig)(nil)).Elem()
- minAPIVersionForType["VMwareDVSHealthCheckConfig"] = "5.1"
}
// This class defines MTU health check result of an uplink port
@@ -82108,7 +81759,6 @@ type VMwareDVSMtuHealthCheckResult struct {
func init() {
t["VMwareDVSMtuHealthCheckResult"] = reflect.TypeOf((*VMwareDVSMtuHealthCheckResult)(nil)).Elem()
- minAPIVersionForType["VMwareDVSMtuHealthCheckResult"] = "5.1"
}
// This class defines the VMware specific configuration for
@@ -82141,7 +81791,7 @@ type VMwareDVSPortSetting struct {
// and an appropriately populated
// *ipfix configuration*
// that specifies a collector IP address and port.
- IpfixEnabled *BoolPolicy `xml:"ipfixEnabled,omitempty" json:"ipfixEnabled,omitempty" vim:"5.0"`
+ IpfixEnabled *BoolPolicy `xml:"ipfixEnabled,omitempty" json:"ipfixEnabled,omitempty"`
// If true, a copy of packets sent to the switch will always be forwarded to
// an uplink in addition to the regular packet forwarded done by the switch.
TxUplink *BoolPolicy `xml:"txUplink,omitempty" json:"txUplink,omitempty"`
@@ -82154,17 +81804,16 @@ type VMwareDVSPortSetting struct {
//
// This policy is ignored on non-uplink portgroups.
// Setting this policy at port level is not supported.
- LacpPolicy *VMwareUplinkLacpPolicy `xml:"lacpPolicy,omitempty" json:"lacpPolicy,omitempty" vim:"5.1"`
+ LacpPolicy *VMwareUplinkLacpPolicy `xml:"lacpPolicy,omitempty" json:"lacpPolicy,omitempty"`
// The MAC learning policy.
- MacManagementPolicy *DVSMacManagementPolicy `xml:"macManagementPolicy,omitempty" json:"macManagementPolicy,omitempty" vim:"6.7"`
+ MacManagementPolicy *DVSMacManagementPolicy `xml:"macManagementPolicy,omitempty" json:"macManagementPolicy,omitempty"`
// The VNI number of overlay logical switch, which is used by
// NSX portgroup.
- VNI *IntPolicy `xml:"VNI,omitempty" json:"VNI,omitempty" vim:"7.0"`
+ VNI *IntPolicy `xml:"VNI,omitempty" json:"VNI,omitempty"`
}
func init() {
t["VMwareDVSPortSetting"] = reflect.TypeOf((*VMwareDVSPortSetting)(nil)).Elem()
- minAPIVersionForType["VMwareDVSPortSetting"] = "4.0"
}
// This class defines the VMware specific configuration for
@@ -82200,18 +81849,17 @@ type VMwareDVSPortgroupPolicy struct {
// for an individual port to override the setting in
// `DVPortgroupConfigInfo.defaultPortConfig` of
// a portgroup.
- IpfixOverrideAllowed *bool `xml:"ipfixOverrideAllowed" json:"ipfixOverrideAllowed,omitempty" vim:"5.0"`
+ IpfixOverrideAllowed *bool `xml:"ipfixOverrideAllowed" json:"ipfixOverrideAllowed,omitempty"`
// Allow the setting of
// `VMwareDVSPortSetting.macManagementPolicy`
// for an individual port to override the setting in
// `DVPortgroupConfigInfo.defaultPortConfig` of
// a portgroup.
- MacManagementOverrideAllowed *bool `xml:"macManagementOverrideAllowed" json:"macManagementOverrideAllowed,omitempty" vim:"6.7.1"`
+ MacManagementOverrideAllowed *bool `xml:"macManagementOverrideAllowed" json:"macManagementOverrideAllowed,omitempty"`
}
func init() {
t["VMwareDVSPortgroupPolicy"] = reflect.TypeOf((*VMwareDVSPortgroupPolicy)(nil)).Elem()
- minAPIVersionForType["VMwareDVSPortgroupPolicy"] = "4.0"
}
// This class defines the configuration of a PVLAN map entry
@@ -82230,7 +81878,6 @@ type VMwareDVSPvlanConfigSpec struct {
func init() {
t["VMwareDVSPvlanConfigSpec"] = reflect.TypeOf((*VMwareDVSPvlanConfigSpec)(nil)).Elem()
- minAPIVersionForType["VMwareDVSPvlanConfigSpec"] = "4.0"
}
// The class represents a PVLAN id.
@@ -82256,7 +81903,6 @@ type VMwareDVSPvlanMapEntry struct {
func init() {
t["VMwareDVSPvlanMapEntry"] = reflect.TypeOf((*VMwareDVSPvlanMapEntry)(nil)).Elem()
- minAPIVersionForType["VMwareDVSPvlanMapEntry"] = "4.0"
}
// This class defines the teaming health check configuration.
@@ -82269,7 +81915,6 @@ type VMwareDVSTeamingHealthCheckConfig struct {
func init() {
t["VMwareDVSTeamingHealthCheckConfig"] = reflect.TypeOf((*VMwareDVSTeamingHealthCheckConfig)(nil)).Elem()
- minAPIVersionForType["VMwareDVSTeamingHealthCheckConfig"] = "5.1"
}
// This class defines teaming health check result of a host that
@@ -82286,7 +81931,6 @@ type VMwareDVSTeamingHealthCheckResult struct {
func init() {
t["VMwareDVSTeamingHealthCheckResult"] = reflect.TypeOf((*VMwareDVSTeamingHealthCheckResult)(nil)).Elem()
- minAPIVersionForType["VMwareDVSTeamingHealthCheckResult"] = "5.1"
}
// This class defines Vlan health check result of an uplink port
@@ -82308,7 +81952,6 @@ type VMwareDVSVlanHealthCheckResult struct {
func init() {
t["VMwareDVSVlanHealthCheckResult"] = reflect.TypeOf((*VMwareDVSVlanHealthCheckResult)(nil)).Elem()
- minAPIVersionForType["VMwareDVSVlanHealthCheckResult"] = "5.1"
}
// This class defines the vlan and mtu health check configuration.
@@ -82323,7 +81966,6 @@ type VMwareDVSVlanMtuHealthCheckConfig struct {
func init() {
t["VMwareDVSVlanMtuHealthCheckConfig"] = reflect.TypeOf((*VMwareDVSVlanMtuHealthCheckConfig)(nil)).Elem()
- minAPIVersionForType["VMwareDVSVlanMtuHealthCheckConfig"] = "5.1"
}
// Indicators of support for version-specific Distributed Port Mirroring sessions.
@@ -82347,15 +81989,14 @@ type VMwareDVSVspanCapability struct {
EncapRemoteSourceSupported bool `xml:"encapRemoteSourceSupported" json:"encapRemoteSourceSupported"`
// Flag to indicate whether ERSPAN protocol encapsulation is supported
// on the vSphere Distributed Switch.
- ErspanProtocolSupported *bool `xml:"erspanProtocolSupported" json:"erspanProtocolSupported,omitempty" vim:"6.5"`
+ ErspanProtocolSupported *bool `xml:"erspanProtocolSupported" json:"erspanProtocolSupported,omitempty"`
// Flag to indicate whether dvport mirror can be configured to use a
// dedicated network stack instance.
- MirrorNetstackSupported *bool `xml:"mirrorNetstackSupported" json:"mirrorNetstackSupported,omitempty" vim:"6.7"`
+ MirrorNetstackSupported *bool `xml:"mirrorNetstackSupported" json:"mirrorNetstackSupported,omitempty"`
}
func init() {
t["VMwareDVSVspanCapability"] = reflect.TypeOf((*VMwareDVSVspanCapability)(nil)).Elem()
- minAPIVersionForType["VMwareDVSVspanCapability"] = "5.1"
}
// This class defines the configuration of a Distributed Port Mirroring session.
@@ -82373,7 +82014,6 @@ type VMwareDVSVspanConfigSpec struct {
func init() {
t["VMwareDVSVspanConfigSpec"] = reflect.TypeOf((*VMwareDVSVspanConfigSpec)(nil)).Elem()
- minAPIVersionForType["VMwareDVSVspanConfigSpec"] = "5.0"
}
// The feature capabilities of Dpu Features supported by the
@@ -82384,6 +82024,12 @@ type VMwareDvsDpuCapability struct {
// Flag to indicate whether network offloading is supported on the
// vSphere Distributed Switch.
NetworkOffloadSupported *bool `xml:"networkOffloadSupported" json:"networkOffloadSupported,omitempty"`
+ // Flag to indicate whether the vSphere Distributed Switch supports
+ // connecting two DPUs to an offloading VDS and operating in an
+ // active-standby mode.
+ //
+ // If not set, the feature is not supported.
+ ActiveStandbyModeSupported *bool `xml:"activeStandbyModeSupported" json:"activeStandbyModeSupported,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -82414,7 +82060,6 @@ type VMwareDvsIpfixCapability struct {
func init() {
t["VMwareDvsIpfixCapability"] = reflect.TypeOf((*VMwareDvsIpfixCapability)(nil)).Elem()
- minAPIVersionForType["VMwareDvsIpfixCapability"] = "6.0"
}
// The feature capabilities of Link Aggregation Control Protocol supported by the
@@ -82429,7 +82074,7 @@ type VMwareDvsLacpCapability struct {
// than one Link Aggregation Control Protocol group to be configured.
//
// It is suppported in vSphere Distributed Switch Version 5.5 or later.
- MultiLacpGroupSupported *bool `xml:"multiLacpGroupSupported" json:"multiLacpGroupSupported,omitempty" vim:"5.5"`
+ MultiLacpGroupSupported *bool `xml:"multiLacpGroupSupported" json:"multiLacpGroupSupported,omitempty"`
// Flag to indicate whether LACP Fast Mode is supported on the
// vSphere Distributed Switch.
//
@@ -82439,7 +82084,6 @@ type VMwareDvsLacpCapability struct {
func init() {
t["VMwareDvsLacpCapability"] = reflect.TypeOf((*VMwareDvsLacpCapability)(nil)).Elem()
- minAPIVersionForType["VMwareDvsLacpCapability"] = "5.1"
}
// This class defines VMware specific multiple IEEE 802.3ad
@@ -82482,7 +82126,6 @@ type VMwareDvsLacpGroupConfig struct {
func init() {
t["VMwareDvsLacpGroupConfig"] = reflect.TypeOf((*VMwareDvsLacpGroupConfig)(nil)).Elem()
- minAPIVersionForType["VMwareDvsLacpGroupConfig"] = "5.5"
}
// This class defines the configuration of a Link Aggregation
@@ -82499,7 +82142,6 @@ type VMwareDvsLacpGroupSpec struct {
func init() {
t["VMwareDvsLacpGroupSpec"] = reflect.TypeOf((*VMwareDvsLacpGroupSpec)(nil)).Elem()
- minAPIVersionForType["VMwareDvsLacpGroupSpec"] = "5.5"
}
// This class defines the ipfix configuration of the Link Aggregation
@@ -82521,7 +82163,6 @@ type VMwareDvsLagIpfixConfig struct {
func init() {
t["VMwareDvsLagIpfixConfig"] = reflect.TypeOf((*VMwareDvsLagIpfixConfig)(nil)).Elem()
- minAPIVersionForType["VMwareDvsLagIpfixConfig"] = "5.5"
}
// This class defines the vlan configuration of the Link Aggregation
@@ -82545,7 +82186,6 @@ type VMwareDvsLagVlanConfig struct {
func init() {
t["VMwareDvsLagVlanConfig"] = reflect.TypeOf((*VMwareDvsLagVlanConfig)(nil)).Elem()
- minAPIVersionForType["VMwareDvsLagVlanConfig"] = "5.5"
}
// Indicators of support for version-specific supported MTU.
@@ -82587,7 +82227,7 @@ type VMwareIpfixConfig struct {
// Observation Domain Id is supported
// in vSphere Distributed Switch Version 6.0 or later.
// Legal value range is 0-((2^32)-1)
- ObservationDomainId int64 `xml:"observationDomainId,omitempty" json:"observationDomainId,omitempty" vim:"6.0"`
+ ObservationDomainId int64 `xml:"observationDomainId,omitempty" json:"observationDomainId,omitempty"`
// The number of seconds after which "active" flows are forced to be
// exported to the collector.
//
@@ -82613,7 +82253,6 @@ type VMwareIpfixConfig struct {
func init() {
t["VMwareIpfixConfig"] = reflect.TypeOf((*VMwareIpfixConfig)(nil)).Elem()
- minAPIVersionForType["VMwareIpfixConfig"] = "5.0"
}
// Deprecated as of vSphere API 5.5.
@@ -82639,7 +82278,6 @@ type VMwareUplinkLacpPolicy struct {
func init() {
t["VMwareUplinkLacpPolicy"] = reflect.TypeOf((*VMwareUplinkLacpPolicy)(nil)).Elem()
- minAPIVersionForType["VMwareUplinkLacpPolicy"] = "5.1"
}
// This data object type describes uplink port ordering policy for a
@@ -82658,7 +82296,6 @@ type VMwareUplinkPortOrderPolicy struct {
func init() {
t["VMwareUplinkPortOrderPolicy"] = reflect.TypeOf((*VMwareUplinkPortOrderPolicy)(nil)).Elem()
- minAPIVersionForType["VMwareUplinkPortOrderPolicy"] = "4.0"
}
// This class defines the ports, uplink ports name, vlans and IP addresses participating in a
@@ -82685,7 +82322,7 @@ type VMwareVspanPort struct {
WildcardPortConnecteeType []string `xml:"wildcardPortConnecteeType,omitempty" json:"wildcardPortConnecteeType,omitempty"`
// Vlan Ids for ingress source of Remote Mirror destination
// session.
- Vlans []int32 `xml:"vlans,omitempty" json:"vlans,omitempty" vim:"5.1"`
+ Vlans []int32 `xml:"vlans,omitempty" json:"vlans,omitempty"`
// IP address for the destination of encapsulated remote mirror source session,
// IPv4 address is specified using dotted decimal notation.
//
@@ -82694,12 +82331,11 @@ type VMwareVspanPort struct {
// of up to four hexadecimal digits.
// A colon separates each field (:). For example,
// 2001:DB8:101::230:6eff:fe04:d9ff.
- IpAddress []string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty" vim:"5.1"`
+ IpAddress []string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
}
func init() {
t["VMwareVspanPort"] = reflect.TypeOf((*VMwareVspanPort)(nil)).Elem()
- minAPIVersionForType["VMwareVspanPort"] = "5.0"
}
// The `VMwareVspanSession` data object
@@ -82805,13 +82441,13 @@ type VMwareVspanSession struct {
// `VMwareDVSVspanSessionType_enum`
// for valid values.
// Default value is mixedDestMirror if unspecified in a VSPAN create operation.
- SessionType string `xml:"sessionType,omitempty" json:"sessionType,omitempty" vim:"5.1"`
+ SessionType string `xml:"sessionType,omitempty" json:"sessionType,omitempty"`
// Sampling rate of the session.
//
// If its value is n, one of every n
// packets is mirrored.
// Valid values are between 1 to 65535, and default value is 1.
- SamplingRate int32 `xml:"samplingRate,omitempty" json:"samplingRate,omitempty" vim:"5.1"`
+ SamplingRate int32 `xml:"samplingRate,omitempty" json:"samplingRate,omitempty"`
// Encapsulation type of the session.
//
// See
@@ -82819,35 +82455,34 @@ type VMwareVspanSession struct {
// for valid values.
// Default value is encapProtocolGRE if unspecified in a
// VSPAN create operation.
- EncapType string `xml:"encapType,omitempty" json:"encapType,omitempty" vim:"6.5"`
+ EncapType string `xml:"encapType,omitempty" json:"encapType,omitempty"`
// ERSPAN ID of the session.
//
// Valid values are between 0 to 0x3ff, and default value is 0.
// This value is applicable only if encaptType is
// `erspan2` or
// `erspan3`
- ErspanId int32 `xml:"erspanId,omitempty" json:"erspanId,omitempty" vim:"6.5"`
+ ErspanId int32 `xml:"erspanId,omitempty" json:"erspanId,omitempty"`
// Class of Service of the monitored frame.
//
// Valid values are between 0 to 7, and default value is 0.
// This value is applicable only if encaptType is
// `erspan2` or
// `erspan3`
- ErspanCOS int32 `xml:"erspanCOS,omitempty" json:"erspanCOS,omitempty" vim:"6.5"`
+ ErspanCOS int32 `xml:"erspanCOS,omitempty" json:"erspanCOS,omitempty"`
// Timestamp Granularity.
//
// If the value is false, timestamp-granularity will be microsecond.
// Otherwise the timestamp-granularity will be nanosecond
// This value is applicable only if encaptType is
// `erspan3`
- ErspanGraNanosec *bool `xml:"erspanGraNanosec" json:"erspanGraNanosec,omitempty" vim:"6.5"`
+ ErspanGraNanosec *bool `xml:"erspanGraNanosec" json:"erspanGraNanosec,omitempty"`
// Netstack instance of the session.
- Netstack string `xml:"netstack,omitempty" json:"netstack,omitempty" vim:"6.7"`
+ Netstack string `xml:"netstack,omitempty" json:"netstack,omitempty"`
}
func init() {
t["VMwareVspanSession"] = reflect.TypeOf((*VMwareVspanSession)(nil)).Elem()
- minAPIVersionForType["VMwareVspanSession"] = "5.0"
}
// This data object type describes a virtual storage object.
@@ -82860,7 +82495,6 @@ type VStorageObject struct {
func init() {
t["VStorageObject"] = reflect.TypeOf((*VStorageObject)(nil)).Elem()
- minAPIVersionForType["VStorageObject"] = "6.5"
}
// This data object is a key-value pair whose key is the virtual storage
@@ -82878,7 +82512,6 @@ type VStorageObjectAssociations struct {
func init() {
t["VStorageObjectAssociations"] = reflect.TypeOf((*VStorageObjectAssociations)(nil)).Elem()
- minAPIVersionForType["VStorageObjectAssociations"] = "6.7"
}
// This data object contains infomation of a VM Disk associations.
@@ -82893,7 +82526,6 @@ type VStorageObjectAssociationsVmDiskAssociations struct {
func init() {
t["VStorageObjectAssociationsVmDiskAssociations"] = reflect.TypeOf((*VStorageObjectAssociationsVmDiskAssociations)(nil)).Elem()
- minAPIVersionForType["VStorageObjectAssociationsVmDiskAssociations"] = "6.7"
}
// Data object specifies Virtual storage object configuration
@@ -82916,7 +82548,6 @@ type VStorageObjectConfigInfo struct {
func init() {
t["VStorageObjectConfigInfo"] = reflect.TypeOf((*VStorageObjectConfigInfo)(nil)).Elem()
- minAPIVersionForType["VStorageObjectConfigInfo"] = "6.5"
}
// The parameters of `VStorageObjectManagerBase.VStorageObjectCreateSnapshotEx_Task`.
@@ -82935,6 +82566,7 @@ type VStorageObjectCreateSnapshotExRequestType struct {
func init() {
t["VStorageObjectCreateSnapshotExRequestType"] = reflect.TypeOf((*VStorageObjectCreateSnapshotExRequestType)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectCreateSnapshotExRequestType"] = "8.0.2.0"
}
type VStorageObjectCreateSnapshotEx_Task VStorageObjectCreateSnapshotExRequestType
@@ -82991,6 +82623,7 @@ type VStorageObjectDeleteSnapshotExRequestType struct {
func init() {
t["VStorageObjectDeleteSnapshotExRequestType"] = reflect.TypeOf((*VStorageObjectDeleteSnapshotExRequestType)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectDeleteSnapshotExRequestType"] = "8.0.2.0"
}
type VStorageObjectDeleteSnapshotEx_Task VStorageObjectDeleteSnapshotExRequestType
@@ -83018,6 +82651,7 @@ type VStorageObjectExtendDiskExRequestType struct {
func init() {
t["VStorageObjectExtendDiskExRequestType"] = reflect.TypeOf((*VStorageObjectExtendDiskExRequestType)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectExtendDiskExRequestType"] = "8.0.2.0"
}
type VStorageObjectExtendDiskEx_Task VStorageObjectExtendDiskExRequestType
@@ -83057,7 +82691,6 @@ type VStorageObjectSnapshotDetails struct {
func init() {
t["VStorageObjectSnapshotDetails"] = reflect.TypeOf((*VStorageObjectSnapshotDetails)(nil)).Elem()
- minAPIVersionForType["VStorageObjectSnapshotDetails"] = "6.7"
}
// This data object type contains the brief information of a
@@ -83071,7 +82704,6 @@ type VStorageObjectSnapshotInfo struct {
func init() {
t["VStorageObjectSnapshotInfo"] = reflect.TypeOf((*VStorageObjectSnapshotInfo)(nil)).Elem()
- minAPIVersionForType["VStorageObjectSnapshotInfo"] = "6.7"
}
type VStorageObjectSnapshotInfoVStorageObjectSnapshot struct {
@@ -83110,7 +82742,6 @@ type VStorageObjectStateInfo struct {
func init() {
t["VStorageObjectStateInfo"] = reflect.TypeOf((*VStorageObjectStateInfo)(nil)).Elem()
- minAPIVersionForType["VStorageObjectStateInfo"] = "6.5"
}
type VVolHostPE struct {
@@ -83143,7 +82774,6 @@ type VVolVmConfigFileUpdateResult struct {
func init() {
t["VVolVmConfigFileUpdateResult"] = reflect.TypeOf((*VVolVmConfigFileUpdateResult)(nil)).Elem()
- minAPIVersionForType["VVolVmConfigFileUpdateResult"] = "6.5"
}
// Information of the failed update on the virtual machine config
@@ -83154,14 +82784,13 @@ type VVolVmConfigFileUpdateResultFailedVmConfigFileInfo struct {
// The target virtual machine config VVol ID
TargetConfigVVolId string `xml:"targetConfigVVolId" json:"targetConfigVVolId"`
// Datastore path for the virtual machine that failed to recover
- DsPath string `xml:"dsPath,omitempty" json:"dsPath,omitempty" vim:"7.0"`
+ DsPath string `xml:"dsPath,omitempty" json:"dsPath,omitempty"`
// The reason why the update failed.
Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
t["VVolVmConfigFileUpdateResultFailedVmConfigFileInfo"] = reflect.TypeOf((*VVolVmConfigFileUpdateResultFailedVmConfigFileInfo)(nil)).Elem()
- minAPIVersionForType["VVolVmConfigFileUpdateResultFailedVmConfigFileInfo"] = "6.5"
}
type ValidateCredentialsInGuest ValidateCredentialsInGuestRequestType
@@ -83410,11 +83039,12 @@ type VasaProviderContainerSpec struct {
ScId string `xml:"scId" json:"scId"`
// Indicates whether the container got deleted
Deleted bool `xml:"deleted" json:"deleted"`
+ // Indicates whether container is stretched
+ Stretched *bool `xml:"stretched" json:"stretched,omitempty" vim:"8.0.3.0"`
}
func init() {
t["VasaProviderContainerSpec"] = reflect.TypeOf((*VasaProviderContainerSpec)(nil)).Elem()
- minAPIVersionForType["VasaProviderContainerSpec"] = "6.0"
}
// This event records when the VirtualCenter agent on a host failed to uninstall.
@@ -83429,7 +83059,6 @@ type VcAgentUninstallFailedEvent struct {
func init() {
t["VcAgentUninstallFailedEvent"] = reflect.TypeOf((*VcAgentUninstallFailedEvent)(nil)).Elem()
- minAPIVersionForType["VcAgentUninstallFailedEvent"] = "4.0"
}
// This event records when the VirtualCenter agent on a host is uninstalled.
@@ -83439,7 +83068,6 @@ type VcAgentUninstalledEvent struct {
func init() {
t["VcAgentUninstalledEvent"] = reflect.TypeOf((*VcAgentUninstalledEvent)(nil)).Elem()
- minAPIVersionForType["VcAgentUninstalledEvent"] = "4.0"
}
// This event records when the VirtualCenter agent on a host failed to upgrade.
@@ -83449,7 +83077,7 @@ type VcAgentUpgradeFailedEvent struct {
// The reason why the upgrade failed, if known.
//
// See `AgentInstallFailedReason_enum`
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
@@ -83488,7 +83116,6 @@ type VchaClusterConfigInfo struct {
func init() {
t["VchaClusterConfigInfo"] = reflect.TypeOf((*VchaClusterConfigInfo)(nil)).Elem()
- minAPIVersionForType["VchaClusterConfigInfo"] = "6.5"
}
// The VchaClusterConfigSpec class contains IP addresses of
@@ -83509,7 +83136,6 @@ type VchaClusterConfigSpec struct {
func init() {
t["VchaClusterConfigSpec"] = reflect.TypeOf((*VchaClusterConfigSpec)(nil)).Elem()
- minAPIVersionForType["VchaClusterConfigSpec"] = "6.5"
}
// The VchaClusterDeploymentSpec class contains
@@ -83534,7 +83160,6 @@ type VchaClusterDeploymentSpec struct {
func init() {
t["VchaClusterDeploymentSpec"] = reflect.TypeOf((*VchaClusterDeploymentSpec)(nil)).Elem()
- minAPIVersionForType["VchaClusterDeploymentSpec"] = "6.5"
}
// The VchaClusterHealth class describes the overall
@@ -83559,7 +83184,6 @@ type VchaClusterHealth struct {
func init() {
t["VchaClusterHealth"] = reflect.TypeOf((*VchaClusterHealth)(nil)).Elem()
- minAPIVersionForType["VchaClusterHealth"] = "6.5"
}
// The VchaClusterNetworkSpec class contains network
@@ -83575,7 +83199,6 @@ type VchaClusterNetworkSpec struct {
func init() {
t["VchaClusterNetworkSpec"] = reflect.TypeOf((*VchaClusterNetworkSpec)(nil)).Elem()
- minAPIVersionForType["VchaClusterNetworkSpec"] = "6.5"
}
// The VchaClusterRuntimeInfo class describes the
@@ -83601,7 +83224,6 @@ type VchaClusterRuntimeInfo struct {
func init() {
t["VchaClusterRuntimeInfo"] = reflect.TypeOf((*VchaClusterRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["VchaClusterRuntimeInfo"] = "6.5"
}
// The VchaNodeRuntimeInfo class describes a node's
@@ -83625,7 +83247,6 @@ type VchaNodeRuntimeInfo struct {
func init() {
t["VchaNodeRuntimeInfo"] = reflect.TypeOf((*VchaNodeRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["VchaNodeRuntimeInfo"] = "6.5"
}
// Password for the Vim account user on the host has been changed.
@@ -83637,7 +83258,6 @@ type VimAccountPasswordChangedEvent struct {
func init() {
t["VimAccountPasswordChangedEvent"] = reflect.TypeOf((*VimAccountPasswordChangedEvent)(nil)).Elem()
- minAPIVersionForType["VimAccountPasswordChangedEvent"] = "2.5"
}
// The common base type for all virtual infrastructure management
@@ -83668,7 +83288,7 @@ type VimVasaProvider struct {
// helps in preventing a regeneration of duplicate VASA Provider within
// vvold when a user attempts to register the same VP using different names
// or alternative urls.
- Uid string `xml:"uid,omitempty" json:"uid,omitempty" vim:"6.7"`
+ Uid string `xml:"uid,omitempty" json:"uid,omitempty"`
// VASA Provider URL.
//
// In VirtualHost based MultiVC setup,
@@ -83696,7 +83316,6 @@ type VimVasaProvider struct {
func init() {
t["VimVasaProvider"] = reflect.TypeOf((*VimVasaProvider)(nil)).Elem()
- minAPIVersionForType["VimVasaProvider"] = "6.0"
}
// Data object representing VASA Provider information.
@@ -83711,7 +83330,6 @@ type VimVasaProviderInfo struct {
func init() {
t["VimVasaProviderInfo"] = reflect.TypeOf((*VimVasaProviderInfo)(nil)).Elem()
- minAPIVersionForType["VimVasaProviderInfo"] = "6.0"
}
// Per Storage Array VP status.
@@ -83729,7 +83347,6 @@ type VimVasaProviderStatePerArray struct {
func init() {
t["VimVasaProviderStatePerArray"] = reflect.TypeOf((*VimVasaProviderStatePerArray)(nil)).Elem()
- minAPIVersionForType["VimVasaProviderStatePerArray"] = "6.0"
}
// Holds VirtualHost configuration information when VASA 5.0 or greater VVOL VASA Provider
@@ -83764,7 +83381,6 @@ type VirtualAHCIController struct {
func init() {
t["VirtualAHCIController"] = reflect.TypeOf((*VirtualAHCIController)(nil)).Elem()
- minAPIVersionForType["VirtualAHCIController"] = "5.5"
}
// VirtualAHCIControllerOption is the data object that contains
@@ -83775,7 +83391,6 @@ type VirtualAHCIControllerOption struct {
func init() {
t["VirtualAHCIControllerOption"] = reflect.TypeOf((*VirtualAHCIControllerOption)(nil)).Elem()
- minAPIVersionForType["VirtualAHCIControllerOption"] = "5.5"
}
// A VAppImportSpec is used by `ResourcePool.importVApp` when importing vApps (single VM or multi-VM).
@@ -83805,7 +83420,6 @@ type VirtualAppImportSpec struct {
func init() {
t["VirtualAppImportSpec"] = reflect.TypeOf((*VirtualAppImportSpec)(nil)).Elem()
- minAPIVersionForType["VirtualAppImportSpec"] = "4.0"
}
// Deprecated as of vSphere API 5.1.
@@ -83824,7 +83438,6 @@ type VirtualAppLinkInfo struct {
func init() {
t["VirtualAppLinkInfo"] = reflect.TypeOf((*VirtualAppLinkInfo)(nil)).Elem()
- minAPIVersionForType["VirtualAppLinkInfo"] = "4.1"
}
// This data object type encapsulates a typical set of resource
@@ -83843,9 +83456,9 @@ type VirtualAppSummary struct {
//
// A stopped vApp is marked as suspended
// under the following conditions:
- // - All child virtual machines are either suspended or powered-off.
- // - There is at least one suspended virtual machine for which the
- // stop action is not "suspend".
+ // - All child virtual machines are either suspended or powered-off.
+ // - There is at least one suspended virtual machine for which the
+ // stop action is not "suspend".
//
// If the vAppState property is "stopped", the value is set to true if the vApp is
// suspended (according the the above definition).
@@ -83855,17 +83468,16 @@ type VirtualAppSummary struct {
// from a suspended state, respectively.
//
// If the vAppState property is "started", then the suspend flag is set to false.
- Suspended *bool `xml:"suspended" json:"suspended,omitempty" vim:"4.1"`
+ Suspended *bool `xml:"suspended" json:"suspended,omitempty"`
// Whether one or more VMs in this vApp require a reboot to finish
// installation.
InstallBootRequired *bool `xml:"installBootRequired" json:"installBootRequired,omitempty"`
// vCenter-specific UUID of the vApp
- InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty" vim:"4.1"`
+ InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty"`
}
func init() {
t["VirtualAppSummary"] = reflect.TypeOf((*VirtualAppSummary)(nil)).Elem()
- minAPIVersionForType["VirtualAppSummary"] = "4.0"
}
// VirtualBusLogicController is the data object that represents
@@ -84118,7 +83730,7 @@ type VirtualDevice struct {
// this property is null.
Connectable *VirtualDeviceConnectInfo `xml:"connectable,omitempty" json:"connectable,omitempty"`
// Information about the bus slot of a device in a virtual machine.
- SlotInfo BaseVirtualDeviceBusSlotInfo `xml:"slotInfo,omitempty,typeattr" json:"slotInfo,omitempty" vim:"5.1"`
+ SlotInfo BaseVirtualDeviceBusSlotInfo `xml:"slotInfo,omitempty,typeattr" json:"slotInfo,omitempty"`
// Object key for the controller object for this device.
//
// This property contains the key property value of the controller device
@@ -84197,7 +83809,6 @@ type VirtualDeviceBusSlotInfo struct {
func init() {
t["VirtualDeviceBusSlotInfo"] = reflect.TypeOf((*VirtualDeviceBusSlotInfo)(nil)).Elem()
- minAPIVersionForType["VirtualDeviceBusSlotInfo"] = "5.1"
}
// The `VirtualDeviceBusSlotOption` data class
@@ -84212,7 +83823,6 @@ type VirtualDeviceBusSlotOption struct {
func init() {
t["VirtualDeviceBusSlotOption"] = reflect.TypeOf((*VirtualDeviceBusSlotOption)(nil)).Elem()
- minAPIVersionForType["VirtualDeviceBusSlotOption"] = "5.1"
}
// The VirtualDeviceSpec data object type encapsulates change
@@ -84247,13 +83857,13 @@ type VirtualDeviceConfigSpec struct {
// interact with SPBM service.
// This is an optional parameter and if user doesn't specify profile,
// the default behavior will apply.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.5"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
// BackingInfo configuration options.
//
// Each BackingSpec corresponds to a BackingInfo object. The member
// `VirtualDeviceConfigSpec.backing` refers to the
// `VirtualDeviceConfigSpec.device*.*VirtualDevice.backing`.
- Backing *VirtualDeviceConfigSpecBackingSpec `xml:"backing,omitempty" json:"backing,omitempty" vim:"6.5"`
+ Backing *VirtualDeviceConfigSpecBackingSpec `xml:"backing,omitempty" json:"backing,omitempty"`
// List of independent filters `VirtualMachineIndependentFilterSpec`
// to configure on the virtual device.
FilterSpec []BaseVirtualMachineBaseIndependentFilterSpec `xml:"filterSpec,omitempty,typeattr" json:"filterSpec,omitempty" vim:"7.0.2.1"`
@@ -84283,7 +83893,6 @@ type VirtualDeviceConfigSpecBackingSpec struct {
func init() {
t["VirtualDeviceConfigSpecBackingSpec"] = reflect.TypeOf((*VirtualDeviceConfigSpecBackingSpec)(nil)).Elem()
- minAPIVersionForType["VirtualDeviceConfigSpecBackingSpec"] = "6.5"
}
// The `VirtualDeviceConnectInfo`
data object type
@@ -84308,7 +83917,7 @@ type VirtualDeviceConnectInfo struct {
// reaches the desired connection state.
// The set of possible values are described in
// `VirtualDeviceConnectInfoMigrateConnectOp_enum`.
- MigrateConnect string `xml:"migrateConnect,omitempty" json:"migrateConnect,omitempty" vim:"6.7"`
+ MigrateConnect string `xml:"migrateConnect,omitempty" json:"migrateConnect,omitempty"`
// Specifies whether or not to connect the device
// when the virtual machine starts.
StartConnected bool `xml:"startConnected" json:"startConnected"`
@@ -84324,7 +83933,7 @@ type VirtualDeviceConnectInfo struct {
// Valid only while the
// virtual machine is running. The set of possible values is described in
// `VirtualDeviceConnectInfoStatus_enum`
- Status string `xml:"status,omitempty" json:"status,omitempty" vim:"4.0"`
+ Status string `xml:"status,omitempty" json:"status,omitempty"`
}
func init() {
@@ -84361,7 +83970,7 @@ type VirtualDeviceDeviceBackingInfo struct {
//
// If this value is set to TRUE,
// deviceName is ignored.
- UseAutoDetect *bool `xml:"useAutoDetect" json:"useAutoDetect,omitempty" vim:"2.5"`
+ UseAutoDetect *bool `xml:"useAutoDetect" json:"useAutoDetect,omitempty"`
}
func init() {
@@ -84375,7 +83984,7 @@ type VirtualDeviceDeviceBackingOption struct {
// Flag to indicate whether the specific instance of this device can
// be auto-detected on the host instead of having to specify a
// particular physical device.
- AutoDetectAvailable BoolOption `xml:"autoDetectAvailable" json:"autoDetectAvailable" vim:"2.5"`
+ AutoDetectAvailable BoolOption `xml:"autoDetectAvailable" json:"autoDetectAvailable"`
}
func init() {
@@ -84420,7 +84029,7 @@ type VirtualDeviceFileBackingInfo struct {
// Backing object's durable and unmutable identifier.
//
// Each backing object has a unique identifier which is not settable.
- BackingObjectId string `xml:"backingObjectId,omitempty" json:"backingObjectId,omitempty" vim:"5.5"`
+ BackingObjectId string `xml:"backingObjectId,omitempty" json:"backingObjectId,omitempty"`
}
func init() {
@@ -84462,7 +84071,7 @@ type VirtualDeviceOption struct {
ConnectOption *VirtualDeviceConnectOption `xml:"connectOption,omitempty" json:"connectOption,omitempty"`
// If the device can use a bus slot configuration, then the busSlotOption
// describes the bus slot options.
- BusSlotOption *VirtualDeviceBusSlotOption `xml:"busSlotOption,omitempty" json:"busSlotOption,omitempty" vim:"5.1"`
+ BusSlotOption *VirtualDeviceBusSlotOption `xml:"busSlotOption,omitempty" json:"busSlotOption,omitempty"`
// Data object type that denotes the controller option object that is
// valid for controlling this device.
ControllerType string `xml:"controllerType,omitempty" json:"controllerType,omitempty"`
@@ -84498,8 +84107,8 @@ type VirtualDeviceOption struct {
PlugAndPlay bool `xml:"plugAndPlay" json:"plugAndPlay"`
// Indicates if this type of device can be hot-removed from the virtual machine
// via a reconfigure operation when the virtual machine is powered on.
- HotRemoveSupported *bool `xml:"hotRemoveSupported" json:"hotRemoveSupported,omitempty" vim:"2.5 U2"`
- NumaSupported *bool `xml:"numaSupported" json:"numaSupported,omitempty"`
+ HotRemoveSupported *bool `xml:"hotRemoveSupported" json:"hotRemoveSupported,omitempty"`
+ NumaSupported *bool `xml:"numaSupported" json:"numaSupported,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -84528,7 +84137,6 @@ type VirtualDevicePciBusSlotInfo struct {
func init() {
t["VirtualDevicePciBusSlotInfo"] = reflect.TypeOf((*VirtualDevicePciBusSlotInfo)(nil)).Elem()
- minAPIVersionForType["VirtualDevicePciBusSlotInfo"] = "5.1"
}
// The `VirtualDevicePipeBackingInfo`
data object type
@@ -84572,7 +84180,7 @@ type VirtualDeviceRemoteDeviceBackingInfo struct {
//
// If this value is set to TRUE,
// deviceName
is ignored.
- UseAutoDetect *bool `xml:"useAutoDetect" json:"useAutoDetect,omitempty" vim:"2.5"`
+ UseAutoDetect *bool `xml:"useAutoDetect" json:"useAutoDetect,omitempty"`
}
func init() {
@@ -84592,7 +84200,7 @@ type VirtualDeviceRemoteDeviceBackingOption struct {
// Flag to indicate whether the specific instance of this device can
// be auto-detected on the host instead of having to specify a
// particular physical device.
- AutoDetectAvailable BoolOption `xml:"autoDetectAvailable" json:"autoDetectAvailable" vim:"2.5"`
+ AutoDetectAvailable BoolOption `xml:"autoDetectAvailable" json:"autoDetectAvailable"`
}
func init() {
@@ -84606,12 +84214,12 @@ type VirtualDeviceURIBackingInfo struct {
// Identifies the local host or a system on the network,
// depending on the value of `VirtualDeviceURIBackingInfo.direction`
.
- // - If you use the virtual machine as a server, the URI identifies
- // the host on which the virtual machine runs. In this case,
- // the host name part of the URI should be empty, or it should
- // specify the address of the local host.
- // - If you use the virtual machine as a client, the URI identifies
- // the remote system on the network.
+ // - If you use the virtual machine as a server, the URI identifies
+ // the host on which the virtual machine runs. In this case,
+ // the host name part of the URI should be empty, or it should
+ // specify the address of the local host.
+ // - If you use the virtual machine as a client, the URI identifies
+ // the remote system on the network.
ServiceURI string `xml:"serviceURI" json:"serviceURI"`
// The direction of the connection.
//
@@ -84629,7 +84237,6 @@ type VirtualDeviceURIBackingInfo struct {
func init() {
t["VirtualDeviceURIBackingInfo"] = reflect.TypeOf((*VirtualDeviceURIBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualDeviceURIBackingInfo"] = "4.1"
}
// The `VirtualDeviceURIBackingOption` data object type describes network communication
@@ -84645,14 +84252,13 @@ type VirtualDeviceURIBackingOption struct {
// List of possible directions.
//
// Valid directions are:
- // - `server`
- // - `client`
+ // - `server`
+ // - `client`
Directions ChoiceOption `xml:"directions" json:"directions"`
}
func init() {
t["VirtualDeviceURIBackingOption"] = reflect.TypeOf((*VirtualDeviceURIBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualDeviceURIBackingOption"] = "4.1"
}
// This data object type contains information about a disk in a virtual machine.
@@ -84701,7 +84307,7 @@ type VirtualDisk struct {
// capacity of an existing virtual disk, but can omit it otherwise.
// If the disk is on a Virtual Volume datastore the disk size must be a multiple
// of a megabyte.
- CapacityInBytes int64 `xml:"capacityInBytes,omitempty" json:"capacityInBytes,omitempty" vim:"5.5"`
+ CapacityInBytes int64 `xml:"capacityInBytes,omitempty" json:"capacityInBytes,omitempty"`
// Deprecated as of vSphere API 4.1, use
// `StorageIOAllocationInfo.shares`.
//
@@ -84710,7 +84316,7 @@ type VirtualDisk struct {
// Deprecated as of vSphere API 6.5, use.
//
// Resource allocation for storage I/O.
- StorageIOAllocation *StorageIOAllocationInfo `xml:"storageIOAllocation,omitempty" json:"storageIOAllocation,omitempty" vim:"4.1"`
+ StorageIOAllocation *StorageIOAllocationInfo `xml:"storageIOAllocation,omitempty" json:"storageIOAllocation,omitempty"`
// Deprecated as of vSphere API 6.5, use `VirtualDisk.vDiskId`.
//
// Virtual disk durable and unmutable identifier.
@@ -84719,25 +84325,25 @@ type VirtualDisk struct {
// VirtualDiskManager APIs.
// This identifier is a universally unique identifier which is not settable.
// VirtualDisk can remain in existence even if it is not associated with VM.
- DiskObjectId string `xml:"diskObjectId,omitempty" json:"diskObjectId,omitempty" vim:"5.5"`
+ DiskObjectId string `xml:"diskObjectId,omitempty" json:"diskObjectId,omitempty"`
// Deprecated since vSphere 7.0 because vFlash Read Cache
// end of availability.
//
// vFlash cache configuration supported on this virtual disk.
- VFlashCacheConfigInfo *VirtualDiskVFlashCacheConfigInfo `xml:"vFlashCacheConfigInfo,omitempty" json:"vFlashCacheConfigInfo,omitempty" vim:"5.5"`
+ VFlashCacheConfigInfo *VirtualDiskVFlashCacheConfigInfo `xml:"vFlashCacheConfigInfo,omitempty" json:"vFlashCacheConfigInfo,omitempty"`
// IDs of the IO Filters associated with the virtual disk.
//
// See `IoFilterInfo.id`. This information
// is provided when retrieving configuration information for
// an existing virtual machine. The client cannot modify this information
// on a virtual machine.
- Iofilter []string `xml:"iofilter,omitempty" json:"iofilter,omitempty" vim:"6.0"`
+ Iofilter []string `xml:"iofilter,omitempty" json:"iofilter,omitempty"`
// ID of the virtual disk object as the first class entity.
//
// See `ID`
// The ID is a universally unique identifier for the disk lifecycle,
// even if the virtual disk is not associated with VM.
- VDiskId *ID `xml:"vDiskId,omitempty" json:"vDiskId,omitempty" vim:"6.5"`
+ VDiskId *ID `xml:"vDiskId,omitempty" json:"vDiskId,omitempty"`
// Disk descriptor version of the virtual disk.
VDiskVersion int32 `xml:"vDiskVersion,omitempty" json:"vDiskVersion,omitempty" vim:"8.0.1.0"`
// Indicates whether a disk with
@@ -84745,7 +84351,7 @@ type VirtualDisk struct {
// clone from an unmanaged delta disk and hence the
// `VirtualDiskFlatVer2BackingInfo.parent` chain to
// this delta disk will not be available.
- NativeUnmanagedLinkedClone *bool `xml:"nativeUnmanagedLinkedClone" json:"nativeUnmanagedLinkedClone,omitempty" vim:"6.7"`
+ NativeUnmanagedLinkedClone *bool `xml:"nativeUnmanagedLinkedClone" json:"nativeUnmanagedLinkedClone,omitempty"`
// The IDs of the independent filters associated with the virtual disk.
//
// This information is provided when retrieving configuration information for
@@ -84774,7 +84380,6 @@ type VirtualDiskAntiAffinityRuleSpec struct {
func init() {
t["VirtualDiskAntiAffinityRuleSpec"] = reflect.TypeOf((*VirtualDiskAntiAffinityRuleSpec)(nil)).Elem()
- minAPIVersionForType["VirtualDiskAntiAffinityRuleSpec"] = "5.0"
}
// The disk blocks of the specified virtual disk have not been fully
@@ -84790,7 +84395,6 @@ type VirtualDiskBlocksNotFullyProvisioned struct {
func init() {
t["VirtualDiskBlocksNotFullyProvisioned"] = reflect.TypeOf((*VirtualDiskBlocksNotFullyProvisioned)(nil)).Elem()
- minAPIVersionForType["VirtualDiskBlocksNotFullyProvisioned"] = "4.0"
}
type VirtualDiskBlocksNotFullyProvisionedFault VirtualDiskBlocksNotFullyProvisioned
@@ -84816,7 +84420,7 @@ type VirtualDiskConfigSpec struct {
//
// If left unset then `moveAllDiskBackingsAndDisallowSharing`
// is assumed.
- DiskMoveType string `xml:"diskMoveType,omitempty" json:"diskMoveType,omitempty" vim:"6.0"`
+ DiskMoveType string `xml:"diskMoveType,omitempty" json:"diskMoveType,omitempty"`
// Deprecated since vSphere 7.0 because vFlash Read Cache
// end of availability.
//
@@ -84841,7 +84445,6 @@ type VirtualDiskConfigSpec struct {
func init() {
t["VirtualDiskConfigSpec"] = reflect.TypeOf((*VirtualDiskConfigSpec)(nil)).Elem()
- minAPIVersionForType["VirtualDiskConfigSpec"] = "5.5"
}
// Delta disk format supported for each datastore type.
@@ -84853,14 +84456,13 @@ type VirtualDiskDeltaDiskFormatsSupported struct {
// Delta disk formats supported.
//
// Valid values are:
- // - `redoLogFormat`
- // - `nativeFormat`
+ // - `redoLogFormat`
+ // - `nativeFormat`
DeltaDiskFormat ChoiceOption `xml:"deltaDiskFormat" json:"deltaDiskFormat"`
}
func init() {
t["VirtualDiskDeltaDiskFormatsSupported"] = reflect.TypeOf((*VirtualDiskDeltaDiskFormatsSupported)(nil)).Elem()
- minAPIVersionForType["VirtualDiskDeltaDiskFormatsSupported"] = "5.1"
}
// This data object type contains information about backing a virtual disk by
@@ -84875,9 +84477,9 @@ type VirtualDiskFlatVer1BackingInfo struct {
// The disk persistence mode.
//
// Valid modes are:
- // - `persistent`
- // - `nonpersistent`
- // - `undoable`
+ // - `persistent`
+ // - `nonpersistent`
+ // - `undoable`
//
// See also `VirtualDiskMode_enum`.
DiskMode string `xml:"diskMode" json:"diskMode"`
@@ -84899,7 +84501,7 @@ type VirtualDiskFlatVer1BackingInfo struct {
// The guarantee provided by the content ID is that if two disk backings have the
// same content ID and are not currently being written to, then reads issued from
// the guest operating system to those disk backings will return the same data.
- ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty" vim:"4.0"`
+ ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty"`
// The parent of this virtual disk file, if this is a delta disk backing.
//
// This will be unset if this is not a delta disk backing.
@@ -84933,7 +84535,7 @@ type VirtualDiskFlatVer1BackingInfo struct {
// This property may only be set if
// `deltaDiskBackingsSupported`
// is true.
- Parent *VirtualDiskFlatVer1BackingInfo `xml:"parent,omitempty" json:"parent,omitempty" vim:"4.0"`
+ Parent *VirtualDiskFlatVer1BackingInfo `xml:"parent,omitempty" json:"parent,omitempty"`
}
func init() {
@@ -84950,12 +84552,12 @@ type VirtualDiskFlatVer1BackingOption struct {
// The disk mode.
//
// Valid disk modes are:
- // - `persistent`
- // - `nonpersistent`
- // - `undoable`
- // - `independent_persistent`
- // - `independent_nonpersistent`
- // - `append`
+ // - `persistent`
+ // - `nonpersistent`
+ // - `undoable`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
+ // - `append`
//
// See also `VirtualDiskMode_enum`.
DiskMode ChoiceOption `xml:"diskMode" json:"diskMode"`
@@ -84989,12 +84591,12 @@ type VirtualDiskFlatVer2BackingInfo struct {
// The disk persistence mode.
//
// Valid modes are:
- // - `persistent`
- // - `independent_persistent`
- // - `independent_nonpersistent`
- // - `nonpersistent`
- // - `undoable`
- // - `append`
+ // - `persistent`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
+ // - `nonpersistent`
+ // - `undoable`
+ // - `append`
//
// See also `VirtualDiskMode_enum`.
DiskMode string `xml:"diskMode" json:"diskMode"`
@@ -85040,9 +84642,9 @@ type VirtualDiskFlatVer2BackingInfo struct {
// it is ignored.
// When returned as part of a `VirtualMachineConfigInfo`, this
// property may be unset if its value is unknown.
- EagerlyScrub *bool `xml:"eagerlyScrub" json:"eagerlyScrub,omitempty" vim:"4.0"`
+ EagerlyScrub *bool `xml:"eagerlyScrub" json:"eagerlyScrub,omitempty"`
// Disk UUID for the virtual disk, if available.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"2.5"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// Content ID of the virtual disk file, if available.
//
// A content ID indicates the logical contents of the disk backing and its parents.
@@ -85054,14 +84656,14 @@ type VirtualDiskFlatVer2BackingInfo struct {
// The guarantee provided by the content ID is that if two disk backings have the
// same content ID and are not currently being written to, then reads issued from
// the guest operating system to those disk backings will return the same data.
- ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty" vim:"4.0"`
+ ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty"`
// The change ID of the virtual disk for the corresponding
// snapshot or virtual machine.
//
// This can be used to track
// incremental changes to a virtual disk. See
// `VirtualMachine.QueryChangedDiskAreas`.
- ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty" vim:"4.0"`
+ ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty"`
// The parent of this virtual disk file, if this is a delta disk backing.
//
// This will be unset if this is not a delta disk backing.
@@ -85095,7 +84697,7 @@ type VirtualDiskFlatVer2BackingInfo struct {
// This property may only be set if
// `deltaDiskBackingsSupported`
// is true.
- Parent *VirtualDiskFlatVer2BackingInfo `xml:"parent,omitempty" json:"parent,omitempty" vim:"4.0"`
+ Parent *VirtualDiskFlatVer2BackingInfo `xml:"parent,omitempty" json:"parent,omitempty"`
// The format of the delta disk.
//
// This field is valid only for a delta disk.
@@ -85113,9 +84715,9 @@ type VirtualDiskFlatVer2BackingInfo struct {
// vSphere server does not support relocation of virtual machines with
// `nativeFormat`.
// An exception is thrown for such requests.
- DeltaDiskFormat string `xml:"deltaDiskFormat,omitempty" json:"deltaDiskFormat,omitempty" vim:"5.0"`
+ DeltaDiskFormat string `xml:"deltaDiskFormat,omitempty" json:"deltaDiskFormat,omitempty"`
// Indicates whether the disk backing has digest file enabled.
- DigestEnabled *bool `xml:"digestEnabled" json:"digestEnabled,omitempty" vim:"5.0"`
+ DigestEnabled *bool `xml:"digestEnabled" json:"digestEnabled,omitempty"`
// Grain size in kB for a delta disk of format type seSparseFormat.
//
// The default
@@ -85125,7 +84727,7 @@ type VirtualDiskFlatVer2BackingInfo struct {
// when the base disk is of type FlatVer2BackingInfo.
// The `DeltaDiskFormat` must also
// be set to seSparseFormat.
- DeltaGrainSize int32 `xml:"deltaGrainSize,omitempty" json:"deltaGrainSize,omitempty" vim:"5.1"`
+ DeltaGrainSize int32 `xml:"deltaGrainSize,omitempty" json:"deltaGrainSize,omitempty"`
// The delta disk format variant, if applicable.
//
// This field is valid only for a delta disk and may specify more detailed
@@ -85142,18 +84744,18 @@ type VirtualDiskFlatVer2BackingInfo struct {
// `vmfsSparseVariant`.
//
// For other delta disk formats, this currently remains unspecified.
- DeltaDiskFormatVariant string `xml:"deltaDiskFormatVariant,omitempty" json:"deltaDiskFormatVariant,omitempty" vim:"6.0"`
+ DeltaDiskFormatVariant string `xml:"deltaDiskFormatVariant,omitempty" json:"deltaDiskFormatVariant,omitempty"`
// The sharing mode of the virtual disk.
//
// See `VirtualDiskSharing_enum`. The default value is
// no sharing.
- Sharing string `xml:"sharing,omitempty" json:"sharing,omitempty" vim:"6.0"`
+ Sharing string `xml:"sharing,omitempty" json:"sharing,omitempty"`
// Virtual Disk Backing encryption options.
//
// On modification operations the value is ignored, use the specification
// `VirtualDeviceConfigSpecBackingSpec.crypto` in
// `VirtualDeviceConfigSpec.backing`.
- KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty" vim:"6.5"`
+ KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty"`
}
func init() {
@@ -85171,9 +84773,9 @@ type VirtualDiskFlatVer2BackingOption struct {
// The disk mode.
//
// Valid disk modes are:
- // - `persistent`
- // - `independent_persistent`
- // - `independent_nonpersistent`
+ // - `persistent`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
//
// See also `VirtualDiskMode_enum`.
DiskMode ChoiceOption `xml:"diskMode" json:"diskMode"`
@@ -85202,9 +84804,9 @@ type VirtualDiskFlatVer2BackingOption struct {
// with a `VirtualDisk.capacityInKB` value greater
// than its current value will grow the disk to the newly specified size
// while the virtual machine is powered on.
- HotGrowable bool `xml:"hotGrowable" json:"hotGrowable" vim:"2.5"`
+ HotGrowable bool `xml:"hotGrowable" json:"hotGrowable"`
// Flag to indicate whether this backing supports disk UUID property.
- Uuid bool `xml:"uuid" json:"uuid" vim:"2.5"`
+ Uuid bool `xml:"uuid" json:"uuid"`
// Flag to indicate if this backing supports thin-provisioned disks.
//
// When creating a thin-provisioned disk (or converting an existing disk to
@@ -85212,20 +84814,20 @@ type VirtualDiskFlatVer2BackingOption struct {
// host accessing it must support thin-provisioning. This flag indicates only
// the host capability. See `DatastoreCapability.perFileThinProvisioningSupported`
// for datastore capability.
- ThinProvisioned *BoolOption `xml:"thinProvisioned,omitempty" json:"thinProvisioned,omitempty" vim:"4.0"`
+ ThinProvisioned *BoolOption `xml:"thinProvisioned,omitempty" json:"thinProvisioned,omitempty"`
// Flag to indicate if this backing supports eager scrubbing.
- EagerlyScrub *BoolOption `xml:"eagerlyScrub,omitempty" json:"eagerlyScrub,omitempty" vim:"4.0"`
+ EagerlyScrub *BoolOption `xml:"eagerlyScrub,omitempty" json:"eagerlyScrub,omitempty"`
// Deprecated as of vSphere API 5.1, please use
// `VirtualDiskFlatVer2BackingOption.deltaDiskFormatsSupported`.
//
// Delta disk formats supported.
//
// Valid values are:
- // - `redoLogFormat`
- // - `nativeFormat`
- DeltaDiskFormat *ChoiceOption `xml:"deltaDiskFormat,omitempty" json:"deltaDiskFormat,omitempty" vim:"5.0"`
+ // - `redoLogFormat`
+ // - `nativeFormat`
+ DeltaDiskFormat *ChoiceOption `xml:"deltaDiskFormat,omitempty" json:"deltaDiskFormat,omitempty"`
// Delta disk formats supported for each datastore type.
- DeltaDiskFormatsSupported []VirtualDiskDeltaDiskFormatsSupported `xml:"deltaDiskFormatsSupported,omitempty" json:"deltaDiskFormatsSupported,omitempty" vim:"5.1"`
+ DeltaDiskFormatsSupported []VirtualDiskDeltaDiskFormatsSupported `xml:"deltaDiskFormatsSupported,omitempty" json:"deltaDiskFormatsSupported,omitempty"`
}
func init() {
@@ -85246,7 +84848,6 @@ type VirtualDiskId struct {
func init() {
t["VirtualDiskId"] = reflect.TypeOf((*VirtualDiskId)(nil)).Elem()
- minAPIVersionForType["VirtualDiskId"] = "5.0"
}
// This data object type contains information about backing a virtual disk
@@ -85287,7 +84888,6 @@ type VirtualDiskLocalPMemBackingInfo struct {
func init() {
t["VirtualDiskLocalPMemBackingInfo"] = reflect.TypeOf((*VirtualDiskLocalPMemBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualDiskLocalPMemBackingInfo"] = "6.7"
}
// This data object type contains the available options when backing
@@ -85321,7 +84921,6 @@ type VirtualDiskLocalPMemBackingOption struct {
func init() {
t["VirtualDiskLocalPMemBackingOption"] = reflect.TypeOf((*VirtualDiskLocalPMemBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualDiskLocalPMemBackingOption"] = "6.7"
}
// The disk mode of the specified virtual disk is not supported.
@@ -85339,7 +84938,6 @@ type VirtualDiskModeNotSupported struct {
func init() {
t["VirtualDiskModeNotSupported"] = reflect.TypeOf((*VirtualDiskModeNotSupported)(nil)).Elem()
- minAPIVersionForType["VirtualDiskModeNotSupported"] = "4.1"
}
type VirtualDiskModeNotSupportedFault VirtualDiskModeNotSupported
@@ -85355,15 +84953,17 @@ type VirtualDiskOption struct {
// Minimum, maximum, and default capacity of the disk.
CapacityInKB LongOption `xml:"capacityInKB" json:"capacityInKB"`
+ // Deprecated as of vSphere8.0 U3, and there is no replacement for it.
+ //
// Minimum, maximum, and default values for Storage I/O allocation.
//
// See also `StorageIOAllocationInfo`.
- IoAllocationOption *StorageIOAllocationOption `xml:"ioAllocationOption,omitempty" json:"ioAllocationOption,omitempty" vim:"4.1"`
+ IoAllocationOption *StorageIOAllocationOption `xml:"ioAllocationOption,omitempty" json:"ioAllocationOption,omitempty"`
// Deprecated since vSphere 7.0 because vFlash Read Cache
// end of availability.
//
// vFlash cache configuration on the disk.
- VFlashCacheConfigOption *VirtualDiskOptionVFlashCacheConfigOption `xml:"vFlashCacheConfigOption,omitempty" json:"vFlashCacheConfigOption,omitempty" vim:"5.5"`
+ VFlashCacheConfigOption *VirtualDiskOptionVFlashCacheConfigOption `xml:"vFlashCacheConfigOption,omitempty" json:"vFlashCacheConfigOption,omitempty"`
}
func init() {
@@ -85392,7 +84992,6 @@ type VirtualDiskOptionVFlashCacheConfigOption struct {
func init() {
t["VirtualDiskOptionVFlashCacheConfigOption"] = reflect.TypeOf((*VirtualDiskOptionVFlashCacheConfigOption)(nil)).Elem()
- minAPIVersionForType["VirtualDiskOptionVFlashCacheConfigOption"] = "5.5"
}
// This data object type contains information about backing a virtual disk
@@ -85469,12 +85068,12 @@ type VirtualDiskRawDiskMappingVer1BackingInfo struct {
// The disk mode.
//
// Valid values are:
- // - `persistent`
- // - `independent_persistent`
- // - `independent_nonpersistent`
- // - `nonpersistent`
- // - `undoable`
- // - `append`
+ // - `persistent`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
+ // - `nonpersistent`
+ // - `undoable`
+ // - `append`
//
// Disk modes are only supported when the raw disk mapping is using virtual
// compatibility mode.
@@ -85485,7 +85084,7 @@ type VirtualDiskRawDiskMappingVer1BackingInfo struct {
//
// Disk UUID is not available if
// the raw disk mapping is in physical compatibility mode.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"2.5"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// Content ID of the virtual disk file, if available.
//
// A content ID indicates the logical contents of the disk backing and its parents.
@@ -85497,14 +85096,14 @@ type VirtualDiskRawDiskMappingVer1BackingInfo struct {
// The guarantee provided by the content ID is that if two disk backings have the
// same content ID and are not currently being written to, then reads issued from
// the guest operating system to those disk backings will return the same data.
- ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty" vim:"4.0"`
+ ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty"`
// The change ID of the virtual disk for the corresponding
// snapshot or virtual machine.
//
// This can be used to track
// incremental changes to a virtual disk. See
// `VirtualMachine.QueryChangedDiskAreas`.
- ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty" vim:"4.0"`
+ ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty"`
// The parent of this virtual disk file, if this is a delta disk backing.
//
// This will be unset if this is not a delta disk backing.
@@ -85540,7 +85139,7 @@ type VirtualDiskRawDiskMappingVer1BackingInfo struct {
// This property may only be set if
// `deltaDiskBackingsSupported`
// is true.
- Parent *VirtualDiskRawDiskMappingVer1BackingInfo `xml:"parent,omitempty" json:"parent,omitempty" vim:"4.0"`
+ Parent *VirtualDiskRawDiskMappingVer1BackingInfo `xml:"parent,omitempty" json:"parent,omitempty"`
// The format of the delta disk.
//
// This field is valid only for a delta disk.
@@ -85555,7 +85154,7 @@ type VirtualDiskRawDiskMappingVer1BackingInfo struct {
//
// `nativeFormat` is not
// supported for bask disk of type RawDiskMappingVer1BackingInfo.
- DeltaDiskFormat string `xml:"deltaDiskFormat,omitempty" json:"deltaDiskFormat,omitempty" vim:"6.7"`
+ DeltaDiskFormat string `xml:"deltaDiskFormat,omitempty" json:"deltaDiskFormat,omitempty"`
// Grain size in kB for a delta disk of format type seSparseFormat.
//
// The default
@@ -85565,12 +85164,12 @@ type VirtualDiskRawDiskMappingVer1BackingInfo struct {
// when the base disk is of type RawDiskMappingVer1BackingInfo.
// The `DeltaDiskFormat` must also
// be set to seSparseFormat.
- DeltaGrainSize int32 `xml:"deltaGrainSize,omitempty" json:"deltaGrainSize,omitempty" vim:"6.7"`
+ DeltaGrainSize int32 `xml:"deltaGrainSize,omitempty" json:"deltaGrainSize,omitempty"`
// The sharing mode of the virtual disk.
//
// See `VirtualDiskSharing_enum`. The default value is
// no sharing.
- Sharing string `xml:"sharing,omitempty" json:"sharing,omitempty" vim:"6.0"`
+ Sharing string `xml:"sharing,omitempty" json:"sharing,omitempty"`
}
func init() {
@@ -85595,14 +85194,14 @@ type VirtualDiskRawDiskMappingVer1BackingOption struct {
// The disk mode.
//
// Valid values are:
- // - `persistent`
- // - `independent_persistent`
- // - `independent_nonpersistent`
+ // - `persistent`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
//
// See also `VirtualDiskMode_enum`.
DiskMode ChoiceOption `xml:"diskMode" json:"diskMode"`
// Flag to indicate whether this backing supports disk UUID property.
- Uuid bool `xml:"uuid" json:"uuid" vim:"2.5"`
+ Uuid bool `xml:"uuid" json:"uuid"`
}
func init() {
@@ -85617,19 +85216,19 @@ type VirtualDiskRawDiskVer2BackingInfo struct {
// The name of the raw disk descriptor file.
DescriptorFileName string `xml:"descriptorFileName" json:"descriptorFileName"`
// Disk UUID for the virtual disk, if available.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"2.5"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// The change ID of the virtual disk for the corresponding
// snapshot or virtual machine.
//
// This can be used to track
// incremental changes to a virtual disk. See
// `VirtualMachine.QueryChangedDiskAreas`.
- ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty" vim:"4.0"`
+ ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty"`
// The sharing mode of the virtual disk.
//
// See `VirtualDiskSharing_enum`. The default value is
// no sharing.
- Sharing string `xml:"sharing,omitempty" json:"sharing,omitempty" vim:"6.0"`
+ Sharing string `xml:"sharing,omitempty" json:"sharing,omitempty"`
}
func init() {
@@ -85646,7 +85245,7 @@ type VirtualDiskRawDiskVer2BackingOption struct {
// file.
DescriptorFileNameExtensions ChoiceOption `xml:"descriptorFileNameExtensions" json:"descriptorFileNameExtensions"`
// Flag to indicate whether this backing supports disk UUID property.
- Uuid bool `xml:"uuid" json:"uuid" vim:"2.5"`
+ Uuid bool `xml:"uuid" json:"uuid"`
}
func init() {
@@ -85668,7 +85267,6 @@ type VirtualDiskRuleSpec struct {
func init() {
t["VirtualDiskRuleSpec"] = reflect.TypeOf((*VirtualDiskRuleSpec)(nil)).Elem()
- minAPIVersionForType["VirtualDiskRuleSpec"] = "6.7"
}
// Backing type for virtual disks that use the space efficient
@@ -85684,12 +85282,12 @@ type VirtualDiskSeSparseBackingInfo struct {
// The disk persistence mode.
//
// Valid modes are:
- // - `persistent`
- // - `independent_persistent`
- // - `independent_nonpersistent`
- // - `nonpersistent`
- // - `undoable`
- // - `append`
+ // - `persistent`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
+ // - `nonpersistent`
+ // - `undoable`
+ // - `append`
//
// See also `VirtualDiskMode_enum`.
DiskMode string `xml:"diskMode" json:"diskMode"`
@@ -85769,12 +85367,11 @@ type VirtualDiskSeSparseBackingInfo struct {
// On modification operations the value is ignored, use the specification
// `VirtualDeviceConfigSpecBackingSpec.crypto` in
// `VirtualDeviceConfigSpec.backing`.
- KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty" vim:"6.5"`
+ KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty"`
}
func init() {
t["VirtualDiskSeSparseBackingInfo"] = reflect.TypeOf((*VirtualDiskSeSparseBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualDiskSeSparseBackingInfo"] = "5.1"
}
// Backing options for virtual disks that use the space
@@ -85789,9 +85386,9 @@ type VirtualDiskSeSparseBackingOption struct {
// The disk mode.
//
// Valid disk modes are:
- // - `persistent`
- // - `independent_persistent`
- // - `independent_nonpersistent`
+ // - `persistent`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
//
// See also `VirtualDiskMode_enum`.
DiskMode ChoiceOption `xml:"diskMode" json:"diskMode"`
@@ -85825,7 +85422,6 @@ type VirtualDiskSeSparseBackingOption struct {
func init() {
t["VirtualDiskSeSparseBackingOption"] = reflect.TypeOf((*VirtualDiskSeSparseBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualDiskSeSparseBackingOption"] = "5.1"
}
// This data object type contains information about backing a virtual disk by
@@ -85837,12 +85433,12 @@ type VirtualDiskSparseVer1BackingInfo struct {
// The disk persistence mode.
//
// Valid values are:
- // - `persistent`
- // - `nonpersistent`
- // - `undoable`
- // - `independent_persistent`
- // - `independent_nonpersistent`
- // - `append`
+ // - `persistent`
+ // - `nonpersistent`
+ // - `undoable`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
+ // - `append`
//
// See also `VirtualDiskMode_enum`.
DiskMode string `xml:"diskMode" json:"diskMode"`
@@ -85871,7 +85467,7 @@ type VirtualDiskSparseVer1BackingInfo struct {
// The guarantee provided by the content ID is that if two disk backings have the
// same content ID and are not currently being written to, then reads issued from
// the guest operating system to those disk backings will return the same data.
- ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty" vim:"4.0"`
+ ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty"`
// The parent of this virtual disk file, if this is a delta disk backing.
//
// This will be unset if this is not a delta disk backing.
@@ -85905,7 +85501,7 @@ type VirtualDiskSparseVer1BackingInfo struct {
// This property may only be set if
// `deltaDiskBackingsSupported`
// is true.
- Parent *VirtualDiskSparseVer1BackingInfo `xml:"parent,omitempty" json:"parent,omitempty" vim:"4.0"`
+ Parent *VirtualDiskSparseVer1BackingInfo `xml:"parent,omitempty" json:"parent,omitempty"`
}
func init() {
@@ -85920,12 +85516,12 @@ type VirtualDiskSparseVer1BackingOption struct {
// The disk mode.
//
// Valid disk modes are:
- // - `persistent`
- // - `nonpersistent`
- // - `undoable`
- // - `independent_persistent`
- // - `independent_nonpersistent`
- // - `append`
+ // - `persistent`
+ // - `nonpersistent`
+ // - `undoable`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
+ // - `append`
//
// See also `VirtualDiskMode_enum`.
DiskModes ChoiceOption `xml:"diskModes" json:"diskModes"`
@@ -85956,9 +85552,9 @@ type VirtualDiskSparseVer2BackingInfo struct {
// The disk persistence mode.
//
// Valid modes are:
- // - `persistent`
- // - `independent_persistent`
- // - `independent_nonpersistent`
+ // - `persistent`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
//
// See also `VirtualDiskMode_enum`.
DiskMode string `xml:"diskMode" json:"diskMode"`
@@ -85977,7 +85573,7 @@ type VirtualDiskSparseVer2BackingInfo struct {
// on a virtual machine.
SpaceUsedInKB int64 `xml:"spaceUsedInKB,omitempty" json:"spaceUsedInKB,omitempty"`
// Disk UUID for the virtual disk, if available.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"2.5"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// Content ID of the virtual disk file, if available.
//
// A content ID indicates the logical contents of the disk backing and its parents.
@@ -85989,14 +85585,14 @@ type VirtualDiskSparseVer2BackingInfo struct {
// The guarantee provided by the content ID is that if two disk backings have the
// same content ID and are not currently being written to, then reads issued from
// the guest operating system to those disk backings will return the same data.
- ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty" vim:"4.0"`
+ ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty"`
// The change ID of the virtual disk for the corresponding
// snapshot or virtual machine.
//
// This can be used to track
// incremental changes to a virtual disk. See
// `VirtualMachine.QueryChangedDiskAreas`.
- ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty" vim:"4.0"`
+ ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty"`
// The parent of this virtual disk file, if this is a delta disk backing.
//
// This will be unset if this is not a delta disk backing.
@@ -86030,13 +85626,13 @@ type VirtualDiskSparseVer2BackingInfo struct {
// This property may only be set if
// `deltaDiskBackingsSupported`
// is true.
- Parent *VirtualDiskSparseVer2BackingInfo `xml:"parent,omitempty" json:"parent,omitempty" vim:"4.0"`
+ Parent *VirtualDiskSparseVer2BackingInfo `xml:"parent,omitempty" json:"parent,omitempty"`
// Virtual Disk Backing encryption options.
//
// On modification operations the value is ignored, use the specification
// `VirtualDeviceConfigSpecBackingSpec.crypto` in
// `VirtualDeviceConfigSpec.backing`.
- KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty" vim:"6.5"`
+ KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty"`
}
func init() {
@@ -86051,12 +85647,12 @@ type VirtualDiskSparseVer2BackingOption struct {
// The disk mode.
//
// Valid disk modes are:
- // - `persistent`
- // - `nonpersistent`
- // - `undoable`
- // - `independent_persistent`
- // - `independent_nonpersistent`
- // - `append`
+ // - `persistent`
+ // - `nonpersistent`
+ // - `undoable`
+ // - `independent_persistent`
+ // - `independent_nonpersistent`
+ // - `append`
//
// See also `VirtualDiskMode_enum`.
DiskMode ChoiceOption `xml:"diskMode" json:"diskMode"`
@@ -86085,9 +85681,9 @@ type VirtualDiskSparseVer2BackingOption struct {
// with a `VirtualDisk.capacityInKB` value greater
// than its current value will grow the disk to the newly specified size
// while the virtual machine is powered on.
- HotGrowable bool `xml:"hotGrowable" json:"hotGrowable" vim:"2.5"`
+ HotGrowable bool `xml:"hotGrowable" json:"hotGrowable"`
// Flag to indicate whether this backing supports disk UUID property.
- Uuid bool `xml:"uuid" json:"uuid" vim:"2.5"`
+ Uuid bool `xml:"uuid" json:"uuid"`
}
func init() {
@@ -86110,7 +85706,6 @@ type VirtualDiskSpec struct {
func init() {
t["VirtualDiskSpec"] = reflect.TypeOf((*VirtualDiskSpec)(nil)).Elem()
- minAPIVersionForType["VirtualDiskSpec"] = "2.5"
}
// Data object describes the vFlash cache configuration on this virtual disk.
@@ -86165,7 +85760,6 @@ type VirtualDiskVFlashCacheConfigInfo struct {
func init() {
t["VirtualDiskVFlashCacheConfigInfo"] = reflect.TypeOf((*VirtualDiskVFlashCacheConfigInfo)(nil)).Elem()
- minAPIVersionForType["VirtualDiskVFlashCacheConfigInfo"] = "5.5"
}
// The VirtualE1000 data object type represents an instance
@@ -86196,7 +85790,6 @@ type VirtualE1000e struct {
func init() {
t["VirtualE1000e"] = reflect.TypeOf((*VirtualE1000e)(nil)).Elem()
- minAPIVersionForType["VirtualE1000e"] = "5.0"
}
// The VirtualE1000e option data object type contains the options for the
@@ -86207,7 +85800,6 @@ type VirtualE1000eOption struct {
func init() {
t["VirtualE1000eOption"] = reflect.TypeOf((*VirtualE1000eOption)(nil)).Elem()
- minAPIVersionForType["VirtualE1000eOption"] = "5.0"
}
// The VirtualEnsoniq1371 data object type represents an Ensoniq 1371
@@ -86260,7 +85852,7 @@ type VirtualEthernetCard struct {
// can set this property to selectively enable or disable wake-on-LAN.
WakeOnLanEnabled *bool `xml:"wakeOnLanEnabled" json:"wakeOnLanEnabled,omitempty"`
// Resource requirements of the virtual network adapter
- ResourceAllocation *VirtualEthernetCardResourceAllocation `xml:"resourceAllocation,omitempty" json:"resourceAllocation,omitempty" vim:"6.0"`
+ ResourceAllocation *VirtualEthernetCardResourceAllocation `xml:"resourceAllocation,omitempty" json:"resourceAllocation,omitempty"`
// An ID assigned to the virtual network adapter by external management plane or
// controller.
//
@@ -86269,7 +85861,7 @@ type VirtualEthernetCard struct {
// also up to external management plane or controller to set, unset or maintain
// this property. Setting this property with an empty string value will unset the
// property.
- ExternalId string `xml:"externalId,omitempty" json:"externalId,omitempty" vim:"6.0"`
+ ExternalId string `xml:"externalId,omitempty" json:"externalId,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and
// there is no replacement.
//
@@ -86279,7 +85871,7 @@ type VirtualEthernetCard struct {
// UPT is only compatible for Vmxnet3 adapter.
// Clients can set this property enabled or disabled if ethernet
// virtual device is Vmxnet3.
- UptCompatibilityEnabled *bool `xml:"uptCompatibilityEnabled" json:"uptCompatibilityEnabled,omitempty" vim:"6.0"`
+ UptCompatibilityEnabled *bool `xml:"uptCompatibilityEnabled" json:"uptCompatibilityEnabled,omitempty"`
}
func init() {
@@ -86294,7 +85886,6 @@ type VirtualEthernetCardDVPortBackingOption struct {
func init() {
t["VirtualEthernetCardDVPortBackingOption"] = reflect.TypeOf((*VirtualEthernetCardDVPortBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualEthernetCardDVPortBackingOption"] = "4.0"
}
// The `VirtualEthernetCardDistributedVirtualPortBackingInfo`
@@ -86319,7 +85910,6 @@ type VirtualEthernetCardDistributedVirtualPortBackingInfo struct {
func init() {
t["VirtualEthernetCardDistributedVirtualPortBackingInfo"] = reflect.TypeOf((*VirtualEthernetCardDistributedVirtualPortBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualEthernetCardDistributedVirtualPortBackingInfo"] = "4.0"
}
// The `VirtualEthernetCardLegacyNetworkBackingInfo` data object
@@ -86357,7 +85947,7 @@ type VirtualEthernetCardNetworkBackingInfo struct {
// .
//
//
- InPassthroughMode *bool `xml:"inPassthroughMode" json:"inPassthroughMode,omitempty" vim:"2.5 U2"`
+ InPassthroughMode *bool `xml:"inPassthroughMode" json:"inPassthroughMode,omitempty"`
}
func init() {
@@ -86381,7 +85971,6 @@ type VirtualEthernetCardNotSupported struct {
func init() {
t["VirtualEthernetCardNotSupported"] = reflect.TypeOf((*VirtualEthernetCardNotSupported)(nil)).Elem()
- minAPIVersionForType["VirtualEthernetCardNotSupported"] = "2.5"
}
type VirtualEthernetCardNotSupportedFault VirtualEthernetCardNotSupported
@@ -86403,7 +85992,6 @@ type VirtualEthernetCardOpaqueNetworkBackingInfo struct {
func init() {
t["VirtualEthernetCardOpaqueNetworkBackingInfo"] = reflect.TypeOf((*VirtualEthernetCardOpaqueNetworkBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualEthernetCardOpaqueNetworkBackingInfo"] = "5.5"
}
// This data object type contains the options for
@@ -86414,7 +86002,6 @@ type VirtualEthernetCardOpaqueNetworkBackingOption struct {
func init() {
t["VirtualEthernetCardOpaqueNetworkBackingOption"] = reflect.TypeOf((*VirtualEthernetCardOpaqueNetworkBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualEthernetCardOpaqueNetworkBackingOption"] = "5.5"
}
// This data object type contains the options for the
@@ -86438,12 +86025,12 @@ type VirtualEthernetCardOption struct {
// there is no replacement.
//
// Flag to indicate whether VMDirectPath Gen 2 is available on this device.
- VmDirectPathGen2Supported *bool `xml:"vmDirectPathGen2Supported" json:"vmDirectPathGen2Supported,omitempty" vim:"4.1"`
+ VmDirectPathGen2Supported *bool `xml:"vmDirectPathGen2Supported" json:"vmDirectPathGen2Supported,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and
// there is no replacement.
//
// Flag to indicate whether Universal Pass-through(UPT) is settable on this device.
- UptCompatibilityEnabled *BoolOption `xml:"uptCompatibilityEnabled,omitempty" json:"uptCompatibilityEnabled,omitempty" vim:"6.0"`
+ UptCompatibilityEnabled *BoolOption `xml:"uptCompatibilityEnabled,omitempty" json:"uptCompatibilityEnabled,omitempty"`
}
func init() {
@@ -86480,7 +86067,6 @@ type VirtualEthernetCardResourceAllocation struct {
func init() {
t["VirtualEthernetCardResourceAllocation"] = reflect.TypeOf((*VirtualEthernetCardResourceAllocation)(nil)).Elem()
- minAPIVersionForType["VirtualEthernetCardResourceAllocation"] = "6.0"
}
// The VirtualFloppy data object type contains information about a floppy drive
@@ -86577,15 +86163,15 @@ type VirtualHardware struct {
// implies numCoresPerSocket is 1.
// In other cases, this field represents the actual virtual socket
// size seen by the virtual machine.
- NumCoresPerSocket int32 `xml:"numCoresPerSocket,omitempty" json:"numCoresPerSocket,omitempty" vim:"5.0"`
+ NumCoresPerSocket int32 `xml:"numCoresPerSocket,omitempty" json:"numCoresPerSocket,omitempty"`
// Cores per socket is automatically determined.
AutoCoresPerSocket *bool `xml:"autoCoresPerSocket" json:"autoCoresPerSocket,omitempty" vim:"8.0.0.1"`
// Memory size, in MB.
MemoryMB int32 `xml:"memoryMB" json:"memoryMB"`
// Does this virtual machine have Virtual Intel I/O Controller Hub 7
- VirtualICH7MPresent *bool `xml:"virtualICH7MPresent" json:"virtualICH7MPresent,omitempty" vim:"5.0"`
+ VirtualICH7MPresent *bool `xml:"virtualICH7MPresent" json:"virtualICH7MPresent,omitempty"`
// Does this virtual machine have System Management Controller
- VirtualSMCPresent *bool `xml:"virtualSMCPresent" json:"virtualSMCPresent,omitempty" vim:"5.0"`
+ VirtualSMCPresent *bool `xml:"virtualSMCPresent" json:"virtualSMCPresent,omitempty"`
// The set of virtual devices belonging to the virtual machine.
//
// This list is unordered.
@@ -86652,7 +86238,7 @@ type VirtualHardwareOption struct {
NumCPU []int32 `xml:"numCPU" json:"numCPU"`
// The minimum, maximum and default number of cores per socket that
// can be used when distributing virtual CPUs.
- NumCoresPerSocket *IntOption `xml:"numCoresPerSocket,omitempty" json:"numCoresPerSocket,omitempty" vim:"5.0"`
+ NumCoresPerSocket *IntOption `xml:"numCoresPerSocket,omitempty" json:"numCoresPerSocket,omitempty"`
// Whether auto cores per socket is supported.
AutoCoresPerSocket *BoolOption `xml:"autoCoresPerSocket,omitempty" json:"autoCoresPerSocket,omitempty" vim:"8.0.0.1"`
// Can the number of virtual CPUs be changed
@@ -86681,7 +86267,7 @@ type VirtualHardwareOption struct {
NumUSBControllers IntOption `xml:"numUSBControllers" json:"numUSBControllers"`
// The minimum, maximum, and default number of XHCI (USB 3.0) controllers for
// this virtual machine configuration.
- NumUSBXHCIControllers *IntOption `xml:"numUSBXHCIControllers,omitempty" json:"numUSBXHCIControllers,omitempty" vim:"5.0"`
+ NumUSBXHCIControllers *IntOption `xml:"numUSBXHCIControllers,omitempty" json:"numUSBXHCIControllers,omitempty"`
// The minimum, maximum, and default number of SIO controllers for
// this virtual machine configuration.
NumSIOControllers IntOption `xml:"numSIOControllers" json:"numSIOControllers"`
@@ -86696,24 +86282,24 @@ type VirtualHardwareOption struct {
LicensingLimit []string `xml:"licensingLimit,omitempty" json:"licensingLimit,omitempty"`
// The minimum, maximum and default number of NPIV WorldWideNode names
// supported for this virtual machine configuration.
- NumSupportedWwnPorts *IntOption `xml:"numSupportedWwnPorts,omitempty" json:"numSupportedWwnPorts,omitempty" vim:"4.0"`
+ NumSupportedWwnPorts *IntOption `xml:"numSupportedWwnPorts,omitempty" json:"numSupportedWwnPorts,omitempty"`
// The minimum, maximum and default number of NPIV WorldWidePort names
// supported for this virtual machine configuration.
- NumSupportedWwnNodes *IntOption `xml:"numSupportedWwnNodes,omitempty" json:"numSupportedWwnNodes,omitempty" vim:"4.0"`
+ NumSupportedWwnNodes *IntOption `xml:"numSupportedWwnNodes,omitempty" json:"numSupportedWwnNodes,omitempty"`
// Default value and value range for `ResourceConfigOption`
- ResourceConfigOption *ResourceConfigOption `xml:"resourceConfigOption,omitempty" json:"resourceConfigOption,omitempty" vim:"4.1"`
+ ResourceConfigOption *ResourceConfigOption `xml:"resourceConfigOption,omitempty" json:"resourceConfigOption,omitempty"`
// The minimum, maximum and default number of virtual NVDIMM controllers
// for this virtual machine configuration.
- NumNVDIMMControllers *IntOption `xml:"numNVDIMMControllers,omitempty" json:"numNVDIMMControllers,omitempty" vim:"6.7"`
+ NumNVDIMMControllers *IntOption `xml:"numNVDIMMControllers,omitempty" json:"numNVDIMMControllers,omitempty"`
// The minimum, maximum, and default number of virtual TPMs.
- NumTPMDevices *IntOption `xml:"numTPMDevices,omitempty" json:"numTPMDevices,omitempty" vim:"6.7"`
+ NumTPMDevices *IntOption `xml:"numTPMDevices,omitempty" json:"numTPMDevices,omitempty"`
// The minimum, maximum, and default number of virtual watchdog timers.
- NumWDTDevices *IntOption `xml:"numWDTDevices,omitempty" json:"numWDTDevices,omitempty" vim:"7.0"`
+ NumWDTDevices *IntOption `xml:"numWDTDevices,omitempty" json:"numWDTDevices,omitempty"`
// The minimum, maximum and default number of PrecisionClock devices.
- NumPrecisionClockDevices *IntOption `xml:"numPrecisionClockDevices,omitempty" json:"numPrecisionClockDevices,omitempty" vim:"7.0"`
+ NumPrecisionClockDevices *IntOption `xml:"numPrecisionClockDevices,omitempty" json:"numPrecisionClockDevices,omitempty"`
// The minimum, maximum and default value of Intel's Secure Guard Extensions
// Enclave Page Cache (EPC) memory.
- EpcMemoryMB *LongOption `xml:"epcMemoryMB,omitempty" json:"epcMemoryMB,omitempty" vim:"7.0"`
+ EpcMemoryMB *LongOption `xml:"epcMemoryMB,omitempty" json:"epcMemoryMB,omitempty"`
// Empty for HWv17 & older, \["efi"\] for HWv18.
AcpiHostBridgesFirmware []string `xml:"acpiHostBridgesFirmware,omitempty" json:"acpiHostBridgesFirmware,omitempty" vim:"8.0.0.1"`
// The minimum, maximum and default number of CPU simultaneous threads.
@@ -86738,7 +86324,7 @@ type VirtualHardwareVersionNotSupported struct {
// The host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"2.5"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
}
func init() {
@@ -86759,7 +86345,6 @@ type VirtualHdAudioCard struct {
func init() {
t["VirtualHdAudioCard"] = reflect.TypeOf((*VirtualHdAudioCard)(nil)).Elem()
- minAPIVersionForType["VirtualHdAudioCard"] = "5.0"
}
// The VirtualHdAudioCardOption data object type contains the options for a
@@ -86770,7 +86355,6 @@ type VirtualHdAudioCardOption struct {
func init() {
t["VirtualHdAudioCardOption"] = reflect.TypeOf((*VirtualHdAudioCardOption)(nil)).Elem()
- minAPIVersionForType["VirtualHdAudioCardOption"] = "5.0"
}
// The VirtualIDEController data object type specifies a virtual IDE controller.
@@ -86853,7 +86437,6 @@ type VirtualLsiLogicSASController struct {
func init() {
t["VirtualLsiLogicSASController"] = reflect.TypeOf((*VirtualLsiLogicSASController)(nil)).Elem()
- minAPIVersionForType["VirtualLsiLogicSASController"] = "2.5 U2"
}
// VirtualLsiLogicSASControllerOption is the data object that contains
@@ -86864,7 +86447,6 @@ type VirtualLsiLogicSASControllerOption struct {
func init() {
t["VirtualLsiLogicSASControllerOption"] = reflect.TypeOf((*VirtualLsiLogicSASControllerOption)(nil)).Elem()
- minAPIVersionForType["VirtualLsiLogicSASControllerOption"] = "2.5 U2"
}
// Specification of scheduling affinity.
@@ -86931,7 +86513,7 @@ type VirtualMachineBootOptions struct {
// and this flag is set to false
error is returned.
// \- If this flag is unset and vim.vm.FlagInfo.vbsEnabled is set to
// true
, the value of this flag is set to true
.
- EfiSecureBootEnabled *bool `xml:"efiSecureBootEnabled" json:"efiSecureBootEnabled,omitempty" vim:"6.5"`
+ EfiSecureBootEnabled *bool `xml:"efiSecureBootEnabled" json:"efiSecureBootEnabled,omitempty"`
// If set to true
, a virtual machine that fails
// to boot will try again after the `VirtualMachineBootOptions.bootRetryDelay`
// time period has expired.
@@ -86939,14 +86521,14 @@ type VirtualMachineBootOptions struct {
// When false
,
// the virtual machine waits indefinitely for you to initiate
// boot retry.
- BootRetryEnabled *bool `xml:"bootRetryEnabled" json:"bootRetryEnabled,omitempty" vim:"4.1"`
+ BootRetryEnabled *bool `xml:"bootRetryEnabled" json:"bootRetryEnabled,omitempty"`
// Delay in milliseconds before a boot retry.
//
// The boot retry delay
// specifies a time interval between virtual machine boot failure
// and the subsequent attempt to boot again. The virtual machine
// uses this value only if `VirtualMachineBootOptions.bootRetryEnabled` is true.
- BootRetryDelay int64 `xml:"bootRetryDelay,omitempty" json:"bootRetryDelay,omitempty" vim:"4.1"`
+ BootRetryDelay int64 `xml:"bootRetryDelay,omitempty" json:"bootRetryDelay,omitempty"`
// Boot order.
//
// Listed devices are used for booting. After list
@@ -86959,16 +86541,15 @@ type VirtualMachineBootOptions struct {
// it supports. If bootable device is not reached before platform's
// limit is hit, boot will fail. At least single entry is supported
// by all products supporting boot order settings.
- BootOrder []BaseVirtualMachineBootOptionsBootableDevice `xml:"bootOrder,omitempty,typeattr" json:"bootOrder,omitempty" vim:"5.0"`
+ BootOrder []BaseVirtualMachineBootOptionsBootableDevice `xml:"bootOrder,omitempty,typeattr" json:"bootOrder,omitempty"`
// Protocol to attempt during PXE network boot or NetBoot.
//
// See also `VirtualMachineBootOptionsNetworkBootProtocolType_enum`.
- NetworkBootProtocol string `xml:"networkBootProtocol,omitempty" json:"networkBootProtocol,omitempty" vim:"6.0"`
+ NetworkBootProtocol string `xml:"networkBootProtocol,omitempty" json:"networkBootProtocol,omitempty"`
}
func init() {
t["VirtualMachineBootOptions"] = reflect.TypeOf((*VirtualMachineBootOptions)(nil)).Elem()
- minAPIVersionForType["VirtualMachineBootOptions"] = "2.5"
}
// Bootable CDROM.
@@ -86980,7 +86561,6 @@ type VirtualMachineBootOptionsBootableCdromDevice struct {
func init() {
t["VirtualMachineBootOptionsBootableCdromDevice"] = reflect.TypeOf((*VirtualMachineBootOptionsBootableCdromDevice)(nil)).Elem()
- minAPIVersionForType["VirtualMachineBootOptionsBootableCdromDevice"] = "5.0"
}
// Bootable device.
@@ -86990,7 +86570,6 @@ type VirtualMachineBootOptionsBootableDevice struct {
func init() {
t["VirtualMachineBootOptionsBootableDevice"] = reflect.TypeOf((*VirtualMachineBootOptionsBootableDevice)(nil)).Elem()
- minAPIVersionForType["VirtualMachineBootOptionsBootableDevice"] = "5.0"
}
// Bootable disk.
@@ -87004,7 +86583,6 @@ type VirtualMachineBootOptionsBootableDiskDevice struct {
func init() {
t["VirtualMachineBootOptionsBootableDiskDevice"] = reflect.TypeOf((*VirtualMachineBootOptionsBootableDiskDevice)(nil)).Elem()
- minAPIVersionForType["VirtualMachineBootOptionsBootableDiskDevice"] = "5.0"
}
// Bootable ethernet adapter.
@@ -87020,7 +86598,6 @@ type VirtualMachineBootOptionsBootableEthernetDevice struct {
func init() {
t["VirtualMachineBootOptionsBootableEthernetDevice"] = reflect.TypeOf((*VirtualMachineBootOptionsBootableEthernetDevice)(nil)).Elem()
- minAPIVersionForType["VirtualMachineBootOptionsBootableEthernetDevice"] = "5.0"
}
// Bootable floppy disk.
@@ -87030,7 +86607,6 @@ type VirtualMachineBootOptionsBootableFloppyDevice struct {
func init() {
t["VirtualMachineBootOptionsBootableFloppyDevice"] = reflect.TypeOf((*VirtualMachineBootOptionsBootableFloppyDevice)(nil)).Elem()
- minAPIVersionForType["VirtualMachineBootOptionsBootableFloppyDevice"] = "5.0"
}
// This data object type contains information about the
@@ -87063,9 +86639,9 @@ type VirtualMachineCapability struct {
// always false.
//
// Indicates whether or not snapshots can be disabled.
- DisableSnapshotsSupported bool `xml:"disableSnapshotsSupported" json:"disableSnapshotsSupported" vim:"2.5"`
+ DisableSnapshotsSupported bool `xml:"disableSnapshotsSupported" json:"disableSnapshotsSupported"`
// Indicates whether or not the snapshot tree can be locked.
- LockSnapshotsSupported bool `xml:"lockSnapshotsSupported" json:"lockSnapshotsSupported" vim:"2.5"`
+ LockSnapshotsSupported bool `xml:"lockSnapshotsSupported" json:"lockSnapshotsSupported"`
// Indicates whether console preferences can be set for this virtual machine.
ConsolePreferencesSupported bool `xml:"consolePreferencesSupported" json:"consolePreferencesSupported"`
// Indicates whether CPU feature requirements masks can be set for this
@@ -87085,44 +86661,44 @@ type VirtualMachineCapability struct {
// Supports tools auto-update.
ToolsAutoUpdateSupported bool `xml:"toolsAutoUpdateSupported" json:"toolsAutoUpdateSupported"`
// Supports virtual machine NPIV WWN.
- VmNpivWwnSupported bool `xml:"vmNpivWwnSupported" json:"vmNpivWwnSupported" vim:"2.5"`
+ VmNpivWwnSupported bool `xml:"vmNpivWwnSupported" json:"vmNpivWwnSupported"`
// Supports assigning NPIV WWN to virtual machines that don't have RDM disks.
- NpivWwnOnNonRdmVmSupported bool `xml:"npivWwnOnNonRdmVmSupported" json:"npivWwnOnNonRdmVmSupported" vim:"2.5"`
+ NpivWwnOnNonRdmVmSupported bool `xml:"npivWwnOnNonRdmVmSupported" json:"npivWwnOnNonRdmVmSupported"`
// Indicates whether the NPIV disabling operation is supported the virtual machine.
- VmNpivWwnDisableSupported *bool `xml:"vmNpivWwnDisableSupported" json:"vmNpivWwnDisableSupported,omitempty" vim:"4.0"`
+ VmNpivWwnDisableSupported *bool `xml:"vmNpivWwnDisableSupported" json:"vmNpivWwnDisableSupported,omitempty"`
// Indicates whether the update of NPIV WWNs are supported on the virtual machine.
- VmNpivWwnUpdateSupported *bool `xml:"vmNpivWwnUpdateSupported" json:"vmNpivWwnUpdateSupported,omitempty" vim:"4.0"`
+ VmNpivWwnUpdateSupported *bool `xml:"vmNpivWwnUpdateSupported" json:"vmNpivWwnUpdateSupported,omitempty"`
// Flag indicating whether the virtual machine has a configurable
// *swapfile placement policy*.
- SwapPlacementSupported bool `xml:"swapPlacementSupported" json:"swapPlacementSupported" vim:"2.5"`
+ SwapPlacementSupported bool `xml:"swapPlacementSupported" json:"swapPlacementSupported"`
// Indicates whether asking tools to sync time with the host is supported.
- ToolsSyncTimeSupported bool `xml:"toolsSyncTimeSupported" json:"toolsSyncTimeSupported" vim:"2.5"`
+ ToolsSyncTimeSupported bool `xml:"toolsSyncTimeSupported" json:"toolsSyncTimeSupported"`
// Indicates whether or not the use of nested page table hardware support
// can be explicitly set.
- VirtualMmuUsageSupported bool `xml:"virtualMmuUsageSupported" json:"virtualMmuUsageSupported" vim:"2.5"`
+ VirtualMmuUsageSupported bool `xml:"virtualMmuUsageSupported" json:"virtualMmuUsageSupported"`
// Indicates whether resource settings for disks can be
// applied to this virtual machine.
- DiskSharesSupported bool `xml:"diskSharesSupported" json:"diskSharesSupported" vim:"2.5"`
+ DiskSharesSupported bool `xml:"diskSharesSupported" json:"diskSharesSupported"`
// Indicates whether boot options can be configured
// for this virtual machine.
- BootOptionsSupported bool `xml:"bootOptionsSupported" json:"bootOptionsSupported" vim:"2.5"`
+ BootOptionsSupported bool `xml:"bootOptionsSupported" json:"bootOptionsSupported"`
// Indicates whether automatic boot retry can be
// configured for this virtual machine.
- BootRetryOptionsSupported *bool `xml:"bootRetryOptionsSupported" json:"bootRetryOptionsSupported,omitempty" vim:"4.1"`
+ BootRetryOptionsSupported *bool `xml:"bootRetryOptionsSupported" json:"bootRetryOptionsSupported,omitempty"`
// Flag indicating whether the video ram size of this virtual machine
// can be configured.
- SettingVideoRamSizeSupported bool `xml:"settingVideoRamSizeSupported" json:"settingVideoRamSizeSupported" vim:"2.5"`
+ SettingVideoRamSizeSupported bool `xml:"settingVideoRamSizeSupported" json:"settingVideoRamSizeSupported"`
// Indicates whether of not this virtual machine supports
// setting the display topology of the console window.
//
// This capability depends on the guest operating system
// configured for this virtual machine.
- SettingDisplayTopologySupported *bool `xml:"settingDisplayTopologySupported" json:"settingDisplayTopologySupported,omitempty" vim:"2.5 U2"`
+ SettingDisplayTopologySupported *bool `xml:"settingDisplayTopologySupported" json:"settingDisplayTopologySupported,omitempty"`
// Deprecated as of vSphere API 6.0.
//
// Indicates whether record and replay functionality is supported on this
// virtual machine.
- RecordReplaySupported *bool `xml:"recordReplaySupported" json:"recordReplaySupported,omitempty" vim:"4.0"`
+ RecordReplaySupported *bool `xml:"recordReplaySupported" json:"recordReplaySupported,omitempty"`
// Indicates that change tracking is supported for virtual disks of this
// virtual machine.
//
@@ -87130,53 +86706,53 @@ type VirtualMachineCapability struct {
// not be available for all disks of the virtual machine. For example,
// passthru raw disk mappings or disks backed by any Ver1BackingInfo cannot
// be tracked.
- ChangeTrackingSupported *bool `xml:"changeTrackingSupported" json:"changeTrackingSupported,omitempty" vim:"4.0"`
+ ChangeTrackingSupported *bool `xml:"changeTrackingSupported" json:"changeTrackingSupported,omitempty"`
// Indicates whether multiple virtual cores per socket is supported on this VM.
- MultipleCoresPerSocketSupported *bool `xml:"multipleCoresPerSocketSupported" json:"multipleCoresPerSocketSupported,omitempty" vim:"5.0"`
+ MultipleCoresPerSocketSupported *bool `xml:"multipleCoresPerSocketSupported" json:"multipleCoresPerSocketSupported,omitempty"`
// Indicates that host based replication is supported on this virtual
// machine.
//
// However, even if host based replication is supported,
// it might not be available for all disk types. For example, passthru
// raw disk mappings can not be replicated.
- HostBasedReplicationSupported *bool `xml:"hostBasedReplicationSupported" json:"hostBasedReplicationSupported,omitempty" vim:"5.0"`
+ HostBasedReplicationSupported *bool `xml:"hostBasedReplicationSupported" json:"hostBasedReplicationSupported,omitempty"`
// Indicates whether features like guest OS auto-lock and MKS connection
// controls are supported for this virtual machine.
- GuestAutoLockSupported *bool `xml:"guestAutoLockSupported" json:"guestAutoLockSupported,omitempty" vim:"5.0"`
+ GuestAutoLockSupported *bool `xml:"guestAutoLockSupported" json:"guestAutoLockSupported,omitempty"`
// Indicates whether
// `memoryReservationLockedToMax`
// may be set to true for this virtual machine.
- MemoryReservationLockSupported *bool `xml:"memoryReservationLockSupported" json:"memoryReservationLockSupported,omitempty" vim:"5.0"`
+ MemoryReservationLockSupported *bool `xml:"memoryReservationLockSupported" json:"memoryReservationLockSupported,omitempty"`
// Indicates whether featureRequirement feature is supported.
- FeatureRequirementSupported *bool `xml:"featureRequirementSupported" json:"featureRequirementSupported,omitempty" vim:"5.1"`
+ FeatureRequirementSupported *bool `xml:"featureRequirementSupported" json:"featureRequirementSupported,omitempty"`
// Indicates whether a monitor type change is supported while this virtual
// machine is in the poweredOn state.
- PoweredOnMonitorTypeChangeSupported *bool `xml:"poweredOnMonitorTypeChangeSupported" json:"poweredOnMonitorTypeChangeSupported,omitempty" vim:"5.1"`
+ PoweredOnMonitorTypeChangeSupported *bool `xml:"poweredOnMonitorTypeChangeSupported" json:"poweredOnMonitorTypeChangeSupported,omitempty"`
// Indicates whether this virtual machine supports the Flex-SE
// (space-efficient, sparse) format for virtual disks.
- SeSparseDiskSupported *bool `xml:"seSparseDiskSupported" json:"seSparseDiskSupported,omitempty" vim:"5.1"`
+ SeSparseDiskSupported *bool `xml:"seSparseDiskSupported" json:"seSparseDiskSupported,omitempty"`
// Indicates whether this virtual machine supports nested hardware-assisted
// virtualization.
- NestedHVSupported *bool `xml:"nestedHVSupported" json:"nestedHVSupported,omitempty" vim:"5.1"`
+ NestedHVSupported *bool `xml:"nestedHVSupported" json:"nestedHVSupported,omitempty"`
// Indicates whether this virtual machine supports virtualized CPU performance
// counters.
- VPMCSupported *bool `xml:"vPMCSupported" json:"vPMCSupported,omitempty" vim:"5.1"`
+ VPMCSupported *bool `xml:"vPMCSupported" json:"vPMCSupported,omitempty"`
// Indicates whether secureBoot is supported for this virtual machine.
- SecureBootSupported *bool `xml:"secureBootSupported" json:"secureBootSupported,omitempty" vim:"6.5"`
+ SecureBootSupported *bool `xml:"secureBootSupported" json:"secureBootSupported,omitempty"`
// Indicates whether this virtual machine supports Per-VM EVC mode.
- PerVmEvcSupported *bool `xml:"perVmEvcSupported" json:"perVmEvcSupported,omitempty" vim:"6.7"`
+ PerVmEvcSupported *bool `xml:"perVmEvcSupported" json:"perVmEvcSupported,omitempty"`
// Indicates that `VirtualMachineFlagInfo.virtualMmuUsage` is
// ignored by this virtual machine, always operating as if "on" was selected.
- VirtualMmuUsageIgnored *bool `xml:"virtualMmuUsageIgnored" json:"virtualMmuUsageIgnored,omitempty" vim:"6.7"`
+ VirtualMmuUsageIgnored *bool `xml:"virtualMmuUsageIgnored" json:"virtualMmuUsageIgnored,omitempty"`
// Indicates that `VirtualMachineFlagInfo.virtualExecUsage` is
// ignored by this virtual machine, always operating as if "hvOn" was selected.
- VirtualExecUsageIgnored *bool `xml:"virtualExecUsageIgnored" json:"virtualExecUsageIgnored,omitempty" vim:"6.7"`
+ VirtualExecUsageIgnored *bool `xml:"virtualExecUsageIgnored" json:"virtualExecUsageIgnored,omitempty"`
// Indicates whether this virtual machine supports creating disk-only snapshots
// in suspended state.
//
// If this capability is not set, the snapshot of a
// virtual machine in suspended state will always include memory.
- DiskOnlySnapshotOnSuspendedVMSupported *bool `xml:"diskOnlySnapshotOnSuspendedVMSupported" json:"diskOnlySnapshotOnSuspendedVMSupported,omitempty" vim:"6.7"`
+ DiskOnlySnapshotOnSuspendedVMSupported *bool `xml:"diskOnlySnapshotOnSuspendedVMSupported" json:"diskOnlySnapshotOnSuspendedVMSupported,omitempty"`
// Indicates whether this virtual machine supports suspending to memory.
SuspendToMemorySupported *bool `xml:"suspendToMemorySupported" json:"suspendToMemorySupported,omitempty" vim:"7.0.2.0"`
// Indicates support for allowing or disallowing all tools time
@@ -87210,7 +86786,7 @@ type VirtualMachineCdromInfo struct {
// Description of the physical device.
//
// This is set only by the server.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"6.5"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
}
func init() {
@@ -87244,13 +86820,13 @@ type VirtualMachineCloneSpec struct {
// newly cloned virtual machine will use.
//
// The location specifies:
- // - A datastore where the virtual machine will be located on physical
- // storage.
- // This is always provided because it indicates where the newly
- // created clone will be copied.
- // - a resource pool and optionally a host. The resource pool
- // determines what compute resources will be available to the clone
- // and the host indicates which machine will host the clone.
+ // - A datastore where the virtual machine will be located on physical
+ // storage.
+ // This is always provided because it indicates where the newly
+ // created clone will be copied.
+ // - a resource pool and optionally a host. The resource pool
+ // determines what compute resources will be available to the clone
+ // and the host indicates which machine will host the clone.
Location VirtualMachineRelocateSpec `xml:"location" json:"location"`
// Specifies whether or not the new virtual machine should be marked as a
// template.
@@ -87295,7 +86871,7 @@ type VirtualMachineCloneSpec struct {
// to exist on the destination host for the clone.
//
// Refers instance of `VirtualMachineSnapshot`.
- Snapshot *ManagedObjectReference `xml:"snapshot,omitempty" json:"snapshot,omitempty" vim:"4.0"`
+ Snapshot *ManagedObjectReference `xml:"snapshot,omitempty" json:"snapshot,omitempty"`
// Flag indicating whether to retain a copy of the source virtual machine's
// memory state in the clone.
//
@@ -87316,7 +86892,7 @@ type VirtualMachineCloneSpec struct {
// only applies for a snapshot taken on a running or suspended
// virtual machine with the 'memory' parameter set to true, because otherwise
// the snapshot has no memory state. This flag defaults to false.
- Memory *bool `xml:"memory" json:"memory,omitempty" vim:"5.5"`
+ Memory *bool `xml:"memory" json:"memory,omitempty"`
// Provisioning policy for virtual TPM devices during VM clone operations.
//
// The list of supported values is defined in `VirtualMachineCloneSpecTpmProvisionPolicy_enum`.
@@ -87368,14 +86944,14 @@ type VirtualMachineConfigInfo struct {
// in "12345678-abcd-1234-cdef-123456789abc" format.
Uuid string `xml:"uuid" json:"uuid"`
// Time the virtual machine's configuration was created.
- CreateDate *time.Time `xml:"createDate" json:"createDate,omitempty" vim:"6.7"`
+ CreateDate *time.Time `xml:"createDate" json:"createDate,omitempty"`
// VirtualCenter-specific 128-bit UUID of a virtual machine, represented
// as a hexademical string.
//
// This identifier is used by VirtualCenter to
// uniquely identify all virtual machine instances, including those that
// may share the same SMBIOS UUID.
- InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty"`
// A 64-bit node WWN (World Wide Name).
//
// These WWNs are paired with the
@@ -87388,44 +86964,44 @@ type VirtualMachineConfigInfo struct {
// with all port WWNs listed in `VirtualMachineConfigInfo.npivPortWorldWideName`. If this property or
// `VirtualMachineConfigInfo.npivPortWorldWideName` is empty or unset, NPIV WWN is disabled for the
// virtual machine.
- NpivNodeWorldWideName []int64 `xml:"npivNodeWorldWideName,omitempty" json:"npivNodeWorldWideName,omitempty" vim:"2.5"`
+ NpivNodeWorldWideName []int64 `xml:"npivNodeWorldWideName,omitempty" json:"npivNodeWorldWideName,omitempty"`
// A 64-bit port WWN (World Wide Name).
//
// For detail description on WWN, see
// `VirtualMachineConfigInfo.npivNodeWorldWideName`.
- NpivPortWorldWideName []int64 `xml:"npivPortWorldWideName,omitempty" json:"npivPortWorldWideName,omitempty" vim:"2.5"`
+ NpivPortWorldWideName []int64 `xml:"npivPortWorldWideName,omitempty" json:"npivPortWorldWideName,omitempty"`
// The source that provides/generates the assigned WWNs.
//
// See also `VirtualMachineConfigInfoNpivWwnType_enum`.
- NpivWorldWideNameType string `xml:"npivWorldWideNameType,omitempty" json:"npivWorldWideNameType,omitempty" vim:"2.5"`
+ NpivWorldWideNameType string `xml:"npivWorldWideNameType,omitempty" json:"npivWorldWideNameType,omitempty"`
// The NPIV node WWNs to be extended from the original list of WWN nummbers.
//
// This
// property should be set to desired number which is an aggregate of existing
// plus new numbers. Desired Node WWNs should always be greater than the existing
// number of node WWNs
- NpivDesiredNodeWwns int16 `xml:"npivDesiredNodeWwns,omitempty" json:"npivDesiredNodeWwns,omitempty" vim:"4.0"`
+ NpivDesiredNodeWwns int16 `xml:"npivDesiredNodeWwns,omitempty" json:"npivDesiredNodeWwns,omitempty"`
// The NPIV port WWNs to be extended from the original list of WWN nummbers.
//
// This
// property should be set to desired number which is an aggregate of existing
// plus new numbers. Desired Node WWNs should always be greater than the existing
// number of port WWNs
- NpivDesiredPortWwns int16 `xml:"npivDesiredPortWwns,omitempty" json:"npivDesiredPortWwns,omitempty" vim:"4.0"`
+ NpivDesiredPortWwns int16 `xml:"npivDesiredPortWwns,omitempty" json:"npivDesiredPortWwns,omitempty"`
// This property is used to enable or disable the NPIV capability on a desired
// virtual machine on a temporary basis.
//
// When this property is set NPIV Vport
// will not be instantiated by the VMX process of the Virtual Machine. When this
// property is set port WWNs and node WWNs in the VM configuration are preserved.
- NpivTemporaryDisabled *bool `xml:"npivTemporaryDisabled" json:"npivTemporaryDisabled,omitempty" vim:"4.0"`
+ NpivTemporaryDisabled *bool `xml:"npivTemporaryDisabled" json:"npivTemporaryDisabled,omitempty"`
// This property is used to check whether the NPIV can be enabled on the Virtual
// machine with non-rdm disks in the configuration, so this is potentially not
// enabling npiv on vmfs disks.
//
// Also this property is used to check whether RDM
// is required to generate WWNs for a virtual machine.
- NpivOnNonRdmDisks *bool `xml:"npivOnNonRdmDisks" json:"npivOnNonRdmDisks,omitempty" vim:"4.0"`
+ NpivOnNonRdmDisks *bool `xml:"npivOnNonRdmDisks" json:"npivOnNonRdmDisks,omitempty"`
// Hash incorporating the virtual machine's config file location
// and the UUID of the host assigned to run the virtual machine.
LocationId string `xml:"locationId,omitempty" json:"locationId,omitempty"`
@@ -87443,7 +87019,7 @@ type VirtualMachineConfigInfo struct {
// or `other-64`.
//
// See also `VirtualMachineConfigInfo.guestFullName`.
- AlternateGuestName string `xml:"alternateGuestName" json:"alternateGuestName" vim:"2.5"`
+ AlternateGuestName string `xml:"alternateGuestName" json:"alternateGuestName"`
// Description for the virtual machine.
Annotation string `xml:"annotation,omitempty" json:"annotation,omitempty"`
// Information about the files associated with a virtual machine.
@@ -87467,21 +87043,21 @@ type VirtualMachineConfigInfo struct {
//
// The vcpuConfig
array is indexed
// by vcpu number.
- VcpuConfig []VirtualMachineVcpuConfig `xml:"vcpuConfig,omitempty" json:"vcpuConfig,omitempty" vim:"7.0"`
+ VcpuConfig []VirtualMachineVcpuConfig `xml:"vcpuConfig,omitempty" json:"vcpuConfig,omitempty"`
// Resource limits for CPU.
CpuAllocation *ResourceAllocationInfo `xml:"cpuAllocation,omitempty" json:"cpuAllocation,omitempty"`
// Resource limits for memory.
MemoryAllocation *ResourceAllocationInfo `xml:"memoryAllocation,omitempty" json:"memoryAllocation,omitempty"`
// The latency-sensitivity of the virtual machine.
- LatencySensitivity *LatencySensitivity `xml:"latencySensitivity,omitempty" json:"latencySensitivity,omitempty" vim:"5.1"`
+ LatencySensitivity *LatencySensitivity `xml:"latencySensitivity,omitempty" json:"latencySensitivity,omitempty"`
// Whether memory can be added while this virtual machine is running.
- MemoryHotAddEnabled *bool `xml:"memoryHotAddEnabled" json:"memoryHotAddEnabled,omitempty" vim:"2.5 U2"`
+ MemoryHotAddEnabled *bool `xml:"memoryHotAddEnabled" json:"memoryHotAddEnabled,omitempty"`
// Whether virtual processors can be added while this
// virtual machine is running.
- CpuHotAddEnabled *bool `xml:"cpuHotAddEnabled" json:"cpuHotAddEnabled,omitempty" vim:"2.5 U2"`
+ CpuHotAddEnabled *bool `xml:"cpuHotAddEnabled" json:"cpuHotAddEnabled,omitempty"`
// Whether virtual processors can be removed while this
// virtual machine is running.
- CpuHotRemoveEnabled *bool `xml:"cpuHotRemoveEnabled" json:"cpuHotRemoveEnabled,omitempty" vim:"2.5 U2"`
+ CpuHotRemoveEnabled *bool `xml:"cpuHotRemoveEnabled" json:"cpuHotRemoveEnabled,omitempty"`
// The maximum amount of memory, in MB, than can be added to a
// running virtual machine.
//
@@ -87489,7 +87065,7 @@ type VirtualMachineConfigInfo struct {
// virtual machine and is specified only if
// `VirtualMachineConfigInfo.memoryHotAddEnabled`
// is set to true.
- HotPlugMemoryLimit int64 `xml:"hotPlugMemoryLimit,omitempty" json:"hotPlugMemoryLimit,omitempty" vim:"2.5 U2"`
+ HotPlugMemoryLimit int64 `xml:"hotPlugMemoryLimit,omitempty" json:"hotPlugMemoryLimit,omitempty"`
// Memory, in MB that can be added to a running virtual machine
// must be in increments of this value and needs be a
// multiple of this value.
@@ -87497,7 +87073,7 @@ type VirtualMachineConfigInfo struct {
// This value is determined by the virtual machine and is specified
// only if `VirtualMachineConfigSpec.memoryHotAddEnabled`
// has been set to true.
- HotPlugMemoryIncrementSize int64 `xml:"hotPlugMemoryIncrementSize,omitempty" json:"hotPlugMemoryIncrementSize,omitempty" vim:"2.5 U2"`
+ HotPlugMemoryIncrementSize int64 `xml:"hotPlugMemoryIncrementSize,omitempty" json:"hotPlugMemoryIncrementSize,omitempty"`
// Affinity settings for CPU.
CpuAffinity *VirtualMachineAffinityInfo `xml:"cpuAffinity,omitempty" json:"cpuAffinity,omitempty"`
// Deprecated since vSphere 6.0.
@@ -87535,24 +87111,24 @@ type VirtualMachineConfigInfo struct {
// policy is "inherit".
//
// See also `VirtualMachineConfigInfoSwapPlacementType_enum`.
- SwapPlacement string `xml:"swapPlacement,omitempty" json:"swapPlacement,omitempty" vim:"2.5"`
+ SwapPlacement string `xml:"swapPlacement,omitempty" json:"swapPlacement,omitempty"`
// Configuration options for the boot behavior of the virtual machine.
- BootOptions *VirtualMachineBootOptions `xml:"bootOptions,omitempty" json:"bootOptions,omitempty" vim:"2.5"`
+ BootOptions *VirtualMachineBootOptions `xml:"bootOptions,omitempty" json:"bootOptions,omitempty"`
// Fault Tolerance settings for this virtual machine.
- FtInfo BaseFaultToleranceConfigInfo `xml:"ftInfo,omitempty,typeattr" json:"ftInfo,omitempty" vim:"4.0"`
+ FtInfo BaseFaultToleranceConfigInfo `xml:"ftInfo,omitempty,typeattr" json:"ftInfo,omitempty"`
// vSphere Replication settings for this virtual machine.
//
// Note this may become deprecated in the future releases. We discourage
// any unnecessary dependency on this field.
- RepConfig *ReplicationConfigSpec `xml:"repConfig,omitempty" json:"repConfig,omitempty" vim:"6.0"`
+ RepConfig *ReplicationConfigSpec `xml:"repConfig,omitempty" json:"repConfig,omitempty"`
// vApp meta-data for the virtual machine
- VAppConfig BaseVmConfigInfo `xml:"vAppConfig,omitempty,typeattr" json:"vAppConfig,omitempty" vim:"4.0"`
+ VAppConfig BaseVmConfigInfo `xml:"vAppConfig,omitempty,typeattr" json:"vAppConfig,omitempty"`
// Indicates whether user-configured virtual asserts will be
// triggered during virtual machine replay.
- VAssertsEnabled *bool `xml:"vAssertsEnabled" json:"vAssertsEnabled,omitempty" vim:"4.0"`
+ VAssertsEnabled *bool `xml:"vAssertsEnabled" json:"vAssertsEnabled,omitempty"`
// Indicates whether changed block tracking for this VM's disks
// is active.
- ChangeTrackingEnabled *bool `xml:"changeTrackingEnabled" json:"changeTrackingEnabled,omitempty" vim:"4.0"`
+ ChangeTrackingEnabled *bool `xml:"changeTrackingEnabled" json:"changeTrackingEnabled,omitempty"`
// Information about firmware type for this Virtual Machine.
//
// Possible values are described in
@@ -87562,46 +87138,46 @@ type VirtualMachineConfigInfo struct {
// this property is set to bios
, error is returned.
// \- If this property is unset and vim.vm.FlagInfo.vbsEnabled is set
// to true
, this property is set to efi
.
- Firmware string `xml:"firmware,omitempty" json:"firmware,omitempty" vim:"5.0"`
+ Firmware string `xml:"firmware,omitempty" json:"firmware,omitempty"`
// Indicates the maximum number of active remote display connections
// that the virtual machine will support.
- MaxMksConnections int32 `xml:"maxMksConnections,omitempty" json:"maxMksConnections,omitempty" vim:"5.0"`
+ MaxMksConnections int32 `xml:"maxMksConnections,omitempty" json:"maxMksConnections,omitempty"`
// Indicates whether the guest operating system will logout any active
// sessions whenever there are no remote display connections open to
// the virtual machine.
- GuestAutoLockEnabled *bool `xml:"guestAutoLockEnabled" json:"guestAutoLockEnabled,omitempty" vim:"5.0"`
+ GuestAutoLockEnabled *bool `xml:"guestAutoLockEnabled" json:"guestAutoLockEnabled,omitempty"`
// Specifies that this VM is managed by a VC Extension.
//
// See the
// `managedBy` property in the ConfigSpec
// for more details.
- ManagedBy *ManagedByInfo `xml:"managedBy,omitempty" json:"managedBy,omitempty" vim:"5.0"`
+ ManagedBy *ManagedByInfo `xml:"managedBy,omitempty" json:"managedBy,omitempty"`
// If set true, memory resource reservation for this virtual machine will always be
// equal to the virtual machine's memory size; increases in memory size will be
// rejected when a corresponding reservation increase is not possible.
- MemoryReservationLockedToMax *bool `xml:"memoryReservationLockedToMax" json:"memoryReservationLockedToMax,omitempty" vim:"5.0"`
+ MemoryReservationLockedToMax *bool `xml:"memoryReservationLockedToMax" json:"memoryReservationLockedToMax,omitempty"`
// Set of values to be used only to perform admission control when
// determining if a host has sufficient resources for the virtual
// machine to power on.
- InitialOverhead *VirtualMachineConfigInfoOverheadInfo `xml:"initialOverhead,omitempty" json:"initialOverhead,omitempty" vim:"5.0"`
+ InitialOverhead *VirtualMachineConfigInfoOverheadInfo `xml:"initialOverhead,omitempty" json:"initialOverhead,omitempty"`
// Indicates whether this VM is configured to use nested
// hardware-assisted virtualization.
- NestedHVEnabled *bool `xml:"nestedHVEnabled" json:"nestedHVEnabled,omitempty" vim:"5.1"`
+ NestedHVEnabled *bool `xml:"nestedHVEnabled" json:"nestedHVEnabled,omitempty"`
// Indicates whether this VM have vurtual CPU performance counters
// enabled.
- VPMCEnabled *bool `xml:"vPMCEnabled" json:"vPMCEnabled,omitempty" vim:"5.1"`
+ VPMCEnabled *bool `xml:"vPMCEnabled" json:"vPMCEnabled,omitempty"`
// Configuration of scheduled hardware upgrades and result from last
// attempt to run scheduled hardware upgrade.
//
// See also `ScheduledHardwareUpgradeInfo`.
- ScheduledHardwareUpgradeInfo *ScheduledHardwareUpgradeInfo `xml:"scheduledHardwareUpgradeInfo,omitempty" json:"scheduledHardwareUpgradeInfo,omitempty" vim:"5.1"`
+ ScheduledHardwareUpgradeInfo *ScheduledHardwareUpgradeInfo `xml:"scheduledHardwareUpgradeInfo,omitempty" json:"scheduledHardwareUpgradeInfo,omitempty"`
// Fork configuration of this virtual machines.
//
// If unset, this virtual machine
// is not configured for fork.
//
// See also `VirtualMachineForkConfigInfo`.
- ForkConfigInfo *VirtualMachineForkConfigInfo `xml:"forkConfigInfo,omitempty" json:"forkConfigInfo,omitempty" vim:"6.0"`
+ ForkConfigInfo *VirtualMachineForkConfigInfo `xml:"forkConfigInfo,omitempty" json:"forkConfigInfo,omitempty"`
// Deprecated since vSphere 7.0 because vFlash Read Cache
// end of availability.
//
@@ -87611,39 +87187,39 @@ type VirtualMachineConfigInfo struct {
// This reservation must be allocated to power on the VM.
// See `VirtualMachineRuntimeInfo.vFlashCacheAllocation` for allocated
// reservation when VM is powered on.
- VFlashCacheReservation int64 `xml:"vFlashCacheReservation,omitempty" json:"vFlashCacheReservation,omitempty" vim:"5.5"`
+ VFlashCacheReservation int64 `xml:"vFlashCacheReservation,omitempty" json:"vFlashCacheReservation,omitempty"`
// A checksum of vmx config file.
- VmxConfigChecksum []byte `xml:"vmxConfigChecksum,omitempty" json:"vmxConfigChecksum,omitempty" vim:"6.0"`
+ VmxConfigChecksum []byte `xml:"vmxConfigChecksum,omitempty" json:"vmxConfigChecksum,omitempty"`
// Whether to allow tunneling of clients from the guest VM into the
// common message bus on the host network.
- MessageBusTunnelEnabled *bool `xml:"messageBusTunnelEnabled" json:"messageBusTunnelEnabled,omitempty" vim:"6.0"`
+ MessageBusTunnelEnabled *bool `xml:"messageBusTunnelEnabled" json:"messageBusTunnelEnabled,omitempty"`
// Virtual Machine Object Identifier.
//
// With Object-based Storage systems, Virtual Machine home directory
// is backed by an object.
// This identifier will be set only if VM directory resided on
// object-based storage systems.
- VmStorageObjectId string `xml:"vmStorageObjectId,omitempty" json:"vmStorageObjectId,omitempty" vim:"6.0"`
+ VmStorageObjectId string `xml:"vmStorageObjectId,omitempty" json:"vmStorageObjectId,omitempty"`
// Virtual Machine Swap Object Identifier.
//
// With Object-based Storage systems, VM's Swap is backed by an object.
// This identifier will be set only if VM swap resided on
// object-based storage systems.
- SwapStorageObjectId string `xml:"swapStorageObjectId,omitempty" json:"swapStorageObjectId,omitempty" vim:"6.0"`
+ SwapStorageObjectId string `xml:"swapStorageObjectId,omitempty" json:"swapStorageObjectId,omitempty"`
// Virtual Machine cryptographic options.
- KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty" vim:"6.5"`
+ KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty"`
// Guest integrity platform configuration
- GuestIntegrityInfo *VirtualMachineGuestIntegrityInfo `xml:"guestIntegrityInfo,omitempty" json:"guestIntegrityInfo,omitempty" vim:"6.5"`
+ GuestIntegrityInfo *VirtualMachineGuestIntegrityInfo `xml:"guestIntegrityInfo,omitempty" json:"guestIntegrityInfo,omitempty"`
// An enum describing whether encrypted vMotion is required for this VM.
//
// See `VirtualMachineConfigSpecEncryptedVMotionModes_enum` for allowed values.
// This defaults to opportunistic for a regular VM, and will be set to
// required for an encrypted VM.
- MigrateEncryption string `xml:"migrateEncryption,omitempty" json:"migrateEncryption,omitempty" vim:"6.5"`
+ MigrateEncryption string `xml:"migrateEncryption,omitempty" json:"migrateEncryption,omitempty"`
// Configuration of SGX, Software Guard Extensions for the VM.
- SgxInfo *VirtualMachineSgxInfo `xml:"sgxInfo,omitempty" json:"sgxInfo,omitempty" vim:"7.0"`
+ SgxInfo *VirtualMachineSgxInfo `xml:"sgxInfo,omitempty" json:"sgxInfo,omitempty"`
// Content Library Item info.
- ContentLibItemInfo *VirtualMachineContentLibraryItemInfo `xml:"contentLibItemInfo,omitempty" json:"contentLibItemInfo,omitempty" vim:"7.0"`
+ ContentLibItemInfo *VirtualMachineContentLibraryItemInfo `xml:"contentLibItemInfo,omitempty" json:"contentLibItemInfo,omitempty"`
// An enum describing whether encrypted Fault Tolerance is required for this
// VM.
//
@@ -87654,7 +87230,7 @@ type VirtualMachineConfigInfo struct {
// will be set to opportunistic.
FtEncryptionMode string `xml:"ftEncryptionMode,omitempty" json:"ftEncryptionMode,omitempty" vim:"7.0.2.0"`
// GMM configuration
- GuestMonitoringModeInfo *VirtualMachineGuestMonitoringModeInfo `xml:"guestMonitoringModeInfo,omitempty" json:"guestMonitoringModeInfo,omitempty" vim:"7.0"`
+ GuestMonitoringModeInfo *VirtualMachineGuestMonitoringModeInfo `xml:"guestMonitoringModeInfo,omitempty" json:"guestMonitoringModeInfo,omitempty"`
// SEV (Secure Encrypted Virtualization) enabled or not.
//
// SEV is enabled
@@ -87714,6 +87290,22 @@ type VirtualMachineConfigInfo struct {
// guest memory should be selected. If unset, the current value is
// left unchanged.
FixedPassthruHotPlugEnabled *bool `xml:"fixedPassthruHotPlugEnabled" json:"fixedPassthruHotPlugEnabled,omitempty" vim:"8.0.1.0"`
+ // Indicates whether FT Metro Cluster is enabled/disabled.
+ //
+ // \- If TRUE, FT Metro Cluster is enabled for the VM. An implicit
+ // Anti-HostGroup will be generated from HostGroup defined for FT
+ // primary, then affine the primary with one HostGroup and affine the
+ // secondary with another HostGroup.
+ // \- If FALSE or unset, FT Metro Cluster is disabled for the VM. Both FT
+ // primary and secondary will be put in the same HostGroup.
+ MetroFtEnabled *bool `xml:"metroFtEnabled" json:"metroFtEnabled,omitempty" vim:"8.0.3.0"`
+ // Indicate the Host Group (`ClusterHostGroup`) for FT
+ // Metro Cluster enabled Virtual Machine.
+ //
+ // Based on the selected Host Group, FT can divide the hosts in the cluster
+ // into two groups and ensure to place FT primary and FT secondary in
+ // different groups.
+ MetroFtHostGroup string `xml:"metroFtHostGroup,omitempty" json:"metroFtHostGroup,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -87752,7 +87344,6 @@ type VirtualMachineConfigInfoOverheadInfo struct {
func init() {
t["VirtualMachineConfigInfoOverheadInfo"] = reflect.TypeOf((*VirtualMachineConfigInfoOverheadInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineConfigInfoOverheadInfo"] = "5.0"
}
// This configuration data object type contains information about the execution
@@ -87798,16 +87389,16 @@ type VirtualMachineConfigOption struct {
//
// The acceptable monitor types
// are enumerated by `VirtualMachineFlagInfoMonitorType_enum`.
- SupportedMonitorType []string `xml:"supportedMonitorType" json:"supportedMonitorType" vim:"2.5"`
+ SupportedMonitorType []string `xml:"supportedMonitorType" json:"supportedMonitorType"`
// Specifies the supported property transports that are
// available for the OVF environment
- SupportedOvfEnvironmentTransport []string `xml:"supportedOvfEnvironmentTransport,omitempty" json:"supportedOvfEnvironmentTransport,omitempty" vim:"4.0"`
+ SupportedOvfEnvironmentTransport []string `xml:"supportedOvfEnvironmentTransport,omitempty" json:"supportedOvfEnvironmentTransport,omitempty"`
// Specifies the supported transports for the OVF
// installation phase.
- SupportedOvfInstallTransport []string `xml:"supportedOvfInstallTransport,omitempty" json:"supportedOvfInstallTransport,omitempty" vim:"4.0"`
+ SupportedOvfInstallTransport []string `xml:"supportedOvfInstallTransport,omitempty" json:"supportedOvfInstallTransport,omitempty"`
// The relations between the properties of the virtual
// machine config spec.
- PropertyRelations []VirtualMachinePropertyRelation `xml:"propertyRelations,omitempty" json:"propertyRelations,omitempty" vim:"6.7"`
+ PropertyRelations []VirtualMachinePropertyRelation `xml:"propertyRelations,omitempty" json:"propertyRelations,omitempty"`
}
func init() {
@@ -87834,7 +87425,7 @@ type VirtualMachineConfigOptionDescriptor struct {
// Indicates whether the associated set of configuration options
// can be used for virtual machine creation on a given host or
// cluster.
- CreateSupported *bool `xml:"createSupported" json:"createSupported,omitempty" vim:"2.5 U2"`
+ CreateSupported *bool `xml:"createSupported" json:"createSupported,omitempty"`
// Indicates whether the associated set of virtual machine
// configuration options is the default one for a given host or
// cluster.
@@ -87846,14 +87437,14 @@ type VirtualMachineConfigOptionDescriptor struct {
// If this setting is TRUE, virtual machine creates will use the
// associated set of configuration options, unless a config version is
// explicitly specified in the `ConfigSpec`.
- DefaultConfigOption *bool `xml:"defaultConfigOption" json:"defaultConfigOption,omitempty" vim:"2.5 U2"`
+ DefaultConfigOption *bool `xml:"defaultConfigOption" json:"defaultConfigOption,omitempty"`
// Indicates whether the associated set of configuration options
// can be used to power on a virtual machine on a given host or
// cluster.
- RunSupported *bool `xml:"runSupported" json:"runSupported,omitempty" vim:"5.1"`
+ RunSupported *bool `xml:"runSupported" json:"runSupported,omitempty"`
// Indicates whether the associated set of configuration options
// can be used as a virtual hardware upgrade target.
- UpgradeSupported *bool `xml:"upgradeSupported" json:"upgradeSupported,omitempty" vim:"5.1"`
+ UpgradeSupported *bool `xml:"upgradeSupported" json:"upgradeSupported,omitempty"`
}
func init() {
@@ -87906,7 +87497,7 @@ type VirtualMachineConfigSpec struct {
// client will be ignored.
//
// Reconfigure privilege: VirtualMachine.Config.Settings
- CreateDate *time.Time `xml:"createDate" json:"createDate,omitempty" vim:"6.7"`
+ CreateDate *time.Time `xml:"createDate" json:"createDate,omitempty"`
// 128-bit SMBIOS UUID of a virtual machine represented as a hexadecimal string
// in "12345678-abcd-1234-cdef-123456789abc" format.
//
@@ -87935,7 +87526,7 @@ type VirtualMachineConfigSpec struct {
// the identifer is not allowed for Fault Tolerance virtual machines.
//
// Reconfigure privilege: VirtualMachine.Config.Settings
- InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty"`
// The NPIV node WWN to be assigned to a virtual machine.
//
// This property should only
@@ -87947,7 +87538,7 @@ type VirtualMachineConfigSpec struct {
// For detail description on WWN, see `VirtualMachineConfigInfo.npivNodeWorldWideName`.
//
// Reconfigure privilege: VirtualMachine.Config.Settings.
- NpivNodeWorldWideName []int64 `xml:"npivNodeWorldWideName,omitempty" json:"npivNodeWorldWideName,omitempty" vim:"2.5"`
+ NpivNodeWorldWideName []int64 `xml:"npivNodeWorldWideName,omitempty" json:"npivNodeWorldWideName,omitempty"`
// The NPIV port WWN to be assigned to a virtual machine.
//
// This property should only
@@ -87959,7 +87550,7 @@ type VirtualMachineConfigSpec struct {
// For detail description on WWN, see `VirtualMachineConfigInfo.npivPortWorldWideName`.
//
// Reconfigure privilege: VirtualMachine.Config.Settings.
- NpivPortWorldWideName []int64 `xml:"npivPortWorldWideName,omitempty" json:"npivPortWorldWideName,omitempty" vim:"2.5"`
+ NpivPortWorldWideName []int64 `xml:"npivPortWorldWideName,omitempty" json:"npivPortWorldWideName,omitempty"`
// This property is used internally in the communication between the
// VirtualCenter server and ESX Server to indicate the source for
// `VirtualMachineConfigSpec.npivNodeWorldWideName` and
@@ -87974,21 +87565,21 @@ type VirtualMachineConfigSpec struct {
// "set".
//
// Reconfigure privilege: VirtualMachine.Config.Settings.
- NpivWorldWideNameType string `xml:"npivWorldWideNameType,omitempty" json:"npivWorldWideNameType,omitempty" vim:"2.5"`
+ NpivWorldWideNameType string `xml:"npivWorldWideNameType,omitempty" json:"npivWorldWideNameType,omitempty"`
// The NPIV node WWNs to be extended from the original list of WWN nummbers.
//
// This
// property should be set to desired number which is an aggregate of existing
// plus new numbers. Desired Node WWNs should always be greater than the existing
// number of node WWNs
- NpivDesiredNodeWwns int16 `xml:"npivDesiredNodeWwns,omitempty" json:"npivDesiredNodeWwns,omitempty" vim:"4.0"`
+ NpivDesiredNodeWwns int16 `xml:"npivDesiredNodeWwns,omitempty" json:"npivDesiredNodeWwns,omitempty"`
// The NPIV port WWNs to be extended from the original list of WWN nummbers.
//
// This
// property should be set to desired number which is an aggregate of existing
// plus new numbers. Desired Node WWNs should always be greater than the existing
// number of port WWNs
- NpivDesiredPortWwns int16 `xml:"npivDesiredPortWwns,omitempty" json:"npivDesiredPortWwns,omitempty" vim:"4.0"`
+ NpivDesiredPortWwns int16 `xml:"npivDesiredPortWwns,omitempty" json:"npivDesiredPortWwns,omitempty"`
// This property is used to enable or disable the NPIV capability on a desired
// virtual machine on a temporary basis.
//
@@ -87997,14 +87588,14 @@ type VirtualMachineConfigSpec struct {
// property is set port WWNs and node WWNs in the VM configuration are preserved.
//
// Reconfigure privilege: VirtualMachine.Config.Settings.
- NpivTemporaryDisabled *bool `xml:"npivTemporaryDisabled" json:"npivTemporaryDisabled,omitempty" vim:"4.0"`
+ NpivTemporaryDisabled *bool `xml:"npivTemporaryDisabled" json:"npivTemporaryDisabled,omitempty"`
// This property is used to check whether the NPIV can be enabled on the Virtual
// machine with non-rdm disks in the configuration, so this is potentially not
// enabling npiv on vmfs disks.
//
// Also this property is used to check whether RDM
// is required to generate WWNs for a virtual machine.
- NpivOnNonRdmDisks *bool `xml:"npivOnNonRdmDisks" json:"npivOnNonRdmDisks,omitempty" vim:"4.0"`
+ NpivOnNonRdmDisks *bool `xml:"npivOnNonRdmDisks" json:"npivOnNonRdmDisks,omitempty"`
// The flag to indicate what type of NPIV WWN operation is going to be performed
// on the virtual machine.
//
@@ -88014,7 +87605,7 @@ type VirtualMachineConfigSpec struct {
// Reconfigure privilege: VirtualMachine.Config.Settings.
//
// See also `VirtualMachineConfigSpecNpivWwnOp_enum`.
- NpivWorldWideNameOp string `xml:"npivWorldWideNameOp,omitempty" json:"npivWorldWideNameOp,omitempty" vim:"2.5"`
+ NpivWorldWideNameOp string `xml:"npivWorldWideNameOp,omitempty" json:"npivWorldWideNameOp,omitempty"`
// 128-bit hash based on the virtual machine's configuration file location
// and the UUID of the host assigned to run the virtual machine.
//
@@ -88034,7 +87625,7 @@ type VirtualMachineConfigSpec struct {
// or `other-64`.
//
// Reconfigure privilege: VirtualMachine.Config.Settings
- AlternateGuestName string `xml:"alternateGuestName,omitempty" json:"alternateGuestName,omitempty" vim:"2.5"`
+ AlternateGuestName string `xml:"alternateGuestName,omitempty" json:"alternateGuestName,omitempty"`
// User-provided description of the virtual machine.
//
// Because this property
@@ -88080,7 +87671,7 @@ type VirtualMachineConfigSpec struct {
//
// The vcpuConfig
array is indexed
// by vcpu number.
- VcpuConfig []VirtualMachineVcpuConfig `xml:"vcpuConfig,omitempty" json:"vcpuConfig,omitempty" vim:"7.0"`
+ VcpuConfig []VirtualMachineVcpuConfig `xml:"vcpuConfig,omitempty" json:"vcpuConfig,omitempty"`
// Number of cores among which to distribute
// CPUs in this virtual machine.
//
@@ -88090,7 +87681,7 @@ type VirtualMachineConfigSpec struct {
// if present, and use default coresPerSocket behavior.
// Leave "numCoresPerSocket" unset to continue with existing
// configuration (either manual or default).
- NumCoresPerSocket int32 `xml:"numCoresPerSocket,omitempty" json:"numCoresPerSocket,omitempty" vim:"5.0"`
+ NumCoresPerSocket int32 `xml:"numCoresPerSocket,omitempty" json:"numCoresPerSocket,omitempty"`
// Size of a virtual machine's memory, in MB.
//
// Reconfigure privilege: VirtualMachine.Config.Memory
@@ -88102,7 +87693,7 @@ type VirtualMachineConfigSpec struct {
// powered-off.
//
// Reconfigure privilege: VirtualMachine.Config.Memory
- MemoryHotAddEnabled *bool `xml:"memoryHotAddEnabled" json:"memoryHotAddEnabled,omitempty" vim:"2.5 U2"`
+ MemoryHotAddEnabled *bool `xml:"memoryHotAddEnabled" json:"memoryHotAddEnabled,omitempty"`
// Indicates whether or not virtual processors can be added to
// the virtual machine while it is running.
//
@@ -88110,7 +87701,7 @@ type VirtualMachineConfigSpec struct {
// powered-off.
//
// Reconfigure privilege: VirtualMachine.Config.CpuCount
- CpuHotAddEnabled *bool `xml:"cpuHotAddEnabled" json:"cpuHotAddEnabled,omitempty" vim:"2.5 U2"`
+ CpuHotAddEnabled *bool `xml:"cpuHotAddEnabled" json:"cpuHotAddEnabled,omitempty"`
// Indicates whether or not virtual processors can be removed
// from the virtual machine while it is running.
//
@@ -88118,38 +87709,38 @@ type VirtualMachineConfigSpec struct {
// powered-off.
//
// Reconfigure privilege: VirtualMachine.Config.CpuCount
- CpuHotRemoveEnabled *bool `xml:"cpuHotRemoveEnabled" json:"cpuHotRemoveEnabled,omitempty" vim:"2.5 U2"`
+ CpuHotRemoveEnabled *bool `xml:"cpuHotRemoveEnabled" json:"cpuHotRemoveEnabled,omitempty"`
// Does this virtual machine have Virtual Intel I/O Controller Hub 7
- VirtualICH7MPresent *bool `xml:"virtualICH7MPresent" json:"virtualICH7MPresent,omitempty" vim:"5.0"`
+ VirtualICH7MPresent *bool `xml:"virtualICH7MPresent" json:"virtualICH7MPresent,omitempty"`
// Does this virtual machine have System Management Controller
- VirtualSMCPresent *bool `xml:"virtualSMCPresent" json:"virtualSMCPresent,omitempty" vim:"5.0"`
+ VirtualSMCPresent *bool `xml:"virtualSMCPresent" json:"virtualSMCPresent,omitempty"`
// Set of virtual devices being modified by the configuration operation.
//
// Reconfigure privileges:
- // - VirtualMachine.Config.Resource if setting the "shares" property of
- // a new or existing VirtualDisk device
- // - VirtualMachine.Config.RawDevice if adding, removing, or modifying a
- // raw device (also required when creating a virtual machine)
- // - VirtualMachine.Config.HostUSBDevice if adding, removing, or
- // modifying a VirtualUSB device backed by a host USB device (also
- // required when creating a virtual machine).
- // - VirtualMachine.Interact.DeviceConnection if setting the "connectable"
- // property of a connectable device
- // - VirtualMachine.Interact.SetCDMedia if setting the "backing" property
- // of a VirtualCdrom device
- // - VirtualMachine.Interact.SetFloppyMedia if setting the "backing" property
- // of a VirtualFloppy device
- // - VirtualMachine.Config.EditDevice if setting any property of a
- // non-CDROM non-Floppy device
- // - VirtualMachine.Config.AddExistingDisk if adding a VirtualDisk, and
- // the fileOperation is unset (also required when creating a virtual machine)
- // - VirtualMachine.Config.AddNewDisk if adding a VirtualDisk and the
- // fileOperation is set (also required when creating a virtual machine)
- // - VirtualMachine.Config.RemoveDisk if removing a VirtualDisk device
- // - VirtualMachine.Config.AddRemoveDevice if adding or removing any
- // device other than disk, raw, or USB device.
- // - Network.Assign if if setting the "backing" property of a
- // VirtualEthernetCard device.
+ // - VirtualMachine.Config.Resource if setting the "shares" property of
+ // a new or existing VirtualDisk device
+ // - VirtualMachine.Config.RawDevice if adding, removing, or modifying a
+ // raw device (also required when creating a virtual machine)
+ // - VirtualMachine.Config.HostUSBDevice if adding, removing, or
+ // modifying a VirtualUSB device backed by a host USB device (also
+ // required when creating a virtual machine).
+ // - VirtualMachine.Interact.DeviceConnection if setting the "connectable"
+ // property of a connectable device
+ // - VirtualMachine.Interact.SetCDMedia if setting the "backing" property
+ // of a VirtualCdrom device
+ // - VirtualMachine.Interact.SetFloppyMedia if setting the "backing" property
+ // of a VirtualFloppy device
+ // - VirtualMachine.Config.EditDevice if setting any property of a
+ // non-CDROM non-Floppy device
+ // - VirtualMachine.Config.AddExistingDisk if adding a VirtualDisk, and
+ // the fileOperation is unset (also required when creating a virtual machine)
+ // - VirtualMachine.Config.AddNewDisk if adding a VirtualDisk and the
+ // fileOperation is set (also required when creating a virtual machine)
+ // - VirtualMachine.Config.RemoveDisk if removing a VirtualDisk device
+ // - VirtualMachine.Config.AddRemoveDevice if adding or removing any
+ // device other than disk, raw, or USB device.
+ // - Network.Assign if if setting the "backing" property of a
+ // VirtualEthernetCard device.
DeviceChange []BaseVirtualDeviceConfigSpec `xml:"deviceChange,omitempty,typeattr" json:"deviceChange,omitempty"`
// Resource limits for CPU.
//
@@ -88162,7 +87753,7 @@ type VirtualMachineConfigSpec struct {
// The latency-sensitivity setting of the virtual machine.
//
// Reconfigure privilege: VirtualMachine.Config.Resource
- LatencySensitivity *LatencySensitivity `xml:"latencySensitivity,omitempty" json:"latencySensitivity,omitempty" vim:"5.1"`
+ LatencySensitivity *LatencySensitivity `xml:"latencySensitivity,omitempty" json:"latencySensitivity,omitempty"`
// Affinity settings for CPU.
//
// Reconfigure privilege: VirtualMachine.Config.Resource
@@ -88210,7 +87801,7 @@ type VirtualMachineConfigSpec struct {
// (also required when setting this property while creating a virtual machine)
//
// See also `VirtualMachineConfigInfoSwapPlacementType_enum`.
- SwapPlacement string `xml:"swapPlacement,omitempty" json:"swapPlacement,omitempty" vim:"2.5"`
+ SwapPlacement string `xml:"swapPlacement,omitempty" json:"swapPlacement,omitempty"`
// Settings that control the boot behavior of the virtual
// machine.
//
@@ -88218,20 +87809,20 @@ type VirtualMachineConfigSpec struct {
// of the virtual machine.
//
// Reconfigure privilege: VirtualMachine.Config.Settings
- BootOptions *VirtualMachineBootOptions `xml:"bootOptions,omitempty" json:"bootOptions,omitempty" vim:"2.5"`
+ BootOptions *VirtualMachineBootOptions `xml:"bootOptions,omitempty" json:"bootOptions,omitempty"`
// Configuration of vApp meta-data for a virtual machine
- VAppConfig BaseVmConfigSpec `xml:"vAppConfig,omitempty,typeattr" json:"vAppConfig,omitempty" vim:"4.0"`
+ VAppConfig BaseVmConfigSpec `xml:"vAppConfig,omitempty,typeattr" json:"vAppConfig,omitempty"`
// Fault Tolerance settings for this virtual machine.
- FtInfo BaseFaultToleranceConfigInfo `xml:"ftInfo,omitempty,typeattr" json:"ftInfo,omitempty" vim:"4.0"`
+ FtInfo BaseFaultToleranceConfigInfo `xml:"ftInfo,omitempty,typeattr" json:"ftInfo,omitempty"`
// vSphere Replication settings.
//
// Note this may become deprecated in the future releases. We
// discourage any unnecessary dependency on this field.
- RepConfig *ReplicationConfigSpec `xml:"repConfig,omitempty" json:"repConfig,omitempty" vim:"6.0"`
+ RepConfig *ReplicationConfigSpec `xml:"repConfig,omitempty" json:"repConfig,omitempty"`
// Set to true, if the vApp configuration should be removed
//
// Reconfigure privilege: VApp.ApplicationConfig
- VAppConfigRemoved *bool `xml:"vAppConfigRemoved" json:"vAppConfigRemoved,omitempty" vim:"4.0"`
+ VAppConfigRemoved *bool `xml:"vAppConfigRemoved" json:"vAppConfigRemoved,omitempty"`
// Indicates whether user-configured virtual asserts will be
// triggered during virtual machine replay.
//
@@ -88240,7 +87831,7 @@ type VirtualMachineConfigSpec struct {
//
// Enabling this functionality can potentially cause some
// performance overhead during virtual machine execution.
- VAssertsEnabled *bool `xml:"vAssertsEnabled" json:"vAssertsEnabled,omitempty" vim:"4.0"`
+ VAssertsEnabled *bool `xml:"vAssertsEnabled" json:"vAssertsEnabled,omitempty"`
// Setting to control enabling/disabling changed block tracking for
// the virtual disks of this VM.
//
@@ -88253,24 +87844,24 @@ type VirtualMachineConfigSpec struct {
//
// Reconfigure privilege: VirtualMachine.Config.ChangeTracking
// (also required when setting this property while creating a virtual machine)
- ChangeTrackingEnabled *bool `xml:"changeTrackingEnabled" json:"changeTrackingEnabled,omitempty" vim:"4.0"`
+ ChangeTrackingEnabled *bool `xml:"changeTrackingEnabled" json:"changeTrackingEnabled,omitempty"`
// Set the desired firmware type for this Virtual Machine.
//
// Possible values are described in
// `GuestOsDescriptorFirmwareType_enum`
- Firmware string `xml:"firmware,omitempty" json:"firmware,omitempty" vim:"5.0"`
+ Firmware string `xml:"firmware,omitempty" json:"firmware,omitempty"`
// If set, this setting limits the maximum number of active remote
// display connections that the virtual machine will support to
// the specified value.
//
// Reconfigure privilege: VirtualMachine.Config.MksControl
- MaxMksConnections int32 `xml:"maxMksConnections,omitempty" json:"maxMksConnections,omitempty" vim:"5.0"`
+ MaxMksConnections int32 `xml:"maxMksConnections,omitempty" json:"maxMksConnections,omitempty"`
// If set to True, this causes the guest operating system to automatically
// logout any active sessions whenever there are no remote display
// connections open to the virtual machine.
//
// Reconfigure privilege: VirtualMachine.Config.MksControl
- GuestAutoLockEnabled *bool `xml:"guestAutoLockEnabled" json:"guestAutoLockEnabled,omitempty" vim:"5.0"`
+ GuestAutoLockEnabled *bool `xml:"guestAutoLockEnabled" json:"guestAutoLockEnabled,omitempty"`
// Specifies that this VM is managed by a VC Extension.
//
// This information is primarily used in the Client to show a custom icon for
@@ -88284,7 +87875,7 @@ type VirtualMachineConfigSpec struct {
// empty `extensionKey`.
//
// Reconfigure privilege: VirtualMachine.Config.ManagedBy
- ManagedBy *ManagedByInfo `xml:"managedBy,omitempty" json:"managedBy,omitempty" vim:"5.0"`
+ ManagedBy *ManagedByInfo `xml:"managedBy,omitempty" json:"managedBy,omitempty"`
// If set true, memory resource reservation for this virtual machine will always be
// equal to the virtual machine's memory size; increases in memory size will be
// rejected when a corresponding reservation increase is not possible.
@@ -88293,7 +87884,7 @@ type VirtualMachineConfigSpec struct {
// may only be enabled if it is currently possible to reserve all of the virtual machine's memory.
//
// Reconfigure privilege: VirtualMachine.Config.Resource
- MemoryReservationLockedToMax *bool `xml:"memoryReservationLockedToMax" json:"memoryReservationLockedToMax,omitempty" vim:"5.0"`
+ MemoryReservationLockedToMax *bool `xml:"memoryReservationLockedToMax" json:"memoryReservationLockedToMax,omitempty"`
// Specifies that this VM will use nested hardware-assisted virtualization.
//
// When creating a new VM:
@@ -88303,18 +87894,18 @@ type VirtualMachineConfigSpec struct {
// true
, the value of this flag is set to true
.
//
// Reconfigure privilege: VirtualMachine.Config.Settings
- NestedHVEnabled *bool `xml:"nestedHVEnabled" json:"nestedHVEnabled,omitempty" vim:"5.1"`
+ NestedHVEnabled *bool `xml:"nestedHVEnabled" json:"nestedHVEnabled,omitempty"`
// Specifies that this VM will have virtual CPU performance counters
// enabled.
//
// Reconfigure privilege: VirtualMachine.Config.Settings
- VPMCEnabled *bool `xml:"vPMCEnabled" json:"vPMCEnabled,omitempty" vim:"5.1"`
+ VPMCEnabled *bool `xml:"vPMCEnabled" json:"vPMCEnabled,omitempty"`
// Configuration of scheduled hardware upgrades.
//
// Reconfigure privilege: VirtualMachine.Config.UpgradeVirtualHardware
//
// See also `ScheduledHardwareUpgradeInfo`.
- ScheduledHardwareUpgradeInfo *ScheduledHardwareUpgradeInfo `xml:"scheduledHardwareUpgradeInfo,omitempty" json:"scheduledHardwareUpgradeInfo,omitempty" vim:"5.1"`
+ ScheduledHardwareUpgradeInfo *ScheduledHardwareUpgradeInfo `xml:"scheduledHardwareUpgradeInfo,omitempty" json:"scheduledHardwareUpgradeInfo,omitempty"`
// Virtual Machine Profile requirement.
//
// Profiles are solution specific.
@@ -88323,24 +87914,24 @@ type VirtualMachineConfigSpec struct {
// interact with it.
// This is an optional parameter and if user doesn't specify profile,
// the default behavior will apply.
- VmProfile []BaseVirtualMachineProfileSpec `xml:"vmProfile,omitempty,typeattr" json:"vmProfile,omitempty" vim:"5.5"`
+ VmProfile []BaseVirtualMachineProfileSpec `xml:"vmProfile,omitempty,typeattr" json:"vmProfile,omitempty"`
// Whether to allow tunneling of clients from the guest VM into the
// common message bus on the host network.
- MessageBusTunnelEnabled *bool `xml:"messageBusTunnelEnabled" json:"messageBusTunnelEnabled,omitempty" vim:"6.0"`
+ MessageBusTunnelEnabled *bool `xml:"messageBusTunnelEnabled" json:"messageBusTunnelEnabled,omitempty"`
// Virtual Machine cryptographic options.
//
// The cryptographic options are inherited to all disks of the VM.
// The cryptographic options for a disk can be different by setting
// its CryptoSpec.
- Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty" vim:"6.5"`
+ Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty"`
// An enum describing whether encrypted vMotion is required for this VM.
//
// Supported values are listed in `VirtualMachineConfigSpecEncryptedVMotionModes_enum`.
// This defaults to opportunistic for a regular VM, and will be set to
// required for an encrypted VM.
- MigrateEncryption string `xml:"migrateEncryption,omitempty" json:"migrateEncryption,omitempty" vim:"6.5"`
+ MigrateEncryption string `xml:"migrateEncryption,omitempty" json:"migrateEncryption,omitempty"`
// Configuration of SGX, Software Guard Extensions for the VM.
- SgxInfo *VirtualMachineSgxInfo `xml:"sgxInfo,omitempty" json:"sgxInfo,omitempty" vim:"7.0"`
+ SgxInfo *VirtualMachineSgxInfo `xml:"sgxInfo,omitempty" json:"sgxInfo,omitempty"`
// An enum describing whether encrypted Fault Tolerance is required
// for this VM.
//
@@ -88351,7 +87942,7 @@ type VirtualMachineConfigSpec struct {
// will be set to opportunistic.
FtEncryptionMode string `xml:"ftEncryptionMode,omitempty" json:"ftEncryptionMode,omitempty" vim:"7.0.2.0"`
// Configuration of GMM, Guest Monitoring Mode for the VM.
- GuestMonitoringModeInfo *VirtualMachineGuestMonitoringModeInfo `xml:"guestMonitoringModeInfo,omitempty" json:"guestMonitoringModeInfo,omitempty" vim:"7.0"`
+ GuestMonitoringModeInfo *VirtualMachineGuestMonitoringModeInfo `xml:"guestMonitoringModeInfo,omitempty" json:"guestMonitoringModeInfo,omitempty"`
// SEV (Secure Encrypted Virtualization) enabled or not.
//
// SEV is enabled when
@@ -88420,6 +88011,22 @@ type VirtualMachineConfigSpec struct {
// guest memory should be selected. If unset, the current value
// is left unchanged.
FixedPassthruHotPlugEnabled *bool `xml:"fixedPassthruHotPlugEnabled" json:"fixedPassthruHotPlugEnabled,omitempty" vim:"8.0.1.0"`
+ // Indicates whether FT Metro Cluster is enabled/disabled.
+ //
+ // \- If TRUE, FT Metro Cluster is enabled for the VM. An implicit
+ // Anti-HostGroup will be generated from HostGroup defined for FT
+ // primary, then affine the primary with one HostGroup and affine the
+ // secondary with another HostGroup.
+ // \- If FALSE or unset, FT Metro Cluster is disabled for the VM. Both FT
+ // primary and secondary will be put in the same HostGroup.
+ MetroFtEnabled *bool `xml:"metroFtEnabled" json:"metroFtEnabled,omitempty" vim:"8.0.3.0"`
+ // Indicate the Host Group (`ClusterHostGroup`) for FT
+ // Metro Cluster enabled Virtual Machine.
+ //
+ // Based on the selected Host Group, FT can divide the hosts in the cluster
+ // into two groups and ensure to place FT primary and FT secondary in
+ // different groups.
+ MetroFtHostGroup string `xml:"metroFtHostGroup,omitempty" json:"metroFtHostGroup,omitempty" vim:"8.0.3.0"`
}
func init() {
@@ -88451,7 +88058,7 @@ type VirtualMachineConfigSummary struct {
// Virtual machine BIOS identification.
Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// VC-specific identifier of the virtual machine
- InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty"`
// Guest operating system identifier (short name).
GuestId string `xml:"guestId,omitempty" json:"guestId,omitempty"`
// Guest operating system name configured on the virtual machine.
@@ -88461,30 +88068,30 @@ type VirtualMachineConfigSummary struct {
// Product information.
//
// References to properties in the URLs are expanded.
- Product *VAppProductInfo `xml:"product,omitempty" json:"product,omitempty" vim:"4.0"`
+ Product *VAppProductInfo `xml:"product,omitempty" json:"product,omitempty"`
// Whether the VM requires a reboot to finish installation.
//
// False if no vApp
// meta-data is configured.
- InstallBootRequired *bool `xml:"installBootRequired" json:"installBootRequired,omitempty" vim:"4.0"`
+ InstallBootRequired *bool `xml:"installBootRequired" json:"installBootRequired,omitempty"`
// Fault Tolerance settings for this virtual machine.
//
// This property will be populated only for fault tolerance virtual
// machines and will be left unset for all other virtual machines.
// See `FaultToleranceConfigInfo` for a description.
- FtInfo BaseFaultToleranceConfigInfo `xml:"ftInfo,omitempty,typeattr" json:"ftInfo,omitempty" vim:"4.0"`
+ FtInfo BaseFaultToleranceConfigInfo `xml:"ftInfo,omitempty,typeattr" json:"ftInfo,omitempty"`
// Specifies that this VM is managed by a VC Extension.
//
// See the
// `managedBy` property in the ConfigSpec
// for more details.
- ManagedBy *ManagedByInfo `xml:"managedBy,omitempty" json:"managedBy,omitempty" vim:"5.0"`
+ ManagedBy *ManagedByInfo `xml:"managedBy,omitempty" json:"managedBy,omitempty"`
// Is TPM present in a VM?
- TpmPresent *bool `xml:"tpmPresent" json:"tpmPresent,omitempty" vim:"6.7"`
+ TpmPresent *bool `xml:"tpmPresent" json:"tpmPresent,omitempty"`
// Number of VMIOP backed devices attached to the virtual machine.
- NumVmiopBackings int32 `xml:"numVmiopBackings,omitempty" json:"numVmiopBackings,omitempty" vim:"6.7"`
+ NumVmiopBackings int32 `xml:"numVmiopBackings,omitempty" json:"numVmiopBackings,omitempty"`
// The hardware version string for this virtual machine.
- HwVersion string `xml:"hwVersion,omitempty" json:"hwVersion,omitempty" vim:"6.9.1"`
+ HwVersion string `xml:"hwVersion,omitempty" json:"hwVersion,omitempty"`
}
func init() {
@@ -88553,7 +88160,6 @@ type VirtualMachineContentLibraryItemInfo struct {
func init() {
t["VirtualMachineContentLibraryItemInfo"] = reflect.TypeOf((*VirtualMachineContentLibraryItemInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineContentLibraryItemInfo"] = "7.0"
}
// Wrapper class to support incremental updates of the cpuFeatureMask.
@@ -88584,11 +88190,11 @@ type VirtualMachineDatastoreInfo struct {
// The maximum size of a file that can reside on this datastore.
MaxFileSize int64 `xml:"maxFileSize" json:"maxFileSize"`
// The maximum capacity of a virtual disk which can be created on this volume
- MaxVirtualDiskCapacity int64 `xml:"maxVirtualDiskCapacity,omitempty" json:"maxVirtualDiskCapacity,omitempty" vim:"5.5"`
+ MaxVirtualDiskCapacity int64 `xml:"maxVirtualDiskCapacity,omitempty" json:"maxVirtualDiskCapacity,omitempty"`
// Maximum raw device mapping size (physical compatibility)
- MaxPhysicalRDMFileSize int64 `xml:"maxPhysicalRDMFileSize,omitempty" json:"maxPhysicalRDMFileSize,omitempty" vim:"6.0"`
+ MaxPhysicalRDMFileSize int64 `xml:"maxPhysicalRDMFileSize,omitempty" json:"maxPhysicalRDMFileSize,omitempty"`
// Maximum raw device mapping size (virtual compatibility)
- MaxVirtualRDMFileSize int64 `xml:"maxVirtualRDMFileSize,omitempty" json:"maxVirtualRDMFileSize,omitempty" vim:"6.0"`
+ MaxVirtualRDMFileSize int64 `xml:"maxVirtualRDMFileSize,omitempty" json:"maxVirtualRDMFileSize,omitempty"`
// Access mode for this datastore.
//
// This is either
@@ -88604,22 +88210,22 @@ type VirtualMachineDatastoreInfo struct {
// In the case of a cluster compute resource, this property
// is aggregated from the values reported by individual hosts
// as follows:
- // - If at least one host reports
- // `vStorageSupported`,
- // then it is set to
- // `vStorageSupported`.
- // - Else if at least one host reports
- // `vStorageUnknown`,
- // it is set to
- // `vStorageUnknown`.
- // - Else if at least one host reports
- // `vStorageUnsupported`,
- // it is set to
- // `vStorageUnsupported`.
- // - Else it is unset.
+ // - If at least one host reports
+ // `vStorageSupported`,
+ // then it is set to
+ // `vStorageSupported`.
+ // - Else if at least one host reports
+ // `vStorageUnknown`,
+ // it is set to
+ // `vStorageUnknown`.
+ // - Else if at least one host reports
+ // `vStorageUnsupported`,
+ // it is set to
+ // `vStorageUnsupported`.
+ // - Else it is unset.
//
// See also `FileSystemMountInfoVStorageSupportStatus_enum`.
- VStorageSupport string `xml:"vStorageSupport,omitempty" json:"vStorageSupport,omitempty" vim:"5.0"`
+ VStorageSupport string `xml:"vStorageSupport,omitempty" json:"vStorageSupport,omitempty"`
}
func init() {
@@ -88659,30 +88265,30 @@ type VirtualMachineDefaultPowerOpInfo struct {
// Describes the default power off type for this virtual machine.
//
// The possible values are specified by the PowerOpType.
- // - hard - Perform power off by using the PowerOff method.
- // - soft - Perform power off by using the ShutdownGuest method.
- // - preset - The preset value is specified in the defaultPowerOffType
- // section.
+ // - hard - Perform power off by using the PowerOff method.
+ // - soft - Perform power off by using the ShutdownGuest method.
+ // - preset - The preset value is specified in the defaultPowerOffType
+ // section.
//
// This setting is advisory and clients can choose to ignore it.
PowerOffType string `xml:"powerOffType,omitempty" json:"powerOffType,omitempty"`
// Describes the default suspend type for this virtual machine.
//
// The possible values are specified by the PowerOpType.
- // - hard - Perform suspend by using the Suspend method.
- // - soft - Perform suspend by using the StandbyGuest method.
- // - preset - The preset value is specified in the defaultSuspendType
- // section.
+ // - hard - Perform suspend by using the Suspend method.
+ // - soft - Perform suspend by using the StandbyGuest method.
+ // - preset - The preset value is specified in the defaultSuspendType
+ // section.
//
// This setting is advisory and clients can choose to ignore it.
SuspendType string `xml:"suspendType,omitempty" json:"suspendType,omitempty"`
// Describes the default reset type for this virtual machine.
//
// The possible values are specified by the PowerOpType.
- // - hard - Perform reset by using the Reset method.
- // - soft - Perform reset by using the RebootGuest method.
- // - preset - The preset value is specified in the defaultResetType
- // section.
+ // - hard - Perform reset by using the Reset method.
+ // - soft - Perform reset by using the RebootGuest method.
+ // - preset - The preset value is specified in the defaultResetType
+ // section.
//
// This setting is advisory and clients can choose to ignore it.
ResetType string `xml:"resetType,omitempty" json:"resetType,omitempty"`
@@ -88712,7 +88318,6 @@ type VirtualMachineDefaultProfileSpec struct {
func init() {
t["VirtualMachineDefaultProfileSpec"] = reflect.TypeOf((*VirtualMachineDefaultProfileSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineDefaultProfileSpec"] = "6.0"
}
// Policy specification that carries a pre-defined Storage Policy to be associated
@@ -88733,7 +88338,7 @@ type VirtualMachineDefinedProfileSpec struct {
ProfileId string `xml:"profileId" json:"profileId"`
// Specification containing replication related parameters, sent to the Replication Data Service
// provider.
- ReplicationSpec *ReplicationSpec `xml:"replicationSpec,omitempty" json:"replicationSpec,omitempty" vim:"6.5"`
+ ReplicationSpec *ReplicationSpec `xml:"replicationSpec,omitempty" json:"replicationSpec,omitempty"`
// Profile data sent to the Storage Backend by vSphere.
//
// This data is provided by the SPBM component of the vSphere platform.
@@ -88742,12 +88347,11 @@ type VirtualMachineDefinedProfileSpec struct {
// Parameterized Storage Profiles
// Extra configuration that is not expressed as a capability in the Profile
// definition.
- ProfileParams []KeyValue `xml:"profileParams,omitempty" json:"profileParams,omitempty" vim:"6.7"`
+ ProfileParams []KeyValue `xml:"profileParams,omitempty" json:"profileParams,omitempty"`
}
func init() {
t["VirtualMachineDefinedProfileSpec"] = reflect.TypeOf((*VirtualMachineDefinedProfileSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineDefinedProfileSpec"] = "5.5"
}
// The DeviceRuntimeInfo data object type provides information about
@@ -88763,7 +88367,6 @@ type VirtualMachineDeviceRuntimeInfo struct {
func init() {
t["VirtualMachineDeviceRuntimeInfo"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineDeviceRuntimeInfo"] = "4.1"
}
// Runtime state of a device.
@@ -88776,7 +88379,6 @@ type VirtualMachineDeviceRuntimeInfoDeviceRuntimeState struct {
func init() {
t["VirtualMachineDeviceRuntimeInfoDeviceRuntimeState"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfoDeviceRuntimeState)(nil)).Elem()
- minAPIVersionForType["VirtualMachineDeviceRuntimeInfoDeviceRuntimeState"] = "4.1"
}
// Runtime state of a virtual ethernet card device.
@@ -88884,7 +88486,7 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
//
// `green` indicates that the reservation specified on the
// virtual network adapter is being fulfilled.
- ReservationStatus string `xml:"reservationStatus,omitempty" json:"reservationStatus,omitempty" vim:"5.5"`
+ ReservationStatus string `xml:"reservationStatus,omitempty" json:"reservationStatus,omitempty"`
// The status indicating the state of virtual network adapter's attachment
// to an opaque network.
//
@@ -88896,15 +88498,14 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
//
// `green` indicates that the network
// adapater is successfully attached to opaque network.
- AttachmentStatus string `xml:"attachmentStatus,omitempty" json:"attachmentStatus,omitempty" vim:"6.7"`
+ AttachmentStatus string `xml:"attachmentStatus,omitempty" json:"attachmentStatus,omitempty"`
// These network adapter requirements must have equivalent capabilities
// on the virtual switch in order to power on or migrate to the host.
- FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty" vim:"6.7"`
+ FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty"`
}
func init() {
t["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState)(nil)).Elem()
- minAPIVersionForType["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState"] = "4.1"
}
// The DiskDeviceInfo class contains basic information about a specific disk hardware
@@ -88941,7 +88542,6 @@ type VirtualMachineDisplayTopology struct {
func init() {
t["VirtualMachineDisplayTopology"] = reflect.TypeOf((*VirtualMachineDisplayTopology)(nil)).Elem()
- minAPIVersionForType["VirtualMachineDisplayTopology"] = "2.5 U2"
}
// Description of a Device Virtualization Extensions (DVX) device class.
@@ -88984,7 +88584,6 @@ type VirtualMachineDynamicPassthroughInfo struct {
func init() {
t["VirtualMachineDynamicPassthroughInfo"] = reflect.TypeOf((*VirtualMachineDynamicPassthroughInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineDynamicPassthroughInfo"] = "7.0"
}
// The EmptyIndependentFilterSpec data object is used to specify empty independent
@@ -89013,7 +88612,6 @@ type VirtualMachineEmptyProfileSpec struct {
func init() {
t["VirtualMachineEmptyProfileSpec"] = reflect.TypeOf((*VirtualMachineEmptyProfileSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineEmptyProfileSpec"] = "5.5"
}
// Feature requirement contains a key, featureName and an opaque value
@@ -89035,7 +88633,6 @@ type VirtualMachineFeatureRequirement struct {
func init() {
t["VirtualMachineFeatureRequirement"] = reflect.TypeOf((*VirtualMachineFeatureRequirement)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFeatureRequirement"] = "5.1"
}
// The FileInfo data object type contains the locations of virtual machine
@@ -89087,7 +88684,7 @@ type VirtualMachineFileInfo struct {
LogDirectory string `xml:"logDirectory,omitempty" json:"logDirectory,omitempty"`
// Directory to store the fault tolerance meta data files for the
// virtual machine.
- FtMetadataDirectory string `xml:"ftMetadataDirectory,omitempty" json:"ftMetadataDirectory,omitempty" vim:"6.0"`
+ FtMetadataDirectory string `xml:"ftMetadataDirectory,omitempty" json:"ftMetadataDirectory,omitempty"`
}
func init() {
@@ -89193,7 +88790,6 @@ type VirtualMachineFileLayoutEx struct {
func init() {
t["VirtualMachineFileLayoutEx"] = reflect.TypeOf((*VirtualMachineFileLayoutEx)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFileLayoutEx"] = "4.0"
}
// Layout of a virtual disk, including the base- and delta- disks.
@@ -89210,7 +88806,6 @@ type VirtualMachineFileLayoutExDiskLayout struct {
func init() {
t["VirtualMachineFileLayoutExDiskLayout"] = reflect.TypeOf((*VirtualMachineFileLayoutExDiskLayout)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFileLayoutExDiskLayout"] = "4.0"
}
// Information about a single unit of a virtual disk, such as
@@ -89237,7 +88832,6 @@ type VirtualMachineFileLayoutExDiskUnit struct {
func init() {
t["VirtualMachineFileLayoutExDiskUnit"] = reflect.TypeOf((*VirtualMachineFileLayoutExDiskUnit)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFileLayoutExDiskUnit"] = "4.0"
}
// Basic information about a file.
@@ -89270,21 +88864,20 @@ type VirtualMachineFileLayoutExFileInfo struct {
// might be set but the value could be over-estimated due to
// the inability of the NAS based storage to provide an
// accurate value.
- UniqueSize int64 `xml:"uniqueSize,omitempty" json:"uniqueSize,omitempty" vim:"5.1"`
+ UniqueSize int64 `xml:"uniqueSize,omitempty" json:"uniqueSize,omitempty"`
// Backing object's durable and unmutable identifier.
//
// Each backing object has a unique identifier which is not settable.
// This property is applied to the file backed by a storage object,
// such as vvol.
- BackingObjectId string `xml:"backingObjectId,omitempty" json:"backingObjectId,omitempty" vim:"6.0"`
+ BackingObjectId string `xml:"backingObjectId,omitempty" json:"backingObjectId,omitempty"`
// Flag which indicates the accessibility of the file
// when the file info object was created.
- Accessible *bool `xml:"accessible" json:"accessible,omitempty" vim:"6.0"`
+ Accessible *bool `xml:"accessible" json:"accessible,omitempty"`
}
func init() {
t["VirtualMachineFileLayoutExFileInfo"] = reflect.TypeOf((*VirtualMachineFileLayoutExFileInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFileLayoutExFileInfo"] = "4.0"
}
// Layout of a snapshot.
@@ -89302,7 +88895,7 @@ type VirtualMachineFileLayoutExSnapshotLayout struct {
// Powered off snapshots do not have a memory component and in some cases
// the memory component is combined with the data component. When a memory
// component does not exist, the value is initialized to -1.
- MemoryKey int32 `xml:"memoryKey,omitempty" json:"memoryKey,omitempty" vim:"6.0"`
+ MemoryKey int32 `xml:"memoryKey,omitempty" json:"memoryKey,omitempty"`
// Layout of each virtual disk of the virtual machine when the
// snapshot was taken.
Disk []VirtualMachineFileLayoutExDiskLayout `xml:"disk,omitempty" json:"disk,omitempty"`
@@ -89310,7 +88903,6 @@ type VirtualMachineFileLayoutExSnapshotLayout struct {
func init() {
t["VirtualMachineFileLayoutExSnapshotLayout"] = reflect.TypeOf((*VirtualMachineFileLayoutExSnapshotLayout)(nil)).Elem()
- minAPIVersionForType["VirtualMachineFileLayoutExSnapshotLayout"] = "4.0"
}
// Enumerates the set of files that make up a snapshot or redo-point
@@ -89355,7 +88947,7 @@ type VirtualMachineFlagInfo struct {
//
// See `VirtualMachineFlagInfoMonitorType_enum`
// for possible values for this property.
- MonitorType string `xml:"monitorType,omitempty" json:"monitorType,omitempty" vim:"2.5"`
+ MonitorType string `xml:"monitorType,omitempty" json:"monitorType,omitempty"`
// Deprecated as of vSphere API 6.7.
//
// Specifies how the VCPUs of a virtual machine are allowed to
@@ -89371,9 +88963,9 @@ type VirtualMachineFlagInfo struct {
//
// Flag to specify whether snapshots are disabled for this virtual
// machine.
- SnapshotDisabled *bool `xml:"snapshotDisabled" json:"snapshotDisabled,omitempty" vim:"2.5"`
+ SnapshotDisabled *bool `xml:"snapshotDisabled" json:"snapshotDisabled,omitempty"`
// Flag to specify whether the snapshot tree is locked for this virtual machine.
- SnapshotLocked *bool `xml:"snapshotLocked" json:"snapshotLocked,omitempty" vim:"2.5"`
+ SnapshotLocked *bool `xml:"snapshotLocked" json:"snapshotLocked,omitempty"`
// Indicates whether disk UUIDs are being used by this virtual machine.
//
// If this flag is set to false, disk UUIDs are not exposed to the guest.
@@ -89384,7 +88976,7 @@ type VirtualMachineFlagInfo struct {
// virtual machines where the ability to move to older platforms is
// important, this flag should be set to false. If the value is unset,
// the behavior 'false' will be used.
- DiskUuidEnabled *bool `xml:"diskUuidEnabled" json:"diskUuidEnabled,omitempty" vim:"2.5"`
+ DiskUuidEnabled *bool `xml:"diskUuidEnabled" json:"diskUuidEnabled,omitempty"`
// Indicates whether or not the system will try to use nested page
// table hardware support, if available.
//
@@ -89398,7 +88990,7 @@ type VirtualMachineFlagInfo struct {
//
// `VirtualMachineFlagInfoVirtualMmuUsage_enum` represents the set of
// possible values.
- VirtualMmuUsage string `xml:"virtualMmuUsage,omitempty" json:"virtualMmuUsage,omitempty" vim:"2.5"`
+ VirtualMmuUsage string `xml:"virtualMmuUsage,omitempty" json:"virtualMmuUsage,omitempty"`
// Indicates whether or not the system will try to use Hardware
// Virtualization (HV) support for instruction virtualization,
// if available.
@@ -89432,7 +89024,7 @@ type VirtualMachineFlagInfo struct {
// (hvOn, on) - Use both VT/AMD-V and EPT/RVI.
// (hvOn, off) - Use VT/AMD-V but do not use EPT/RVI.
// (hvOff, off) - Do not use any of these hardware acceleration technologies.
- VirtualExecUsage string `xml:"virtualExecUsage,omitempty" json:"virtualExecUsage,omitempty" vim:"4.0"`
+ VirtualExecUsage string `xml:"virtualExecUsage,omitempty" json:"virtualExecUsage,omitempty"`
// Specifies the power-off behavior for a virtual machine that has
// a snapshot.
//
@@ -89440,7 +89032,7 @@ type VirtualMachineFlagInfo struct {
// be used.
//
// See also `VirtualMachinePowerOffBehavior_enum`.
- SnapshotPowerOffBehavior string `xml:"snapshotPowerOffBehavior,omitempty" json:"snapshotPowerOffBehavior,omitempty" vim:"2.5"`
+ SnapshotPowerOffBehavior string `xml:"snapshotPowerOffBehavior,omitempty" json:"snapshotPowerOffBehavior,omitempty"`
// Deprecated as of vSphere API 6.0.
//
// Flag to specify whether record and replay operations are
@@ -89453,20 +89045,20 @@ type VirtualMachineFlagInfo struct {
// already has a recording, replay will be disallowed, though
// the recording will be preserved.
// If the value is unset, the behavior 'false' will be used.
- RecordReplayEnabled *bool `xml:"recordReplayEnabled" json:"recordReplayEnabled,omitempty" vim:"4.0"`
+ RecordReplayEnabled *bool `xml:"recordReplayEnabled" json:"recordReplayEnabled,omitempty"`
// Indicates the type of fault tolerance type the virtual machine is
// configured to use.
//
// `VirtualMachineFaultToleranceType_enum` represents the set of
// possible values.
- FaultToleranceType string `xml:"faultToleranceType,omitempty" json:"faultToleranceType,omitempty" vim:"6.0"`
+ FaultToleranceType string `xml:"faultToleranceType,omitempty" json:"faultToleranceType,omitempty"`
// Flag to specify whether common CBRC digest cache is enabled for this
// virtual machine.
//
// The common CBRC cache is shared between the hot added disks in the VM.
// If this flag is set to 'true' the VM will allocate a commont digest
// cache on power on.
- CbrcCacheEnabled *bool `xml:"cbrcCacheEnabled" json:"cbrcCacheEnabled,omitempty" vim:"6.5"`
+ CbrcCacheEnabled *bool `xml:"cbrcCacheEnabled" json:"cbrcCacheEnabled,omitempty"`
// Flag to specify if Intel Virtualization Technology for Directed I/O
// is enabled for this virtual machine.
//
@@ -89475,7 +89067,7 @@ type VirtualMachineFlagInfo struct {
// and this flag is set to false
error is returned.
// \- If this flag is unset and vim.vm.FlagInfo.vbsEnabled is set to
// true
, the value of this flag is set to true
.
- VvtdEnabled *bool `xml:"vvtdEnabled" json:"vvtdEnabled,omitempty" vim:"6.7"`
+ VvtdEnabled *bool `xml:"vvtdEnabled" json:"vvtdEnabled,omitempty"`
// Flag to specify if Virtualization-based security
// is enabled for this virtual machine.
//
@@ -89490,7 +89082,7 @@ type VirtualMachineFlagInfo struct {
// returned.
// \- If vim.vm.firmware is not set to bios
, it is set
// to efi
. Else error is returned.
- VbsEnabled *bool `xml:"vbsEnabled" json:"vbsEnabled,omitempty" vim:"6.7"`
+ VbsEnabled *bool `xml:"vbsEnabled" json:"vbsEnabled,omitempty"`
}
func init() {
@@ -89528,7 +89120,7 @@ type VirtualMachineForkConfigInfo struct {
// belongs to.
//
// Applicable for parent VirtualMachines only.
- ParentForkGroupId string `xml:"parentForkGroupId,omitempty" json:"parentForkGroupId,omitempty" vim:"6.5"`
+ ParentForkGroupId string `xml:"parentForkGroupId,omitempty" json:"parentForkGroupId,omitempty"`
// The flag to indicate the fork child type.
//
// For a persistent child
@@ -89541,7 +89133,6 @@ type VirtualMachineForkConfigInfo struct {
func init() {
t["VirtualMachineForkConfigInfo"] = reflect.TypeOf((*VirtualMachineForkConfigInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineForkConfigInfo"] = "6.0"
}
// This data object describes the guest integrity platform configuration of
@@ -89559,7 +89150,6 @@ type VirtualMachineGuestIntegrityInfo struct {
func init() {
t["VirtualMachineGuestIntegrityInfo"] = reflect.TypeOf((*VirtualMachineGuestIntegrityInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineGuestIntegrityInfo"] = "6.5"
}
// This data object describes the GMM (Guest Mode Monitoring) configuration
@@ -89573,7 +89163,6 @@ type VirtualMachineGuestMonitoringModeInfo struct {
func init() {
t["VirtualMachineGuestMonitoringModeInfo"] = reflect.TypeOf((*VirtualMachineGuestMonitoringModeInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineGuestMonitoringModeInfo"] = "7.0"
}
// This data object type encapsulates configuration settings
@@ -89590,7 +89179,6 @@ type VirtualMachineGuestQuiesceSpec struct {
func init() {
t["VirtualMachineGuestQuiesceSpec"] = reflect.TypeOf((*VirtualMachineGuestQuiesceSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineGuestQuiesceSpec"] = "6.5"
}
// A subset of virtual machine guest information.
@@ -89610,19 +89198,19 @@ type VirtualMachineGuestSummary struct {
//
// Current version status of VMware Tools in the guest operating system,
// if known.
- ToolsVersionStatus string `xml:"toolsVersionStatus,omitempty" json:"toolsVersionStatus,omitempty" vim:"4.0"`
+ ToolsVersionStatus string `xml:"toolsVersionStatus,omitempty" json:"toolsVersionStatus,omitempty"`
// Current version status of VMware Tools in the guest operating system,
// if known.
- ToolsVersionStatus2 string `xml:"toolsVersionStatus2,omitempty" json:"toolsVersionStatus2,omitempty" vim:"5.0"`
+ ToolsVersionStatus2 string `xml:"toolsVersionStatus2,omitempty" json:"toolsVersionStatus2,omitempty"`
// Current running status of VMware Tools in the guest operating system,
// if known.
- ToolsRunningStatus string `xml:"toolsRunningStatus,omitempty" json:"toolsRunningStatus,omitempty" vim:"4.0"`
+ ToolsRunningStatus string `xml:"toolsRunningStatus,omitempty" json:"toolsRunningStatus,omitempty"`
// Hostname of the guest operating system, if known.
HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
// Primary IP address assigned to the guest operating system, if known.
IpAddress string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
// The hardware version string for this virtual machine.
- HwVersion string `xml:"hwVersion,omitempty" json:"hwVersion,omitempty" vim:"6.9.1"`
+ HwVersion string `xml:"hwVersion,omitempty" json:"hwVersion,omitempty"`
}
func init() {
@@ -89682,12 +89270,11 @@ type VirtualMachineImportSpec struct {
// for the root node in an ImportSpec tree.
//
// Refers instance of `ResourcePool`.
- ResPoolEntity *ManagedObjectReference `xml:"resPoolEntity,omitempty" json:"resPoolEntity,omitempty" vim:"4.1"`
+ ResPoolEntity *ManagedObjectReference `xml:"resPoolEntity,omitempty" json:"resPoolEntity,omitempty"`
}
func init() {
t["VirtualMachineImportSpec"] = reflect.TypeOf((*VirtualMachineImportSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineImportSpec"] = "4.0"
}
// The IndependentFilterSpec data object is used to specify the independent
@@ -89721,15 +89308,15 @@ type VirtualMachineInstantCloneSpec struct {
// resources the newly created virtual machine will use.
//
// The location might be empty or specify:
- // - The folder where the virtual machine should be located. If not
- // specified, the root VM folder of the source VM will be used.
- // - A datastore where the InstantCloned virtual machine will be located
- // on the physical storage.
- // - A resource pool determines where compute resources will be
- // available to the clone.
- // - A device change specification. The only allowed device changes
- // are edits of VirtualEthernetCard and filebacked Serial/Parallel
- // ports.
+ // - The folder where the virtual machine should be located. If not
+ // specified, the root VM folder of the source VM will be used.
+ // - A datastore where the InstantCloned virtual machine will be located
+ // on the physical storage.
+ // - A resource pool determines where compute resources will be
+ // available to the clone.
+ // - A device change specification. The only allowed device changes
+ // are edits of VirtualEthernetCard and filebacked Serial/Parallel
+ // ports.
//
// All other settings are NOT supported.
Location VirtualMachineRelocateSpec `xml:"location" json:"location"`
@@ -89746,7 +89333,6 @@ type VirtualMachineInstantCloneSpec struct {
func init() {
t["VirtualMachineInstantCloneSpec"] = reflect.TypeOf((*VirtualMachineInstantCloneSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineInstantCloneSpec"] = "6.7"
}
// The LegacyNetworkSwitchInfo data object type contains information about
@@ -89787,7 +89373,6 @@ type VirtualMachineMemoryReservationInfo struct {
func init() {
t["VirtualMachineMemoryReservationInfo"] = reflect.TypeOf((*VirtualMachineMemoryReservationInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineMemoryReservationInfo"] = "2.5"
}
// The VirtualMachineReservationSpec data object specifies
@@ -89806,7 +89391,6 @@ type VirtualMachineMemoryReservationSpec struct {
func init() {
t["VirtualMachineMemoryReservationSpec"] = reflect.TypeOf((*VirtualMachineMemoryReservationSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineMemoryReservationSpec"] = "2.5"
}
// Message data which is intended to be displayed according
@@ -89854,12 +89438,11 @@ type VirtualMachineMessage struct {
//
// Use `SessionManager*.*SessionManager.SetLocale` to
// change the session locale.
- Text string `xml:"text,omitempty" json:"text,omitempty" vim:"4.0"`
+ Text string `xml:"text,omitempty" json:"text,omitempty"`
}
func init() {
t["VirtualMachineMessage"] = reflect.TypeOf((*VirtualMachineMessage)(nil)).Elem()
- minAPIVersionForType["VirtualMachineMessage"] = "2.5"
}
// VmMetadata is a pair of VM ID and opaque metadata.
@@ -89878,7 +89461,6 @@ type VirtualMachineMetadataManagerVmMetadata struct {
func init() {
t["VirtualMachineMetadataManagerVmMetadata"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadata)(nil)).Elem()
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadata"] = "5.5"
}
// VmMetadataInput specifies the operation and metadata for a
@@ -89896,7 +89478,6 @@ type VirtualMachineMetadataManagerVmMetadataInput struct {
func init() {
t["VirtualMachineMetadataManagerVmMetadataInput"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadataInput)(nil)).Elem()
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataInput"] = "5.5"
}
// VmMetadataOwner defines the namespace for an owner
@@ -89914,7 +89495,6 @@ type VirtualMachineMetadataManagerVmMetadataOwner struct {
func init() {
t["VirtualMachineMetadataManagerVmMetadataOwner"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadataOwner)(nil)).Elem()
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataOwner"] = "5.5"
}
// A list of VmMetadataResults are returned for successful and
@@ -89933,7 +89513,6 @@ type VirtualMachineMetadataManagerVmMetadataResult struct {
func init() {
t["VirtualMachineMetadataManagerVmMetadataResult"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadataResult)(nil)).Elem()
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataResult"] = "5.5"
}
// The `VirtualMachineMksConnection` object describes an MKS style connection
@@ -89976,7 +89555,7 @@ type VirtualMachineMksTicket struct {
Port int32 `xml:"port,omitempty" json:"port,omitempty"`
// The expected thumbprint of the SSL cert of the host to which
// we are connecting.
- SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty" vim:"2.5"`
+ SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty"`
}
func init() {
@@ -89991,7 +89570,7 @@ type VirtualMachineNetworkInfo struct {
// Information about the network
Network BaseNetworkSummary `xml:"network,typeattr" json:"network"`
// Key of parent vSwitch of the network
- Vswitch string `xml:"vswitch,omitempty" json:"vswitch,omitempty" vim:"6.5"`
+ Vswitch string `xml:"vswitch,omitempty" json:"vswitch,omitempty"`
}
func init() {
@@ -90042,7 +89621,6 @@ type VirtualMachinePciPassthroughInfo struct {
func init() {
t["VirtualMachinePciPassthroughInfo"] = reflect.TypeOf((*VirtualMachinePciPassthroughInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachinePciPassthroughInfo"] = "4.0"
}
// Description of a gpu PCI device that can be shared with a virtual machine.
@@ -90055,7 +89633,6 @@ type VirtualMachinePciSharedGpuPassthroughInfo struct {
func init() {
t["VirtualMachinePciSharedGpuPassthroughInfo"] = reflect.TypeOf((*VirtualMachinePciSharedGpuPassthroughInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachinePciSharedGpuPassthroughInfo"] = "6.0"
}
// The PrecisionClockInfo data object type describes available host
@@ -90073,7 +89650,6 @@ type VirtualMachinePrecisionClockInfo struct {
func init() {
t["VirtualMachinePrecisionClockInfo"] = reflect.TypeOf((*VirtualMachinePrecisionClockInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachinePrecisionClockInfo"] = "7.0"
}
// The `VirtualMachineProfileDetails` data object type provides details of the policy
@@ -90090,7 +89666,6 @@ type VirtualMachineProfileDetails struct {
func init() {
t["VirtualMachineProfileDetails"] = reflect.TypeOf((*VirtualMachineProfileDetails)(nil)).Elem()
- minAPIVersionForType["VirtualMachineProfileDetails"] = "6.7"
}
// Details of the policies associated with Virtual Disks.
@@ -90105,7 +89680,6 @@ type VirtualMachineProfileDetailsDiskProfileDetails struct {
func init() {
t["VirtualMachineProfileDetailsDiskProfileDetails"] = reflect.TypeOf((*VirtualMachineProfileDetailsDiskProfileDetails)(nil)).Elem()
- minAPIVersionForType["VirtualMachineProfileDetailsDiskProfileDetails"] = "6.7"
}
// The extensible data object type encapsulates additional data specific
@@ -90132,7 +89706,6 @@ type VirtualMachineProfileRawData struct {
func init() {
t["VirtualMachineProfileRawData"] = reflect.TypeOf((*VirtualMachineProfileRawData)(nil)).Elem()
- minAPIVersionForType["VirtualMachineProfileRawData"] = "5.5"
}
// The ProfileSpec data object is used to specify the Storage Policy to be
@@ -90143,7 +89716,6 @@ type VirtualMachineProfileSpec struct {
func init() {
t["VirtualMachineProfileSpec"] = reflect.TypeOf((*VirtualMachineProfileSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineProfileSpec"] = "5.5"
}
// Data object which represents relations between a
@@ -90161,7 +89733,6 @@ type VirtualMachinePropertyRelation struct {
func init() {
t["VirtualMachinePropertyRelation"] = reflect.TypeOf((*VirtualMachinePropertyRelation)(nil)).Elem()
- minAPIVersionForType["VirtualMachinePropertyRelation"] = "6.7"
}
// This data object type describes the question that is currently
@@ -90178,7 +89749,7 @@ type VirtualMachineQuestionInfo struct {
// The message data for the individual messages that comprise the question.
//
// Only available on servers that support localization.
- Message []VirtualMachineMessage `xml:"message,omitempty" json:"message,omitempty" vim:"2.5"`
+ Message []VirtualMachineMessage `xml:"message,omitempty" json:"message,omitempty"`
}
func init() {
@@ -90200,12 +89771,12 @@ type VirtualMachineQuickStats struct {
// Basic CPU performance statistics, in MHz.
//
// Valid while the virtual machine is running.
- OverallCpuDemand int32 `xml:"overallCpuDemand,omitempty" json:"overallCpuDemand,omitempty" vim:"4.0"`
+ OverallCpuDemand int32 `xml:"overallCpuDemand,omitempty" json:"overallCpuDemand,omitempty"`
// Percentage of time that the virtual machine was ready, but could not
// get scheduled to run on the physical CPU.
//
// Valid while the virtual machine is running.
- OverallCpuReadiness int32 `xml:"overallCpuReadiness,omitempty" json:"overallCpuReadiness,omitempty" vim:"7.0"`
+ OverallCpuReadiness int32 `xml:"overallCpuReadiness,omitempty" json:"overallCpuReadiness,omitempty"`
// Guest memory utilization statistics, in MB.
//
// This
@@ -90243,7 +89814,7 @@ type VirtualMachineQuickStats struct {
// case CPU allocation for this virtual machine, that is, the amount of CPU
// resource this virtual machine would receive if all virtual machines running
// in the cluster went to maximum consumption. Units are MHz.
- StaticCpuEntitlement int32 `xml:"staticCpuEntitlement,omitempty" json:"staticCpuEntitlement,omitempty" vim:"4.0"`
+ StaticCpuEntitlement int32 `xml:"staticCpuEntitlement,omitempty" json:"staticCpuEntitlement,omitempty"`
// The static memory resource entitlement for a virtual machine.
//
// This value is
@@ -90252,42 +89823,42 @@ type VirtualMachineQuickStats struct {
// case memory allocation for this virtual machine, that is, the amount of
// memory this virtual machine would receive if all virtual machines running
// in the cluster went to maximum consumption. Units are MB.
- StaticMemoryEntitlement int32 `xml:"staticMemoryEntitlement,omitempty" json:"staticMemoryEntitlement,omitempty" vim:"4.0"`
+ StaticMemoryEntitlement int32 `xml:"staticMemoryEntitlement,omitempty" json:"staticMemoryEntitlement,omitempty"`
// Amount of host physical memory that is mapped for a virtual machine,
// in MB.
//
// The number can be between 0 and the configured memory size of
// the virtual machine. Valid while the virtual machine is running.
- GrantedMemory int32 `xml:"grantedMemory,omitempty" json:"grantedMemory,omitempty" vim:"7.0"`
+ GrantedMemory int32 `xml:"grantedMemory,omitempty" json:"grantedMemory,omitempty"`
// The portion of memory, in MB, that is granted to this VM from non-shared
// host memory.
- PrivateMemory int32 `xml:"privateMemory,omitempty" json:"privateMemory,omitempty" vim:"4.0"`
+ PrivateMemory int32 `xml:"privateMemory,omitempty" json:"privateMemory,omitempty"`
// The portion of memory, in MB, that is granted to this VM from host memory
// that is shared between VMs.
- SharedMemory int32 `xml:"sharedMemory,omitempty" json:"sharedMemory,omitempty" vim:"4.0"`
+ SharedMemory int32 `xml:"sharedMemory,omitempty" json:"sharedMemory,omitempty"`
// The portion of memory, in MB, that is granted to this VM from the host's swap
// space.
//
// This is a sign that there is memory pressure on the host.
- SwappedMemory int32 `xml:"swappedMemory,omitempty" json:"swappedMemory,omitempty" vim:"4.0"`
+ SwappedMemory int32 `xml:"swappedMemory,omitempty" json:"swappedMemory,omitempty"`
// The size of the balloon driver in the VM, in MB.
//
// The host will inflate the
// balloon driver to reclaim physical memory from the VM. This is a sign that
// there is memory pressure on the host.
- BalloonedMemory int32 `xml:"balloonedMemory,omitempty" json:"balloonedMemory,omitempty" vim:"4.0"`
+ BalloonedMemory int32 `xml:"balloonedMemory,omitempty" json:"balloonedMemory,omitempty"`
// The amount of consumed overhead memory, in MB, for this VM.
- ConsumedOverheadMemory int32 `xml:"consumedOverheadMemory,omitempty" json:"consumedOverheadMemory,omitempty" vim:"4.0"`
+ ConsumedOverheadMemory int32 `xml:"consumedOverheadMemory,omitempty" json:"consumedOverheadMemory,omitempty"`
// The network bandwidth used for logging between the
// primary and secondary fault tolerance VMs.
//
// The unit is kilobytes per second.
- FtLogBandwidth int32 `xml:"ftLogBandwidth,omitempty" json:"ftLogBandwidth,omitempty" vim:"4.0"`
+ FtLogBandwidth int32 `xml:"ftLogBandwidth,omitempty" json:"ftLogBandwidth,omitempty"`
// The amount of time in wallclock that the VCPU of the secondary fault
// tolerance VM is behind the VCPU of the primary VM.
//
// The unit is millisecond.
- FtSecondaryLatency int32 `xml:"ftSecondaryLatency,omitempty" json:"ftSecondaryLatency,omitempty" vim:"4.0"`
+ FtSecondaryLatency int32 `xml:"ftSecondaryLatency,omitempty" json:"ftSecondaryLatency,omitempty"`
// The latency status of the fault tolerance VM.
//
// ftLatencyStatus is determined by the value of ftSecondaryLatency.
@@ -90297,14 +89868,14 @@ type VirtualMachineQuickStats struct {
// and less than or equal to 6 seconds;
// red, if ftSecondaryLatency is greater than 6 seconds;
// gray, if ftSecondaryLatency is unknown.
- FtLatencyStatus ManagedEntityStatus `xml:"ftLatencyStatus,omitempty" json:"ftLatencyStatus,omitempty" vim:"4.0"`
+ FtLatencyStatus ManagedEntityStatus `xml:"ftLatencyStatus,omitempty" json:"ftLatencyStatus,omitempty"`
// The amount of compressed memory currently consumed by VM, in Kb.
- CompressedMemory int64 `xml:"compressedMemory,omitempty" json:"compressedMemory,omitempty" vim:"4.1"`
+ CompressedMemory int64 `xml:"compressedMemory,omitempty" json:"compressedMemory,omitempty"`
// The system uptime of the VM in seconds.
- UptimeSeconds int32 `xml:"uptimeSeconds,omitempty" json:"uptimeSeconds,omitempty" vim:"4.1"`
+ UptimeSeconds int32 `xml:"uptimeSeconds,omitempty" json:"uptimeSeconds,omitempty"`
// The amount of memory swapped to fast disk device such as
// SSD, in KB.
- SsdSwappedMemory int64 `xml:"ssdSwappedMemory,omitempty" json:"ssdSwappedMemory,omitempty" vim:"5.0"`
+ SsdSwappedMemory int64 `xml:"ssdSwappedMemory,omitempty" json:"ssdSwappedMemory,omitempty"`
// The amount of memory that was recently touched by the VM, in MB.
ActiveMemory int32 `xml:"activeMemory,omitempty" json:"activeMemory,omitempty" vim:"7.0.3.0"`
// Stats for each physical memory tier.
@@ -90335,6 +89906,7 @@ type VirtualMachineQuickStatsMemoryTierStats struct {
func init() {
t["VirtualMachineQuickStatsMemoryTierStats"] = reflect.TypeOf((*VirtualMachineQuickStatsMemoryTierStats)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineQuickStatsMemoryTierStats"] = "7.0.3.0"
}
// Specification for moving or copying a virtual machine to a different datastore
@@ -90349,14 +89921,14 @@ type VirtualMachineRelocateSpec struct {
// virtual machine is relocated to a different vCenter service, the
// destination host, pool, and datastore parameters have to be explicitly
// specified by default when the task is submitted.
- Service *ServiceLocator `xml:"service,omitempty" json:"service,omitempty" vim:"6.0"`
+ Service *ServiceLocator `xml:"service,omitempty" json:"service,omitempty"`
// The folder where the virtual machine should be located.
//
// If not specified,
// the root VM folder of the destination datacenter will be used.
//
// Refers instance of `Folder`.
- Folder *ManagedObjectReference `xml:"folder,omitempty" json:"folder,omitempty" vim:"6.0"`
+ Folder *ManagedObjectReference `xml:"folder,omitempty" json:"folder,omitempty"`
// The datastore where the virtual machine should be located.
//
// If
@@ -90382,43 +89954,43 @@ type VirtualMachineRelocateSpec struct {
// If left unset then
// `moveAllDiskBackingsAndDisallowSharing`
// is assumed.
- DiskMoveType string `xml:"diskMoveType,omitempty" json:"diskMoveType,omitempty" vim:"4.0"`
+ DiskMoveType string `xml:"diskMoveType,omitempty" json:"diskMoveType,omitempty"`
// The resource pool to which this virtual machine should be attached.
- // - For a relocate or clone operation to a virtual machine, if the
- // argument is not supplied, the current resource pool of virtual
- // machine is used.
- // - For a clone operation from a template to a virtual machine,
- // this argument is required.
- // - If the virtual machine is relocated to a different vCenter service,
- // and a resource pool is not specified, the destination host must be
- // specified.
- // - If a resource pool is specified, the virtual machine is powered
- // on, and the target pool represents a cluster without DRS enabled,
- // an InvalidArgument exception is thrown.
- // - If the virtual machine is relocated to a different datacenter
- // within the vCenter service, the resource pool has to be specified
- // and cannot be unset.
+ // - For a relocate or clone operation to a virtual machine, if the
+ // argument is not supplied, the current resource pool of virtual
+ // machine is used.
+ // - For a clone operation from a template to a virtual machine,
+ // this argument is required.
+ // - If the virtual machine is relocated to a different vCenter service,
+ // and a resource pool is not specified, the destination host must be
+ // specified.
+ // - If a resource pool is specified, the virtual machine is powered
+ // on, and the target pool represents a cluster without DRS enabled,
+ // an InvalidArgument exception is thrown.
+ // - If the virtual machine is relocated to a different datacenter
+ // within the vCenter service, the resource pool has to be specified
+ // and cannot be unset.
//
// Refers instance of `ResourcePool`.
Pool *ManagedObjectReference `xml:"pool,omitempty" json:"pool,omitempty"`
// The target host for the virtual machine.
//
// If not specified,
- // - if resource pool is not specified, current host is used.
- // - if resource pool is specified, and the target pool represents
- // a stand-alone host, the host is used.
- // - if resource pool is specified, the virtual machine is powered on,
- // and the target pool represents a DRS-enabled cluster, a host
- // selected by DRS is used.
- // - if resource pool is specified, the virtual machine is powered on,
- // and the target pool represents a cluster without DRS enabled,
- // an InvalidArgument exception is thrown.
- // - if a resource pool is specified, the target pool represents a
- // cluster, and this is a clone or the virtual machine is powered
- // off, a random compatible host is chosen.
- // - A destination host must be specified if the virtual machine is
- // relocated to a different vCenter service, and a resource pool is
- // not specified.
+ // - if resource pool is not specified, current host is used.
+ // - if resource pool is specified, and the target pool represents
+ // a stand-alone host, the host is used.
+ // - if resource pool is specified, the virtual machine is powered on,
+ // and the target pool represents a DRS-enabled cluster, a host
+ // selected by DRS is used.
+ // - if resource pool is specified, the virtual machine is powered on,
+ // and the target pool represents a cluster without DRS enabled,
+ // an InvalidArgument exception is thrown.
+ // - if a resource pool is specified, the target pool represents a
+ // cluster, and this is a clone or the virtual machine is powered
+ // off, a random compatible host is chosen.
+ // - A destination host must be specified if the virtual machine is
+ // relocated to a different vCenter service, and a resource pool is
+ // not specified.
//
// Refers instance of `HostSystem`.
Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
@@ -90442,17 +90014,17 @@ type VirtualMachineRelocateSpec struct {
// device locations for the relocate operation.
//
// The supported device changes are:
- // - For `VirtualEthernetCard`, it has to be used
- // in `VirtualDeviceConfigSpec.device` to specify the
- // target network backing.
- // - For `VirtualDisk`, it can be used to specify
- // vFlash cache configuration, or the storage profile for destination
- // disks. The storage profiles are used to either upgrade the virtual
- // disk's storage to a persistent memory, or keep the virtual disk
- // in persistent memory when moving the virtual machine's overall
- // storage.
- // - All other specification are ignored.
- DeviceChange []BaseVirtualDeviceConfigSpec `xml:"deviceChange,omitempty,typeattr" json:"deviceChange,omitempty" vim:"5.5"`
+ // - For `VirtualEthernetCard`, it has to be used
+ // in `VirtualDeviceConfigSpec.device` to specify the
+ // target network backing.
+ // - For `VirtualDisk`, it can be used to specify
+ // vFlash cache configuration, or the storage profile for destination
+ // disks. The storage profiles are used to either upgrade the virtual
+ // disk's storage to a persistent memory, or keep the virtual disk
+ // in persistent memory when moving the virtual machine's overall
+ // storage.
+ // - All other specification are ignored.
+ DeviceChange []BaseVirtualDeviceConfigSpec `xml:"deviceChange,omitempty,typeattr" json:"deviceChange,omitempty"`
// Storage profile requirement for Virtual Machine's home directory.
//
// Profiles are solution specific.
@@ -90461,12 +90033,12 @@ type VirtualMachineRelocateSpec struct {
// interact with SPBM.
// This is an optional parameter and if user doesn't specify profile,
// the default behavior will apply.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.5"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
// Virtual Machine cryptographic options.
//
// Encryption requirement for the virtual machine's metadata
// files (non-disk files).
- CryptoSpec BaseCryptoSpec `xml:"cryptoSpec,omitempty,typeattr" json:"cryptoSpec,omitempty" vim:"7.0"`
+ CryptoSpec BaseCryptoSpec `xml:"cryptoSpec,omitempty,typeattr" json:"cryptoSpec,omitempty"`
}
func init() {
@@ -90493,7 +90065,7 @@ type VirtualMachineRelocateSpecDiskLocator struct {
//
// If left unset then `moveAllDiskBackingsAndDisallowSharing`
// is assumed.
- DiskMoveType string `xml:"diskMoveType,omitempty" json:"diskMoveType,omitempty" vim:"4.0"`
+ DiskMoveType string `xml:"diskMoveType,omitempty" json:"diskMoveType,omitempty"`
// Backing information for the virtual disk at the destination.
//
// This can be used, for instance, to change the format of the
@@ -90502,12 +90074,12 @@ type VirtualMachineRelocateSpecDiskLocator struct {
// changes may be ignored if they are not supported.
//
// Supported BackingInfo types and properties:
- // - `VirtualDiskFlatVer2BackingInfo`
- // - thinProvisioned
- // - eagerlyScrub
- // - `VirtualDiskSeSparseBackingInfo`
- // (ESX 5.1 or later)
- DiskBackingInfo BaseVirtualDeviceBackingInfo `xml:"diskBackingInfo,omitempty,typeattr" json:"diskBackingInfo,omitempty" vim:"5.0"`
+ // - `VirtualDiskFlatVer2BackingInfo`
+ // - thinProvisioned
+ // - eagerlyScrub
+ // - `VirtualDiskSeSparseBackingInfo`
+ // (ESX 5.1 or later)
+ DiskBackingInfo BaseVirtualDeviceBackingInfo `xml:"diskBackingInfo,omitempty,typeattr" json:"diskBackingInfo,omitempty"`
// Virtual Disk Profile requirement.
//
// Profiles are solution specific.
@@ -90516,9 +90088,9 @@ type VirtualMachineRelocateSpecDiskLocator struct {
// interact with it.
// This is an optional parameter and if user doesn't specify profile,
// the default behavior will apply.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.5"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
// Cryptographic option of the current disk.
- Backing *VirtualMachineRelocateSpecDiskLocatorBackingSpec `xml:"backing,omitempty" json:"backing,omitempty" vim:"7.0"`
+ Backing *VirtualMachineRelocateSpecDiskLocatorBackingSpec `xml:"backing,omitempty" json:"backing,omitempty"`
// List of independent filters `VirtualMachineIndependentFilterSpec`
// to be configured on the virtual disk after the relocate.
FilterSpec []BaseVirtualMachineBaseIndependentFilterSpec `xml:"filterSpec,omitempty,typeattr" json:"filterSpec,omitempty" vim:"7.0.2.1"`
@@ -90543,7 +90115,6 @@ type VirtualMachineRelocateSpecDiskLocatorBackingSpec struct {
func init() {
t["VirtualMachineRelocateSpecDiskLocatorBackingSpec"] = reflect.TypeOf((*VirtualMachineRelocateSpecDiskLocatorBackingSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineRelocateSpecDiskLocatorBackingSpec"] = "7.0"
}
// The RuntimeInfo data object type provides information about
@@ -90566,7 +90137,7 @@ type VirtualMachineRuntimeInfo struct {
// contain values for this property when some other property on the DataObject changes.
// If this update is a result of a call to WaitForUpdatesEx with a non-empty
// version parameter, the value for this property may not be current.
- Device []VirtualMachineDeviceRuntimeInfo `xml:"device,omitempty" json:"device,omitempty" vim:"4.1"`
+ Device []VirtualMachineDeviceRuntimeInfo `xml:"device,omitempty" json:"device,omitempty"`
// The host that is responsible for running a virtual machine.
//
// This property is null if the virtual machine is not running and is
@@ -90581,12 +90152,12 @@ type VirtualMachineRuntimeInfo struct {
// Represents if the vm is currently being failed over by FDM
VmFailoverInProgress *bool `xml:"vmFailoverInProgress" json:"vmFailoverInProgress,omitempty" vim:"7.0.2.0"`
// The fault tolerance state of the virtual machine.
- FaultToleranceState VirtualMachineFaultToleranceState `xml:"faultToleranceState,omitempty" json:"faultToleranceState,omitempty" vim:"4.0"`
+ FaultToleranceState VirtualMachineFaultToleranceState `xml:"faultToleranceState,omitempty" json:"faultToleranceState,omitempty"`
// The vSphere HA protection state for a virtual machine.
//
// Property
// is unset if vSphere HA is not enabled.
- DasVmProtection *VirtualMachineRuntimeInfoDasProtectionState `xml:"dasVmProtection,omitempty" json:"dasVmProtection,omitempty" vim:"5.0"`
+ DasVmProtection *VirtualMachineRuntimeInfoDasProtectionState `xml:"dasVmProtection,omitempty" json:"dasVmProtection,omitempty"`
// Flag to indicate whether or not the VMware Tools installer
// is mounted as a CD-ROM.
ToolsInstallerMounted bool `xml:"toolsInstallerMounted" json:"toolsInstallerMounted"`
@@ -90668,18 +90239,18 @@ type VirtualMachineRuntimeInfo struct {
// Deprecated as of vSphere API 6.0.
//
// Record / replay state of this virtual machine.
- RecordReplayState VirtualMachineRecordReplayState `xml:"recordReplayState,omitempty" json:"recordReplayState,omitempty" vim:"4.0"`
+ RecordReplayState VirtualMachineRecordReplayState `xml:"recordReplayState,omitempty" json:"recordReplayState,omitempty"`
// For a powered off virtual machine, indicates whether the virtual
// machine's last shutdown was an orderly power off or not.
//
// Unset if
// the virtual machine is running or suspended.
- CleanPowerOff *bool `xml:"cleanPowerOff" json:"cleanPowerOff,omitempty" vim:"4.0"`
+ CleanPowerOff *bool `xml:"cleanPowerOff" json:"cleanPowerOff,omitempty"`
// If set, indicates the reason the virtual machine needs a secondary.
- NeedSecondaryReason string `xml:"needSecondaryReason,omitempty" json:"needSecondaryReason,omitempty" vim:"4.0"`
+ NeedSecondaryReason string `xml:"needSecondaryReason,omitempty" json:"needSecondaryReason,omitempty"`
// This property indicates whether the guest has gone into one of the
// s1, s2 or s3 standby modes, false indicates the guest is awake.
- OnlineStandby *bool `xml:"onlineStandby" json:"onlineStandby,omitempty" vim:"5.1"`
+ OnlineStandby *bool `xml:"onlineStandby" json:"onlineStandby,omitempty"`
// For a powered-on or suspended virtual machine in a cluster with Enhanced
// VMotion Compatibility (EVC) enabled, this identifies the least-featured
// EVC mode (among those for the appropriate CPU vendor) that could admit
@@ -90698,48 +90269,48 @@ type VirtualMachineRuntimeInfo struct {
// (in the default masks for the
// `GuestOsDescriptor` appropriate for the
// virtual machine's configured guest OS).
- MinRequiredEVCModeKey string `xml:"minRequiredEVCModeKey,omitempty" json:"minRequiredEVCModeKey,omitempty" vim:"4.1"`
+ MinRequiredEVCModeKey string `xml:"minRequiredEVCModeKey,omitempty" json:"minRequiredEVCModeKey,omitempty"`
// Whether any disk of the virtual machine requires consolidation.
//
// This can happen for example when a snapshot is deleted but its
// associated disk is not committed back to the base disk.
// Use `VirtualMachine.ConsolidateVMDisks_Task` to consolidate if
// needed.
- ConsolidationNeeded *bool `xml:"consolidationNeeded" json:"consolidationNeeded,omitempty" vim:"5.0"`
+ ConsolidationNeeded *bool `xml:"consolidationNeeded" json:"consolidationNeeded,omitempty"`
// These requirements must have equivalent host capabilities
// `HostConfigInfo.featureCapability` in order to power on.
- OfflineFeatureRequirement []VirtualMachineFeatureRequirement `xml:"offlineFeatureRequirement,omitempty" json:"offlineFeatureRequirement,omitempty" vim:"5.1"`
+ OfflineFeatureRequirement []VirtualMachineFeatureRequirement `xml:"offlineFeatureRequirement,omitempty" json:"offlineFeatureRequirement,omitempty"`
// These requirements must have equivalent host capabilities
// `HostConfigInfo.featureCapability` in order to power on,
// resume, or migrate to the host.
- FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty" vim:"5.1"`
+ FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty"`
// The masks applied to an individual virtual machine as a result of its
// configuration.
- FeatureMask []HostFeatureMask `xml:"featureMask,omitempty" json:"featureMask,omitempty" vim:"5.1"`
+ FeatureMask []HostFeatureMask `xml:"featureMask,omitempty" json:"featureMask,omitempty"`
// Deprecated since vSphere 7.0 because vFlash Read Cache
// end of availability.
//
// Specifies the total allocated vFlash resource for the vFlash caches associated with VM's
// VMDKs when VM is powered on, in bytes.
- VFlashCacheAllocation int64 `xml:"vFlashCacheAllocation,omitempty" json:"vFlashCacheAllocation,omitempty" vim:"5.5"`
+ VFlashCacheAllocation int64 `xml:"vFlashCacheAllocation,omitempty" json:"vFlashCacheAllocation,omitempty"`
// Whether the virtual machine is paused, or not.
- Paused *bool `xml:"paused" json:"paused,omitempty" vim:"6.0"`
+ Paused *bool `xml:"paused" json:"paused,omitempty"`
// Whether a snapshot operation is in progress in the background, or not.
- SnapshotInBackground *bool `xml:"snapshotInBackground" json:"snapshotInBackground,omitempty" vim:"6.0"`
+ SnapshotInBackground *bool `xml:"snapshotInBackground" json:"snapshotInBackground,omitempty"`
// This flag indicates whether a parent virtual machine is in a fork ready
// state.
//
// A persistent instant clone child can be created only when this flag
// is true. While a non-persistent instant clone child can be created
// independent of this flag, it can only be powered on if this flag is true.
- QuiescedForkParent *bool `xml:"quiescedForkParent" json:"quiescedForkParent,omitempty" vim:"6.0"`
+ QuiescedForkParent *bool `xml:"quiescedForkParent" json:"quiescedForkParent,omitempty"`
// Whether the virtual machine is frozen for instant clone, or not.
- InstantCloneFrozen *bool `xml:"instantCloneFrozen" json:"instantCloneFrozen,omitempty" vim:"6.7"`
+ InstantCloneFrozen *bool `xml:"instantCloneFrozen" json:"instantCloneFrozen,omitempty"`
// Encryption state of the virtual machine.
//
// Valid values are enumerated by the
// `CryptoState` type.
- CryptoState string `xml:"cryptoState,omitempty" json:"cryptoState,omitempty" vim:"6.7"`
+ CryptoState string `xml:"cryptoState,omitempty" json:"cryptoState,omitempty"`
// Whether the virtual machine is suspended to memory, or not.
SuspendedToMemory *bool `xml:"suspendedToMemory" json:"suspendedToMemory,omitempty" vim:"7.0.2.0"`
// Operation notification timeout in seconds.
@@ -90778,7 +90349,6 @@ type VirtualMachineRuntimeInfoDasProtectionState struct {
func init() {
t["VirtualMachineRuntimeInfoDasProtectionState"] = reflect.TypeOf((*VirtualMachineRuntimeInfoDasProtectionState)(nil)).Elem()
- minAPIVersionForType["VirtualMachineRuntimeInfoDasProtectionState"] = "5.0"
}
// The ScsiDiskDeviceInfo class contains detailed information about a specific
@@ -90797,14 +90367,14 @@ type VirtualMachineScsiDiskDeviceInfo struct {
// correlate this device with a host physical disk, use the disk property.
// This identifier is intended as a hint to end users to identify the
// disk device.
- TransportHint string `xml:"transportHint,omitempty" json:"transportHint,omitempty" vim:"4.0"`
+ TransportHint string `xml:"transportHint,omitempty" json:"transportHint,omitempty"`
// LUN number hint used to identify the SCSI device.
//
// To definitively
// correlate this device with a host physical disk, use the disk property.
// This identifier is intended as a hint to end users to identify the
// disk device.
- LunNumber int32 `xml:"lunNumber,omitempty" json:"lunNumber,omitempty" vim:"4.0"`
+ LunNumber int32 `xml:"lunNumber,omitempty" json:"lunNumber,omitempty"`
}
func init() {
@@ -90865,7 +90435,6 @@ type VirtualMachineSgxInfo struct {
func init() {
t["VirtualMachineSgxInfo"] = reflect.TypeOf((*VirtualMachineSgxInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineSgxInfo"] = "7.0"
}
// Description of Intel Software Guard Extensions information.
@@ -90888,7 +90457,6 @@ type VirtualMachineSgxTargetInfo struct {
func init() {
t["VirtualMachineSgxTargetInfo"] = reflect.TypeOf((*VirtualMachineSgxTargetInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineSgxTargetInfo"] = "7.0"
}
// The SnapshotInfo data object type provides all the information about the
@@ -90932,7 +90500,7 @@ type VirtualMachineSnapshotTree struct {
Description string `xml:"description" json:"description"`
// The unique identifier that distinguishes this snapshot from
// other snapshots of the virtual machine.
- Id int32 `xml:"id,omitempty" json:"id,omitempty" vim:"4.0"`
+ Id int32 `xml:"id,omitempty" json:"id,omitempty"`
// The date and time the snapshot was taken.
CreateTime time.Time `xml:"createTime" json:"createTime"`
// The power state of the virtual machine when this snapshot was taken.
@@ -90944,14 +90512,14 @@ type VirtualMachineSnapshotTree struct {
// manifest.
//
// Available for certain quiesced snapshots only.
- BackupManifest string `xml:"backupManifest,omitempty" json:"backupManifest,omitempty" vim:"2.5 U2"`
+ BackupManifest string `xml:"backupManifest,omitempty" json:"backupManifest,omitempty"`
// The snapshot data for all snapshots for which this snapshot is the parent.
ChildSnapshotList []VirtualMachineSnapshotTree `xml:"childSnapshotList,omitempty" json:"childSnapshotList,omitempty"`
// Deprecated as of vSphere API 6.0.
//
// Flag to indicate whether this snapshot is associated with a recording
// session on the virtual machine that can be replayed.
- ReplaySupported *bool `xml:"replaySupported" json:"replaySupported,omitempty" vim:"4.0"`
+ ReplaySupported *bool `xml:"replaySupported" json:"replaySupported,omitempty"`
}
func init() {
@@ -90966,7 +90534,6 @@ type VirtualMachineSoundInfo struct {
func init() {
t["VirtualMachineSoundInfo"] = reflect.TypeOf((*VirtualMachineSoundInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineSoundInfo"] = "2.5"
}
type VirtualMachineSriovDevicePoolInfo struct {
@@ -90991,12 +90558,11 @@ type VirtualMachineSriovInfo struct {
// capable physical function.
Pnic string `xml:"pnic,omitempty" json:"pnic,omitempty"`
// SRIOV DevicePool information
- DevicePool BaseVirtualMachineSriovDevicePoolInfo `xml:"devicePool,omitempty,typeattr" json:"devicePool,omitempty" vim:"6.5"`
+ DevicePool BaseVirtualMachineSriovDevicePoolInfo `xml:"devicePool,omitempty,typeattr" json:"devicePool,omitempty"`
}
func init() {
t["VirtualMachineSriovInfo"] = reflect.TypeOf((*VirtualMachineSriovInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineSriovInfo"] = "5.5"
}
// This class is networking specific SR-IOV device pool info
@@ -91011,7 +90577,6 @@ type VirtualMachineSriovNetworkDevicePoolInfo struct {
func init() {
t["VirtualMachineSriovNetworkDevicePoolInfo"] = reflect.TypeOf((*VirtualMachineSriovNetworkDevicePoolInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineSriovNetworkDevicePoolInfo"] = "6.5"
}
// Information about the amount of storage used by a virtual machine across
@@ -91034,7 +90599,6 @@ type VirtualMachineStorageInfo struct {
func init() {
t["VirtualMachineStorageInfo"] = reflect.TypeOf((*VirtualMachineStorageInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineStorageInfo"] = "4.0"
}
// A subset of the storage information of this virtual machine.
@@ -91066,7 +90630,6 @@ type VirtualMachineStorageSummary struct {
func init() {
t["VirtualMachineStorageSummary"] = reflect.TypeOf((*VirtualMachineStorageSummary)(nil)).Elem()
- minAPIVersionForType["VirtualMachineStorageSummary"] = "4.0"
}
// The summary data object type encapsulates a typical set of virtual machine
@@ -91110,7 +90673,7 @@ type VirtualMachineSummary struct {
// contain values for this property when some other property on the DataObject changes.
// If this update is a result of a call to WaitForUpdatesEx with a non-empty
// version parameter, the value for this property may not be current.
- Storage *VirtualMachineStorageSummary `xml:"storage,omitempty" json:"storage,omitempty" vim:"4.0"`
+ Storage *VirtualMachineStorageSummary `xml:"storage,omitempty" json:"storage,omitempty"`
// A set of statistics that are typically updated with near real-time regularity.
//
// This data object type does not support notification, for scalability reasons.
@@ -91202,12 +90765,11 @@ type VirtualMachineTicket struct {
//
// Some tickets are "websocket" tickets and are best expressed
// as a URL.
- Url string `xml:"url,omitempty" json:"url,omitempty" vim:"7.0"`
+ Url string `xml:"url,omitempty" json:"url,omitempty"`
}
func init() {
t["VirtualMachineTicket"] = reflect.TypeOf((*VirtualMachineTicket)(nil)).Elem()
- minAPIVersionForType["VirtualMachineTicket"] = "4.1"
}
// Storage space used by this virtual machine on a particular datastore.
@@ -91244,7 +90806,6 @@ type VirtualMachineUsageOnDatastore struct {
func init() {
t["VirtualMachineUsageOnDatastore"] = reflect.TypeOf((*VirtualMachineUsageOnDatastore)(nil)).Elem()
- minAPIVersionForType["VirtualMachineUsageOnDatastore"] = "4.0"
}
// This data object contains information about a physical USB device
@@ -91281,7 +90842,6 @@ type VirtualMachineUsbInfo struct {
func init() {
t["VirtualMachineUsbInfo"] = reflect.TypeOf((*VirtualMachineUsbInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineUsbInfo"] = "2.5"
}
// VFlashModuleInfo class contains information about a vFlash module
@@ -91295,7 +90855,6 @@ type VirtualMachineVFlashModuleInfo struct {
func init() {
t["VirtualMachineVFlashModuleInfo"] = reflect.TypeOf((*VirtualMachineVFlashModuleInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVFlashModuleInfo"] = "5.5"
}
// The `VirtualMachineVMCIDevice` data object represents
@@ -91353,15 +90912,14 @@ type VirtualMachineVMCIDevice struct {
//
// Set this property to enable or disable filter rules as specified
// in `VirtualMachineVMCIDevice.filterInfo`.
- FilterEnable *bool `xml:"filterEnable" json:"filterEnable,omitempty" vim:"6.0"`
+ FilterEnable *bool `xml:"filterEnable" json:"filterEnable,omitempty"`
// Specify a `VirtualMachineVMCIDeviceFilterInfo` data object that controls the extent of
// VMCI communication with this virtual machine.
- FilterInfo *VirtualMachineVMCIDeviceFilterInfo `xml:"filterInfo,omitempty" json:"filterInfo,omitempty" vim:"6.0"`
+ FilterInfo *VirtualMachineVMCIDeviceFilterInfo `xml:"filterInfo,omitempty" json:"filterInfo,omitempty"`
}
func init() {
t["VirtualMachineVMCIDevice"] = reflect.TypeOf((*VirtualMachineVMCIDevice)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVMCIDevice"] = "2.5 U2"
}
// The `VirtualMachineVMCIDeviceFilterInfo` data object contains an array of filters.
@@ -91377,7 +90935,6 @@ type VirtualMachineVMCIDeviceFilterInfo struct {
func init() {
t["VirtualMachineVMCIDeviceFilterInfo"] = reflect.TypeOf((*VirtualMachineVMCIDeviceFilterInfo)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVMCIDeviceFilterInfo"] = "6.0"
}
// The `VirtualMachineVMCIDeviceFilterSpec` data object describes a filter based on protocol,
@@ -91418,7 +90975,6 @@ type VirtualMachineVMCIDeviceFilterSpec struct {
func init() {
t["VirtualMachineVMCIDeviceFilterSpec"] = reflect.TypeOf((*VirtualMachineVMCIDeviceFilterSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVMCIDeviceFilterSpec"] = "6.0"
}
// The `VirtualMachineVMCIDeviceOption` data object contains the options
@@ -91438,19 +90994,18 @@ type VirtualMachineVMCIDeviceOption struct {
// no effect on these platforms.
AllowUnrestrictedCommunication BoolOption `xml:"allowUnrestrictedCommunication" json:"allowUnrestrictedCommunication"`
// Filter specification options.
- FilterSpecOption *VirtualMachineVMCIDeviceOptionFilterSpecOption `xml:"filterSpecOption,omitempty" json:"filterSpecOption,omitempty" vim:"6.0"`
+ FilterSpecOption *VirtualMachineVMCIDeviceOptionFilterSpecOption `xml:"filterSpecOption,omitempty" json:"filterSpecOption,omitempty"`
// Indicates support for VMCI firewall filters and specifies the default
// operation.
//
// If `BoolOption.supported` is set to true,
// then firewall filtering can be used for this virtual machine to allow
// or deny traffic over VMCI.
- FilterSupported *BoolOption `xml:"filterSupported,omitempty" json:"filterSupported,omitempty" vim:"6.0"`
+ FilterSupported *BoolOption `xml:"filterSupported,omitempty" json:"filterSupported,omitempty"`
}
func init() {
t["VirtualMachineVMCIDeviceOption"] = reflect.TypeOf((*VirtualMachineVMCIDeviceOption)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVMCIDeviceOption"] = "2.5 U2"
}
// Filter specification options.
@@ -91477,7 +91032,6 @@ type VirtualMachineVMCIDeviceOptionFilterSpecOption struct {
func init() {
t["VirtualMachineVMCIDeviceOptionFilterSpecOption"] = reflect.TypeOf((*VirtualMachineVMCIDeviceOptionFilterSpecOption)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVMCIDeviceOptionFilterSpecOption"] = "6.0"
}
// Deprecated as of vSphere API 6.0. On vSphere 6.0 and later
@@ -91491,7 +91045,6 @@ type VirtualMachineVMIROM struct {
func init() {
t["VirtualMachineVMIROM"] = reflect.TypeOf((*VirtualMachineVMIROM)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVMIROM"] = "2.5"
}
// Description of VMotion Stun Time.
@@ -91532,7 +91085,6 @@ type VirtualMachineVcpuConfig struct {
func init() {
t["VirtualMachineVcpuConfig"] = reflect.TypeOf((*VirtualMachineVcpuConfig)(nil)).Elem()
- minAPIVersionForType["VirtualMachineVcpuConfig"] = "7.0"
}
// Description of a PCI vendor device group device.
@@ -91645,19 +91197,19 @@ type VirtualMachineVideoCard struct {
// bounded by the video RAM size of the virtual video card.
// This property can only be updated when the virtual machine is
// powered off.
- NumDisplays int32 `xml:"numDisplays,omitempty" json:"numDisplays,omitempty" vim:"2.5 U2"`
+ NumDisplays int32 `xml:"numDisplays,omitempty" json:"numDisplays,omitempty"`
// Flag to indicate whether the display settings of the host on which the
// virtual machine is running should be used to automatically determine
// the display settings of the virtual machine's video card.
//
// This setting takes effect at virtual machine power-on time. If this
// value is set to TRUE, numDisplays will be ignored.
- UseAutoDetect *bool `xml:"useAutoDetect" json:"useAutoDetect,omitempty" vim:"2.5 U2"`
+ UseAutoDetect *bool `xml:"useAutoDetect" json:"useAutoDetect,omitempty"`
// Flag to indicate whether the virtual video card supports 3D functions.
//
// This property can only be updated when the virtual machine is powered
// off.
- Enable3DSupport *bool `xml:"enable3DSupport" json:"enable3DSupport,omitempty" vim:"2.5 U2"`
+ Enable3DSupport *bool `xml:"enable3DSupport" json:"enable3DSupport,omitempty"`
// Indicate how the virtual video device renders 3D graphics.
//
// The virtual video device can use hardware acceleration and software
@@ -91674,14 +91226,14 @@ type VirtualMachineVideoCard struct {
// will not attempt to use hardware acceleration.
// (hardware) - The virtual device will use hardware acceleration and
// will not activate without it.
- Use3dRenderer string `xml:"use3dRenderer,omitempty" json:"use3dRenderer,omitempty" vim:"5.1"`
+ Use3dRenderer string `xml:"use3dRenderer,omitempty" json:"use3dRenderer,omitempty"`
// The size of graphics memory.
//
// If 3d support is enabled this setting gives the amount of guest memory
// used for graphics resources.
// This property can only be updated when the virtual machine is
// powered off.
- GraphicsMemorySizeInKB int64 `xml:"graphicsMemorySizeInKB,omitempty" json:"graphicsMemorySizeInKB,omitempty" vim:"6.0"`
+ GraphicsMemorySizeInKB int64 `xml:"graphicsMemorySizeInKB,omitempty" json:"graphicsMemorySizeInKB,omitempty"`
}
func init() {
@@ -91898,7 +91450,6 @@ type VirtualMachineWindowsQuiesceSpec struct {
func init() {
t["VirtualMachineWindowsQuiesceSpec"] = reflect.TypeOf((*VirtualMachineWindowsQuiesceSpec)(nil)).Elem()
- minAPIVersionForType["VirtualMachineWindowsQuiesceSpec"] = "6.5"
}
// Data structure used by wipeDisk to return the amount of disk space that
@@ -91915,7 +91466,6 @@ type VirtualMachineWipeResult struct {
func init() {
t["VirtualMachineWipeResult"] = reflect.TypeOf((*VirtualMachineWipeResult)(nil)).Elem()
- minAPIVersionForType["VirtualMachineWipeResult"] = "5.1"
}
// The Virtual NVDIMM device.
@@ -91933,7 +91483,6 @@ type VirtualNVDIMM struct {
func init() {
t["VirtualNVDIMM"] = reflect.TypeOf((*VirtualNVDIMM)(nil)).Elem()
- minAPIVersionForType["VirtualNVDIMM"] = "6.7"
}
// The `VirtualNVDIMMBackingInfo`
data object type
@@ -91955,7 +91504,6 @@ type VirtualNVDIMMBackingInfo struct {
func init() {
t["VirtualNVDIMMBackingInfo"] = reflect.TypeOf((*VirtualNVDIMMBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualNVDIMMBackingInfo"] = "6.7"
}
// The Virtual NVDIMM controller.
@@ -91965,7 +91513,6 @@ type VirtualNVDIMMController struct {
func init() {
t["VirtualNVDIMMController"] = reflect.TypeOf((*VirtualNVDIMMController)(nil)).Elem()
- minAPIVersionForType["VirtualNVDIMMController"] = "6.7"
}
// VirtualNVDIMMControllerOption is the data object that contains
@@ -91979,7 +91526,6 @@ type VirtualNVDIMMControllerOption struct {
func init() {
t["VirtualNVDIMMControllerOption"] = reflect.TypeOf((*VirtualNVDIMMControllerOption)(nil)).Elem()
- minAPIVersionForType["VirtualNVDIMMControllerOption"] = "6.7"
}
// The VirtualNVDIMMOption contains information about
@@ -92003,7 +91549,6 @@ type VirtualNVDIMMOption struct {
func init() {
t["VirtualNVDIMMOption"] = reflect.TypeOf((*VirtualNVDIMMOption)(nil)).Elem()
- minAPIVersionForType["VirtualNVDIMMOption"] = "6.7"
}
// The Virtual NVME controller.
@@ -92021,7 +91566,6 @@ type VirtualNVMEController struct {
func init() {
t["VirtualNVMEController"] = reflect.TypeOf((*VirtualNVMEController)(nil)).Elem()
- minAPIVersionForType["VirtualNVMEController"] = "6.5"
}
// VirtualNVMEControllerOption is the data object that contains
@@ -92045,7 +91589,6 @@ type VirtualNVMEControllerOption struct {
func init() {
t["VirtualNVMEControllerOption"] = reflect.TypeOf((*VirtualNVMEControllerOption)(nil)).Elem()
- minAPIVersionForType["VirtualNVMEControllerOption"] = "6.5"
}
// The NetConfig data object type contains the networking
@@ -92068,7 +91611,6 @@ type VirtualNicManagerNetConfig struct {
func init() {
t["VirtualNicManagerNetConfig"] = reflect.TypeOf((*VirtualNicManagerNetConfig)(nil)).Elem()
- minAPIVersionForType["VirtualNicManagerNetConfig"] = "4.0"
}
// The VirtualPCIController data object type defines a virtual PCI
@@ -92124,21 +91666,21 @@ type VirtualPCIControllerOption struct {
//
// This is also limited
// by the number of available slots in the PCI controller.
- NumVmiRoms IntOption `xml:"numVmiRoms" json:"numVmiRoms" vim:"2.5"`
+ NumVmiRoms IntOption `xml:"numVmiRoms" json:"numVmiRoms"`
// Defines the minimum, maximum, and default
// number of VirtualVMCIDevice instances available,
// at any given time, in the PCI controller.
//
// This is also limited
// by the number of available slots in the PCI controller.
- NumVmciDevices *IntOption `xml:"numVmciDevices,omitempty" json:"numVmciDevices,omitempty" vim:"2.5 U2"`
+ NumVmciDevices *IntOption `xml:"numVmciDevices,omitempty" json:"numVmciDevices,omitempty"`
// Defines the minimum, maximum, and default
// number of VirtualPCIPassthrough instances available,
// at any given time, in the PCI controller.
//
// This is also limited
// by the number of available PCI Express slots in the PCI controller.
- NumPCIPassthroughDevices *IntOption `xml:"numPCIPassthroughDevices,omitempty" json:"numPCIPassthroughDevices,omitempty" vim:"2.5 U2"`
+ NumPCIPassthroughDevices *IntOption `xml:"numPCIPassthroughDevices,omitempty" json:"numPCIPassthroughDevices,omitempty"`
// Defines the minimum, maximum, and default
// number of VirtualLsiLogicSASController instances available,
// at any given time, in the PCI controller.
@@ -92146,7 +91688,7 @@ type VirtualPCIControllerOption struct {
// This is also limited
// by the number of available PCI Express slots in the PCI controller
// as well as the total number of supported SCSI controllers.
- NumSasSCSIControllers *IntOption `xml:"numSasSCSIControllers,omitempty" json:"numSasSCSIControllers,omitempty" vim:"2.5 U2"`
+ NumSasSCSIControllers *IntOption `xml:"numSasSCSIControllers,omitempty" json:"numSasSCSIControllers,omitempty"`
// Defines the minimum, maximum, and default
// number of VirtualVmxnet3 ethernet card instances available,
// at any given time, in the PCI controller.
@@ -92154,7 +91696,7 @@ type VirtualPCIControllerOption struct {
// This is also limited
// by the number of available PCI Express slots in the PCI controller
// as well as the total number of supported ethernet cards.
- NumVmxnet3EthernetCards *IntOption `xml:"numVmxnet3EthernetCards,omitempty" json:"numVmxnet3EthernetCards,omitempty" vim:"2.5 U2"`
+ NumVmxnet3EthernetCards *IntOption `xml:"numVmxnet3EthernetCards,omitempty" json:"numVmxnet3EthernetCards,omitempty"`
// Defines the minimum, maximum, and default
// number of ParaVirtualScsiController instances available,
// at any given time, in the PCI controller.
@@ -92162,7 +91704,7 @@ type VirtualPCIControllerOption struct {
// This is also limited
// by the number of available PCI Express slots in the PCI controller
// as well as the total number of supported SCSI controllers.
- NumParaVirtualSCSIControllers *IntOption `xml:"numParaVirtualSCSIControllers,omitempty" json:"numParaVirtualSCSIControllers,omitempty" vim:"2.5 U2"`
+ NumParaVirtualSCSIControllers *IntOption `xml:"numParaVirtualSCSIControllers,omitempty" json:"numParaVirtualSCSIControllers,omitempty"`
// Defines the minimum, maximum, and default
// number of VirtualSATAController instances available,
// at any given time, in the PCI controller.
@@ -92170,7 +91712,7 @@ type VirtualPCIControllerOption struct {
// This is also limited
// by the number of available PCI Express slots in the PCI controller
// as well as the total number of supported SATA controllers.
- NumSATAControllers *IntOption `xml:"numSATAControllers,omitempty" json:"numSATAControllers,omitempty" vim:"5.5"`
+ NumSATAControllers *IntOption `xml:"numSATAControllers,omitempty" json:"numSATAControllers,omitempty"`
// Defines the minimum, maximum, and default
// number of VirtualNVMEController instances available,
// at any given time, in the PCI controller.
@@ -92178,7 +91720,7 @@ type VirtualPCIControllerOption struct {
// This is also limited
// by the number of available PCI Express slots in the PCI controller
// as well as the total number of supported NVME controllers.
- NumNVMEControllers *IntOption `xml:"numNVMEControllers,omitempty" json:"numNVMEControllers,omitempty" vim:"6.5"`
+ NumNVMEControllers *IntOption `xml:"numNVMEControllers,omitempty" json:"numNVMEControllers,omitempty"`
// Defines the minimum, maximum, and default
// number of VirtualVmxnet3Vrdma ethernet card instances available,
// at any given time, in the PCI controller.
@@ -92186,7 +91728,7 @@ type VirtualPCIControllerOption struct {
// This is also limited
// by the number of available PCI Express slots in the PCI controller
// as well as the total number of supported ethernet cards.
- NumVmxnet3VrdmaEthernetCards *IntOption `xml:"numVmxnet3VrdmaEthernetCards,omitempty" json:"numVmxnet3VrdmaEthernetCards,omitempty" vim:"6.7"`
+ NumVmxnet3VrdmaEthernetCards *IntOption `xml:"numVmxnet3VrdmaEthernetCards,omitempty" json:"numVmxnet3VrdmaEthernetCards,omitempty"`
}
func init() {
@@ -92202,7 +91744,6 @@ type VirtualPCIPassthrough struct {
func init() {
t["VirtualPCIPassthrough"] = reflect.TypeOf((*VirtualPCIPassthrough)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthrough"] = "4.0"
}
// A tuple of vendorId and deviceId indicating an allowed device
@@ -92242,7 +91783,6 @@ type VirtualPCIPassthroughAllowedDevice struct {
func init() {
t["VirtualPCIPassthroughAllowedDevice"] = reflect.TypeOf((*VirtualPCIPassthroughAllowedDevice)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthroughAllowedDevice"] = "7.0"
}
// The VirtualPCIPassthrough.DeviceBackingInfo data object type
@@ -92270,7 +91810,6 @@ type VirtualPCIPassthroughDeviceBackingInfo struct {
func init() {
t["VirtualPCIPassthroughDeviceBackingInfo"] = reflect.TypeOf((*VirtualPCIPassthroughDeviceBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthroughDeviceBackingInfo"] = "4.0"
}
// This data object type describes the options for the
@@ -92281,7 +91820,6 @@ type VirtualPCIPassthroughDeviceBackingOption struct {
func init() {
t["VirtualPCIPassthroughDeviceBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughDeviceBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthroughDeviceBackingOption"] = "4.0"
}
// DVX Device specific information.
@@ -92343,7 +91881,6 @@ type VirtualPCIPassthroughDynamicBackingInfo struct {
func init() {
t["VirtualPCIPassthroughDynamicBackingInfo"] = reflect.TypeOf((*VirtualPCIPassthroughDynamicBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthroughDynamicBackingInfo"] = "7.0"
}
// This data object type describes the options for the
@@ -92354,7 +91891,6 @@ type VirtualPCIPassthroughDynamicBackingOption struct {
func init() {
t["VirtualPCIPassthroughDynamicBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughDynamicBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthroughDynamicBackingOption"] = "7.0"
}
// The VirtualPCIPassthroughOption data object type describes the options
@@ -92367,7 +91903,6 @@ type VirtualPCIPassthroughOption struct {
func init() {
t["VirtualPCIPassthroughOption"] = reflect.TypeOf((*VirtualPCIPassthroughOption)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthroughOption"] = "4.0"
}
// The VirtualPCIPassthrough.PluginBackingInfo is a base data object type
@@ -92382,7 +91917,6 @@ type VirtualPCIPassthroughPluginBackingInfo struct {
func init() {
t["VirtualPCIPassthroughPluginBackingInfo"] = reflect.TypeOf((*VirtualPCIPassthroughPluginBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthroughPluginBackingInfo"] = "6.0"
}
// This data object type describes the options for the
@@ -92393,7 +91927,6 @@ type VirtualPCIPassthroughPluginBackingOption struct {
func init() {
t["VirtualPCIPassthroughPluginBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughPluginBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthroughPluginBackingOption"] = "6.0"
}
// The VirtualPCIPassthrough.VmiopBackingInfo data object type
@@ -92417,7 +91950,6 @@ type VirtualPCIPassthroughVmiopBackingInfo struct {
func init() {
t["VirtualPCIPassthroughVmiopBackingInfo"] = reflect.TypeOf((*VirtualPCIPassthroughVmiopBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthroughVmiopBackingInfo"] = "6.0"
}
// This data object type describes the options for the
@@ -92440,7 +91972,6 @@ type VirtualPCIPassthroughVmiopBackingOption struct {
func init() {
t["VirtualPCIPassthroughVmiopBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughVmiopBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualPCIPassthroughVmiopBackingOption"] = "6.0"
}
// This data object type defines the properties
@@ -92501,9 +92032,9 @@ type VirtualPS2ControllerOption struct {
// This is further constrained by the number
// of available slots in the PS/2 controller. The minimum, maximum,
// and default are integers defined by three properties:
- // - `*numKeyBoards.min*`: the minimum.
- // - `*numKeyBoards.max*`: the maximum.
- // - `*numKeyBoards.defaultValue*`: the default number.
+ // - `*numKeyBoards.min*`: the minimum.
+ // - `*numKeyBoards.max*`: the maximum.
+ // - `*numKeyBoards.defaultValue*`: the default number.
NumKeyboards IntOption `xml:"numKeyboards" json:"numKeyboards"`
// The minimum, maximum, and default number of mice you can
// have at any given time.
@@ -92511,9 +92042,9 @@ type VirtualPS2ControllerOption struct {
// The number of mice is also limited by the number
// of available slots in the PS/2 controller. The minimum, maximum, and
// default are integers defined by three properties:
- // - `*numPointingDevices.min*`: the minimum.
- // - `*numPointingDevices.max*`: the maximum.
- // - `*numPointingDevices.defaultValue*`: the default number.
+ // - `*numPointingDevices.min*`: the minimum.
+ // - `*numPointingDevices.max*`: the maximum.
+ // - `*numPointingDevices.defaultValue*`: the default number.
NumPointingDevices IntOption `xml:"numPointingDevices" json:"numPointingDevices"`
}
@@ -92597,14 +92128,14 @@ type VirtualPointingDeviceBackingOption struct {
// This object defines the supported mouse types, including the default
// supported mouse type, with the following properties:
- // - `*hostPointingDevices.value*`: This array defines the
- // supported mouse types.
- // - `*hostPointingDevices.choiceDescription*`: This array
- // provides the descriptions for the supported mouse types defined by
- // hostPointingDevices.value.
- // - `*hostPointingDevices.defaultIndex*`: This integer points
- // to an index in the hostPointingDevices.value array. This is the
- // mouse type supported by default.
+ // - `*hostPointingDevices.value*`: This array defines the
+ // supported mouse types.
+ // - `*hostPointingDevices.choiceDescription*`: This array
+ // provides the descriptions for the supported mouse types defined by
+ // hostPointingDevices.value.
+ // - `*hostPointingDevices.defaultIndex*`: This integer points
+ // to an index in the hostPointingDevices.value array. This is the
+ // mouse type supported by default.
HostPointingDevice ChoiceOption `xml:"hostPointingDevice" json:"hostPointingDevice"`
}
@@ -92661,7 +92192,6 @@ type VirtualPrecisionClock struct {
func init() {
t["VirtualPrecisionClock"] = reflect.TypeOf((*VirtualPrecisionClock)(nil)).Elem()
- minAPIVersionForType["VirtualPrecisionClock"] = "7.0"
}
// The VirtualPrecisionClockOption data object type describes the
@@ -92673,7 +92203,6 @@ type VirtualPrecisionClockOption struct {
func init() {
t["VirtualPrecisionClockOption"] = reflect.TypeOf((*VirtualPrecisionClockOption)(nil)).Elem()
- minAPIVersionForType["VirtualPrecisionClockOption"] = "7.0"
}
// The `VirtualPrecisionClockSystemClockBackingInfo`
@@ -92690,7 +92219,6 @@ type VirtualPrecisionClockSystemClockBackingInfo struct {
func init() {
t["VirtualPrecisionClockSystemClockBackingInfo"] = reflect.TypeOf((*VirtualPrecisionClockSystemClockBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualPrecisionClockSystemClockBackingInfo"] = "7.0"
}
// This data object type describes the options for the
@@ -92706,7 +92234,6 @@ type VirtualPrecisionClockSystemClockBackingOption struct {
func init() {
t["VirtualPrecisionClockSystemClockBackingOption"] = reflect.TypeOf((*VirtualPrecisionClockSystemClockBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualPrecisionClockSystemClockBackingOption"] = "7.0"
}
// The VirtualSATAController data object type represents
@@ -92717,7 +92244,6 @@ type VirtualSATAController struct {
func init() {
t["VirtualSATAController"] = reflect.TypeOf((*VirtualSATAController)(nil)).Elem()
- minAPIVersionForType["VirtualSATAController"] = "5.5"
}
// The VirtualSATAControllerOption data object type contains the options
@@ -92747,7 +92273,6 @@ type VirtualSATAControllerOption struct {
func init() {
t["VirtualSATAControllerOption"] = reflect.TypeOf((*VirtualSATAControllerOption)(nil)).Elem()
- minAPIVersionForType["VirtualSATAControllerOption"] = "5.5"
}
// The VirtualSCSIController data object type represents
@@ -93156,15 +92681,15 @@ type VirtualSerialPortPipeBackingOption struct {
//
// If optimized data transfer is supported (noRxLoss.supported
// is true
):
- // - You can enable (or disable) the feature explicitly by setting the
- // `VirtualSerialPortPipeBackingInfo.noRxLoss`
- // property on the pipe backing information object.
- // - If you do not set the
- // `VirtualSerialPortPipeBackingInfo.noRxLoss`
- // property on the
- // the pipe backing information object, the server enables
- // optimized data transfer if the noRxLoss.defaultValue
- // property on the pipe backing options object is true
.
+ // - You can enable (or disable) the feature explicitly by setting the
+ // `VirtualSerialPortPipeBackingInfo.noRxLoss`
+ // property on the pipe backing information object.
+ // - If you do not set the
+ // `VirtualSerialPortPipeBackingInfo.noRxLoss`
+ // property on the
+ // the pipe backing information object, the server enables
+ // optimized data transfer if the noRxLoss.defaultValue
+ // property on the pipe backing options object is true
.
//
// If noRxLoss.supported
is false
, the server
// ignores the optimization settings.
@@ -93187,7 +92712,6 @@ type VirtualSerialPortThinPrintBackingInfo struct {
func init() {
t["VirtualSerialPortThinPrintBackingInfo"] = reflect.TypeOf((*VirtualSerialPortThinPrintBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualSerialPortThinPrintBackingInfo"] = "5.1"
}
// The `VirtualSerialPortThinPrintBackingOption`
data
@@ -93198,7 +92722,6 @@ type VirtualSerialPortThinPrintBackingOption struct {
func init() {
t["VirtualSerialPortThinPrintBackingOption"] = reflect.TypeOf((*VirtualSerialPortThinPrintBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualSerialPortThinPrintBackingOption"] = "5.1"
}
// The `VirtualSerialPortURIBackingInfo`
data object
@@ -93333,7 +92856,6 @@ type VirtualSerialPortURIBackingInfo struct {
func init() {
t["VirtualSerialPortURIBackingInfo"] = reflect.TypeOf((*VirtualSerialPortURIBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualSerialPortURIBackingInfo"] = "4.1"
}
// The `VirtualSerialPortURIBackingOption`
data object type
@@ -93344,7 +92866,6 @@ type VirtualSerialPortURIBackingOption struct {
func init() {
t["VirtualSerialPortURIBackingOption"] = reflect.TypeOf((*VirtualSerialPortURIBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualSerialPortURIBackingOption"] = "4.1"
}
// The VirtualSoundBlaster16 data object type represents a Sound
@@ -93431,7 +92952,6 @@ type VirtualSriovEthernetCard struct {
func init() {
t["VirtualSriovEthernetCard"] = reflect.TypeOf((*VirtualSriovEthernetCard)(nil)).Elem()
- minAPIVersionForType["VirtualSriovEthernetCard"] = "5.5"
}
// The VirtualSriovEthernetCardOption data object contains the options for the
@@ -93442,7 +92962,6 @@ type VirtualSriovEthernetCardOption struct {
func init() {
t["VirtualSriovEthernetCardOption"] = reflect.TypeOf((*VirtualSriovEthernetCardOption)(nil)).Elem()
- minAPIVersionForType["VirtualSriovEthernetCardOption"] = "5.5"
}
// The `VirtualSriovEthernetCardSriovBackingInfo`
@@ -93483,7 +93002,6 @@ type VirtualSriovEthernetCardSriovBackingInfo struct {
func init() {
t["VirtualSriovEthernetCardSriovBackingInfo"] = reflect.TypeOf((*VirtualSriovEthernetCardSriovBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualSriovEthernetCardSriovBackingInfo"] = "5.5"
}
// This data object contains the option for SriovBackingInfo data
@@ -93494,7 +93012,6 @@ type VirtualSriovEthernetCardSriovBackingOption struct {
func init() {
t["VirtualSriovEthernetCardSriovBackingOption"] = reflect.TypeOf((*VirtualSriovEthernetCardSriovBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualSriovEthernetCardSriovBackingOption"] = "5.5"
}
// The `VirtualSwitchProfile` data object represents a subprofile
@@ -93520,7 +93037,6 @@ type VirtualSwitchProfile struct {
func init() {
t["VirtualSwitchProfile"] = reflect.TypeOf((*VirtualSwitchProfile)(nil)).Elem()
- minAPIVersionForType["VirtualSwitchProfile"] = "4.0"
}
// The `VirtualSwitchSelectionProfile` data object represents
@@ -93534,7 +93050,6 @@ type VirtualSwitchSelectionProfile struct {
func init() {
t["VirtualSwitchSelectionProfile"] = reflect.TypeOf((*VirtualSwitchSelectionProfile)(nil)).Elem()
- minAPIVersionForType["VirtualSwitchSelectionProfile"] = "4.0"
}
// This data object type represents a TPM 2.0 module
@@ -93558,7 +93073,6 @@ type VirtualTPM struct {
func init() {
t["VirtualTPM"] = reflect.TypeOf((*VirtualTPM)(nil)).Elem()
- minAPIVersionForType["VirtualTPM"] = "6.7"
}
// This data object type contains the options for the
@@ -93575,7 +93089,6 @@ type VirtualTPMOption struct {
func init() {
t["VirtualTPMOption"] = reflect.TypeOf((*VirtualTPMOption)(nil)).Elem()
- minAPIVersionForType["VirtualTPMOption"] = "6.7"
}
// The `VirtualUSB` data object describes the USB device configuration
@@ -93647,21 +93160,21 @@ type VirtualUSB struct {
// can not be satisfied, either
// because there is no such device, or the matching device is not
// available. Valid only while the virtual machine is running.
- Connected bool `xml:"connected" json:"connected" vim:"2.5"`
+ Connected bool `xml:"connected" json:"connected"`
// Vendor ID of the USB device.
- Vendor int32 `xml:"vendor,omitempty" json:"vendor,omitempty" vim:"4.1"`
+ Vendor int32 `xml:"vendor,omitempty" json:"vendor,omitempty"`
// Product ID of the USB device.
- Product int32 `xml:"product,omitempty" json:"product,omitempty" vim:"4.1"`
+ Product int32 `xml:"product,omitempty" json:"product,omitempty"`
// Device class families.
//
// For possible values see
// `VirtualMachineUsbInfoFamily_enum`.
- Family []string `xml:"family,omitempty" json:"family,omitempty" vim:"4.1"`
+ Family []string `xml:"family,omitempty" json:"family,omitempty"`
// Device speeds detected by server.
//
// For possible values see
// `VirtualMachineUsbInfoSpeed_enum`.
- Speed []string `xml:"speed,omitempty" json:"speed,omitempty" vim:"4.1"`
+ Speed []string `xml:"speed,omitempty" json:"speed,omitempty"`
}
func init() {
@@ -93695,7 +93208,7 @@ type VirtualUSBController struct {
AutoConnectDevices *bool `xml:"autoConnectDevices" json:"autoConnectDevices,omitempty"`
// Flag to indicate whether or not enhanced host controller
// interface (USB 2.0) is enabled on this controller.
- EhciEnabled *bool `xml:"ehciEnabled" json:"ehciEnabled,omitempty" vim:"2.5"`
+ EhciEnabled *bool `xml:"ehciEnabled" json:"ehciEnabled,omitempty"`
}
func init() {
@@ -93712,11 +93225,11 @@ type VirtualUSBControllerOption struct {
AutoConnectDevices BoolOption `xml:"autoConnectDevices" json:"autoConnectDevices"`
// Flag to indicate whether or not enhanced host controller
// interface (USB 2.0) is available on this virtual USB controller.
- EhciSupported BoolOption `xml:"ehciSupported" json:"ehciSupported" vim:"2.5"`
+ EhciSupported BoolOption `xml:"ehciSupported" json:"ehciSupported"`
// Range of USB device speeds supported by this USB controller type.
//
// Acceptable values are specified at `VirtualMachineUsbInfoSpeed_enum`.
- SupportedSpeeds []string `xml:"supportedSpeeds,omitempty" json:"supportedSpeeds,omitempty" vim:"5.0"`
+ SupportedSpeeds []string `xml:"supportedSpeeds,omitempty" json:"supportedSpeeds,omitempty"`
}
func init() {
@@ -93738,7 +93251,6 @@ type VirtualUSBControllerPciBusSlotInfo struct {
func init() {
t["VirtualUSBControllerPciBusSlotInfo"] = reflect.TypeOf((*VirtualUSBControllerPciBusSlotInfo)(nil)).Elem()
- minAPIVersionForType["VirtualUSBControllerPciBusSlotInfo"] = "5.1"
}
// The `VirtualUSBOption` data object type contains options for
@@ -93770,7 +93282,6 @@ type VirtualUSBRemoteClientBackingInfo struct {
func init() {
t["VirtualUSBRemoteClientBackingInfo"] = reflect.TypeOf((*VirtualUSBRemoteClientBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualUSBRemoteClientBackingInfo"] = "5.0"
}
// This data object type contains the options for
@@ -93781,7 +93292,6 @@ type VirtualUSBRemoteClientBackingOption struct {
func init() {
t["VirtualUSBRemoteClientBackingOption"] = reflect.TypeOf((*VirtualUSBRemoteClientBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualUSBRemoteClientBackingOption"] = "5.0"
}
// The `VirtualUSBRemoteHostBackingInfo` data object
@@ -93834,7 +93344,6 @@ type VirtualUSBRemoteHostBackingInfo struct {
func init() {
t["VirtualUSBRemoteHostBackingInfo"] = reflect.TypeOf((*VirtualUSBRemoteHostBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualUSBRemoteHostBackingInfo"] = "4.1"
}
// The `VirtualUSBRemoteHostBackingOption` data object
@@ -93849,7 +93358,6 @@ type VirtualUSBRemoteHostBackingOption struct {
func init() {
t["VirtualUSBRemoteHostBackingOption"] = reflect.TypeOf((*VirtualUSBRemoteHostBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualUSBRemoteHostBackingOption"] = "4.1"
}
// The `VirtualUSBUSBBackingInfo` data object
@@ -93891,7 +93399,6 @@ type VirtualUSBUSBBackingInfo struct {
func init() {
t["VirtualUSBUSBBackingInfo"] = reflect.TypeOf((*VirtualUSBUSBBackingInfo)(nil)).Elem()
- minAPIVersionForType["VirtualUSBUSBBackingInfo"] = "2.5"
}
// The `VirtualUSBUSBBackingOption` data object
@@ -93906,7 +93413,6 @@ type VirtualUSBUSBBackingOption struct {
func init() {
t["VirtualUSBUSBBackingOption"] = reflect.TypeOf((*VirtualUSBUSBBackingOption)(nil)).Elem()
- minAPIVersionForType["VirtualUSBUSBBackingOption"] = "2.5"
}
// The `VirtualUSBXHCIController` data object describes a virtual
@@ -93923,7 +93429,6 @@ type VirtualUSBXHCIController struct {
func init() {
t["VirtualUSBXHCIController"] = reflect.TypeOf((*VirtualUSBXHCIController)(nil)).Elem()
- minAPIVersionForType["VirtualUSBXHCIController"] = "5.0"
}
// The VirtualUSBXHCIControllerOption data object type contains the options
@@ -93942,7 +93447,6 @@ type VirtualUSBXHCIControllerOption struct {
func init() {
t["VirtualUSBXHCIControllerOption"] = reflect.TypeOf((*VirtualUSBXHCIControllerOption)(nil)).Elem()
- minAPIVersionForType["VirtualUSBXHCIControllerOption"] = "5.0"
}
// This data object type contains the options for the
@@ -93953,7 +93457,6 @@ type VirtualVMIROMOption struct {
func init() {
t["VirtualVMIROMOption"] = reflect.TypeOf((*VirtualVMIROMOption)(nil)).Elem()
- minAPIVersionForType["VirtualVMIROMOption"] = "2.5"
}
// This data object type contains the options for the
@@ -93964,20 +93467,20 @@ type VirtualVideoCardOption struct {
// Minimum, maximum and default size of the video frame buffer.
VideoRamSizeInKB *LongOption `xml:"videoRamSizeInKB,omitempty" json:"videoRamSizeInKB,omitempty"`
// Minimum, maximum and default value for the number of displays.
- NumDisplays *IntOption `xml:"numDisplays,omitempty" json:"numDisplays,omitempty" vim:"2.5 U2"`
+ NumDisplays *IntOption `xml:"numDisplays,omitempty" json:"numDisplays,omitempty"`
// Flag to indicate whether the display settings of the host should
// be used to automatically determine the display settings of the
// virtual machine's video card.
- UseAutoDetect *BoolOption `xml:"useAutoDetect,omitempty" json:"useAutoDetect,omitempty" vim:"2.5 U2"`
+ UseAutoDetect *BoolOption `xml:"useAutoDetect,omitempty" json:"useAutoDetect,omitempty"`
// Flag to indicate whether the virtual video card supports 3D functions.
- Support3D *BoolOption `xml:"support3D,omitempty" json:"support3D,omitempty" vim:"2.5 U2"`
+ Support3D *BoolOption `xml:"support3D,omitempty" json:"support3D,omitempty"`
// Flag to indicate whether the virtual video card can specify how to render 3D graphics.
- Use3dRendererSupported *BoolOption `xml:"use3dRendererSupported,omitempty" json:"use3dRendererSupported,omitempty" vim:"5.1"`
+ Use3dRendererSupported *BoolOption `xml:"use3dRendererSupported,omitempty" json:"use3dRendererSupported,omitempty"`
// The minimum, maximum, and default values for graphics memory size.
- GraphicsMemorySizeInKB *LongOption `xml:"graphicsMemorySizeInKB,omitempty" json:"graphicsMemorySizeInKB,omitempty" vim:"6.0"`
+ GraphicsMemorySizeInKB *LongOption `xml:"graphicsMemorySizeInKB,omitempty" json:"graphicsMemorySizeInKB,omitempty"`
// Flag to indicate whether the virtual video card can specify the size
// of graphics memory.
- GraphicsMemorySizeSupported *BoolOption `xml:"graphicsMemorySizeSupported,omitempty" json:"graphicsMemorySizeSupported,omitempty" vim:"6.0"`
+ GraphicsMemorySizeSupported *BoolOption `xml:"graphicsMemorySizeSupported,omitempty" json:"graphicsMemorySizeSupported,omitempty"`
}
func init() {
@@ -94002,7 +93505,6 @@ type VirtualVmxnet2 struct {
func init() {
t["VirtualVmxnet2"] = reflect.TypeOf((*VirtualVmxnet2)(nil)).Elem()
- minAPIVersionForType["VirtualVmxnet2"] = "2.5"
}
// The VirtualVmxnet2Option data object type contains the options for the
@@ -94013,7 +93515,6 @@ type VirtualVmxnet2Option struct {
func init() {
t["VirtualVmxnet2Option"] = reflect.TypeOf((*VirtualVmxnet2Option)(nil)).Elem()
- minAPIVersionForType["VirtualVmxnet2Option"] = "2.5"
}
// The VirtualVmxnet3 data object type represents an instance
@@ -94033,7 +93534,6 @@ type VirtualVmxnet3 struct {
func init() {
t["VirtualVmxnet3"] = reflect.TypeOf((*VirtualVmxnet3)(nil)).Elem()
- minAPIVersionForType["VirtualVmxnet3"] = "2.5 U2"
}
// The VirtualVmxnet3Option data object type contains the options for the
@@ -94048,7 +93548,6 @@ type VirtualVmxnet3Option struct {
func init() {
t["VirtualVmxnet3Option"] = reflect.TypeOf((*VirtualVmxnet3Option)(nil)).Elem()
- minAPIVersionForType["VirtualVmxnet3Option"] = "2.5 U2"
}
// The VirtualVmxnet3Vrdma data object type represents an instance of the
@@ -94061,12 +93560,11 @@ type VirtualVmxnet3Vrdma struct {
//
// See
// `VirtualVmxnet3VrdmaOptionDeviceProtocols_enum` for more information.
- DeviceProtocol string `xml:"deviceProtocol,omitempty" json:"deviceProtocol,omitempty" vim:"6.7"`
+ DeviceProtocol string `xml:"deviceProtocol,omitempty" json:"deviceProtocol,omitempty"`
}
func init() {
t["VirtualVmxnet3Vrdma"] = reflect.TypeOf((*VirtualVmxnet3Vrdma)(nil)).Elem()
- minAPIVersionForType["VirtualVmxnet3Vrdma"] = "6.5"
}
// The VirtualVmxnet3VrdmaOption data object type contains the options for the
@@ -94075,12 +93573,11 @@ type VirtualVmxnet3VrdmaOption struct {
VirtualVmxnet3Option
// The supported device protocols.
- DeviceProtocol *ChoiceOption `xml:"deviceProtocol,omitempty" json:"deviceProtocol,omitempty" vim:"6.7"`
+ DeviceProtocol *ChoiceOption `xml:"deviceProtocol,omitempty" json:"deviceProtocol,omitempty"`
}
func init() {
t["VirtualVmxnet3VrdmaOption"] = reflect.TypeOf((*VirtualVmxnet3VrdmaOption)(nil)).Elem()
- minAPIVersionForType["VirtualVmxnet3VrdmaOption"] = "6.5"
}
// The VirtualVmxnetOption data object type contains the options for the
@@ -94113,7 +93610,6 @@ type VirtualWDT struct {
func init() {
t["VirtualWDT"] = reflect.TypeOf((*VirtualWDT)(nil)).Elem()
- minAPIVersionForType["VirtualWDT"] = "7.0"
}
// This data object type contains the options for the
@@ -94128,7 +93624,6 @@ type VirtualWDTOption struct {
func init() {
t["VirtualWDTOption"] = reflect.TypeOf((*VirtualWDTOption)(nil)).Elem()
- minAPIVersionForType["VirtualWDTOption"] = "7.0"
}
// The `VlanProfile` data object represents
@@ -94142,7 +93637,6 @@ type VlanProfile struct {
func init() {
t["VlanProfile"] = reflect.TypeOf((*VlanProfile)(nil)).Elem()
- minAPIVersionForType["VlanProfile"] = "4.0"
}
// This event records a user successfully acquiring an MKS ticket
@@ -94152,7 +93646,6 @@ type VmAcquiredMksTicketEvent struct {
func init() {
t["VmAcquiredMksTicketEvent"] = reflect.TypeOf((*VmAcquiredMksTicketEvent)(nil)).Elem()
- minAPIVersionForType["VmAcquiredMksTicketEvent"] = "2.5"
}
// This event records a user successfully acquiring a ticket
@@ -94165,7 +93658,6 @@ type VmAcquiredTicketEvent struct {
func init() {
t["VmAcquiredTicketEvent"] = reflect.TypeOf((*VmAcquiredTicketEvent)(nil)).Elem()
- minAPIVersionForType["VmAcquiredTicketEvent"] = "4.1"
}
// Fault thrown when moving a standalone host between datacenters, and
@@ -94189,7 +93681,6 @@ type VmAlreadyExistsInDatacenter struct {
func init() {
t["VmAlreadyExistsInDatacenter"] = reflect.TypeOf((*VmAlreadyExistsInDatacenter)(nil)).Elem()
- minAPIVersionForType["VmAlreadyExistsInDatacenter"] = "4.0"
}
type VmAlreadyExistsInDatacenterFault VmAlreadyExistsInDatacenter
@@ -94241,7 +93732,6 @@ type VmBeingClonedNoFolderEvent struct {
func init() {
t["VmBeingClonedNoFolderEvent"] = reflect.TypeOf((*VmBeingClonedNoFolderEvent)(nil)).Elem()
- minAPIVersionForType["VmBeingClonedNoFolderEvent"] = "4.1"
}
// This event records a virtual machine being created.
@@ -94275,9 +93765,9 @@ type VmBeingHotMigratedEvent struct {
// The destination host to which the virtual machine is to be migrated.
DestHost HostEventArgument `xml:"destHost" json:"destHost"`
// The destination datacenter to which the virtual machine is being migrated
- DestDatacenter *DatacenterEventArgument `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty" vim:"5.0"`
+ DestDatacenter *DatacenterEventArgument `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty"`
// The destination primary datastore to which the virtual machine is being migrated
- DestDatastore *DatastoreEventArgument `xml:"destDatastore,omitempty" json:"destDatastore,omitempty" vim:"5.0"`
+ DestDatastore *DatastoreEventArgument `xml:"destDatastore,omitempty" json:"destDatastore,omitempty"`
}
func init() {
@@ -94291,9 +93781,9 @@ type VmBeingMigratedEvent struct {
// The destination host.
DestHost HostEventArgument `xml:"destHost" json:"destHost"`
// The destination datacenter
- DestDatacenter *DatacenterEventArgument `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty" vim:"5.0"`
+ DestDatacenter *DatacenterEventArgument `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty"`
// The destination primary datastore
- DestDatastore *DatastoreEventArgument `xml:"destDatastore,omitempty" json:"destDatastore,omitempty" vim:"5.0"`
+ DestDatastore *DatastoreEventArgument `xml:"destDatastore,omitempty" json:"destDatastore,omitempty"`
}
func init() {
@@ -94307,9 +93797,9 @@ type VmBeingRelocatedEvent struct {
// The destination host to which the virtual machine is being relocated.
DestHost HostEventArgument `xml:"destHost" json:"destHost"`
// The destination datacenter to which the virtual machine is being relocated
- DestDatacenter *DatacenterEventArgument `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty" vim:"5.0"`
+ DestDatacenter *DatacenterEventArgument `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty"`
// The destination primary datastore to which the virtual machine is being relocated
- DestDatastore *DatastoreEventArgument `xml:"destDatastore,omitempty" json:"destDatastore,omitempty" vim:"5.0"`
+ DestDatastore *DatastoreEventArgument `xml:"destDatastore,omitempty" json:"destDatastore,omitempty"`
}
func init() {
@@ -94390,7 +93880,6 @@ type VmConfigFileEncryptionInfo struct {
func init() {
t["VmConfigFileEncryptionInfo"] = reflect.TypeOf((*VmConfigFileEncryptionInfo)(nil)).Elem()
- minAPIVersionForType["VmConfigFileEncryptionInfo"] = "6.5"
}
// This data object type describes a virtual machine configuration file.
@@ -94404,7 +93893,7 @@ type VmConfigFileInfo struct {
// If encryption was selected in VmConfigFileQueryFlags then this
// field is always set. Inspect the VmConfigEncryptionInfo to
// determine if the virtual machine configuration file is encrypted.
- Encryption *VmConfigFileEncryptionInfo `xml:"encryption,omitempty" json:"encryption,omitempty" vim:"6.5"`
+ Encryption *VmConfigFileEncryptionInfo `xml:"encryption,omitempty" json:"encryption,omitempty"`
}
func init() {
@@ -94439,7 +93928,7 @@ type VmConfigFileQueryFilter struct {
// This optional property can be used to filter virtual
// machine configuration files based on whether they are
// encrypted or not.
- Encrypted *bool `xml:"encrypted" json:"encrypted,omitempty" vim:"6.5"`
+ Encrypted *bool `xml:"encrypted" json:"encrypted,omitempty"`
}
func init() {
@@ -94454,7 +93943,7 @@ type VmConfigFileQueryFlags struct {
ConfigVersion bool `xml:"configVersion" json:"configVersion"`
// The flag to indicate whether the encryption information of the
// virtual machine configuration is returned.
- Encryption *bool `xml:"encryption" json:"encryption,omitempty" vim:"6.5"`
+ Encryption *bool `xml:"encryption" json:"encryption,omitempty"`
}
func init() {
@@ -94475,7 +93964,6 @@ type VmConfigIncompatibleForFaultTolerance struct {
func init() {
t["VmConfigIncompatibleForFaultTolerance"] = reflect.TypeOf((*VmConfigIncompatibleForFaultTolerance)(nil)).Elem()
- minAPIVersionForType["VmConfigIncompatibleForFaultTolerance"] = "4.0"
}
type VmConfigIncompatibleForFaultToleranceFault VmConfigIncompatibleForFaultTolerance
@@ -94500,7 +93988,6 @@ type VmConfigIncompatibleForRecordReplay struct {
func init() {
t["VmConfigIncompatibleForRecordReplay"] = reflect.TypeOf((*VmConfigIncompatibleForRecordReplay)(nil)).Elem()
- minAPIVersionForType["VmConfigIncompatibleForRecordReplay"] = "4.0"
}
type VmConfigIncompatibleForRecordReplayFault VmConfigIncompatibleForRecordReplay
@@ -94548,7 +94035,6 @@ type VmConfigInfo struct {
func init() {
t["VmConfigInfo"] = reflect.TypeOf((*VmConfigInfo)(nil)).Elem()
- minAPIVersionForType["VmConfigInfo"] = "4.0"
}
// This event records if the configuration file can not be found.
@@ -94621,7 +94107,6 @@ type VmConfigSpec struct {
func init() {
t["VmConfigSpec"] = reflect.TypeOf((*VmConfigSpec)(nil)).Elem()
- minAPIVersionForType["VmConfigSpec"] = "4.0"
}
// This event records that a virtual machine is connected.
@@ -94649,12 +94134,11 @@ type VmDasBeingResetEvent struct {
VmEvent
// The reason why this vm is being reset
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.1"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
t["VmDasBeingResetEvent"] = reflect.TypeOf((*VmDasBeingResetEvent)(nil)).Elem()
- minAPIVersionForType["VmDasBeingResetEvent"] = "4.0"
}
// This event records when a virtual machine is reset by
@@ -94668,7 +94152,6 @@ type VmDasBeingResetWithScreenshotEvent struct {
func init() {
t["VmDasBeingResetWithScreenshotEvent"] = reflect.TypeOf((*VmDasBeingResetWithScreenshotEvent)(nil)).Elem()
- minAPIVersionForType["VmDasBeingResetWithScreenshotEvent"] = "4.0"
}
// This event records when HA VM Health Monitoring fails to reset
@@ -94679,7 +94162,6 @@ type VmDasResetFailedEvent struct {
func init() {
t["VmDasResetFailedEvent"] = reflect.TypeOf((*VmDasResetFailedEvent)(nil)).Elem()
- minAPIVersionForType["VmDasResetFailedEvent"] = "4.0"
}
// The event records that an error occurred when updating the HA agents
@@ -94789,7 +94271,6 @@ type VmDiskFileEncryptionInfo struct {
func init() {
t["VmDiskFileEncryptionInfo"] = reflect.TypeOf((*VmDiskFileEncryptionInfo)(nil)).Elem()
- minAPIVersionForType["VmDiskFileEncryptionInfo"] = "6.5"
}
// This data object type describes a virtual disk primary file.
@@ -94815,17 +94296,17 @@ type VmDiskFileInfo struct {
// controller and plugged into an lsilogic controller.
//
// The controller type suitable for this virtual disk.
- ControllerType string `xml:"controllerType,omitempty" json:"controllerType,omitempty" vim:"2.5"`
+ ControllerType string `xml:"controllerType,omitempty" json:"controllerType,omitempty"`
// The extents of this virtual disk specified in absolute DS paths
- DiskExtents []string `xml:"diskExtents,omitempty" json:"diskExtents,omitempty" vim:"2.5"`
+ DiskExtents []string `xml:"diskExtents,omitempty" json:"diskExtents,omitempty"`
// Indicates if the disk is thin-provisioned
- Thin *bool `xml:"thin" json:"thin,omitempty" vim:"4.0"`
+ Thin *bool `xml:"thin" json:"thin,omitempty"`
// The encryption information of the virtual disk.
//
// If encryption was selected in VmDiskFileQueryFlags then this
// field is always set. Inspect the VmDiskEncryptionInfo to
// determine if the virtual disk is encrypted.
- Encryption *VmDiskFileEncryptionInfo `xml:"encryption,omitempty" json:"encryption,omitempty" vim:"6.5"`
+ Encryption *VmDiskFileEncryptionInfo `xml:"encryption,omitempty" json:"encryption,omitempty"`
}
func init() {
@@ -94886,14 +94367,14 @@ type VmDiskFileQueryFilter struct {
// virtual disk.
//
// See also `VirtualIDEController`, `VirtualSCSIController`.
- ControllerType []string `xml:"controllerType,omitempty" json:"controllerType,omitempty" vim:"2.5"`
+ ControllerType []string `xml:"controllerType,omitempty" json:"controllerType,omitempty"`
// This optional property can be used to filter disks based on whether
// they are thin-provsioned or not: if set to true, only thin-provisioned
// disks are returned, and vice-versa.
- Thin *bool `xml:"thin" json:"thin,omitempty" vim:"4.0"`
+ Thin *bool `xml:"thin" json:"thin,omitempty"`
// This optional property can be used to filter disks based on
// whether they are encrypted or not.
- Encrypted *bool `xml:"encrypted" json:"encrypted,omitempty" vim:"6.5"`
+ Encrypted *bool `xml:"encrypted" json:"encrypted,omitempty"`
}
func init() {
@@ -94922,15 +94403,15 @@ type VmDiskFileQueryFlags struct {
//
// The flag to indicate whether or not the controller type of the virtual disk
// file is returned.
- ControllerType *bool `xml:"controllerType" json:"controllerType,omitempty" vim:"2.5"`
+ ControllerType *bool `xml:"controllerType" json:"controllerType,omitempty"`
// The flag to indicate whether or not the disk extents of the virtual disk
// are returned.
- DiskExtents *bool `xml:"diskExtents" json:"diskExtents,omitempty" vim:"2.5"`
+ DiskExtents *bool `xml:"diskExtents" json:"diskExtents,omitempty"`
// The flag to indicate whether the thin-ness of the disk is returned.
- Thin *bool `xml:"thin" json:"thin,omitempty" vim:"4.0"`
+ Thin *bool `xml:"thin" json:"thin,omitempty"`
// The flag to indicate whether the encryption information of the
// virtual disk is returned.
- Encryption *bool `xml:"encryption" json:"encryption,omitempty" vim:"6.5"`
+ Encryption *bool `xml:"encryption" json:"encryption,omitempty"`
}
func init() {
@@ -94955,7 +94436,6 @@ type VmEndRecordingEvent struct {
func init() {
t["VmEndRecordingEvent"] = reflect.TypeOf((*VmEndRecordingEvent)(nil)).Elem()
- minAPIVersionForType["VmEndRecordingEvent"] = "4.0"
}
// Deprecated as of vSphere API 6.0.
@@ -94967,7 +94447,6 @@ type VmEndReplayingEvent struct {
func init() {
t["VmEndReplayingEvent"] = reflect.TypeOf((*VmEndReplayingEvent)(nil)).Elem()
- minAPIVersionForType["VmEndReplayingEvent"] = "4.0"
}
// These are virtual machine events.
@@ -95005,9 +94484,9 @@ type VmFailedMigrateEvent struct {
// The reason for the failure.
Reason LocalizedMethodFault `xml:"reason" json:"reason"`
// The destination datacenter
- DestDatacenter *DatacenterEventArgument `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty" vim:"5.0"`
+ DestDatacenter *DatacenterEventArgument `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty"`
// The destination primary datastore
- DestDatastore *DatastoreEventArgument `xml:"destDatastore,omitempty" json:"destDatastore,omitempty" vim:"5.0"`
+ DestDatastore *DatastoreEventArgument `xml:"destDatastore,omitempty" json:"destDatastore,omitempty"`
}
func init() {
@@ -95048,7 +94527,6 @@ type VmFailedStartingSecondaryEvent struct {
func init() {
t["VmFailedStartingSecondaryEvent"] = reflect.TypeOf((*VmFailedStartingSecondaryEvent)(nil)).Elem()
- minAPIVersionForType["VmFailedStartingSecondaryEvent"] = "4.0"
}
// This event records a failure to power off a virtual machine.
@@ -95144,7 +94622,6 @@ type VmFailedUpdatingSecondaryConfig struct {
func init() {
t["VmFailedUpdatingSecondaryConfig"] = reflect.TypeOf((*VmFailedUpdatingSecondaryConfig)(nil)).Elem()
- minAPIVersionForType["VmFailedUpdatingSecondaryConfig"] = "4.0"
}
// This event records when a virtual machine failover was unsuccessful.
@@ -95152,7 +94629,7 @@ type VmFailoverFailed struct {
VmEvent
// The reason for the failure
- Reason *LocalizedMethodFault `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.1"`
+ Reason *LocalizedMethodFault `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
@@ -95179,7 +94656,6 @@ type VmFaultToleranceConfigIssue struct {
func init() {
t["VmFaultToleranceConfigIssue"] = reflect.TypeOf((*VmFaultToleranceConfigIssue)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceConfigIssue"] = "4.0"
}
type VmFaultToleranceConfigIssueFault VmFaultToleranceConfigIssue
@@ -95208,7 +94684,6 @@ type VmFaultToleranceConfigIssueWrapper struct {
func init() {
t["VmFaultToleranceConfigIssueWrapper"] = reflect.TypeOf((*VmFaultToleranceConfigIssueWrapper)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceConfigIssueWrapper"] = "4.1"
}
type VmFaultToleranceConfigIssueWrapperFault VmFaultToleranceConfigIssueWrapper
@@ -95229,7 +94704,6 @@ type VmFaultToleranceInvalidFileBacking struct {
func init() {
t["VmFaultToleranceInvalidFileBacking"] = reflect.TypeOf((*VmFaultToleranceInvalidFileBacking)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceInvalidFileBacking"] = "4.0"
}
type VmFaultToleranceInvalidFileBackingFault VmFaultToleranceInvalidFileBacking
@@ -95246,7 +94720,6 @@ type VmFaultToleranceIssue struct {
func init() {
t["VmFaultToleranceIssue"] = reflect.TypeOf((*VmFaultToleranceIssue)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceIssue"] = "4.0"
}
type VmFaultToleranceIssueFault BaseVmFaultToleranceIssue
@@ -95267,7 +94740,6 @@ type VmFaultToleranceOpIssuesList struct {
func init() {
t["VmFaultToleranceOpIssuesList"] = reflect.TypeOf((*VmFaultToleranceOpIssuesList)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceOpIssuesList"] = "4.0"
}
type VmFaultToleranceOpIssuesListFault VmFaultToleranceOpIssuesList
@@ -95295,7 +94767,6 @@ type VmFaultToleranceStateChangedEvent struct {
func init() {
t["VmFaultToleranceStateChangedEvent"] = reflect.TypeOf((*VmFaultToleranceStateChangedEvent)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceStateChangedEvent"] = "4.0"
}
// This fault is returned when a host has more than the recommended number of
@@ -95311,7 +94782,6 @@ type VmFaultToleranceTooManyFtVcpusOnHost struct {
func init() {
t["VmFaultToleranceTooManyFtVcpusOnHost"] = reflect.TypeOf((*VmFaultToleranceTooManyFtVcpusOnHost)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceTooManyFtVcpusOnHost"] = "6.0"
}
type VmFaultToleranceTooManyFtVcpusOnHostFault VmFaultToleranceTooManyFtVcpusOnHost
@@ -95332,7 +94802,6 @@ type VmFaultToleranceTooManyVMsOnHost struct {
func init() {
t["VmFaultToleranceTooManyVMsOnHost"] = reflect.TypeOf((*VmFaultToleranceTooManyVMsOnHost)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceTooManyVMsOnHost"] = "4.1"
}
type VmFaultToleranceTooManyVMsOnHostFault VmFaultToleranceTooManyVMsOnHost
@@ -95350,7 +94819,6 @@ type VmFaultToleranceTurnedOffEvent struct {
func init() {
t["VmFaultToleranceTurnedOffEvent"] = reflect.TypeOf((*VmFaultToleranceTurnedOffEvent)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceTurnedOffEvent"] = "4.0"
}
// This event records a secondary or primary VM is terminated.
@@ -95368,7 +94836,6 @@ type VmFaultToleranceVmTerminatedEvent struct {
func init() {
t["VmFaultToleranceVmTerminatedEvent"] = reflect.TypeOf((*VmFaultToleranceVmTerminatedEvent)(nil)).Elem()
- minAPIVersionForType["VmFaultToleranceVmTerminatedEvent"] = "4.0"
}
// This event notifies that a guest OS has crashed
@@ -95378,7 +94845,6 @@ type VmGuestOSCrashedEvent struct {
func init() {
t["VmGuestOSCrashedEvent"] = reflect.TypeOf((*VmGuestOSCrashedEvent)(nil)).Elem()
- minAPIVersionForType["VmGuestOSCrashedEvent"] = "6.0"
}
// This is a virtual machine guest reboot request event.
@@ -95417,12 +94883,11 @@ type VmHealthMonitoringStateChangedEvent struct {
State string `xml:"state" json:"state"`
// The previous service state in
// `ClusterDasConfigInfoVmMonitoringState_enum`
- PrevState string `xml:"prevState,omitempty" json:"prevState,omitempty" vim:"6.5"`
+ PrevState string `xml:"prevState,omitempty" json:"prevState,omitempty"`
}
func init() {
t["VmHealthMonitoringStateChangedEvent"] = reflect.TypeOf((*VmHealthMonitoringStateChangedEvent)(nil)).Elem()
- minAPIVersionForType["VmHealthMonitoringStateChangedEvent"] = "4.0"
}
// The virtual machine if powered on or VMotioned, would violate a VM-Host affinity rule.
@@ -95437,7 +94902,6 @@ type VmHostAffinityRuleViolation struct {
func init() {
t["VmHostAffinityRuleViolation"] = reflect.TypeOf((*VmHostAffinityRuleViolation)(nil)).Elem()
- minAPIVersionForType["VmHostAffinityRuleViolation"] = "4.1"
}
type VmHostAffinityRuleViolationFault VmHostAffinityRuleViolation
@@ -95457,7 +94921,6 @@ type VmInstanceUuidAssignedEvent struct {
func init() {
t["VmInstanceUuidAssignedEvent"] = reflect.TypeOf((*VmInstanceUuidAssignedEvent)(nil)).Elem()
- minAPIVersionForType["VmInstanceUuidAssignedEvent"] = "4.0"
}
// This event records a change in a virtual machine's instance UUID.
@@ -95472,7 +94935,6 @@ type VmInstanceUuidChangedEvent struct {
func init() {
t["VmInstanceUuidChangedEvent"] = reflect.TypeOf((*VmInstanceUuidChangedEvent)(nil)).Elem()
- minAPIVersionForType["VmInstanceUuidChangedEvent"] = "4.0"
}
// This event records a conflict of virtual machine instance UUIDs.
@@ -95488,7 +94950,6 @@ type VmInstanceUuidConflictEvent struct {
func init() {
t["VmInstanceUuidConflictEvent"] = reflect.TypeOf((*VmInstanceUuidConflictEvent)(nil)).Elem()
- minAPIVersionForType["VmInstanceUuidConflictEvent"] = "4.0"
}
// A VmLimitLicense fault is thrown if powering on the virtual
@@ -95585,7 +95046,6 @@ type VmMaxFTRestartCountReached struct {
func init() {
t["VmMaxFTRestartCountReached"] = reflect.TypeOf((*VmMaxFTRestartCountReached)(nil)).Elem()
- minAPIVersionForType["VmMaxFTRestartCountReached"] = "4.0"
}
// This event is fired when the VM reached the max restart count
@@ -95595,7 +95055,6 @@ type VmMaxRestartCountReached struct {
func init() {
t["VmMaxRestartCountReached"] = reflect.TypeOf((*VmMaxRestartCountReached)(nil)).Elem()
- minAPIVersionForType["VmMaxRestartCountReached"] = "4.0"
}
// This event records when an error message (consisting of a collection of "observations")
@@ -95615,7 +95074,6 @@ type VmMessageErrorEvent struct {
func init() {
t["VmMessageErrorEvent"] = reflect.TypeOf((*VmMessageErrorEvent)(nil)).Elem()
- minAPIVersionForType["VmMessageErrorEvent"] = "4.0"
}
// This event records when an informational message (consisting of a collection of "observations")
@@ -95630,7 +95088,7 @@ type VmMessageEvent struct {
// A set of localizable message data that comprise this event.
//
// Only available on servers that support localization.
- MessageInfo []VirtualMachineMessage `xml:"messageInfo,omitempty" json:"messageInfo,omitempty" vim:"2.5"`
+ MessageInfo []VirtualMachineMessage `xml:"messageInfo,omitempty" json:"messageInfo,omitempty"`
}
func init() {
@@ -95651,7 +95109,6 @@ type VmMessageWarningEvent struct {
func init() {
t["VmMessageWarningEvent"] = reflect.TypeOf((*VmMessageWarningEvent)(nil)).Elem()
- minAPIVersionForType["VmMessageWarningEvent"] = "4.0"
}
// This fault indicates that some error has occurred during the processing of
@@ -95665,7 +95122,6 @@ type VmMetadataManagerFault struct {
func init() {
t["VmMetadataManagerFault"] = reflect.TypeOf((*VmMetadataManagerFault)(nil)).Elem()
- minAPIVersionForType["VmMetadataManagerFault"] = "5.5"
}
type VmMetadataManagerFaultFault VmMetadataManagerFault
@@ -95684,9 +95140,9 @@ type VmMigratedEvent struct {
// the destination host is recorded in the inherited "host" property.)
SourceHost HostEventArgument `xml:"sourceHost" json:"sourceHost"`
// The source datacenter
- SourceDatacenter *DatacenterEventArgument `xml:"sourceDatacenter,omitempty" json:"sourceDatacenter,omitempty" vim:"5.0"`
+ SourceDatacenter *DatacenterEventArgument `xml:"sourceDatacenter,omitempty" json:"sourceDatacenter,omitempty"`
// The source primary datastore
- SourceDatastore *DatastoreEventArgument `xml:"sourceDatastore,omitempty" json:"sourceDatastore,omitempty" vim:"5.0"`
+ SourceDatastore *DatastoreEventArgument `xml:"sourceDatastore,omitempty" json:"sourceDatastore,omitempty"`
}
func init() {
@@ -95701,7 +95157,6 @@ type VmMonitorIncompatibleForFaultTolerance struct {
func init() {
t["VmMonitorIncompatibleForFaultTolerance"] = reflect.TypeOf((*VmMonitorIncompatibleForFaultTolerance)(nil)).Elem()
- minAPIVersionForType["VmMonitorIncompatibleForFaultTolerance"] = "4.1"
}
type VmMonitorIncompatibleForFaultToleranceFault VmMonitorIncompatibleForFaultTolerance
@@ -95721,7 +95176,6 @@ type VmNoCompatibleHostForSecondaryEvent struct {
func init() {
t["VmNoCompatibleHostForSecondaryEvent"] = reflect.TypeOf((*VmNoCompatibleHostForSecondaryEvent)(nil)).Elem()
- minAPIVersionForType["VmNoCompatibleHostForSecondaryEvent"] = "4.0"
}
// This event records a migration failure when the destination host
@@ -95800,7 +95254,6 @@ type VmPodConfigForPlacement struct {
func init() {
t["VmPodConfigForPlacement"] = reflect.TypeOf((*VmPodConfigForPlacement)(nil)).Elem()
- minAPIVersionForType["VmPodConfigForPlacement"] = "5.0"
}
// The `VmPortGroupProfile` data object represents the subprofile
@@ -95818,7 +95271,6 @@ type VmPortGroupProfile struct {
func init() {
t["VmPortGroupProfile"] = reflect.TypeOf((*VmPortGroupProfile)(nil)).Elem()
- minAPIVersionForType["VmPortGroupProfile"] = "4.0"
}
// This event records when a virtual machine has been powered off on an isolated host
@@ -95842,7 +95294,6 @@ type VmPowerOnDisabled struct {
func init() {
t["VmPowerOnDisabled"] = reflect.TypeOf((*VmPowerOnDisabled)(nil)).Elem()
- minAPIVersionForType["VmPowerOnDisabled"] = "4.0"
}
type VmPowerOnDisabledFault VmPowerOnDisabled
@@ -95881,7 +95332,6 @@ type VmPoweringOnWithCustomizedDVPortEvent struct {
func init() {
t["VmPoweringOnWithCustomizedDVPortEvent"] = reflect.TypeOf((*VmPoweringOnWithCustomizedDVPortEvent)(nil)).Elem()
- minAPIVersionForType["VmPoweringOnWithCustomizedDVPortEvent"] = "4.0"
}
// This event records a fault tolerance failover.
@@ -95899,7 +95349,6 @@ type VmPrimaryFailoverEvent struct {
func init() {
t["VmPrimaryFailoverEvent"] = reflect.TypeOf((*VmPrimaryFailoverEvent)(nil)).Elem()
- minAPIVersionForType["VmPrimaryFailoverEvent"] = "4.0"
}
// This event records a reconfiguration of the virtual machine.
@@ -95909,7 +95358,7 @@ type VmReconfiguredEvent struct {
// The configuration specification that was used for the reconfiguration.
ConfigSpec VirtualMachineConfigSpec `xml:"configSpec" json:"configSpec"`
// The configuration values changed during the reconfiguration.
- ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
+ ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty"`
}
func init() {
@@ -95957,7 +95406,6 @@ type VmReloadFromPathEvent struct {
func init() {
t["VmReloadFromPathEvent"] = reflect.TypeOf((*VmReloadFromPathEvent)(nil)).Elem()
- minAPIVersionForType["VmReloadFromPathEvent"] = "4.1"
}
// This event records that a virtual machine reload from a new configuration
@@ -95970,7 +95418,6 @@ type VmReloadFromPathFailedEvent struct {
func init() {
t["VmReloadFromPathFailedEvent"] = reflect.TypeOf((*VmReloadFromPathFailedEvent)(nil)).Elem()
- minAPIVersionForType["VmReloadFromPathFailedEvent"] = "4.1"
}
// This event records a failure to relocate a virtual machine.
@@ -95982,9 +95429,9 @@ type VmRelocateFailedEvent struct {
// The reason why this relocate operation failed.
Reason LocalizedMethodFault `xml:"reason" json:"reason"`
// The destination datacenter to which the virtual machine was being relocated
- DestDatacenter *DatacenterEventArgument `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty" vim:"5.0"`
+ DestDatacenter *DatacenterEventArgument `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty"`
// The destination primary datastore to which the virtual machine was being relocated
- DestDatastore *DatastoreEventArgument `xml:"destDatastore,omitempty" json:"destDatastore,omitempty" vim:"5.0"`
+ DestDatastore *DatastoreEventArgument `xml:"destDatastore,omitempty" json:"destDatastore,omitempty"`
}
func init() {
@@ -96007,9 +95454,9 @@ type VmRelocatedEvent struct {
// The source host from which the virtual machine was relocated.
SourceHost HostEventArgument `xml:"sourceHost" json:"sourceHost"`
// The source datacenter from which the virtual machine relocated
- SourceDatacenter *DatacenterEventArgument `xml:"sourceDatacenter,omitempty" json:"sourceDatacenter,omitempty" vim:"5.0"`
+ SourceDatacenter *DatacenterEventArgument `xml:"sourceDatacenter,omitempty" json:"sourceDatacenter,omitempty"`
// The source primary datastore from which the virtual machine relocated
- SourceDatastore *DatastoreEventArgument `xml:"sourceDatastore,omitempty" json:"sourceDatastore,omitempty" vim:"5.0"`
+ SourceDatastore *DatastoreEventArgument `xml:"sourceDatastore,omitempty" json:"sourceDatastore,omitempty"`
}
func init() {
@@ -96023,7 +95470,6 @@ type VmRemoteConsoleConnectedEvent struct {
func init() {
t["VmRemoteConsoleConnectedEvent"] = reflect.TypeOf((*VmRemoteConsoleConnectedEvent)(nil)).Elem()
- minAPIVersionForType["VmRemoteConsoleConnectedEvent"] = "4.0"
}
// This event records that a remote console was disconnected from the VM
@@ -96033,7 +95479,6 @@ type VmRemoteConsoleDisconnectedEvent struct {
func init() {
t["VmRemoteConsoleDisconnectedEvent"] = reflect.TypeOf((*VmRemoteConsoleDisconnectedEvent)(nil)).Elem()
- minAPIVersionForType["VmRemoteConsoleDisconnectedEvent"] = "4.0"
}
// This event records a virtual machine removed from VirtualCenter management.
@@ -96071,7 +95516,6 @@ type VmRequirementsExceedCurrentEVCModeEvent struct {
func init() {
t["VmRequirementsExceedCurrentEVCModeEvent"] = reflect.TypeOf((*VmRequirementsExceedCurrentEVCModeEvent)(nil)).Elem()
- minAPIVersionForType["VmRequirementsExceedCurrentEVCModeEvent"] = "5.1"
}
// This event records a virtual machine resetting.
@@ -96102,7 +95546,7 @@ type VmResourceReallocatedEvent struct {
VmEvent
// The configuration values changed during the reconfiguration.
- ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
+ ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty"`
}
func init() {
@@ -96141,7 +95585,6 @@ type VmSecondaryAddedEvent struct {
func init() {
t["VmSecondaryAddedEvent"] = reflect.TypeOf((*VmSecondaryAddedEvent)(nil)).Elem()
- minAPIVersionForType["VmSecondaryAddedEvent"] = "4.0"
}
// This event records that a fault tolerance secondary VM has been
@@ -96154,7 +95597,6 @@ type VmSecondaryDisabledBySystemEvent struct {
func init() {
t["VmSecondaryDisabledBySystemEvent"] = reflect.TypeOf((*VmSecondaryDisabledBySystemEvent)(nil)).Elem()
- minAPIVersionForType["VmSecondaryDisabledBySystemEvent"] = "4.0"
}
// This event records a secondary VM is disabled.
@@ -96164,7 +95606,6 @@ type VmSecondaryDisabledEvent struct {
func init() {
t["VmSecondaryDisabledEvent"] = reflect.TypeOf((*VmSecondaryDisabledEvent)(nil)).Elem()
- minAPIVersionForType["VmSecondaryDisabledEvent"] = "4.0"
}
// This event records a secondary VM is enabled.
@@ -96174,7 +95615,6 @@ type VmSecondaryEnabledEvent struct {
func init() {
t["VmSecondaryEnabledEvent"] = reflect.TypeOf((*VmSecondaryEnabledEvent)(nil)).Elem()
- minAPIVersionForType["VmSecondaryEnabledEvent"] = "4.0"
}
// This event records a secondary VM is started successfully.
@@ -96184,7 +95624,6 @@ type VmSecondaryStartedEvent struct {
func init() {
t["VmSecondaryStartedEvent"] = reflect.TypeOf((*VmSecondaryStartedEvent)(nil)).Elem()
- minAPIVersionForType["VmSecondaryStartedEvent"] = "4.0"
}
// This event records when a virtual machine has been shut down on an isolated host
@@ -96203,7 +95642,6 @@ type VmShutdownOnIsolationEvent struct {
func init() {
t["VmShutdownOnIsolationEvent"] = reflect.TypeOf((*VmShutdownOnIsolationEvent)(nil)).Elem()
- minAPIVersionForType["VmShutdownOnIsolationEvent"] = "4.0"
}
// This fault is returned when a host has more than the recommended number of
@@ -96219,7 +95657,6 @@ type VmSmpFaultToleranceTooManyVMsOnHost struct {
func init() {
t["VmSmpFaultToleranceTooManyVMsOnHost"] = reflect.TypeOf((*VmSmpFaultToleranceTooManyVMsOnHost)(nil)).Elem()
- minAPIVersionForType["VmSmpFaultToleranceTooManyVMsOnHost"] = "6.0"
}
type VmSmpFaultToleranceTooManyVMsOnHostFault VmSmpFaultToleranceTooManyVMsOnHost
@@ -96256,7 +95693,6 @@ type VmStartRecordingEvent struct {
func init() {
t["VmStartRecordingEvent"] = reflect.TypeOf((*VmStartRecordingEvent)(nil)).Elem()
- minAPIVersionForType["VmStartRecordingEvent"] = "4.0"
}
// Deprecated as of vSphere API 6.0.
@@ -96268,7 +95704,6 @@ type VmStartReplayingEvent struct {
func init() {
t["VmStartReplayingEvent"] = reflect.TypeOf((*VmStartReplayingEvent)(nil)).Elem()
- minAPIVersionForType["VmStartReplayingEvent"] = "4.0"
}
// This event records a virtual machine powering on.
@@ -96287,7 +95722,6 @@ type VmStartingSecondaryEvent struct {
func init() {
t["VmStartingSecondaryEvent"] = reflect.TypeOf((*VmStartingSecondaryEvent)(nil)).Elem()
- minAPIVersionForType["VmStartingSecondaryEvent"] = "4.0"
}
// This event records a static MAC address conflict for a virtual machine.
@@ -96345,7 +95779,6 @@ type VmTimedoutStartingSecondaryEvent struct {
func init() {
t["VmTimedoutStartingSecondaryEvent"] = reflect.TypeOf((*VmTimedoutStartingSecondaryEvent)(nil)).Elem()
- minAPIVersionForType["VmTimedoutStartingSecondaryEvent"] = "4.0"
}
// A base fault to indicate that something went wrong when upgrading tools.
@@ -96485,7 +95918,6 @@ type VmVnicPoolReservationViolationClearEvent struct {
func init() {
t["VmVnicPoolReservationViolationClearEvent"] = reflect.TypeOf((*VmVnicPoolReservationViolationClearEvent)(nil)).Elem()
- minAPIVersionForType["VmVnicPoolReservationViolationClearEvent"] = "6.0"
}
// This event is generated when the reservations used by all
@@ -96502,7 +95934,6 @@ type VmVnicPoolReservationViolationRaiseEvent struct {
func init() {
t["VmVnicPoolReservationViolationRaiseEvent"] = reflect.TypeOf((*VmVnicPoolReservationViolationRaiseEvent)(nil)).Elem()
- minAPIVersionForType["VmVnicPoolReservationViolationRaiseEvent"] = "6.0"
}
// This event records the assignment of a new WWN (World Wide Name)
@@ -96518,7 +95949,6 @@ type VmWwnAssignedEvent struct {
func init() {
t["VmWwnAssignedEvent"] = reflect.TypeOf((*VmWwnAssignedEvent)(nil)).Elem()
- minAPIVersionForType["VmWwnAssignedEvent"] = "2.5"
}
// This event records a change in a virtual machine's WWN (World Wide Name).
@@ -96537,7 +95967,6 @@ type VmWwnChangedEvent struct {
func init() {
t["VmWwnChangedEvent"] = reflect.TypeOf((*VmWwnChangedEvent)(nil)).Elem()
- minAPIVersionForType["VmWwnChangedEvent"] = "2.5"
}
// Thrown if a user attempts to assign a
@@ -96561,7 +95990,6 @@ type VmWwnConflict struct {
func init() {
t["VmWwnConflict"] = reflect.TypeOf((*VmWwnConflict)(nil)).Elem()
- minAPIVersionForType["VmWwnConflict"] = "2.5"
}
// This event records a conflict of virtual machine WWNs (World Wide Name).
@@ -96580,7 +96008,6 @@ type VmWwnConflictEvent struct {
func init() {
t["VmWwnConflictEvent"] = reflect.TypeOf((*VmWwnConflictEvent)(nil)).Elem()
- minAPIVersionForType["VmWwnConflictEvent"] = "2.5"
}
type VmWwnConflictFault VmWwnConflict
@@ -96597,7 +96024,6 @@ type VmfsAlreadyMounted struct {
func init() {
t["VmfsAlreadyMounted"] = reflect.TypeOf((*VmfsAlreadyMounted)(nil)).Elem()
- minAPIVersionForType["VmfsAlreadyMounted"] = "4.0"
}
type VmfsAlreadyMountedFault VmfsAlreadyMounted
@@ -96619,7 +96045,6 @@ type VmfsAmbiguousMount struct {
func init() {
t["VmfsAmbiguousMount"] = reflect.TypeOf((*VmfsAmbiguousMount)(nil)).Elem()
- minAPIVersionForType["VmfsAmbiguousMount"] = "4.0"
}
type VmfsAmbiguousMountFault VmfsAmbiguousMount
@@ -96640,13 +96065,13 @@ type VmfsConfigOption struct {
// The unit is KB.
UnmapGranularityOption []int32 `xml:"unmapGranularityOption,omitempty" json:"unmapGranularityOption,omitempty"`
// Fixed unmap bandwidth min/max/default value
- UnmapBandwidthFixedValue *LongOption `xml:"unmapBandwidthFixedValue,omitempty" json:"unmapBandwidthFixedValue,omitempty" vim:"6.7"`
+ UnmapBandwidthFixedValue *LongOption `xml:"unmapBandwidthFixedValue,omitempty" json:"unmapBandwidthFixedValue,omitempty"`
// Dynamic unmap bandwidth lower limit min/max/default value.
- UnmapBandwidthDynamicMin *LongOption `xml:"unmapBandwidthDynamicMin,omitempty" json:"unmapBandwidthDynamicMin,omitempty" vim:"6.7"`
+ UnmapBandwidthDynamicMin *LongOption `xml:"unmapBandwidthDynamicMin,omitempty" json:"unmapBandwidthDynamicMin,omitempty"`
// Dynamic unmap bandwitdth upper limit min/max/default value.
- UnmapBandwidthDynamicMax *LongOption `xml:"unmapBandwidthDynamicMax,omitempty" json:"unmapBandwidthDynamicMax,omitempty" vim:"6.7"`
+ UnmapBandwidthDynamicMax *LongOption `xml:"unmapBandwidthDynamicMax,omitempty" json:"unmapBandwidthDynamicMax,omitempty"`
// Increment value of unmap bandwidth
- UnmapBandwidthIncrement int64 `xml:"unmapBandwidthIncrement,omitempty" json:"unmapBandwidthIncrement,omitempty" vim:"6.7"`
+ UnmapBandwidthIncrement int64 `xml:"unmapBandwidthIncrement,omitempty" json:"unmapBandwidthIncrement,omitempty"`
// Fixed unmap bandwidth ultra low limit value in MB/sec.
UnmapBandwidthUltraLow int64 `xml:"unmapBandwidthUltraLow,omitempty" json:"unmapBandwidthUltraLow,omitempty" vim:"8.0.0.1"`
}
@@ -96690,7 +96115,7 @@ type VmfsDatastoreBaseOption struct {
// format type on the disk.
//
// See also `HostDiskPartitionInfoPartitionFormat_enum`.
- PartitionFormatChange *bool `xml:"partitionFormatChange" json:"partitionFormatChange,omitempty" vim:"5.0"`
+ PartitionFormatChange *bool `xml:"partitionFormatChange" json:"partitionFormatChange,omitempty"`
}
func init() {
@@ -96727,7 +96152,6 @@ type VmfsDatastoreExpandSpec struct {
func init() {
t["VmfsDatastoreExpandSpec"] = reflect.TypeOf((*VmfsDatastoreExpandSpec)(nil)).Elem()
- minAPIVersionForType["VmfsDatastoreExpandSpec"] = "4.0"
}
// Specification to increase the capacity of a VMFS datastore by adding
@@ -96755,9 +96179,9 @@ type VmfsDatastoreInfo struct {
DatastoreInfo
// Maximum raw device mapping size (physical compatibility)
- MaxPhysicalRDMFileSize int64 `xml:"maxPhysicalRDMFileSize,omitempty" json:"maxPhysicalRDMFileSize,omitempty" vim:"5.1"`
+ MaxPhysicalRDMFileSize int64 `xml:"maxPhysicalRDMFileSize,omitempty" json:"maxPhysicalRDMFileSize,omitempty"`
// Maximum raw device mapping size (virtual compatibility)
- MaxVirtualRDMFileSize int64 `xml:"maxVirtualRDMFileSize,omitempty" json:"maxVirtualRDMFileSize,omitempty" vim:"5.1"`
+ MaxVirtualRDMFileSize int64 `xml:"maxVirtualRDMFileSize,omitempty" json:"maxVirtualRDMFileSize,omitempty"`
// The VMFS volume information for the datastore.
//
// May not be
@@ -96865,7 +96289,6 @@ type VmfsMountFault struct {
func init() {
t["VmfsMountFault"] = reflect.TypeOf((*VmfsMountFault)(nil)).Elem()
- minAPIVersionForType["VmfsMountFault"] = "4.0"
}
type VmfsMountFaultFault BaseVmfsMountFault
@@ -96900,7 +96323,6 @@ type VmfsUnmapBandwidthSpec struct {
func init() {
t["VmfsUnmapBandwidthSpec"] = reflect.TypeOf((*VmfsUnmapBandwidthSpec)(nil)).Elem()
- minAPIVersionForType["VmfsUnmapBandwidthSpec"] = "6.7"
}
// This fault is thrown when the Vmotion Interface on this host is not enabled.
@@ -96912,7 +96334,6 @@ type VmotionInterfaceNotEnabled struct {
func init() {
t["VmotionInterfaceNotEnabled"] = reflect.TypeOf((*VmotionInterfaceNotEnabled)(nil)).Elem()
- minAPIVersionForType["VmotionInterfaceNotEnabled"] = "2.5"
}
type VmotionInterfaceNotEnabledFault VmotionInterfaceNotEnabled
@@ -96921,6 +96342,51 @@ func init() {
t["VmotionInterfaceNotEnabledFault"] = reflect.TypeOf((*VmotionInterfaceNotEnabledFault)(nil)).Elem()
}
+// This data structure defines the failover policy for a distributed
+// virtual switch when network offload is enabled, specifically
+// related to the Data Processing Unit(DPU).
+//
+// The active and standby uplinks are expected to be backed by different
+// DPUs to provide redundancy. If DPU backing active uplinks fails, then
+// the standby DPU takes over to ensure uninterrupted network connectivity.
+type VmwareDistributedVirtualSwitchDpuFailoverPolicy struct {
+ DynamicData
+
+ // The name of the active uplink(s).
+ //
+ // These uplink(s) must be backed
+ // by vmnic(s) from a single DPU.
+ ActiveUplink []string `xml:"activeUplink,omitempty" json:"activeUplink,omitempty"`
+ // The name of the standby uplink(s).
+ //
+ // These uplink(s) must be backed
+ // by vmnic(s) from a different DPU than the active uplink(s).
+ // An empty standbyUplink indicates that no failover action will be
+ // taken after the active DPU fails.
+ StandbyUplink []string `xml:"standbyUplink,omitempty" json:"standbyUplink,omitempty"`
+}
+
+func init() {
+ t["VmwareDistributedVirtualSwitchDpuFailoverPolicy"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchDpuFailoverPolicy)(nil)).Elem()
+ minAPIVersionForType["VmwareDistributedVirtualSwitchDpuFailoverPolicy"] = "8.0.3.0"
+}
+
+// This data structure defines the network offoad specific configuration of
+// a distributed virtual switch.
+type VmwareDistributedVirtualSwitchNetworkOffloadConfig struct {
+ DynamicData
+
+ // The DPU failover policy of the switch.
+ //
+ // If this property is not set, all uplink ports are active uplinks.
+ DpuFailoverPolicy *VmwareDistributedVirtualSwitchDpuFailoverPolicy `xml:"dpuFailoverPolicy,omitempty" json:"dpuFailoverPolicy,omitempty"`
+}
+
+func init() {
+ t["VmwareDistributedVirtualSwitchNetworkOffloadConfig"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchNetworkOffloadConfig)(nil)).Elem()
+ minAPIVersionForType["VmwareDistributedVirtualSwitchNetworkOffloadConfig"] = "8.0.3.0"
+}
+
// This data type defines the configuration when PVLAN id is to be
// used for the ports.
type VmwareDistributedVirtualSwitchPvlanSpec struct {
@@ -96932,7 +96398,6 @@ type VmwareDistributedVirtualSwitchPvlanSpec struct {
func init() {
t["VmwareDistributedVirtualSwitchPvlanSpec"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchPvlanSpec)(nil)).Elem()
- minAPIVersionForType["VmwareDistributedVirtualSwitchPvlanSpec"] = "4.0"
}
// This data type specifies that the port uses trunk mode,
@@ -96949,7 +96414,6 @@ type VmwareDistributedVirtualSwitchTrunkVlanSpec struct {
func init() {
t["VmwareDistributedVirtualSwitchTrunkVlanSpec"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchTrunkVlanSpec)(nil)).Elem()
- minAPIVersionForType["VmwareDistributedVirtualSwitchTrunkVlanSpec"] = "4.0"
}
// This data type defines the configuration when single vlanId is used for
@@ -96960,15 +96424,14 @@ type VmwareDistributedVirtualSwitchVlanIdSpec struct {
// The VLAN ID for ports.
//
// Possible values:
- // - A value of 0 specifies that you do not want the port associated
- // with a VLAN.
- // - A value from 1 to 4094 specifies a VLAN ID for the port.
+ // - A value of 0 specifies that you do not want the port associated
+ // with a VLAN.
+ // - A value from 1 to 4094 specifies a VLAN ID for the port.
VlanId int32 `xml:"vlanId" json:"vlanId"`
}
func init() {
t["VmwareDistributedVirtualSwitchVlanIdSpec"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchVlanIdSpec)(nil)).Elem()
- minAPIVersionForType["VmwareDistributedVirtualSwitchVlanIdSpec"] = "4.0"
}
// Base class for Vlan Specifiation for ports.
@@ -96978,7 +96441,6 @@ type VmwareDistributedVirtualSwitchVlanSpec struct {
func init() {
t["VmwareDistributedVirtualSwitchVlanSpec"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchVlanSpec)(nil)).Elem()
- minAPIVersionForType["VmwareDistributedVirtualSwitchVlanSpec"] = "4.0"
}
// Policy for a uplink port team.
@@ -97015,7 +96477,6 @@ type VmwareUplinkPortTeamingPolicy struct {
func init() {
t["VmwareUplinkPortTeamingPolicy"] = reflect.TypeOf((*VmwareUplinkPortTeamingPolicy)(nil)).Elem()
- minAPIVersionForType["VmwareUplinkPortTeamingPolicy"] = "4.0"
}
// This argument records a Virtual NIC device that connects to a DVPort.
@@ -97030,7 +96491,6 @@ type VnicPortArgument struct {
func init() {
t["VnicPortArgument"] = reflect.TypeOf((*VnicPortArgument)(nil)).Elem()
- minAPIVersionForType["VnicPortArgument"] = "4.0"
}
// An error occurred in the Open Source Components applications during
@@ -97066,7 +96526,6 @@ type VramLimitLicense struct {
func init() {
t["VramLimitLicense"] = reflect.TypeOf((*VramLimitLicense)(nil)).Elem()
- minAPIVersionForType["VramLimitLicense"] = "5.0"
}
type VramLimitLicenseFault VramLimitLicense
@@ -97105,7 +96564,6 @@ type VsanClusterConfigInfo struct {
func init() {
t["VsanClusterConfigInfo"] = reflect.TypeOf((*VsanClusterConfigInfo)(nil)).Elem()
- minAPIVersionForType["VsanClusterConfigInfo"] = "5.5"
}
// Default VSAN service configuration to be used for hosts admitted
@@ -97149,12 +96607,11 @@ type VsanClusterConfigInfoHostDefaultInfo struct {
// disk status.
// Changing this value to true
shall do disk enforcement
// check that all VSAN disks are checksum enabled.
- ChecksumEnabled *bool `xml:"checksumEnabled" json:"checksumEnabled,omitempty" vim:"6.0"`
+ ChecksumEnabled *bool `xml:"checksumEnabled" json:"checksumEnabled,omitempty"`
}
func init() {
t["VsanClusterConfigInfoHostDefaultInfo"] = reflect.TypeOf((*VsanClusterConfigInfoHostDefaultInfo)(nil)).Elem()
- minAPIVersionForType["VsanClusterConfigInfoHostDefaultInfo"] = "5.5"
}
// Fault thrown for the case that an attempt is made to move a host which
@@ -97174,7 +96631,6 @@ type VsanClusterUuidMismatch struct {
func init() {
t["VsanClusterUuidMismatch"] = reflect.TypeOf((*VsanClusterUuidMismatch)(nil)).Elem()
- minAPIVersionForType["VsanClusterUuidMismatch"] = "5.5"
}
type VsanClusterUuidMismatchFault VsanClusterUuidMismatch
@@ -97210,7 +96666,6 @@ type VsanDiskFault struct {
func init() {
t["VsanDiskFault"] = reflect.TypeOf((*VsanDiskFault)(nil)).Elem()
- minAPIVersionForType["VsanDiskFault"] = "5.5"
}
type VsanDiskFaultFault BaseVsanDiskFault
@@ -97229,7 +96684,6 @@ type VsanFault struct {
func init() {
t["VsanFault"] = reflect.TypeOf((*VsanFault)(nil)).Elem()
- minAPIVersionForType["VsanFault"] = "5.5"
}
type VsanFaultFault BaseVsanFault
@@ -97264,7 +96718,6 @@ type VsanHostClusterStatus struct {
func init() {
t["VsanHostClusterStatus"] = reflect.TypeOf((*VsanHostClusterStatus)(nil)).Elem()
- minAPIVersionForType["VsanHostClusterStatus"] = "5.5"
}
// Data object representing the VSAN node state for a host.
@@ -97284,7 +96737,6 @@ type VsanHostClusterStatusState struct {
func init() {
t["VsanHostClusterStatusState"] = reflect.TypeOf((*VsanHostClusterStatusState)(nil)).Elem()
- minAPIVersionForType["VsanHostClusterStatusState"] = "5.5"
}
// Estimated completion status for transitory node states.
@@ -97301,7 +96753,6 @@ type VsanHostClusterStatusStateCompletionEstimate struct {
func init() {
t["VsanHostClusterStatusStateCompletionEstimate"] = reflect.TypeOf((*VsanHostClusterStatusStateCompletionEstimate)(nil)).Elem()
- minAPIVersionForType["VsanHostClusterStatusStateCompletionEstimate"] = "5.5"
}
// The `VsanHostConfigInfo` data object contains host-specific settings
@@ -97341,7 +96792,7 @@ type VsanHostConfigInfo struct {
//
// VSAN host fault domain settings are independent of the
// current value of `VsanHostConfigInfo.enabled`.
- FaultDomainInfo *VsanHostFaultDomainInfo `xml:"faultDomainInfo,omitempty" json:"faultDomainInfo,omitempty" vim:"6.0"`
+ FaultDomainInfo *VsanHostFaultDomainInfo `xml:"faultDomainInfo,omitempty" json:"faultDomainInfo,omitempty"`
// Whether the vSAN ESA is enabled on this host.
//
// This can only be
@@ -97351,7 +96802,6 @@ type VsanHostConfigInfo struct {
func init() {
t["VsanHostConfigInfo"] = reflect.TypeOf((*VsanHostConfigInfo)(nil)).Elem()
- minAPIVersionForType["VsanHostConfigInfo"] = "5.5"
}
// Host-local VSAN cluster configuration.
@@ -97380,7 +96830,6 @@ type VsanHostConfigInfoClusterInfo struct {
func init() {
t["VsanHostConfigInfoClusterInfo"] = reflect.TypeOf((*VsanHostConfigInfoClusterInfo)(nil)).Elem()
- minAPIVersionForType["VsanHostConfigInfoClusterInfo"] = "5.5"
}
// Host-local VSAN network configuration.
@@ -97398,7 +96847,6 @@ type VsanHostConfigInfoNetworkInfo struct {
func init() {
t["VsanHostConfigInfoNetworkInfo"] = reflect.TypeOf((*VsanHostConfigInfoNetworkInfo)(nil)).Elem()
- minAPIVersionForType["VsanHostConfigInfoNetworkInfo"] = "5.5"
}
// A PortConfig represents a virtual network adapter and its
@@ -97419,7 +96867,6 @@ type VsanHostConfigInfoNetworkInfoPortConfig struct {
func init() {
t["VsanHostConfigInfoNetworkInfoPortConfig"] = reflect.TypeOf((*VsanHostConfigInfoNetworkInfoPortConfig)(nil)).Elem()
- minAPIVersionForType["VsanHostConfigInfoNetworkInfoPortConfig"] = "5.5"
}
// Host-local VSAN storage configuration.
@@ -97457,7 +96904,7 @@ type VsanHostConfigInfoStorageInfo struct {
DiskMapping []VsanHostDiskMapping `xml:"diskMapping,omitempty" json:"diskMapping,omitempty"`
// List of `VsanHostDiskMapping` entries with runtime information from
// the perspective of this host.
- DiskMapInfo []VsanHostDiskMapInfo `xml:"diskMapInfo,omitempty" json:"diskMapInfo,omitempty" vim:"6.0"`
+ DiskMapInfo []VsanHostDiskMapInfo `xml:"diskMapInfo,omitempty" json:"diskMapInfo,omitempty"`
// Deprecated this attribute was originally used for indicating whether
// hardware checksums is supported on the disks. But in vSphere 2016
// hardware checksums are replaced with software implementation,
@@ -97468,12 +96915,11 @@ type VsanHostConfigInfoStorageInfo struct {
//
// If any disk is not checksum capable or 520 bps formatted,
// we will skip it.
- ChecksumEnabled *bool `xml:"checksumEnabled" json:"checksumEnabled,omitempty" vim:"6.0"`
+ ChecksumEnabled *bool `xml:"checksumEnabled" json:"checksumEnabled,omitempty"`
}
func init() {
t["VsanHostConfigInfoStorageInfo"] = reflect.TypeOf((*VsanHostConfigInfoStorageInfo)(nil)).Elem()
- minAPIVersionForType["VsanHostConfigInfoStorageInfo"] = "5.5"
}
// A `VsanHostDecommissionMode` defines an action to take upon decommissioning
@@ -97496,7 +96942,6 @@ type VsanHostDecommissionMode struct {
func init() {
t["VsanHostDecommissionMode"] = reflect.TypeOf((*VsanHostDecommissionMode)(nil)).Elem()
- minAPIVersionForType["VsanHostDecommissionMode"] = "5.5"
}
// A DiskMapInfo represents a `VsanHostDiskMapping` and its
@@ -97514,7 +96959,6 @@ type VsanHostDiskMapInfo struct {
func init() {
t["VsanHostDiskMapInfo"] = reflect.TypeOf((*VsanHostDiskMapInfo)(nil)).Elem()
- minAPIVersionForType["VsanHostDiskMapInfo"] = "6.0"
}
// A DiskMapResult represents the result of an operation performed
@@ -97536,7 +96980,6 @@ type VsanHostDiskMapResult struct {
func init() {
t["VsanHostDiskMapResult"] = reflect.TypeOf((*VsanHostDiskMapResult)(nil)).Elem()
- minAPIVersionForType["VsanHostDiskMapResult"] = "5.5"
}
// A `VsanHostDiskMapping` is a set of one SSD `HostScsiDisk` backed
@@ -97559,7 +97002,6 @@ type VsanHostDiskMapping struct {
func init() {
t["VsanHostDiskMapping"] = reflect.TypeOf((*VsanHostDiskMapping)(nil)).Elem()
- minAPIVersionForType["VsanHostDiskMapping"] = "5.5"
}
// A DiskResult represents the result of VSAN configuration operation
@@ -97587,12 +97029,11 @@ type VsanHostDiskResult struct {
//
// If set, indicates the disk performance is degraded in VSAN
// If unset, it is unknown whether the disk performance is degraded in VSAN.
- Degraded *bool `xml:"degraded" json:"degraded,omitempty" vim:"6.0"`
+ Degraded *bool `xml:"degraded" json:"degraded,omitempty"`
}
func init() {
t["VsanHostDiskResult"] = reflect.TypeOf((*VsanHostDiskResult)(nil)).Elem()
- minAPIVersionForType["VsanHostDiskResult"] = "5.5"
}
// Host-local VSAN fault domain configuration.
@@ -97612,7 +97053,6 @@ type VsanHostFaultDomainInfo struct {
func init() {
t["VsanHostFaultDomainInfo"] = reflect.TypeOf((*VsanHostFaultDomainInfo)(nil)).Elem()
- minAPIVersionForType["VsanHostFaultDomainInfo"] = "6.0"
}
// An `VsanHostIpConfig` is a pair of multicast IP addresses for use by the VSAN
@@ -97633,7 +97073,6 @@ type VsanHostIpConfig struct {
func init() {
t["VsanHostIpConfig"] = reflect.TypeOf((*VsanHostIpConfig)(nil)).Elem()
- minAPIVersionForType["VsanHostIpConfig"] = "5.5"
}
// The `VsanHostMembershipInfo` data object contains VSAN cluster
@@ -97659,7 +97098,6 @@ type VsanHostMembershipInfo struct {
func init() {
t["VsanHostMembershipInfo"] = reflect.TypeOf((*VsanHostMembershipInfo)(nil)).Elem()
- minAPIVersionForType["VsanHostMembershipInfo"] = "5.5"
}
// This data object contains VSAN cluster runtime information from
@@ -97683,7 +97121,6 @@ type VsanHostRuntimeInfo struct {
func init() {
t["VsanHostRuntimeInfo"] = reflect.TypeOf((*VsanHostRuntimeInfo)(nil)).Elem()
- minAPIVersionForType["VsanHostRuntimeInfo"] = "5.5"
}
// Data structure of reporting a disk issue.
@@ -97700,7 +97137,6 @@ type VsanHostRuntimeInfoDiskIssue struct {
func init() {
t["VsanHostRuntimeInfoDiskIssue"] = reflect.TypeOf((*VsanHostRuntimeInfoDiskIssue)(nil)).Elem()
- minAPIVersionForType["VsanHostRuntimeInfoDiskIssue"] = "5.5"
}
// A VsanDiskInfo represents the additional detailed
@@ -97719,7 +97155,6 @@ type VsanHostVsanDiskInfo struct {
func init() {
t["VsanHostVsanDiskInfo"] = reflect.TypeOf((*VsanHostVsanDiskInfo)(nil)).Elem()
- minAPIVersionForType["VsanHostVsanDiskInfo"] = "6.0"
}
// Fault used for the add operation which will result in incompatible
@@ -97732,7 +97167,6 @@ type VsanIncompatibleDiskMapping struct {
func init() {
t["VsanIncompatibleDiskMapping"] = reflect.TypeOf((*VsanIncompatibleDiskMapping)(nil)).Elem()
- minAPIVersionForType["VsanIncompatibleDiskMapping"] = "6.0"
}
type VsanIncompatibleDiskMappingFault VsanIncompatibleDiskMapping
@@ -97755,7 +97189,6 @@ type VsanNewPolicyBatch struct {
func init() {
t["VsanNewPolicyBatch"] = reflect.TypeOf((*VsanNewPolicyBatch)(nil)).Elem()
- minAPIVersionForType["VsanNewPolicyBatch"] = "5.5"
}
// PolicyChangeBatch --
@@ -97772,7 +97205,6 @@ type VsanPolicyChangeBatch struct {
func init() {
t["VsanPolicyChangeBatch"] = reflect.TypeOf((*VsanPolicyChangeBatch)(nil)).Elem()
- minAPIVersionForType["VsanPolicyChangeBatch"] = "5.5"
}
// PolicyCost --
@@ -97806,7 +97238,7 @@ type VsanPolicyCost struct {
//
// For eg. an object of size 1GB with two copies of the
// data has two 1GB replicas and so this ratio is 2.
- CurrentDiskSpaceToAddressSpaceRatio float32 `xml:"currentDiskSpaceToAddressSpaceRatio,omitempty" json:"currentDiskSpaceToAddressSpaceRatio,omitempty" vim:"6.0"`
+ CurrentDiskSpaceToAddressSpaceRatio float32 `xml:"currentDiskSpaceToAddressSpaceRatio,omitempty" json:"currentDiskSpaceToAddressSpaceRatio,omitempty"`
// Ratio of physical disk space of an object to the logical VSAN
// address space after new policy is applied.
//
@@ -97818,7 +97250,6 @@ type VsanPolicyCost struct {
func init() {
t["VsanPolicyCost"] = reflect.TypeOf((*VsanPolicyCost)(nil)).Elem()
- minAPIVersionForType["VsanPolicyCost"] = "5.5"
}
// PolicySatisfiablity --
@@ -97843,7 +97274,6 @@ type VsanPolicySatisfiability struct {
func init() {
t["VsanPolicySatisfiability"] = reflect.TypeOf((*VsanPolicySatisfiability)(nil)).Elem()
- minAPIVersionForType["VsanPolicySatisfiability"] = "5.5"
}
// Pre-flight check encountered a VC plumbing issue.
@@ -97858,7 +97288,6 @@ type VsanUpgradeSystemAPIBrokenIssue struct {
func init() {
t["VsanUpgradeSystemAPIBrokenIssue"] = reflect.TypeOf((*VsanUpgradeSystemAPIBrokenIssue)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemAPIBrokenIssue"] = "6.0"
}
// Pre-flight check encountered at least one host with auto-claim enabled.
@@ -97873,7 +97302,6 @@ type VsanUpgradeSystemAutoClaimEnabledOnHostsIssue struct {
func init() {
t["VsanUpgradeSystemAutoClaimEnabledOnHostsIssue"] = reflect.TypeOf((*VsanUpgradeSystemAutoClaimEnabledOnHostsIssue)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemAutoClaimEnabledOnHostsIssue"] = "6.0"
}
// Pre-flight check encountered at least one host that is disconnected
@@ -97889,7 +97317,6 @@ type VsanUpgradeSystemHostsDisconnectedIssue struct {
func init() {
t["VsanUpgradeSystemHostsDisconnectedIssue"] = reflect.TypeOf((*VsanUpgradeSystemHostsDisconnectedIssue)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemHostsDisconnectedIssue"] = "6.0"
}
// Pre-flight check encountered at least one host that is part of the
@@ -97905,7 +97332,6 @@ type VsanUpgradeSystemMissingHostsInClusterIssue struct {
func init() {
t["VsanUpgradeSystemMissingHostsInClusterIssue"] = reflect.TypeOf((*VsanUpgradeSystemMissingHostsInClusterIssue)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemMissingHostsInClusterIssue"] = "6.0"
}
// Information about a particular group of hosts making up a network partition.
@@ -97920,7 +97346,6 @@ type VsanUpgradeSystemNetworkPartitionInfo struct {
func init() {
t["VsanUpgradeSystemNetworkPartitionInfo"] = reflect.TypeOf((*VsanUpgradeSystemNetworkPartitionInfo)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemNetworkPartitionInfo"] = "6.0"
}
// Pre-flight check encountered a network partition.
@@ -97936,7 +97361,6 @@ type VsanUpgradeSystemNetworkPartitionIssue struct {
func init() {
t["VsanUpgradeSystemNetworkPartitionIssue"] = reflect.TypeOf((*VsanUpgradeSystemNetworkPartitionIssue)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemNetworkPartitionIssue"] = "6.0"
}
// Pre-flight check encountered not enough free disk capacity to maintain policy compliance.
@@ -97950,7 +97374,6 @@ type VsanUpgradeSystemNotEnoughFreeCapacityIssue struct {
func init() {
t["VsanUpgradeSystemNotEnoughFreeCapacityIssue"] = reflect.TypeOf((*VsanUpgradeSystemNotEnoughFreeCapacityIssue)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemNotEnoughFreeCapacityIssue"] = "6.0"
}
// Base class for a pre-flight check issue.
@@ -97966,7 +97389,6 @@ type VsanUpgradeSystemPreflightCheckIssue struct {
func init() {
t["VsanUpgradeSystemPreflightCheckIssue"] = reflect.TypeOf((*VsanUpgradeSystemPreflightCheckIssue)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemPreflightCheckIssue"] = "6.0"
}
// Captures the result of a VSAN upgrade pre-flight check.
@@ -97991,7 +97413,6 @@ type VsanUpgradeSystemPreflightCheckResult struct {
func init() {
t["VsanUpgradeSystemPreflightCheckResult"] = reflect.TypeOf((*VsanUpgradeSystemPreflightCheckResult)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemPreflightCheckResult"] = "6.0"
}
// Pre-flight check encountered at least one host that is part of the VSAN
@@ -98005,7 +97426,6 @@ type VsanUpgradeSystemRogueHostsInClusterIssue struct {
func init() {
t["VsanUpgradeSystemRogueHostsInClusterIssue"] = reflect.TypeOf((*VsanUpgradeSystemRogueHostsInClusterIssue)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemRogueHostsInClusterIssue"] = "6.0"
}
// The upgrade process removed or added VSAN from/to a disk group.
@@ -98027,7 +97447,6 @@ type VsanUpgradeSystemUpgradeHistoryDiskGroupOp struct {
func init() {
t["VsanUpgradeSystemUpgradeHistoryDiskGroupOp"] = reflect.TypeOf((*VsanUpgradeSystemUpgradeHistoryDiskGroupOp)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryDiskGroupOp"] = "6.0"
}
// Captures one "log entry" of an upgrade process.
@@ -98056,7 +97475,6 @@ type VsanUpgradeSystemUpgradeHistoryItem struct {
func init() {
t["VsanUpgradeSystemUpgradeHistoryItem"] = reflect.TypeOf((*VsanUpgradeSystemUpgradeHistoryItem)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryItem"] = "6.0"
}
// Upgrade process encountered a pre-flight check failure.
@@ -98072,7 +97490,6 @@ type VsanUpgradeSystemUpgradeHistoryPreflightFail struct {
func init() {
t["VsanUpgradeSystemUpgradeHistoryPreflightFail"] = reflect.TypeOf((*VsanUpgradeSystemUpgradeHistoryPreflightFail)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryPreflightFail"] = "6.0"
}
// Captures the status of a VSAN cluster on-disk format upgrade.
@@ -98103,7 +97520,6 @@ type VsanUpgradeSystemUpgradeStatus struct {
func init() {
t["VsanUpgradeSystemUpgradeStatus"] = reflect.TypeOf((*VsanUpgradeSystemUpgradeStatus)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemUpgradeStatus"] = "6.0"
}
// Pre-flight check encountered v2 objects preventing a downgrade.
@@ -98116,7 +97532,6 @@ type VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue struct {
func init() {
t["VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue"] = reflect.TypeOf((*VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue"] = "6.0"
}
// Pre-flight check encountered at least one host with wrong ESX version.
@@ -98133,7 +97548,6 @@ type VsanUpgradeSystemWrongEsxVersionIssue struct {
func init() {
t["VsanUpgradeSystemWrongEsxVersionIssue"] = reflect.TypeOf((*VsanUpgradeSystemWrongEsxVersionIssue)(nil)).Elem()
- minAPIVersionForType["VsanUpgradeSystemWrongEsxVersionIssue"] = "6.0"
}
// Specification of cloning a virtual storage object.
@@ -98145,7 +97559,7 @@ type VslmCloneSpec struct {
// Choice of the deletion behavior of this virtual storage object.
//
// If not set, the default value is false.
- KeepAfterDeleteVm *bool `xml:"keepAfterDeleteVm" json:"keepAfterDeleteVm,omitempty" vim:"6.7"`
+ KeepAfterDeleteVm *bool `xml:"keepAfterDeleteVm" json:"keepAfterDeleteVm,omitempty"`
// The metadata KV pairs that are supposed to be updated on the destination
// virtual storage object.
//
@@ -98153,12 +97567,11 @@ type VslmCloneSpec struct {
// said, failing to update the specified metadata pairs leads to the failure
// of the clone task. If unset, no metadata will be updated. An empty string
// value is indicative of a vcenter tag.
- Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty" vim:"6.7.2"`
+ Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty"`
}
func init() {
t["VslmCloneSpec"] = reflect.TypeOf((*VslmCloneSpec)(nil)).Elem()
- minAPIVersionForType["VslmCloneSpec"] = "6.5"
}
// Specification to create a virtual storage object.
@@ -98170,7 +97583,7 @@ type VslmCreateSpec struct {
// Choice of the deletion behavior of this virtual storage object.
//
// If not set, the default value is true.
- KeepAfterDeleteVm *bool `xml:"keepAfterDeleteVm" json:"keepAfterDeleteVm,omitempty" vim:"6.7"`
+ KeepAfterDeleteVm *bool `xml:"keepAfterDeleteVm" json:"keepAfterDeleteVm,omitempty"`
// Specification of the backings of the virtual storage object.
BackingSpec BaseVslmCreateSpecBackingSpec `xml:"backingSpec,typeattr" json:"backingSpec"`
// Size in MB of the virtual storage object.
@@ -98179,14 +97592,14 @@ type VslmCreateSpec struct {
//
// If unset,
// the default behavior will apply.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"6.7"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
// Crypto operation of the disk.
//
// If unset and if `VslmCreateSpec.profile` contains an encryption iofilter,
// then crypto will be of type CryptoSpecEncrypt, and filled with
// keyId that is automatically generated and keyProviderId that is the
// default kms cluster.
- Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty" vim:"7.0"`
+ Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty"`
// The metadata KV pairs that are supposed to be created on the newly created
// virtual storage object.
//
@@ -98194,12 +97607,11 @@ type VslmCreateSpec struct {
// said, failing to add the specified metadata pairs leads to the failure
// of the create task. If unset, no metadata will be added. An empty string
// value is indicative of a vcenter tag.
- Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty" vim:"6.7.2"`
+ Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty"`
}
func init() {
t["VslmCreateSpec"] = reflect.TypeOf((*VslmCreateSpec)(nil)).Elem()
- minAPIVersionForType["VslmCreateSpec"] = "6.5"
}
// Specification of the backing of a virtual
@@ -98216,12 +97628,11 @@ type VslmCreateSpecBackingSpec struct {
//
// If not specified disk gets created at the defualt
// VStorageObject location on the specified datastore.
- Path string `xml:"path,omitempty" json:"path,omitempty" vim:"6.7"`
+ Path string `xml:"path,omitempty" json:"path,omitempty"`
}
func init() {
t["VslmCreateSpecBackingSpec"] = reflect.TypeOf((*VslmCreateSpecBackingSpec)(nil)).Elem()
- minAPIVersionForType["VslmCreateSpecBackingSpec"] = "6.5"
}
// Specification of the disk file backing of a virtual
@@ -98242,7 +97653,6 @@ type VslmCreateSpecDiskFileBackingSpec struct {
func init() {
t["VslmCreateSpecDiskFileBackingSpec"] = reflect.TypeOf((*VslmCreateSpecDiskFileBackingSpec)(nil)).Elem()
- minAPIVersionForType["VslmCreateSpecDiskFileBackingSpec"] = "6.5"
}
// Specification of the rdm backing of a virtual
@@ -98263,7 +97673,6 @@ type VslmCreateSpecRawDiskMappingBackingSpec struct {
func init() {
t["VslmCreateSpecRawDiskMappingBackingSpec"] = reflect.TypeOf((*VslmCreateSpecRawDiskMappingBackingSpec)(nil)).Elem()
- minAPIVersionForType["VslmCreateSpecRawDiskMappingBackingSpec"] = "6.5"
}
// Base specification of moving or copying a virtual storage object.
@@ -98276,7 +97685,7 @@ type VslmMigrateSpec struct {
//
// If unset,
// the default behavior will apply.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"6.7"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
// Flag indicates any delta disk backings will be consolidated
// during migration.
//
@@ -98300,12 +97709,16 @@ type VslmMigrateSpec struct {
// source VStorageObject is encrypted, then disksCyrpto is treated as
// CryptoSpecDecrypt, during migration, the object will be decrypted.
// To recrypt the disk during migration, disksCrypto has to be present.
- DisksCrypto *DiskCryptoSpec `xml:"disksCrypto,omitempty" json:"disksCrypto,omitempty" vim:"7.0"`
+ DisksCrypto *DiskCryptoSpec `xml:"disksCrypto,omitempty" json:"disksCrypto,omitempty"`
+ // The service endpoint of vCenter where the FCD should be located.
+ //
+ // If
+ // not specified the current vCenter service is used.
+ Service *ServiceLocator `xml:"service,omitempty" json:"service,omitempty" vim:"8.0.3.0"`
}
func init() {
t["VslmMigrateSpec"] = reflect.TypeOf((*VslmMigrateSpec)(nil)).Elem()
- minAPIVersionForType["VslmMigrateSpec"] = "6.5"
}
// Specification for relocating a virtual storage object.
@@ -98315,7 +97728,6 @@ type VslmRelocateSpec struct {
func init() {
t["VslmRelocateSpec"] = reflect.TypeOf((*VslmRelocateSpec)(nil)).Elem()
- minAPIVersionForType["VslmRelocateSpec"] = "6.5"
}
// Specification of the Tag-Association tuple of Dataservice Tagging package.
@@ -98332,7 +97744,6 @@ type VslmTagEntry struct {
func init() {
t["VslmTagEntry"] = reflect.TypeOf((*VslmTagEntry)(nil)).Elem()
- minAPIVersionForType["VslmTagEntry"] = "6.5"
}
// Thrown if a dvPort is used as destination in multiple Distributed Port Mirroring sessions.
@@ -98351,7 +97762,6 @@ type VspanDestPortConflict struct {
func init() {
t["VspanDestPortConflict"] = reflect.TypeOf((*VspanDestPortConflict)(nil)).Elem()
- minAPIVersionForType["VspanDestPortConflict"] = "5.0"
}
type VspanDestPortConflictFault VspanDestPortConflict
@@ -98375,7 +97785,6 @@ type VspanPortConflict struct {
func init() {
t["VspanPortConflict"] = reflect.TypeOf((*VspanPortConflict)(nil)).Elem()
- minAPIVersionForType["VspanPortConflict"] = "5.0"
}
type VspanPortConflictFault VspanPortConflict
@@ -98400,7 +97809,6 @@ type VspanPortMoveFault struct {
func init() {
t["VspanPortMoveFault"] = reflect.TypeOf((*VspanPortMoveFault)(nil)).Elem()
- minAPIVersionForType["VspanPortMoveFault"] = "5.0"
}
type VspanPortMoveFaultFault VspanPortMoveFault
@@ -98420,7 +97828,6 @@ type VspanPortPromiscChangeFault struct {
func init() {
t["VspanPortPromiscChangeFault"] = reflect.TypeOf((*VspanPortPromiscChangeFault)(nil)).Elem()
- minAPIVersionForType["VspanPortPromiscChangeFault"] = "5.0"
}
type VspanPortPromiscChangeFaultFault VspanPortPromiscChangeFault
@@ -98441,7 +97848,6 @@ type VspanPortgroupPromiscChangeFault struct {
func init() {
t["VspanPortgroupPromiscChangeFault"] = reflect.TypeOf((*VspanPortgroupPromiscChangeFault)(nil)).Elem()
- minAPIVersionForType["VspanPortgroupPromiscChangeFault"] = "5.0"
}
type VspanPortgroupPromiscChangeFaultFault VspanPortgroupPromiscChangeFault
@@ -98462,7 +97868,6 @@ type VspanPortgroupTypeChangeFault struct {
func init() {
t["VspanPortgroupTypeChangeFault"] = reflect.TypeOf((*VspanPortgroupTypeChangeFault)(nil)).Elem()
- minAPIVersionForType["VspanPortgroupTypeChangeFault"] = "5.0"
}
type VspanPortgroupTypeChangeFaultFault VspanPortgroupTypeChangeFault
@@ -98486,7 +97891,6 @@ type VspanPromiscuousPortNotSupported struct {
func init() {
t["VspanPromiscuousPortNotSupported"] = reflect.TypeOf((*VspanPromiscuousPortNotSupported)(nil)).Elem()
- minAPIVersionForType["VspanPromiscuousPortNotSupported"] = "5.0"
}
type VspanPromiscuousPortNotSupportedFault VspanPromiscuousPortNotSupported
@@ -98509,7 +97913,6 @@ type VspanSameSessionPortConflict struct {
func init() {
t["VspanSameSessionPortConflict"] = reflect.TypeOf((*VspanSameSessionPortConflict)(nil)).Elem()
- minAPIVersionForType["VspanSameSessionPortConflict"] = "5.0"
}
type VspanSameSessionPortConflictFault VspanSameSessionPortConflict
@@ -98574,7 +97977,6 @@ type VvolDatastoreInfo struct {
func init() {
t["VvolDatastoreInfo"] = reflect.TypeOf((*VvolDatastoreInfo)(nil)).Elem()
- minAPIVersionForType["VvolDatastoreInfo"] = "6.0"
}
type WaitForUpdates WaitForUpdatesRequestType
@@ -98594,10 +97996,10 @@ type WaitForUpdatesExRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The data version currently known to the client. The value must be
// either
- // - the special initial data version (an empty string),
- // - a data version returned from `PropertyCollector.CheckForUpdates` or `PropertyCollector.WaitForUpdates`
- // - a non-truncated data version returned from `PropertyCollector.WaitForUpdatesEx`
- // - a truncated data version returned from the last call to `PropertyCollector.WaitForUpdatesEx` with no intervening calls to `PropertyCollector.WaitForUpdates` or `PropertyCollector.CheckForUpdates`.
+ // - the special initial data version (an empty string),
+ // - a data version returned from `PropertyCollector.CheckForUpdates` or `PropertyCollector.WaitForUpdates`
+ // - a non-truncated data version returned from `PropertyCollector.WaitForUpdatesEx`
+ // - a truncated data version returned from the last call to `PropertyCollector.WaitForUpdatesEx` with no intervening calls to `PropertyCollector.WaitForUpdates` or `PropertyCollector.CheckForUpdates`.
Version string `xml:"version,omitempty" json:"version,omitempty"`
// Additional options controlling the change calculation. If omitted,
// equivalent to an options argument with no fields set.
@@ -98617,10 +98019,10 @@ type WaitForUpdatesRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The data version currently known to the client. The value
// must be either
- // - the special initial version (an empty string)
- // - a data version returned from `PropertyCollector.CheckForUpdates` or `PropertyCollector.WaitForUpdates` by the same `PropertyCollector` on the same session
- // - a non-truncated data version returned from `PropertyCollector.WaitForUpdatesEx` by the same `PropertyCollector` on the same
- // session.
+ // - the special initial version (an empty string)
+ // - a data version returned from `PropertyCollector.CheckForUpdates` or `PropertyCollector.WaitForUpdates` by the same `PropertyCollector` on the same session
+ // - a non-truncated data version returned from `PropertyCollector.WaitForUpdatesEx` by the same `PropertyCollector` on the same
+ // session.
Version string `xml:"version,omitempty" json:"version,omitempty"`
}
@@ -98679,7 +98081,6 @@ type WaitOptions struct {
func init() {
t["WaitOptions"] = reflect.TypeOf((*WaitOptions)(nil)).Elem()
- minAPIVersionForType["WaitOptions"] = "4.1"
}
// The virtual machine and at least one of its virtual NICs are configured to
@@ -98691,7 +98092,6 @@ type WakeOnLanNotSupported struct {
func init() {
t["WakeOnLanNotSupported"] = reflect.TypeOf((*WakeOnLanNotSupported)(nil)).Elem()
- minAPIVersionForType["WakeOnLanNotSupported"] = "2.5"
}
// This fault is thrown when Wake-on-LAN isn't supported by the Vmotion NIC on the host.
@@ -98701,7 +98101,6 @@ type WakeOnLanNotSupportedByVmotionNIC struct {
func init() {
t["WakeOnLanNotSupportedByVmotionNIC"] = reflect.TypeOf((*WakeOnLanNotSupportedByVmotionNIC)(nil)).Elem()
- minAPIVersionForType["WakeOnLanNotSupportedByVmotionNIC"] = "2.5"
}
type WakeOnLanNotSupportedByVmotionNICFault WakeOnLanNotSupportedByVmotionNIC
@@ -98779,7 +98178,6 @@ type WillLoseHAProtection struct {
func init() {
t["WillLoseHAProtection"] = reflect.TypeOf((*WillLoseHAProtection)(nil)).Elem()
- minAPIVersionForType["WillLoseHAProtection"] = "5.0"
}
type WillLoseHAProtectionFault WillLoseHAProtection
@@ -98834,7 +98232,6 @@ type WillResetSnapshotDirectory struct {
func init() {
t["WillResetSnapshotDirectory"] = reflect.TypeOf((*WillResetSnapshotDirectory)(nil)).Elem()
- minAPIVersionForType["WillResetSnapshotDirectory"] = "5.0"
}
type WillResetSnapshotDirectoryFault WillResetSnapshotDirectory
@@ -98856,7 +98253,6 @@ type WinNetBIOSConfigInfo struct {
func init() {
t["WinNetBIOSConfigInfo"] = reflect.TypeOf((*WinNetBIOSConfigInfo)(nil)).Elem()
- minAPIVersionForType["WinNetBIOSConfigInfo"] = "4.1"
}
// This exception is thrown when VirtualMachine.wipeDisk
@@ -98867,7 +98263,6 @@ type WipeDiskFault struct {
func init() {
t["WipeDiskFault"] = reflect.TypeOf((*WipeDiskFault)(nil)).Elem()
- minAPIVersionForType["WipeDiskFault"] = "5.1"
}
type WipeDiskFaultFault WipeDiskFault
@@ -98892,7 +98287,6 @@ type WitnessNodeInfo struct {
func init() {
t["WitnessNodeInfo"] = reflect.TypeOf((*WitnessNodeInfo)(nil)).Elem()
- minAPIVersionForType["WitnessNodeInfo"] = "6.5"
}
type XmlToCustomizationSpecItem XmlToCustomizationSpecItemRequestType
@@ -99226,6 +98620,25 @@ func init() {
type SetCustomValueResponse struct {
}
+type StartDpuFailover StartDpuFailoverRequestType
+
+func init() {
+ t["startDpuFailover"] = reflect.TypeOf((*StartDpuFailover)(nil)).Elem()
+}
+
+type StartDpuFailoverRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ DvsName string `xml:"dvsName" json:"dvsName"`
+ TargetDpuAlias string `xml:"targetDpuAlias,omitempty" json:"targetDpuAlias,omitempty"`
+}
+
+func init() {
+ t["startDpuFailoverRequestType"] = reflect.TypeOf((*StartDpuFailoverRequestType)(nil)).Elem()
+}
+
+type StartDpuFailoverResponse struct {
+}
+
type UnregisterVAppRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
}
diff --git a/vendor/modules.txt b/vendor/modules.txt
index e2442a0e..97d5202e 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -60,7 +60,7 @@ github.com/google/go-cmp/cmp/internal/diff
github.com/google/go-cmp/cmp/internal/flags
github.com/google/go-cmp/cmp/internal/function
github.com/google/go-cmp/cmp/internal/value
-# github.com/google/pprof v0.0.0-20240618054019-d3b898a103f8
+# github.com/google/pprof v0.0.0-20240625030939-27f56978b8b0
## explicit; go 1.19
github.com/google/pprof/profile
# github.com/google/subcommands v1.2.0
@@ -198,7 +198,7 @@ github.com/pkg/errors
# github.com/tidwall/transform v0.0.0-20201103190739-32f242e2dbde
## explicit
github.com/tidwall/transform
-# github.com/vmware/govmomi v0.37.3
+# github.com/vmware/govmomi v0.38.0
## explicit; go 1.19
github.com/vmware/govmomi
github.com/vmware/govmomi/cns