build(deps): bump github.com/vmware/govmomi from 0.28.0 to 0.29.0
Bumps [github.com/vmware/govmomi](https://github.com/vmware/govmomi) from 0.28.0 to 0.29.0. - [Release notes](https://github.com/vmware/govmomi/releases) - [Changelog](https://github.com/vmware/govmomi/blob/master/CHANGELOG.md) - [Commits](https://github.com/vmware/govmomi/compare/v0.28.0...v0.29.0) --- updated-dependencies: - dependency-name: github.com/vmware/govmomi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
b8cbe84fda
commit
c685a00694
21 changed files with 1471 additions and 156 deletions
2
go.mod
2
go.mod
|
|
@ -44,7 +44,7 @@ require (
|
|||
github.com/spf13/cobra v1.5.0
|
||||
github.com/stretchr/testify v1.8.0
|
||||
github.com/ubccr/kerby v0.0.0-20170626144437-201a958fc453
|
||||
github.com/vmware/govmomi v0.28.0
|
||||
github.com/vmware/govmomi v0.29.0
|
||||
golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094
|
||||
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f
|
||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8
|
||||
|
|
|
|||
4
go.sum
4
go.sum
|
|
@ -1652,8 +1652,8 @@ github.com/vmihailenco/msgpack/v4 v4.3.12 h1:07s4sz9IReOgdikxLTKNbBdqDMLsjPKXwvC
|
|||
github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4=
|
||||
github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY=
|
||||
github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
|
||||
github.com/vmware/govmomi v0.28.0 h1:VgeQ/Rvz79U9G8QIKLdgpsN9AndHJL+5iMJLgYIrBGI=
|
||||
github.com/vmware/govmomi v0.28.0/go.mod h1:F7adsVewLNHsW/IIm7ziFURaXDaHEwcc+ym4r3INMdY=
|
||||
github.com/vmware/govmomi v0.29.0 h1:SHJQ7DUc4fltFZv16znJNGHR1/XhiDK5iKxm2OqwkuU=
|
||||
github.com/vmware/govmomi v0.29.0/go.mod h1:F7adsVewLNHsW/IIm7ziFURaXDaHEwcc+ym4r3INMdY=
|
||||
github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728/go.mod h1:x9oS4Wk2s2u4tS29nEaDLdzvuHdB19CvSGJjPgkZJNk=
|
||||
github.com/weppos/publicsuffix-go v0.15.1-0.20210807195340-dc689ff0bb59/go.mod h1:HYux0V0Zi04bHNwOHy4cXJVz/TQjYonnF6aoYhj+3QE=
|
||||
github.com/weppos/publicsuffix-go v0.15.1-0.20220329081811-9a40b608a236/go.mod h1:HYux0V0Zi04bHNwOHy4cXJVz/TQjYonnF6aoYhj+3QE=
|
||||
|
|
|
|||
4
vendor/github.com/vmware/govmomi/govc/cli/register.go
generated
vendored
4
vendor/github.com/vmware/govmomi/govc/cli/register.go
generated
vendored
|
|
@ -27,6 +27,10 @@ var aliases = map[string]string{}
|
|||
// Setting the env var GOVC_SHOW_UNRELEASED=true enables any commands registered as unreleased.
|
||||
var hideUnreleased = os.Getenv("GOVC_SHOW_UNRELEASED") != "true"
|
||||
|
||||
func ShowUnreleased() bool {
|
||||
return !hideUnreleased
|
||||
}
|
||||
|
||||
func Register(name string, c Command, unreleased ...bool) {
|
||||
if len(unreleased) != 0 && unreleased[0] && hideUnreleased {
|
||||
return
|
||||
|
|
|
|||
4
vendor/github.com/vmware/govmomi/govc/flags/search.go
generated
vendored
4
vendor/github.com/vmware/govmomi/govc/flags/search.go
generated
vendored
|
|
@ -54,9 +54,9 @@ type SearchFlag struct {
|
|||
isset bool
|
||||
}
|
||||
|
||||
var searchFlagKey = flagKey("search")
|
||||
|
||||
func NewSearchFlag(ctx context.Context, t int) (*SearchFlag, context.Context) {
|
||||
searchFlagKey := flagKey(fmt.Sprintf("search%d", t))
|
||||
|
||||
if v := ctx.Value(searchFlagKey); v != nil {
|
||||
return v.(*SearchFlag), ctx
|
||||
}
|
||||
|
|
|
|||
16
vendor/github.com/vmware/govmomi/govc/flags/storage_pod.go
generated
vendored
16
vendor/github.com/vmware/govmomi/govc/flags/storage_pod.go
generated
vendored
|
|
@ -1,3 +1,19 @@
|
|||
/*
|
||||
Copyright (c) 2014-2022 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 flags
|
||||
|
||||
import (
|
||||
|
|
|
|||
11
vendor/github.com/vmware/govmomi/govc/vm/migrate.go
generated
vendored
11
vendor/github.com/vmware/govmomi/govc/vm/migrate.go
generated
vendored
|
|
@ -32,7 +32,7 @@ type migrate struct {
|
|||
*flags.ResourcePoolFlag
|
||||
*flags.HostSystemFlag
|
||||
*flags.DatastoreFlag
|
||||
*flags.SearchFlag
|
||||
*flags.VirtualMachineFlag
|
||||
|
||||
priority types.VirtualMachineMovePriority
|
||||
spec types.VirtualMachineRelocateSpec
|
||||
|
|
@ -46,8 +46,8 @@ func (cmd *migrate) Register(ctx context.Context, f *flag.FlagSet) {
|
|||
cmd.FolderFlag, ctx = flags.NewFolderFlag(ctx)
|
||||
cmd.FolderFlag.Register(ctx, f)
|
||||
|
||||
cmd.SearchFlag, ctx = flags.NewSearchFlag(ctx, flags.SearchVirtualMachines)
|
||||
cmd.SearchFlag.Register(ctx, f)
|
||||
cmd.VirtualMachineFlag, ctx = flags.NewVirtualMachineFlag(ctx)
|
||||
cmd.VirtualMachineFlag.Register(ctx, f)
|
||||
|
||||
cmd.ResourcePoolFlag, ctx = flags.NewResourcePoolFlag(ctx)
|
||||
cmd.ResourcePoolFlag.Register(ctx, f)
|
||||
|
|
@ -65,6 +65,9 @@ func (cmd *migrate) Process(ctx context.Context) error {
|
|||
if err := cmd.FolderFlag.Process(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := cmd.VirtualMachineFlag.Process(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := cmd.ResourcePoolFlag.Process(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
@ -109,7 +112,7 @@ func (cmd *migrate) relocate(ctx context.Context, vm *object.VirtualMachine) err
|
|||
}
|
||||
|
||||
func (cmd *migrate) Run(ctx context.Context, f *flag.FlagSet) error {
|
||||
vms, err := cmd.VirtualMachines(f.Args())
|
||||
vms, err := cmd.VirtualMachineFlag.VirtualMachines(f.Args())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
16
vendor/github.com/vmware/govmomi/govc/vm/upgrade.go
generated
vendored
16
vendor/github.com/vmware/govmomi/govc/vm/upgrade.go
generated
vendored
|
|
@ -1,3 +1,19 @@
|
|||
/*
|
||||
Copyright (c) 2014-2022 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 vm
|
||||
|
||||
import (
|
||||
|
|
|
|||
25
vendor/github.com/vmware/govmomi/internal/version/version.go
generated
vendored
Normal file
25
vendor/github.com/vmware/govmomi/internal/version/version.go
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
Copyright (c) 2014-2022 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 version
|
||||
|
||||
const (
|
||||
// ClientName is the name of this SDK
|
||||
ClientName = "govmomi"
|
||||
|
||||
// ClientVersion is the version of this SDK
|
||||
ClientVersion = "0.29.0"
|
||||
)
|
||||
24
vendor/github.com/vmware/govmomi/object/virtual_device_list.go
generated
vendored
24
vendor/github.com/vmware/govmomi/object/virtual_device_list.go
generated
vendored
|
|
@ -69,13 +69,7 @@ func EthernetCardTypes() VirtualDeviceList {
|
|||
&types.VirtualSriovEthernetCard{},
|
||||
}).Select(func(device types.BaseVirtualDevice) bool {
|
||||
c := device.(types.BaseVirtualEthernetCard).GetVirtualEthernetCard()
|
||||
|
||||
key := rand.Int31() * -1
|
||||
if key == 0 {
|
||||
key = -1
|
||||
}
|
||||
|
||||
c.GetVirtualDevice().Key = key
|
||||
c.GetVirtualDevice().Key = VirtualDeviceList{}.newRandomKey()
|
||||
return true
|
||||
})
|
||||
}
|
||||
|
|
@ -463,10 +457,22 @@ func (l VirtualDeviceList) AssignController(device types.BaseVirtualDevice, c ty
|
|||
d.UnitNumber = new(int32)
|
||||
*d.UnitNumber = l.newUnitNumber(c)
|
||||
if d.Key == 0 {
|
||||
d.Key = int32(rand.Uint32()) * -1
|
||||
d.Key = l.newRandomKey()
|
||||
}
|
||||
}
|
||||
|
||||
// newRandomKey returns a random negative device key.
|
||||
// The generated key can be used for devices you want to add so that it does not collide with existing ones.
|
||||
func (l VirtualDeviceList) newRandomKey() int32 {
|
||||
// NOTE: rand.Uint32 cannot be used here because conversion from uint32 to int32 may change the sign
|
||||
key := rand.Int31() * -1
|
||||
if key == 0 {
|
||||
return -1
|
||||
}
|
||||
|
||||
return key
|
||||
}
|
||||
|
||||
// CreateDisk creates a new VirtualDisk device which can be added to a VM.
|
||||
func (l VirtualDeviceList) CreateDisk(c types.BaseVirtualController, ds types.ManagedObjectReference, name string) *types.VirtualDisk {
|
||||
// If name is not specified, one will be chosen for you.
|
||||
|
|
@ -894,6 +900,8 @@ func (l VirtualDeviceList) Type(device types.BaseVirtualDevice) string {
|
|||
return "lsilogic-sas"
|
||||
case *types.VirtualNVMEController:
|
||||
return "nvme"
|
||||
case *types.VirtualPrecisionClock:
|
||||
return "clock"
|
||||
default:
|
||||
return l.deviceName(device)
|
||||
}
|
||||
|
|
|
|||
2
vendor/github.com/vmware/govmomi/pbm/methods/methods.go
generated
vendored
2
vendor/github.com/vmware/govmomi/pbm/methods/methods.go
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2014-2021 VMware, Inc. All Rights Reserved.
|
||||
Copyright (c) 2014-2022 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.
|
||||
|
|
|
|||
61
vendor/github.com/vmware/govmomi/pbm/types/enum.go
generated
vendored
61
vendor/github.com/vmware/govmomi/pbm/types/enum.go
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2014-2021 VMware, Inc. All Rights Reserved.
|
||||
Copyright (c) 2014-2022 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.
|
||||
|
|
@ -116,6 +116,17 @@ func init() {
|
|||
types.Add("pbm:PbmComplianceStatus", reflect.TypeOf((*PbmComplianceStatus)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmDebugManagerKeystoreName string
|
||||
|
||||
const (
|
||||
PbmDebugManagerKeystoreNameSMS = PbmDebugManagerKeystoreName("SMS")
|
||||
PbmDebugManagerKeystoreNameTRUSTED_ROOTS = PbmDebugManagerKeystoreName("TRUSTED_ROOTS")
|
||||
)
|
||||
|
||||
func init() {
|
||||
types.Add("pbm:PbmDebugManagerKeystoreName", reflect.TypeOf((*PbmDebugManagerKeystoreName)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmHealthStatusForEntity string
|
||||
|
||||
const (
|
||||
|
|
@ -163,6 +174,35 @@ func init() {
|
|||
types.Add("pbm:PbmLineOfServiceInfoLineOfServiceEnum", reflect.TypeOf((*PbmLineOfServiceInfoLineOfServiceEnum)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmLoggingConfigurationComponent string
|
||||
|
||||
const (
|
||||
PbmLoggingConfigurationComponentPbm = PbmLoggingConfigurationComponent("pbm")
|
||||
PbmLoggingConfigurationComponentVslm = PbmLoggingConfigurationComponent("vslm")
|
||||
PbmLoggingConfigurationComponentSms = PbmLoggingConfigurationComponent("sms")
|
||||
PbmLoggingConfigurationComponentSpbm = PbmLoggingConfigurationComponent("spbm")
|
||||
PbmLoggingConfigurationComponentSps = PbmLoggingConfigurationComponent("sps")
|
||||
PbmLoggingConfigurationComponentHttpclient_header = PbmLoggingConfigurationComponent("httpclient_header")
|
||||
PbmLoggingConfigurationComponentHttpclient_content = PbmLoggingConfigurationComponent("httpclient_content")
|
||||
PbmLoggingConfigurationComponentVmomi = PbmLoggingConfigurationComponent("vmomi")
|
||||
)
|
||||
|
||||
func init() {
|
||||
types.Add("pbm:PbmLoggingConfigurationComponent", reflect.TypeOf((*PbmLoggingConfigurationComponent)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmLoggingConfigurationLogLevel string
|
||||
|
||||
const (
|
||||
PbmLoggingConfigurationLogLevelINFO = PbmLoggingConfigurationLogLevel("INFO")
|
||||
PbmLoggingConfigurationLogLevelDEBUG = PbmLoggingConfigurationLogLevel("DEBUG")
|
||||
PbmLoggingConfigurationLogLevelTRACE = PbmLoggingConfigurationLogLevel("TRACE")
|
||||
)
|
||||
|
||||
func init() {
|
||||
types.Add("pbm:PbmLoggingConfigurationLogLevel", reflect.TypeOf((*PbmLoggingConfigurationLogLevel)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmObjectType string
|
||||
|
||||
const (
|
||||
|
|
@ -194,6 +234,18 @@ func init() {
|
|||
types.Add("pbm:PbmOperation", reflect.TypeOf((*PbmOperation)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmPolicyAssociationVolumeAllocationType string
|
||||
|
||||
const (
|
||||
PbmPolicyAssociationVolumeAllocationTypeFullyInitialized = PbmPolicyAssociationVolumeAllocationType("FullyInitialized")
|
||||
PbmPolicyAssociationVolumeAllocationTypeReserveSpace = PbmPolicyAssociationVolumeAllocationType("ReserveSpace")
|
||||
PbmPolicyAssociationVolumeAllocationTypeConserveSpaceWhenPossible = PbmPolicyAssociationVolumeAllocationType("ConserveSpaceWhenPossible")
|
||||
)
|
||||
|
||||
func init() {
|
||||
types.Add("pbm:PbmPolicyAssociationVolumeAllocationType", reflect.TypeOf((*PbmPolicyAssociationVolumeAllocationType)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmProfileCategoryEnum string
|
||||
|
||||
const (
|
||||
|
|
@ -219,9 +271,10 @@ func init() {
|
|||
type PbmSystemCreatedProfileType string
|
||||
|
||||
const (
|
||||
PbmSystemCreatedProfileTypeVsanDefaultProfile = PbmSystemCreatedProfileType("VsanDefaultProfile")
|
||||
PbmSystemCreatedProfileTypeVVolDefaultProfile = PbmSystemCreatedProfileType("VVolDefaultProfile")
|
||||
PbmSystemCreatedProfileTypePmemDefaultProfile = PbmSystemCreatedProfileType("PmemDefaultProfile")
|
||||
PbmSystemCreatedProfileTypeVsanDefaultProfile = PbmSystemCreatedProfileType("VsanDefaultProfile")
|
||||
PbmSystemCreatedProfileTypeVVolDefaultProfile = PbmSystemCreatedProfileType("VVolDefaultProfile")
|
||||
PbmSystemCreatedProfileTypePmemDefaultProfile = PbmSystemCreatedProfileType("PmemDefaultProfile")
|
||||
PbmSystemCreatedProfileTypeVsanMaxDefaultProfile = PbmSystemCreatedProfileType("VsanMaxDefaultProfile")
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
|||
2
vendor/github.com/vmware/govmomi/pbm/types/if.go
generated
vendored
2
vendor/github.com/vmware/govmomi/pbm/types/if.go
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2014-2021 VMware, Inc. All Rights Reserved.
|
||||
Copyright (c) 2014-2022 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
vendor/github.com/vmware/govmomi/pbm/types/types.go
generated
vendored
24
vendor/github.com/vmware/govmomi/pbm/types/types.go
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2014-2021 VMware, Inc. All Rights Reserved.
|
||||
Copyright (c) 2014-2022 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.
|
||||
|
|
@ -909,6 +909,17 @@ func init() {
|
|||
types.Add("pbm:PbmFaultInvalidLoginFault", reflect.TypeOf((*PbmFaultInvalidLoginFault)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmFaultNoPermissionEntityPrivileges struct {
|
||||
types.DynamicData
|
||||
|
||||
ProfileId *PbmProfileId `xml:"profileId,omitempty"`
|
||||
PrivilegeIds []string `xml:"privilegeIds,omitempty"`
|
||||
}
|
||||
|
||||
func init() {
|
||||
types.Add("pbm:PbmFaultNoPermissionEntityPrivileges", reflect.TypeOf((*PbmFaultNoPermissionEntityPrivileges)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmFaultNotFound struct {
|
||||
PbmFault
|
||||
}
|
||||
|
|
@ -1125,6 +1136,17 @@ func init() {
|
|||
types.Add("pbm:PbmLineOfServiceInfo", reflect.TypeOf((*PbmLineOfServiceInfo)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmLoggingConfiguration struct {
|
||||
types.DynamicData
|
||||
|
||||
Component string `xml:"component"`
|
||||
LogLevel string `xml:"logLevel"`
|
||||
}
|
||||
|
||||
func init() {
|
||||
types.Add("pbm:PbmLoggingConfiguration", reflect.TypeOf((*PbmLoggingConfiguration)(nil)).Elem())
|
||||
}
|
||||
|
||||
type PbmNonExistentHubs struct {
|
||||
PbmFault
|
||||
|
||||
|
|
|
|||
16
vendor/github.com/vmware/govmomi/task/manager.go
generated
vendored
16
vendor/github.com/vmware/govmomi/task/manager.go
generated
vendored
|
|
@ -1,3 +1,19 @@
|
|||
/*
|
||||
Copyright (c) 2014-2022 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 task
|
||||
|
||||
import (
|
||||
|
|
|
|||
162
vendor/github.com/vmware/govmomi/vim25/methods/methods.go
generated
vendored
162
vendor/github.com/vmware/govmomi/vim25/methods/methods.go
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2014-2021 VMware, Inc. All Rights Reserved.
|
||||
Copyright (c) 2014-2022 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.
|
||||
|
|
@ -9563,6 +9563,26 @@ func QueryCompatibleHostForNewDvs(ctx context.Context, r soap.RoundTripper, req
|
|||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type QueryCompatibleVmnicsFromHostsBody struct {
|
||||
Req *types.QueryCompatibleVmnicsFromHosts `xml:"urn:vim25 QueryCompatibleVmnicsFromHosts,omitempty"`
|
||||
Res *types.QueryCompatibleVmnicsFromHostsResponse `xml:"QueryCompatibleVmnicsFromHostsResponse,omitempty"`
|
||||
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
|
||||
}
|
||||
|
||||
func (b *QueryCompatibleVmnicsFromHostsBody) Fault() *soap.Fault { return b.Fault_ }
|
||||
|
||||
func QueryCompatibleVmnicsFromHosts(ctx context.Context, r soap.RoundTripper, req *types.QueryCompatibleVmnicsFromHosts) (*types.QueryCompatibleVmnicsFromHostsResponse, error) {
|
||||
var reqBody, resBody QueryCompatibleVmnicsFromHostsBody
|
||||
|
||||
reqBody.Req = req
|
||||
|
||||
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type QueryComplianceStatusBody struct {
|
||||
Req *types.QueryComplianceStatus `xml:"urn:vim25 QueryComplianceStatus,omitempty"`
|
||||
Res *types.QueryComplianceStatusResponse `xml:"QueryComplianceStatusResponse,omitempty"`
|
||||
|
|
@ -10483,6 +10503,26 @@ func QueryManagedBy(ctx context.Context, r soap.RoundTripper, req *types.QueryMa
|
|||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type QueryMaxQueueDepthBody struct {
|
||||
Req *types.QueryMaxQueueDepth `xml:"urn:vim25 QueryMaxQueueDepth,omitempty"`
|
||||
Res *types.QueryMaxQueueDepthResponse `xml:"QueryMaxQueueDepthResponse,omitempty"`
|
||||
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
|
||||
}
|
||||
|
||||
func (b *QueryMaxQueueDepthBody) Fault() *soap.Fault { return b.Fault_ }
|
||||
|
||||
func QueryMaxQueueDepth(ctx context.Context, r soap.RoundTripper, req *types.QueryMaxQueueDepth) (*types.QueryMaxQueueDepthResponse, error) {
|
||||
var reqBody, resBody QueryMaxQueueDepthBody
|
||||
|
||||
reqBody.Req = req
|
||||
|
||||
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type QueryMemoryOverheadBody struct {
|
||||
Req *types.QueryMemoryOverhead `xml:"urn:vim25 QueryMemoryOverhead,omitempty"`
|
||||
Res *types.QueryMemoryOverheadResponse `xml:"QueryMemoryOverheadResponse,omitempty"`
|
||||
|
|
@ -11063,6 +11103,26 @@ func QuerySupportedFeatures(ctx context.Context, r soap.RoundTripper, req *types
|
|||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type QuerySupportedNetworkOffloadSpecBody struct {
|
||||
Req *types.QuerySupportedNetworkOffloadSpec `xml:"urn:vim25 QuerySupportedNetworkOffloadSpec,omitempty"`
|
||||
Res *types.QuerySupportedNetworkOffloadSpecResponse `xml:"QuerySupportedNetworkOffloadSpecResponse,omitempty"`
|
||||
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
|
||||
}
|
||||
|
||||
func (b *QuerySupportedNetworkOffloadSpecBody) Fault() *soap.Fault { return b.Fault_ }
|
||||
|
||||
func QuerySupportedNetworkOffloadSpec(ctx context.Context, r soap.RoundTripper, req *types.QuerySupportedNetworkOffloadSpec) (*types.QuerySupportedNetworkOffloadSpecResponse, error) {
|
||||
var reqBody, resBody QuerySupportedNetworkOffloadSpecBody
|
||||
|
||||
reqBody.Req = req
|
||||
|
||||
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type QuerySyncingVsanObjectsBody struct {
|
||||
Req *types.QuerySyncingVsanObjects `xml:"urn:vim25 QuerySyncingVsanObjects,omitempty"`
|
||||
Res *types.QuerySyncingVsanObjectsResponse `xml:"QuerySyncingVsanObjectsResponse,omitempty"`
|
||||
|
|
@ -14703,6 +14763,66 @@ func RetrieveVStorageObjectState(ctx context.Context, r soap.RoundTripper, req *
|
|||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type RetrieveVendorDeviceGroupInfoBody struct {
|
||||
Req *types.RetrieveVendorDeviceGroupInfo `xml:"urn:vim25 RetrieveVendorDeviceGroupInfo,omitempty"`
|
||||
Res *types.RetrieveVendorDeviceGroupInfoResponse `xml:"RetrieveVendorDeviceGroupInfoResponse,omitempty"`
|
||||
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
|
||||
}
|
||||
|
||||
func (b *RetrieveVendorDeviceGroupInfoBody) Fault() *soap.Fault { return b.Fault_ }
|
||||
|
||||
func RetrieveVendorDeviceGroupInfo(ctx context.Context, r soap.RoundTripper, req *types.RetrieveVendorDeviceGroupInfo) (*types.RetrieveVendorDeviceGroupInfoResponse, error) {
|
||||
var reqBody, resBody RetrieveVendorDeviceGroupInfoBody
|
||||
|
||||
reqBody.Req = req
|
||||
|
||||
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type RetrieveVgpuDeviceInfoBody struct {
|
||||
Req *types.RetrieveVgpuDeviceInfo `xml:"urn:vim25 RetrieveVgpuDeviceInfo,omitempty"`
|
||||
Res *types.RetrieveVgpuDeviceInfoResponse `xml:"RetrieveVgpuDeviceInfoResponse,omitempty"`
|
||||
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
|
||||
}
|
||||
|
||||
func (b *RetrieveVgpuDeviceInfoBody) Fault() *soap.Fault { return b.Fault_ }
|
||||
|
||||
func RetrieveVgpuDeviceInfo(ctx context.Context, r soap.RoundTripper, req *types.RetrieveVgpuDeviceInfo) (*types.RetrieveVgpuDeviceInfoResponse, error) {
|
||||
var reqBody, resBody RetrieveVgpuDeviceInfoBody
|
||||
|
||||
reqBody.Req = req
|
||||
|
||||
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type RetrieveVgpuProfileInfoBody struct {
|
||||
Req *types.RetrieveVgpuProfileInfo `xml:"urn:vim25 RetrieveVgpuProfileInfo,omitempty"`
|
||||
Res *types.RetrieveVgpuProfileInfoResponse `xml:"RetrieveVgpuProfileInfoResponse,omitempty"`
|
||||
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
|
||||
}
|
||||
|
||||
func (b *RetrieveVgpuProfileInfoBody) Fault() *soap.Fault { return b.Fault_ }
|
||||
|
||||
func RetrieveVgpuProfileInfo(ctx context.Context, r soap.RoundTripper, req *types.RetrieveVgpuProfileInfo) (*types.RetrieveVgpuProfileInfoResponse, error) {
|
||||
var reqBody, resBody RetrieveVgpuProfileInfoBody
|
||||
|
||||
reqBody.Req = req
|
||||
|
||||
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type RevertToCurrentSnapshot_TaskBody struct {
|
||||
Req *types.RevertToCurrentSnapshot_Task `xml:"urn:vim25 RevertToCurrentSnapshot_Task,omitempty"`
|
||||
Res *types.RevertToCurrentSnapshot_TaskResponse `xml:"RevertToCurrentSnapshot_TaskResponse,omitempty"`
|
||||
|
|
@ -15223,6 +15343,26 @@ func SetLocale(ctx context.Context, r soap.RoundTripper, req *types.SetLocale) (
|
|||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type SetMaxQueueDepthBody struct {
|
||||
Req *types.SetMaxQueueDepth `xml:"urn:vim25 SetMaxQueueDepth,omitempty"`
|
||||
Res *types.SetMaxQueueDepthResponse `xml:"SetMaxQueueDepthResponse,omitempty"`
|
||||
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
|
||||
}
|
||||
|
||||
func (b *SetMaxQueueDepthBody) Fault() *soap.Fault { return b.Fault_ }
|
||||
|
||||
func SetMaxQueueDepth(ctx context.Context, r soap.RoundTripper, req *types.SetMaxQueueDepth) (*types.SetMaxQueueDepthResponse, error) {
|
||||
var reqBody, resBody SetMaxQueueDepthBody
|
||||
|
||||
reqBody.Req = req
|
||||
|
||||
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type SetMultipathLunPolicyBody struct {
|
||||
Req *types.SetMultipathLunPolicy `xml:"urn:vim25 SetMultipathLunPolicy,omitempty"`
|
||||
Res *types.SetMultipathLunPolicyResponse `xml:"SetMultipathLunPolicyResponse,omitempty"`
|
||||
|
|
@ -16663,6 +16803,26 @@ func UpdateGraphicsConfig(ctx context.Context, r soap.RoundTripper, req *types.U
|
|||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type UpdateHostCustomizations_TaskBody struct {
|
||||
Req *types.UpdateHostCustomizations_Task `xml:"urn:vim25 UpdateHostCustomizations_Task,omitempty"`
|
||||
Res *types.UpdateHostCustomizations_TaskResponse `xml:"UpdateHostCustomizations_TaskResponse,omitempty"`
|
||||
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
|
||||
}
|
||||
|
||||
func (b *UpdateHostCustomizations_TaskBody) Fault() *soap.Fault { return b.Fault_ }
|
||||
|
||||
func UpdateHostCustomizations_Task(ctx context.Context, r soap.RoundTripper, req *types.UpdateHostCustomizations_Task) (*types.UpdateHostCustomizations_TaskResponse, error) {
|
||||
var reqBody, resBody UpdateHostCustomizations_TaskBody
|
||||
|
||||
reqBody.Req = req
|
||||
|
||||
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return resBody.Res, nil
|
||||
}
|
||||
|
||||
type UpdateHostImageAcceptanceLevelBody struct {
|
||||
Req *types.UpdateHostImageAcceptanceLevel `xml:"urn:vim25 UpdateHostImageAcceptanceLevel,omitempty"`
|
||||
Res *types.UpdateHostImageAcceptanceLevelResponse `xml:"UpdateHostImageAcceptanceLevelResponse,omitempty"`
|
||||
|
|
|
|||
2
vendor/github.com/vmware/govmomi/vim25/mo/mo.go
generated
vendored
2
vendor/github.com/vmware/govmomi/vim25/mo/mo.go
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2014-2021 VMware, Inc. All Rights Reserved.
|
||||
Copyright (c) 2014-2022 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
vendor/github.com/vmware/govmomi/vim25/soap/client.go
generated
vendored
18
vendor/github.com/vmware/govmomi/vim25/soap/client.go
generated
vendored
|
|
@ -37,10 +37,12 @@ import (
|
|||
"path/filepath"
|
||||
"reflect"
|
||||
"regexp"
|
||||
"runtime"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/vmware/govmomi/internal/version"
|
||||
"github.com/vmware/govmomi/vim25/progress"
|
||||
"github.com/vmware/govmomi/vim25/types"
|
||||
"github.com/vmware/govmomi/vim25/xml"
|
||||
|
|
@ -58,6 +60,15 @@ const (
|
|||
SessionCookieName = "vmware_soap_session"
|
||||
)
|
||||
|
||||
// defaultUserAgent is the default user agent string, e.g.
|
||||
// "govmomi/0.28.0 (go1.18.3;linux;amd64)"
|
||||
var defaultUserAgent = fmt.Sprintf(
|
||||
"%s/%s (%s)",
|
||||
version.ClientName,
|
||||
version.ClientVersion,
|
||||
strings.Join([]string{runtime.Version(), runtime.GOOS, runtime.GOARCH}, ";"),
|
||||
)
|
||||
|
||||
type Client struct {
|
||||
http.Client
|
||||
|
||||
|
|
@ -503,10 +514,13 @@ func (c *Client) Do(ctx context.Context, req *http.Request, f func(*http.Respons
|
|||
defer d.done()
|
||||
}
|
||||
|
||||
if c.UserAgent != "" {
|
||||
req.Header.Set(`User-Agent`, c.UserAgent)
|
||||
// use default
|
||||
if c.UserAgent == "" {
|
||||
c.UserAgent = defaultUserAgent
|
||||
}
|
||||
|
||||
req.Header.Set(`User-Agent`, c.UserAgent)
|
||||
|
||||
ext := ""
|
||||
if d.enabled() {
|
||||
ext = d.debugRequest(req)
|
||||
|
|
|
|||
267
vendor/github.com/vmware/govmomi/vim25/types/enum.go
generated
vendored
267
vendor/github.com/vmware/govmomi/vim25/types/enum.go
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2014-2021 VMware, Inc. All Rights Reserved.
|
||||
Copyright (c) 2014-2022 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.
|
||||
|
|
@ -360,6 +360,7 @@ const (
|
|||
ClusterDasFdmAvailabilityStateInitializationError = ClusterDasFdmAvailabilityState("initializationError")
|
||||
ClusterDasFdmAvailabilityStateUninitializationError = ClusterDasFdmAvailabilityState("uninitializationError")
|
||||
ClusterDasFdmAvailabilityStateFdmUnreachable = ClusterDasFdmAvailabilityState("fdmUnreachable")
|
||||
ClusterDasFdmAvailabilityStateRetry = ClusterDasFdmAvailabilityState("retry")
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -1175,6 +1176,16 @@ func init() {
|
|||
t["GuestOsDescriptorSupportLevel"] = reflect.TypeOf((*GuestOsDescriptorSupportLevel)(nil)).Elem()
|
||||
}
|
||||
|
||||
type GuestQuiesceEndGuestQuiesceError string
|
||||
|
||||
const (
|
||||
GuestQuiesceEndGuestQuiesceErrorFailure = GuestQuiesceEndGuestQuiesceError("failure")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["GuestQuiesceEndGuestQuiesceError"] = reflect.TypeOf((*GuestQuiesceEndGuestQuiesceError)(nil)).Elem()
|
||||
}
|
||||
|
||||
type GuestRegKeyWowSpec string
|
||||
|
||||
const (
|
||||
|
|
@ -1360,6 +1371,17 @@ func init() {
|
|||
t["HostCryptoState"] = reflect.TypeOf((*HostCryptoState)(nil)).Elem()
|
||||
}
|
||||
|
||||
type HostDVSConfigSpecSwitchMode string
|
||||
|
||||
const (
|
||||
HostDVSConfigSpecSwitchModeNormal = HostDVSConfigSpecSwitchMode("normal")
|
||||
HostDVSConfigSpecSwitchModeMux = HostDVSConfigSpecSwitchMode("mux")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["HostDVSConfigSpecSwitchMode"] = reflect.TypeOf((*HostDVSConfigSpecSwitchMode)(nil)).Elem()
|
||||
}
|
||||
|
||||
type HostDasErrorEventHostDasErrorReason string
|
||||
|
||||
const (
|
||||
|
|
@ -1842,6 +1864,24 @@ func init() {
|
|||
t["HostMountInfoInaccessibleReason"] = reflect.TypeOf((*HostMountInfoInaccessibleReason)(nil)).Elem()
|
||||
}
|
||||
|
||||
type HostMountInfoMountFailedReason string
|
||||
|
||||
const (
|
||||
HostMountInfoMountFailedReasonCONNECT_FAILURE = HostMountInfoMountFailedReason("CONNECT_FAILURE")
|
||||
HostMountInfoMountFailedReasonMOUNT_NOT_SUPPORTED = HostMountInfoMountFailedReason("MOUNT_NOT_SUPPORTED")
|
||||
HostMountInfoMountFailedReasonNFS_NOT_SUPPORTED = HostMountInfoMountFailedReason("NFS_NOT_SUPPORTED")
|
||||
HostMountInfoMountFailedReasonMOUNT_DENIED = HostMountInfoMountFailedReason("MOUNT_DENIED")
|
||||
HostMountInfoMountFailedReasonMOUNT_NOT_DIR = HostMountInfoMountFailedReason("MOUNT_NOT_DIR")
|
||||
HostMountInfoMountFailedReasonVOLUME_LIMIT_EXCEEDED = HostMountInfoMountFailedReason("VOLUME_LIMIT_EXCEEDED")
|
||||
HostMountInfoMountFailedReasonCONN_LIMIT_EXCEEDED = HostMountInfoMountFailedReason("CONN_LIMIT_EXCEEDED")
|
||||
HostMountInfoMountFailedReasonMOUNT_EXISTS = HostMountInfoMountFailedReason("MOUNT_EXISTS")
|
||||
HostMountInfoMountFailedReasonOTHERS = HostMountInfoMountFailedReason("OTHERS")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["HostMountInfoMountFailedReason"] = reflect.TypeOf((*HostMountInfoMountFailedReason)(nil)).Elem()
|
||||
}
|
||||
|
||||
type HostMountMode string
|
||||
|
||||
const (
|
||||
|
|
@ -1882,6 +1922,8 @@ const (
|
|||
HostNetStackInstanceSystemStackKeyDefaultTcpipStack = HostNetStackInstanceSystemStackKey("defaultTcpipStack")
|
||||
HostNetStackInstanceSystemStackKeyVmotion = HostNetStackInstanceSystemStackKey("vmotion")
|
||||
HostNetStackInstanceSystemStackKeyVSphereProvisioning = HostNetStackInstanceSystemStackKey("vSphereProvisioning")
|
||||
HostNetStackInstanceSystemStackKeyMirror = HostNetStackInstanceSystemStackKey("mirror")
|
||||
HostNetStackInstanceSystemStackKeyOps = HostNetStackInstanceSystemStackKey("ops")
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -2150,7 +2192,8 @@ func init() {
|
|||
type HostQualifiedNameType string
|
||||
|
||||
const (
|
||||
HostQualifiedNameTypeNvmeQualifiedName = HostQualifiedNameType("nvmeQualifiedName")
|
||||
HostQualifiedNameTypeNvmeQualifiedName = HostQualifiedNameType("nvmeQualifiedName")
|
||||
HostQualifiedNameTypeVvolNvmeQualifiedName = HostQualifiedNameType("vvolNvmeQualifiedName")
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -2276,6 +2319,29 @@ func init() {
|
|||
t["HostSgxInfoSgxStates"] = reflect.TypeOf((*HostSgxInfoSgxStates)(nil)).Elem()
|
||||
}
|
||||
|
||||
type HostSgxRegistrationInfoRegistrationStatus string
|
||||
|
||||
const (
|
||||
HostSgxRegistrationInfoRegistrationStatusNotApplicable = HostSgxRegistrationInfoRegistrationStatus("notApplicable")
|
||||
HostSgxRegistrationInfoRegistrationStatusIncomplete = HostSgxRegistrationInfoRegistrationStatus("incomplete")
|
||||
HostSgxRegistrationInfoRegistrationStatusComplete = HostSgxRegistrationInfoRegistrationStatus("complete")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["HostSgxRegistrationInfoRegistrationStatus"] = reflect.TypeOf((*HostSgxRegistrationInfoRegistrationStatus)(nil)).Elem()
|
||||
}
|
||||
|
||||
type HostSgxRegistrationInfoRegistrationType string
|
||||
|
||||
const (
|
||||
HostSgxRegistrationInfoRegistrationTypeManifest = HostSgxRegistrationInfoRegistrationType("manifest")
|
||||
HostSgxRegistrationInfoRegistrationTypeAddPackage = HostSgxRegistrationInfoRegistrationType("addPackage")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["HostSgxRegistrationInfoRegistrationType"] = reflect.TypeOf((*HostSgxRegistrationInfoRegistrationType)(nil)).Elem()
|
||||
}
|
||||
|
||||
type HostSnmpAgentCapability string
|
||||
|
||||
const (
|
||||
|
|
@ -3074,6 +3140,7 @@ const (
|
|||
PerformanceManagerUnitJoule = PerformanceManagerUnit("joule")
|
||||
PerformanceManagerUnitTeraBytes = PerformanceManagerUnit("teraBytes")
|
||||
PerformanceManagerUnitCelsius = PerformanceManagerUnit("celsius")
|
||||
PerformanceManagerUnitNanosecond = PerformanceManagerUnit("nanosecond")
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -3987,6 +4054,17 @@ func init() {
|
|||
t["VirtualAppVAppState"] = reflect.TypeOf((*VirtualAppVAppState)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualDeviceConfigSpecChangeMode string
|
||||
|
||||
const (
|
||||
VirtualDeviceConfigSpecChangeModeFail = VirtualDeviceConfigSpecChangeMode("fail")
|
||||
VirtualDeviceConfigSpecChangeModeSkip = VirtualDeviceConfigSpecChangeMode("skip")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["VirtualDeviceConfigSpecChangeMode"] = reflect.TypeOf((*VirtualDeviceConfigSpecChangeMode)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualDeviceConfigSpecFileOperation string
|
||||
|
||||
const (
|
||||
|
|
@ -4213,6 +4291,17 @@ func init() {
|
|||
t["VirtualEthernetCardMacType"] = reflect.TypeOf((*VirtualEthernetCardMacType)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualHardwareMotherboardLayout string
|
||||
|
||||
const (
|
||||
VirtualHardwareMotherboardLayoutI440bxHostBridge = VirtualHardwareMotherboardLayout("i440bxHostBridge")
|
||||
VirtualHardwareMotherboardLayoutAcpiHostBridges = VirtualHardwareMotherboardLayout("acpiHostBridges")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["VirtualHardwareMotherboardLayout"] = reflect.TypeOf((*VirtualHardwareMotherboardLayout)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualMachineAppHeartbeatStatusType string
|
||||
|
||||
const (
|
||||
|
|
@ -4236,6 +4325,27 @@ func init() {
|
|||
t["VirtualMachineBootOptionsNetworkBootProtocolType"] = reflect.TypeOf((*VirtualMachineBootOptionsNetworkBootProtocolType)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualMachineCertThumbprintHashAlgorithm string
|
||||
|
||||
const (
|
||||
VirtualMachineCertThumbprintHashAlgorithmSha256 = VirtualMachineCertThumbprintHashAlgorithm("sha256")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["VirtualMachineCertThumbprintHashAlgorithm"] = reflect.TypeOf((*VirtualMachineCertThumbprintHashAlgorithm)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualMachineCloneSpecTpmProvisionPolicy string
|
||||
|
||||
const (
|
||||
VirtualMachineCloneSpecTpmProvisionPolicyCopy = VirtualMachineCloneSpecTpmProvisionPolicy("copy")
|
||||
VirtualMachineCloneSpecTpmProvisionPolicyReplace = VirtualMachineCloneSpecTpmProvisionPolicy("replace")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["VirtualMachineCloneSpecTpmProvisionPolicy"] = reflect.TypeOf((*VirtualMachineCloneSpecTpmProvisionPolicy)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualMachineConfigInfoNpivWwnType string
|
||||
|
||||
const (
|
||||
|
|
@ -4386,29 +4496,31 @@ func init() {
|
|||
type VirtualMachineFileLayoutExFileType string
|
||||
|
||||
const (
|
||||
VirtualMachineFileLayoutExFileTypeConfig = VirtualMachineFileLayoutExFileType("config")
|
||||
VirtualMachineFileLayoutExFileTypeExtendedConfig = VirtualMachineFileLayoutExFileType("extendedConfig")
|
||||
VirtualMachineFileLayoutExFileTypeDiskDescriptor = VirtualMachineFileLayoutExFileType("diskDescriptor")
|
||||
VirtualMachineFileLayoutExFileTypeDiskExtent = VirtualMachineFileLayoutExFileType("diskExtent")
|
||||
VirtualMachineFileLayoutExFileTypeDigestDescriptor = VirtualMachineFileLayoutExFileType("digestDescriptor")
|
||||
VirtualMachineFileLayoutExFileTypeDigestExtent = VirtualMachineFileLayoutExFileType("digestExtent")
|
||||
VirtualMachineFileLayoutExFileTypeDiskReplicationState = VirtualMachineFileLayoutExFileType("diskReplicationState")
|
||||
VirtualMachineFileLayoutExFileTypeLog = VirtualMachineFileLayoutExFileType("log")
|
||||
VirtualMachineFileLayoutExFileTypeStat = VirtualMachineFileLayoutExFileType("stat")
|
||||
VirtualMachineFileLayoutExFileTypeNamespaceData = VirtualMachineFileLayoutExFileType("namespaceData")
|
||||
VirtualMachineFileLayoutExFileTypeNvram = VirtualMachineFileLayoutExFileType("nvram")
|
||||
VirtualMachineFileLayoutExFileTypeSnapshotData = VirtualMachineFileLayoutExFileType("snapshotData")
|
||||
VirtualMachineFileLayoutExFileTypeSnapshotMemory = VirtualMachineFileLayoutExFileType("snapshotMemory")
|
||||
VirtualMachineFileLayoutExFileTypeSnapshotList = VirtualMachineFileLayoutExFileType("snapshotList")
|
||||
VirtualMachineFileLayoutExFileTypeSnapshotManifestList = VirtualMachineFileLayoutExFileType("snapshotManifestList")
|
||||
VirtualMachineFileLayoutExFileTypeSuspend = VirtualMachineFileLayoutExFileType("suspend")
|
||||
VirtualMachineFileLayoutExFileTypeSuspendMemory = VirtualMachineFileLayoutExFileType("suspendMemory")
|
||||
VirtualMachineFileLayoutExFileTypeSwap = VirtualMachineFileLayoutExFileType("swap")
|
||||
VirtualMachineFileLayoutExFileTypeUwswap = VirtualMachineFileLayoutExFileType("uwswap")
|
||||
VirtualMachineFileLayoutExFileTypeCore = VirtualMachineFileLayoutExFileType("core")
|
||||
VirtualMachineFileLayoutExFileTypeScreenshot = VirtualMachineFileLayoutExFileType("screenshot")
|
||||
VirtualMachineFileLayoutExFileTypeFtMetadata = VirtualMachineFileLayoutExFileType("ftMetadata")
|
||||
VirtualMachineFileLayoutExFileTypeGuestCustomization = VirtualMachineFileLayoutExFileType("guestCustomization")
|
||||
VirtualMachineFileLayoutExFileTypeConfig = VirtualMachineFileLayoutExFileType("config")
|
||||
VirtualMachineFileLayoutExFileTypeExtendedConfig = VirtualMachineFileLayoutExFileType("extendedConfig")
|
||||
VirtualMachineFileLayoutExFileTypeDiskDescriptor = VirtualMachineFileLayoutExFileType("diskDescriptor")
|
||||
VirtualMachineFileLayoutExFileTypeDiskExtent = VirtualMachineFileLayoutExFileType("diskExtent")
|
||||
VirtualMachineFileLayoutExFileTypeDigestDescriptor = VirtualMachineFileLayoutExFileType("digestDescriptor")
|
||||
VirtualMachineFileLayoutExFileTypeDigestExtent = VirtualMachineFileLayoutExFileType("digestExtent")
|
||||
VirtualMachineFileLayoutExFileTypeDiskReplicationState = VirtualMachineFileLayoutExFileType("diskReplicationState")
|
||||
VirtualMachineFileLayoutExFileTypeLog = VirtualMachineFileLayoutExFileType("log")
|
||||
VirtualMachineFileLayoutExFileTypeStat = VirtualMachineFileLayoutExFileType("stat")
|
||||
VirtualMachineFileLayoutExFileTypeNamespaceData = VirtualMachineFileLayoutExFileType("namespaceData")
|
||||
VirtualMachineFileLayoutExFileTypeDataSetsDiskModeStore = VirtualMachineFileLayoutExFileType("dataSetsDiskModeStore")
|
||||
VirtualMachineFileLayoutExFileTypeDataSetsVmModeStore = VirtualMachineFileLayoutExFileType("dataSetsVmModeStore")
|
||||
VirtualMachineFileLayoutExFileTypeNvram = VirtualMachineFileLayoutExFileType("nvram")
|
||||
VirtualMachineFileLayoutExFileTypeSnapshotData = VirtualMachineFileLayoutExFileType("snapshotData")
|
||||
VirtualMachineFileLayoutExFileTypeSnapshotMemory = VirtualMachineFileLayoutExFileType("snapshotMemory")
|
||||
VirtualMachineFileLayoutExFileTypeSnapshotList = VirtualMachineFileLayoutExFileType("snapshotList")
|
||||
VirtualMachineFileLayoutExFileTypeSnapshotManifestList = VirtualMachineFileLayoutExFileType("snapshotManifestList")
|
||||
VirtualMachineFileLayoutExFileTypeSuspend = VirtualMachineFileLayoutExFileType("suspend")
|
||||
VirtualMachineFileLayoutExFileTypeSuspendMemory = VirtualMachineFileLayoutExFileType("suspendMemory")
|
||||
VirtualMachineFileLayoutExFileTypeSwap = VirtualMachineFileLayoutExFileType("swap")
|
||||
VirtualMachineFileLayoutExFileTypeUwswap = VirtualMachineFileLayoutExFileType("uwswap")
|
||||
VirtualMachineFileLayoutExFileTypeCore = VirtualMachineFileLayoutExFileType("core")
|
||||
VirtualMachineFileLayoutExFileTypeScreenshot = VirtualMachineFileLayoutExFileType("screenshot")
|
||||
VirtualMachineFileLayoutExFileTypeFtMetadata = VirtualMachineFileLayoutExFileType("ftMetadata")
|
||||
VirtualMachineFileLayoutExFileTypeGuestCustomization = VirtualMachineFileLayoutExFileType("guestCustomization")
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -4514,9 +4626,12 @@ const (
|
|||
VirtualMachineGuestOsIdentifierWindows9Guest = VirtualMachineGuestOsIdentifier("windows9Guest")
|
||||
VirtualMachineGuestOsIdentifierWindows9_64Guest = VirtualMachineGuestOsIdentifier("windows9_64Guest")
|
||||
VirtualMachineGuestOsIdentifierWindows9Server64Guest = VirtualMachineGuestOsIdentifier("windows9Server64Guest")
|
||||
VirtualMachineGuestOsIdentifierWindows11_64Guest = VirtualMachineGuestOsIdentifier("windows11_64Guest")
|
||||
VirtualMachineGuestOsIdentifierWindows12_64Guest = VirtualMachineGuestOsIdentifier("windows12_64Guest")
|
||||
VirtualMachineGuestOsIdentifierWindowsHyperVGuest = VirtualMachineGuestOsIdentifier("windowsHyperVGuest")
|
||||
VirtualMachineGuestOsIdentifierWindows2019srv_64Guest = VirtualMachineGuestOsIdentifier("windows2019srv_64Guest")
|
||||
VirtualMachineGuestOsIdentifierWindows2019srvNext_64Guest = VirtualMachineGuestOsIdentifier("windows2019srvNext_64Guest")
|
||||
VirtualMachineGuestOsIdentifierWindows2022srvNext_64Guest = VirtualMachineGuestOsIdentifier("windows2022srvNext_64Guest")
|
||||
VirtualMachineGuestOsIdentifierFreebsdGuest = VirtualMachineGuestOsIdentifier("freebsdGuest")
|
||||
VirtualMachineGuestOsIdentifierFreebsd64Guest = VirtualMachineGuestOsIdentifier("freebsd64Guest")
|
||||
VirtualMachineGuestOsIdentifierFreebsd11Guest = VirtualMachineGuestOsIdentifier("freebsd11Guest")
|
||||
|
|
@ -4525,6 +4640,8 @@ const (
|
|||
VirtualMachineGuestOsIdentifierFreebsd12_64Guest = VirtualMachineGuestOsIdentifier("freebsd12_64Guest")
|
||||
VirtualMachineGuestOsIdentifierFreebsd13Guest = VirtualMachineGuestOsIdentifier("freebsd13Guest")
|
||||
VirtualMachineGuestOsIdentifierFreebsd13_64Guest = VirtualMachineGuestOsIdentifier("freebsd13_64Guest")
|
||||
VirtualMachineGuestOsIdentifierFreebsd14Guest = VirtualMachineGuestOsIdentifier("freebsd14Guest")
|
||||
VirtualMachineGuestOsIdentifierFreebsd14_64Guest = VirtualMachineGuestOsIdentifier("freebsd14_64Guest")
|
||||
VirtualMachineGuestOsIdentifierRedhatGuest = VirtualMachineGuestOsIdentifier("redhatGuest")
|
||||
VirtualMachineGuestOsIdentifierRhel2Guest = VirtualMachineGuestOsIdentifier("rhel2Guest")
|
||||
VirtualMachineGuestOsIdentifierRhel3Guest = VirtualMachineGuestOsIdentifier("rhel3Guest")
|
||||
|
|
@ -4593,6 +4710,8 @@ const (
|
|||
VirtualMachineGuestOsIdentifierDebian10_64Guest = VirtualMachineGuestOsIdentifier("debian10_64Guest")
|
||||
VirtualMachineGuestOsIdentifierDebian11Guest = VirtualMachineGuestOsIdentifier("debian11Guest")
|
||||
VirtualMachineGuestOsIdentifierDebian11_64Guest = VirtualMachineGuestOsIdentifier("debian11_64Guest")
|
||||
VirtualMachineGuestOsIdentifierDebian12Guest = VirtualMachineGuestOsIdentifier("debian12Guest")
|
||||
VirtualMachineGuestOsIdentifierDebian12_64Guest = VirtualMachineGuestOsIdentifier("debian12_64Guest")
|
||||
VirtualMachineGuestOsIdentifierAsianux3Guest = VirtualMachineGuestOsIdentifier("asianux3Guest")
|
||||
VirtualMachineGuestOsIdentifierAsianux3_64Guest = VirtualMachineGuestOsIdentifier("asianux3_64Guest")
|
||||
VirtualMachineGuestOsIdentifierAsianux4Guest = VirtualMachineGuestOsIdentifier("asianux4Guest")
|
||||
|
|
@ -4613,12 +4732,14 @@ const (
|
|||
VirtualMachineGuestOsIdentifierOther3xLinuxGuest = VirtualMachineGuestOsIdentifier("other3xLinuxGuest")
|
||||
VirtualMachineGuestOsIdentifierOther4xLinuxGuest = VirtualMachineGuestOsIdentifier("other4xLinuxGuest")
|
||||
VirtualMachineGuestOsIdentifierOther5xLinuxGuest = VirtualMachineGuestOsIdentifier("other5xLinuxGuest")
|
||||
VirtualMachineGuestOsIdentifierOther6xLinuxGuest = VirtualMachineGuestOsIdentifier("other6xLinuxGuest")
|
||||
VirtualMachineGuestOsIdentifierGenericLinuxGuest = VirtualMachineGuestOsIdentifier("genericLinuxGuest")
|
||||
VirtualMachineGuestOsIdentifierOther24xLinux64Guest = VirtualMachineGuestOsIdentifier("other24xLinux64Guest")
|
||||
VirtualMachineGuestOsIdentifierOther26xLinux64Guest = VirtualMachineGuestOsIdentifier("other26xLinux64Guest")
|
||||
VirtualMachineGuestOsIdentifierOther3xLinux64Guest = VirtualMachineGuestOsIdentifier("other3xLinux64Guest")
|
||||
VirtualMachineGuestOsIdentifierOther4xLinux64Guest = VirtualMachineGuestOsIdentifier("other4xLinux64Guest")
|
||||
VirtualMachineGuestOsIdentifierOther5xLinux64Guest = VirtualMachineGuestOsIdentifier("other5xLinux64Guest")
|
||||
VirtualMachineGuestOsIdentifierOther6xLinux64Guest = VirtualMachineGuestOsIdentifier("other6xLinux64Guest")
|
||||
VirtualMachineGuestOsIdentifierOtherLinux64Guest = VirtualMachineGuestOsIdentifier("otherLinux64Guest")
|
||||
VirtualMachineGuestOsIdentifierSolaris6Guest = VirtualMachineGuestOsIdentifier("solaris6Guest")
|
||||
VirtualMachineGuestOsIdentifierSolaris7Guest = VirtualMachineGuestOsIdentifier("solaris7Guest")
|
||||
|
|
@ -4652,14 +4773,19 @@ const (
|
|||
VirtualMachineGuestOsIdentifierDarwin19_64Guest = VirtualMachineGuestOsIdentifier("darwin19_64Guest")
|
||||
VirtualMachineGuestOsIdentifierDarwin20_64Guest = VirtualMachineGuestOsIdentifier("darwin20_64Guest")
|
||||
VirtualMachineGuestOsIdentifierDarwin21_64Guest = VirtualMachineGuestOsIdentifier("darwin21_64Guest")
|
||||
VirtualMachineGuestOsIdentifierDarwin22_64Guest = VirtualMachineGuestOsIdentifier("darwin22_64Guest")
|
||||
VirtualMachineGuestOsIdentifierDarwin23_64Guest = VirtualMachineGuestOsIdentifier("darwin23_64Guest")
|
||||
VirtualMachineGuestOsIdentifierVmkernelGuest = VirtualMachineGuestOsIdentifier("vmkernelGuest")
|
||||
VirtualMachineGuestOsIdentifierVmkernel5Guest = VirtualMachineGuestOsIdentifier("vmkernel5Guest")
|
||||
VirtualMachineGuestOsIdentifierVmkernel6Guest = VirtualMachineGuestOsIdentifier("vmkernel6Guest")
|
||||
VirtualMachineGuestOsIdentifierVmkernel65Guest = VirtualMachineGuestOsIdentifier("vmkernel65Guest")
|
||||
VirtualMachineGuestOsIdentifierVmkernel7Guest = VirtualMachineGuestOsIdentifier("vmkernel7Guest")
|
||||
VirtualMachineGuestOsIdentifierVmkernel8Guest = VirtualMachineGuestOsIdentifier("vmkernel8Guest")
|
||||
VirtualMachineGuestOsIdentifierAmazonlinux2_64Guest = VirtualMachineGuestOsIdentifier("amazonlinux2_64Guest")
|
||||
VirtualMachineGuestOsIdentifierAmazonlinux3_64Guest = VirtualMachineGuestOsIdentifier("amazonlinux3_64Guest")
|
||||
VirtualMachineGuestOsIdentifierCrxPod1Guest = VirtualMachineGuestOsIdentifier("crxPod1Guest")
|
||||
VirtualMachineGuestOsIdentifierRockylinux_64Guest = VirtualMachineGuestOsIdentifier("rockylinux_64Guest")
|
||||
VirtualMachineGuestOsIdentifierAlmalinux_64Guest = VirtualMachineGuestOsIdentifier("almalinux_64Guest")
|
||||
VirtualMachineGuestOsIdentifierOtherGuest = VirtualMachineGuestOsIdentifier("otherGuest")
|
||||
VirtualMachineGuestOsIdentifierOtherGuest64 = VirtualMachineGuestOsIdentifier("otherGuest64")
|
||||
)
|
||||
|
|
@ -4987,12 +5113,13 @@ func init() {
|
|||
type VirtualMachineUsbInfoSpeed string
|
||||
|
||||
const (
|
||||
VirtualMachineUsbInfoSpeedLow = VirtualMachineUsbInfoSpeed("low")
|
||||
VirtualMachineUsbInfoSpeedFull = VirtualMachineUsbInfoSpeed("full")
|
||||
VirtualMachineUsbInfoSpeedHigh = VirtualMachineUsbInfoSpeed("high")
|
||||
VirtualMachineUsbInfoSpeedSuperSpeed = VirtualMachineUsbInfoSpeed("superSpeed")
|
||||
VirtualMachineUsbInfoSpeedSuperSpeedPlus = VirtualMachineUsbInfoSpeed("superSpeedPlus")
|
||||
VirtualMachineUsbInfoSpeedUnknownSpeed = VirtualMachineUsbInfoSpeed("unknownSpeed")
|
||||
VirtualMachineUsbInfoSpeedLow = VirtualMachineUsbInfoSpeed("low")
|
||||
VirtualMachineUsbInfoSpeedFull = VirtualMachineUsbInfoSpeed("full")
|
||||
VirtualMachineUsbInfoSpeedHigh = VirtualMachineUsbInfoSpeed("high")
|
||||
VirtualMachineUsbInfoSpeedSuperSpeed = VirtualMachineUsbInfoSpeed("superSpeed")
|
||||
VirtualMachineUsbInfoSpeedSuperSpeedPlus = VirtualMachineUsbInfoSpeed("superSpeedPlus")
|
||||
VirtualMachineUsbInfoSpeedSuperSpeed20Gbps = VirtualMachineUsbInfoSpeed("superSpeed20Gbps")
|
||||
VirtualMachineUsbInfoSpeedUnknownSpeed = VirtualMachineUsbInfoSpeed("unknownSpeed")
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -5037,6 +5164,41 @@ func init() {
|
|||
t["VirtualMachineVMCIDeviceProtocol"] = reflect.TypeOf((*VirtualMachineVMCIDeviceProtocol)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType string
|
||||
|
||||
const (
|
||||
VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentTypePciPassthru = VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType("pciPassthru")
|
||||
VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentTypeNvidiaVgpu = VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType("nvidiaVgpu")
|
||||
VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentTypeSriovNic = VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType("sriovNic")
|
||||
VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentTypeDvx = VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType("dvx")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType"] = reflect.TypeOf((*VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualMachineVgpuProfileInfoProfileClass string
|
||||
|
||||
const (
|
||||
VirtualMachineVgpuProfileInfoProfileClassCompute = VirtualMachineVgpuProfileInfoProfileClass("compute")
|
||||
VirtualMachineVgpuProfileInfoProfileClassQuadro = VirtualMachineVgpuProfileInfoProfileClass("quadro")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["VirtualMachineVgpuProfileInfoProfileClass"] = reflect.TypeOf((*VirtualMachineVgpuProfileInfoProfileClass)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualMachineVgpuProfileInfoProfileSharing string
|
||||
|
||||
const (
|
||||
VirtualMachineVgpuProfileInfoProfileSharingTimeSliced = VirtualMachineVgpuProfileInfoProfileSharing("timeSliced")
|
||||
VirtualMachineVgpuProfileInfoProfileSharingMig = VirtualMachineVgpuProfileInfoProfileSharing("mig")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["VirtualMachineVgpuProfileInfoProfileSharing"] = reflect.TypeOf((*VirtualMachineVgpuProfileInfoProfileSharing)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualMachineVideoCardUse3dRenderer string
|
||||
|
||||
const (
|
||||
|
|
@ -5049,6 +5211,20 @@ func init() {
|
|||
t["VirtualMachineVideoCardUse3dRenderer"] = reflect.TypeOf((*VirtualMachineVideoCardUse3dRenderer)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualMachineVirtualDeviceSwapDeviceSwapStatus string
|
||||
|
||||
const (
|
||||
VirtualMachineVirtualDeviceSwapDeviceSwapStatusNone = VirtualMachineVirtualDeviceSwapDeviceSwapStatus("none")
|
||||
VirtualMachineVirtualDeviceSwapDeviceSwapStatusScheduled = VirtualMachineVirtualDeviceSwapDeviceSwapStatus("scheduled")
|
||||
VirtualMachineVirtualDeviceSwapDeviceSwapStatusInprogress = VirtualMachineVirtualDeviceSwapDeviceSwapStatus("inprogress")
|
||||
VirtualMachineVirtualDeviceSwapDeviceSwapStatusFailed = VirtualMachineVirtualDeviceSwapDeviceSwapStatus("failed")
|
||||
VirtualMachineVirtualDeviceSwapDeviceSwapStatusCompleted = VirtualMachineVirtualDeviceSwapDeviceSwapStatus("completed")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["VirtualMachineVirtualDeviceSwapDeviceSwapStatus"] = reflect.TypeOf((*VirtualMachineVirtualDeviceSwapDeviceSwapStatus)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VirtualMachineVirtualPMemSnapshotMode string
|
||||
|
||||
const (
|
||||
|
|
@ -5329,6 +5505,35 @@ func init() {
|
|||
t["WillLoseHAProtectionResolution"] = reflect.TypeOf((*WillLoseHAProtectionResolution)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VslmDiskInfoFlag string
|
||||
|
||||
const (
|
||||
VslmDiskInfoFlagId = VslmDiskInfoFlag("id")
|
||||
VslmDiskInfoFlagBackingObjectId = VslmDiskInfoFlag("backingObjectId")
|
||||
VslmDiskInfoFlagPath = VslmDiskInfoFlag("path")
|
||||
VslmDiskInfoFlagParentPath = VslmDiskInfoFlag("parentPath")
|
||||
VslmDiskInfoFlagName = VslmDiskInfoFlag("name")
|
||||
VslmDiskInfoFlagDeviceName = VslmDiskInfoFlag("deviceName")
|
||||
VslmDiskInfoFlagCapacity = VslmDiskInfoFlag("capacity")
|
||||
VslmDiskInfoFlagAllocated = VslmDiskInfoFlag("allocated")
|
||||
VslmDiskInfoFlagType = VslmDiskInfoFlag("type")
|
||||
VslmDiskInfoFlagConsumers = VslmDiskInfoFlag("consumers")
|
||||
VslmDiskInfoFlagTentativeState = VslmDiskInfoFlag("tentativeState")
|
||||
VslmDiskInfoFlagCreateTime = VslmDiskInfoFlag("createTime")
|
||||
VslmDiskInfoFlagIoFilter = VslmDiskInfoFlag("ioFilter")
|
||||
VslmDiskInfoFlagControlFlags = VslmDiskInfoFlag("controlFlags")
|
||||
VslmDiskInfoFlagKeepAfterVmDelete = VslmDiskInfoFlag("keepAfterVmDelete")
|
||||
VslmDiskInfoFlagRelocationDisabled = VslmDiskInfoFlag("relocationDisabled")
|
||||
VslmDiskInfoFlagKeyId = VslmDiskInfoFlag("keyId")
|
||||
VslmDiskInfoFlagKeyProviderId = VslmDiskInfoFlag("keyProviderId")
|
||||
VslmDiskInfoFlagNativeSnapshotSupported = VslmDiskInfoFlag("nativeSnapshotSupported")
|
||||
VslmDiskInfoFlagCbtEnabled = VslmDiskInfoFlag("cbtEnabled")
|
||||
)
|
||||
|
||||
func init() {
|
||||
t["vslmDiskInfoFlag"] = reflect.TypeOf((*VslmDiskInfoFlag)(nil)).Elem()
|
||||
}
|
||||
|
||||
type VslmVStorageObjectControlFlag string
|
||||
|
||||
const (
|
||||
|
|
|
|||
14
vendor/github.com/vmware/govmomi/vim25/types/if.go
generated
vendored
14
vendor/github.com/vmware/govmomi/vim25/types/if.go
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2014-2021 VMware, Inc. All Rights Reserved.
|
||||
Copyright (c) 2014-2022 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.
|
||||
|
|
@ -3150,6 +3150,18 @@ func init() {
|
|||
t["BaseVirtualMachineTargetInfo"] = reflect.TypeOf((*VirtualMachineTargetInfo)(nil)).Elem()
|
||||
}
|
||||
|
||||
func (b *VirtualMachineVirtualDeviceGroupsDeviceGroup) GetVirtualMachineVirtualDeviceGroupsDeviceGroup() *VirtualMachineVirtualDeviceGroupsDeviceGroup {
|
||||
return b
|
||||
}
|
||||
|
||||
type BaseVirtualMachineVirtualDeviceGroupsDeviceGroup interface {
|
||||
GetVirtualMachineVirtualDeviceGroupsDeviceGroup() *VirtualMachineVirtualDeviceGroupsDeviceGroup
|
||||
}
|
||||
|
||||
func init() {
|
||||
t["BaseVirtualMachineVirtualDeviceGroupsDeviceGroup"] = reflect.TypeOf((*VirtualMachineVirtualDeviceGroupsDeviceGroup)(nil)).Elem()
|
||||
}
|
||||
|
||||
func (b *VirtualPCIPassthroughPluginBackingInfo) GetVirtualPCIPassthroughPluginBackingInfo() *VirtualPCIPassthroughPluginBackingInfo {
|
||||
return b
|
||||
}
|
||||
|
|
|
|||
950
vendor/github.com/vmware/govmomi/vim25/types/types.go
generated
vendored
950
vendor/github.com/vmware/govmomi/vim25/types/types.go
generated
vendored
File diff suppressed because it is too large
Load diff
3
vendor/modules.txt
vendored
3
vendor/modules.txt
vendored
|
|
@ -559,7 +559,7 @@ github.com/vbauerster/mpb/v7
|
|||
github.com/vbauerster/mpb/v7/cwriter
|
||||
github.com/vbauerster/mpb/v7/decor
|
||||
github.com/vbauerster/mpb/v7/internal
|
||||
# github.com/vmware/govmomi v0.28.0
|
||||
# github.com/vmware/govmomi v0.29.0
|
||||
## explicit
|
||||
github.com/vmware/govmomi/cns
|
||||
github.com/vmware/govmomi/cns/methods
|
||||
|
|
@ -576,6 +576,7 @@ github.com/vmware/govmomi/guest
|
|||
github.com/vmware/govmomi/guest/toolbox
|
||||
github.com/vmware/govmomi/history
|
||||
github.com/vmware/govmomi/internal
|
||||
github.com/vmware/govmomi/internal/version
|
||||
github.com/vmware/govmomi/list
|
||||
github.com/vmware/govmomi/nfc
|
||||
github.com/vmware/govmomi/object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue