build(deps): bump github.com/vmware/govmomi from 0.26.1 to 0.27.4

Bumps [github.com/vmware/govmomi](https://github.com/vmware/govmomi) from 0.26.1 to 0.27.4.
- [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.26.1...v0.27.4)

---
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:
dependabot[bot] 2022-04-14 11:07:45 +00:00 committed by Ondřej Budai
parent 1ded72b4dc
commit 2ba68442d3
37 changed files with 1535 additions and 237 deletions

View file

@ -2303,6 +2303,26 @@ func ConnectNvmeController(ctx context.Context, r soap.RoundTripper, req *types.
return resBody.Res, nil
}
type ConnectNvmeControllerEx_TaskBody struct {
Req *types.ConnectNvmeControllerEx_Task `xml:"urn:vim25 ConnectNvmeControllerEx_Task,omitempty"`
Res *types.ConnectNvmeControllerEx_TaskResponse `xml:"ConnectNvmeControllerEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *ConnectNvmeControllerEx_TaskBody) Fault() *soap.Fault { return b.Fault_ }
func ConnectNvmeControllerEx_Task(ctx context.Context, r soap.RoundTripper, req *types.ConnectNvmeControllerEx_Task) (*types.ConnectNvmeControllerEx_TaskResponse, error) {
var reqBody, resBody ConnectNvmeControllerEx_TaskBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type ConsolidateVMDisks_TaskBody struct {
Req *types.ConsolidateVMDisks_Task `xml:"urn:vim25 ConsolidateVMDisks_Task,omitempty"`
Res *types.ConsolidateVMDisks_TaskResponse `xml:"ConsolidateVMDisks_TaskResponse,omitempty"`
@ -3243,6 +3263,26 @@ func CreateSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.Cr
return resBody.Res, nil
}
type CreateSoftwareAdapterBody struct {
Req *types.CreateSoftwareAdapter `xml:"urn:vim25 CreateSoftwareAdapter,omitempty"`
Res *types.CreateSoftwareAdapterResponse `xml:"CreateSoftwareAdapterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *CreateSoftwareAdapterBody) Fault() *soap.Fault { return b.Fault_ }
func CreateSoftwareAdapter(ctx context.Context, r soap.RoundTripper, req *types.CreateSoftwareAdapter) (*types.CreateSoftwareAdapterResponse, error) {
var reqBody, resBody CreateSoftwareAdapterBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type CreateStoragePodBody struct {
Req *types.CreateStoragePod `xml:"urn:vim25 CreateStoragePod,omitempty"`
Res *types.CreateStoragePodResponse `xml:"CreateStoragePodResponse,omitempty"`
@ -4763,6 +4803,26 @@ func DisconnectNvmeController(ctx context.Context, r soap.RoundTripper, req *typ
return resBody.Res, nil
}
type DisconnectNvmeControllerEx_TaskBody struct {
Req *types.DisconnectNvmeControllerEx_Task `xml:"urn:vim25 DisconnectNvmeControllerEx_Task,omitempty"`
Res *types.DisconnectNvmeControllerEx_TaskResponse `xml:"DisconnectNvmeControllerEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *DisconnectNvmeControllerEx_TaskBody) Fault() *soap.Fault { return b.Fault_ }
func DisconnectNvmeControllerEx_Task(ctx context.Context, r soap.RoundTripper, req *types.DisconnectNvmeControllerEx_Task) (*types.DisconnectNvmeControllerEx_TaskResponse, error) {
var reqBody, resBody DisconnectNvmeControllerEx_TaskBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type DiscoverFcoeHbasBody struct {
Req *types.DiscoverFcoeHbas `xml:"urn:vim25 DiscoverFcoeHbas,omitempty"`
Res *types.DiscoverFcoeHbasResponse `xml:"DiscoverFcoeHbasResponse,omitempty"`
@ -5643,6 +5703,26 @@ func ExtractOvfEnvironment(ctx context.Context, r soap.RoundTripper, req *types.
return resBody.Res, nil
}
type FetchAuditRecordsBody struct {
Req *types.FetchAuditRecords `xml:"urn:vim25 FetchAuditRecords,omitempty"`
Res *types.FetchAuditRecordsResponse `xml:"FetchAuditRecordsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *FetchAuditRecordsBody) Fault() *soap.Fault { return b.Fault_ }
func FetchAuditRecords(ctx context.Context, r soap.RoundTripper, req *types.FetchAuditRecords) (*types.FetchAuditRecordsResponse, error) {
var reqBody, resBody FetchAuditRecordsBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type FetchDVPortKeysBody struct {
Req *types.FetchDVPortKeys `xml:"urn:vim25 FetchDVPortKeys,omitempty"`
Res *types.FetchDVPortKeysResponse `xml:"FetchDVPortKeysResponse,omitempty"`
@ -6323,6 +6403,26 @@ func GetSiteInfo(ctx context.Context, r soap.RoundTripper, req *types.GetSiteInf
return resBody.Res, nil
}
type GetSystemVMsRestrictedDatastoresBody struct {
Req *types.GetSystemVMsRestrictedDatastores `xml:"urn:vim25 GetSystemVMsRestrictedDatastores,omitempty"`
Res *types.GetSystemVMsRestrictedDatastoresResponse `xml:"GetSystemVMsRestrictedDatastoresResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *GetSystemVMsRestrictedDatastoresBody) Fault() *soap.Fault { return b.Fault_ }
func GetSystemVMsRestrictedDatastores(ctx context.Context, r soap.RoundTripper, req *types.GetSystemVMsRestrictedDatastores) (*types.GetSystemVMsRestrictedDatastoresResponse, error) {
var reqBody, resBody GetSystemVMsRestrictedDatastoresBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type GetVchaClusterHealthBody struct {
Req *types.GetVchaClusterHealth `xml:"urn:vim25 GetVchaClusterHealth,omitempty"`
Res *types.GetVchaClusterHealthResponse `xml:"GetVchaClusterHealthResponse,omitempty"`
@ -13243,6 +13343,26 @@ func RemoveSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.Re
return resBody.Res, nil
}
type RemoveSoftwareAdapterBody struct {
Req *types.RemoveSoftwareAdapter `xml:"urn:vim25 RemoveSoftwareAdapter,omitempty"`
Res *types.RemoveSoftwareAdapterResponse `xml:"RemoveSoftwareAdapterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *RemoveSoftwareAdapterBody) Fault() *soap.Fault { return b.Fault_ }
func RemoveSoftwareAdapter(ctx context.Context, r soap.RoundTripper, req *types.RemoveSoftwareAdapter) (*types.RemoveSoftwareAdapterResponse, error) {
var reqBody, resBody RemoveSoftwareAdapterBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type RemoveUserBody struct {
Req *types.RemoveUser `xml:"urn:vim25 RemoveUser,omitempty"`
Res *types.RemoveUserResponse `xml:"RemoveUserResponse,omitempty"`
@ -15683,6 +15803,26 @@ func TerminateVM(ctx context.Context, r soap.RoundTripper, req *types.TerminateV
return resBody.Res, nil
}
type TestTimeServiceBody struct {
Req *types.TestTimeService `xml:"urn:vim25 TestTimeService,omitempty"`
Res *types.TestTimeServiceResponse `xml:"TestTimeServiceResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *TestTimeServiceBody) Fault() *soap.Fault { return b.Fault_ }
func TestTimeService(ctx context.Context, r soap.RoundTripper, req *types.TestTimeService) (*types.TestTimeServiceResponse, error) {
var reqBody, resBody TestTimeServiceBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type TurnDiskLocatorLedOff_TaskBody struct {
Req *types.TurnDiskLocatorLedOff_Task `xml:"urn:vim25 TurnDiskLocatorLedOff_Task,omitempty"`
Res *types.TurnDiskLocatorLedOff_TaskResponse `xml:"TurnDiskLocatorLedOff_TaskResponse,omitempty"`
@ -16523,26 +16663,6 @@ 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"`

View file

@ -0,0 +1,44 @@
/*
Copyright (c) 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 methods
import (
"context"
"github.com/vmware/govmomi/vim25/soap"
"github.com/vmware/govmomi/vim25/types"
)
type PlaceVmsXClusterBody struct {
Req *types.PlaceVmsXCluster `xml:"urn:vim25 PlaceVmsXCluster,omitempty"`
Res *types.PlaceVmsXClusterResponse `xml:"PlaceVmsXClusterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *PlaceVmsXClusterBody) Fault() *soap.Fault { return b.Fault_ }
func PlaceVmsXCluster(ctx context.Context, r soap.RoundTripper, req *types.PlaceVmsXCluster) (*types.PlaceVmsXClusterResponse, error) {
var reqBody, resBody PlaceVmsXClusterBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}

View file

@ -256,3 +256,8 @@ func (t *typeInfo) LoadFromObjectContent(o types.ObjectContent) (reflect.Value,
return v, nil
}
func IsManagedObjectType(kind string) bool {
_, ok := t[kind]
return ok
}

View file

@ -87,7 +87,9 @@ func (d *debugRoundTrip) debugRequest(req *http.Request) string {
ext := d.ext(req.Header)
// Capture body
wc = d.newFile("req." + ext)
req.Body = Trace(req.Body, wc, ext)
if req.Body != nil {
req.Body = Trace(req.Body, wc, ext)
}
// Delay closing until marked done
d.cs = append(d.cs, wc)

View file

@ -550,6 +550,8 @@ type CustomizationFailedReasonCode string
const (
CustomizationFailedReasonCodeUserDefinedScriptDisabled = CustomizationFailedReasonCode("userDefinedScriptDisabled")
CustomizationFailedReasonCodeCustomizationDisabled = CustomizationFailedReasonCode("customizationDisabled")
CustomizationFailedReasonCodeRawDataIsNotSupported = CustomizationFailedReasonCode("rawDataIsNotSupported")
CustomizationFailedReasonCodeWrongMetadataFormat = CustomizationFailedReasonCode("wrongMetadataFormat")
)
func init() {
@ -815,6 +817,7 @@ const (
DistributedVirtualSwitchHostInfrastructureTrafficClassVsan = DistributedVirtualSwitchHostInfrastructureTrafficClass("vsan")
DistributedVirtualSwitchHostInfrastructureTrafficClassVdp = DistributedVirtualSwitchHostInfrastructureTrafficClass("vdp")
DistributedVirtualSwitchHostInfrastructureTrafficClassBackupNfc = DistributedVirtualSwitchHostInfrastructureTrafficClass("backupNfc")
DistributedVirtualSwitchHostInfrastructureTrafficClassNvmetcp = DistributedVirtualSwitchHostInfrastructureTrafficClass("nvmetcp")
)
func init() {
@ -1400,6 +1403,19 @@ func init() {
t["HostDigestInfoDigestMethodType"] = reflect.TypeOf((*HostDigestInfoDigestMethodType)(nil)).Elem()
}
type HostDigestVerificationSetting string
const (
HostDigestVerificationSettingDigestDisabled = HostDigestVerificationSetting("digestDisabled")
HostDigestVerificationSettingHeaderOnly = HostDigestVerificationSetting("headerOnly")
HostDigestVerificationSettingDataOnly = HostDigestVerificationSetting("dataOnly")
HostDigestVerificationSettingHeaderAndData = HostDigestVerificationSetting("headerAndData")
)
func init() {
t["HostDigestVerificationSetting"] = reflect.TypeOf((*HostDigestVerificationSetting)(nil)).Elem()
}
type HostDisconnectedEventReasonCode string
const (
@ -1509,6 +1525,18 @@ func init() {
t["HostFirewallRuleProtocol"] = reflect.TypeOf((*HostFirewallRuleProtocol)(nil)).Elem()
}
type HostFruFruType string
const (
HostFruFruTypeUndefined = HostFruFruType("undefined")
HostFruFruTypeBoard = HostFruFruType("board")
HostFruFruTypeProduct = HostFruFruType("product")
)
func init() {
t["HostFruFruType"] = reflect.TypeOf((*HostFruFruType)(nil)).Elem()
}
type HostGraphicsConfigGraphicsType string
const (
@ -1768,6 +1796,40 @@ func init() {
t["HostMaintenanceSpecPurpose"] = reflect.TypeOf((*HostMaintenanceSpecPurpose)(nil)).Elem()
}
type HostMemoryTierFlags string
const (
HostMemoryTierFlagsMemoryTier = HostMemoryTierFlags("memoryTier")
HostMemoryTierFlagsPersistentTier = HostMemoryTierFlags("persistentTier")
HostMemoryTierFlagsCachingTier = HostMemoryTierFlags("cachingTier")
)
func init() {
t["HostMemoryTierFlags"] = reflect.TypeOf((*HostMemoryTierFlags)(nil)).Elem()
}
type HostMemoryTierType string
const (
HostMemoryTierTypeDRAM = HostMemoryTierType("DRAM")
HostMemoryTierTypePMem = HostMemoryTierType("PMem")
)
func init() {
t["HostMemoryTierType"] = reflect.TypeOf((*HostMemoryTierType)(nil)).Elem()
}
type HostMemoryTieringType string
const (
HostMemoryTieringTypeNoTiering = HostMemoryTieringType("noTiering")
HostMemoryTieringTypeHardwareTiering = HostMemoryTieringType("hardwareTiering")
)
func init() {
t["HostMemoryTieringType"] = reflect.TypeOf((*HostMemoryTieringType)(nil)).Elem()
}
type HostMountInfoInaccessibleReason string
const (
@ -1905,6 +1967,7 @@ const (
HostNvmeTransportTypePcie = HostNvmeTransportType("pcie")
HostNvmeTransportTypeFibreChannel = HostNvmeTransportType("fibreChannel")
HostNvmeTransportTypeRdma = HostNvmeTransportType("rdma")
HostNvmeTransportTypeTcp = HostNvmeTransportType("tcp")
HostNvmeTransportTypeLoopback = HostNvmeTransportType("loopback")
HostNvmeTransportTypeUnsupported = HostNvmeTransportType("unsupported")
)
@ -2072,6 +2135,28 @@ func init() {
t["HostProtocolEndpointProtocolEndpointType"] = reflect.TypeOf((*HostProtocolEndpointProtocolEndpointType)(nil)).Elem()
}
type HostPtpConfigDeviceType string
const (
HostPtpConfigDeviceTypeNone = HostPtpConfigDeviceType("none")
HostPtpConfigDeviceTypeVirtualNic = HostPtpConfigDeviceType("virtualNic")
HostPtpConfigDeviceTypePciPassthruNic = HostPtpConfigDeviceType("pciPassthruNic")
)
func init() {
t["HostPtpConfigDeviceType"] = reflect.TypeOf((*HostPtpConfigDeviceType)(nil)).Elem()
}
type HostQualifiedNameType string
const (
HostQualifiedNameTypeNvmeQualifiedName = HostQualifiedNameType("nvmeQualifiedName")
)
func init() {
t["HostQualifiedNameType"] = reflect.TypeOf((*HostQualifiedNameType)(nil)).Elem()
}
type HostRdmaDeviceConnectionState string
const (
@ -2115,6 +2200,17 @@ func init() {
t["HostRuntimeInfoNetStackInstanceRuntimeInfoState"] = reflect.TypeOf((*HostRuntimeInfoNetStackInstanceRuntimeInfoState)(nil)).Elem()
}
type HostRuntimeInfoStateEncryptionInfoProtectionMode string
const (
HostRuntimeInfoStateEncryptionInfoProtectionModeNone = HostRuntimeInfoStateEncryptionInfoProtectionMode("none")
HostRuntimeInfoStateEncryptionInfoProtectionModeTpm = HostRuntimeInfoStateEncryptionInfoProtectionMode("tpm")
)
func init() {
t["HostRuntimeInfoStateEncryptionInfoProtectionMode"] = reflect.TypeOf((*HostRuntimeInfoStateEncryptionInfoProtectionMode)(nil)).Elem()
}
type HostRuntimeInfoStatelessNvdsMigrationState string
const (
@ -2328,6 +2424,8 @@ const (
HostVirtualNicManagerNicTypeVsanWitness = HostVirtualNicManagerNicType("vsanWitness")
HostVirtualNicManagerNicTypeVSphereBackupNFC = HostVirtualNicManagerNicType("vSphereBackupNFC")
HostVirtualNicManagerNicTypePtp = HostVirtualNicManagerNicType("ptp")
HostVirtualNicManagerNicTypeNvmeTcp = HostVirtualNicManagerNicType("nvmeTcp")
HostVirtualNicManagerNicTypeNvmeRdma = HostVirtualNicManagerNicType("nvmeRdma")
)
func init() {
@ -2471,6 +2569,7 @@ const (
IoFilterTypeInspection = IoFilterType("inspection")
IoFilterTypeDatastoreIoControl = IoFilterType("datastoreIoControl")
IoFilterTypeDataProvider = IoFilterType("dataProvider")
IoFilterTypeDataCapture = IoFilterType("dataCapture")
)
func init() {
@ -4950,6 +5049,17 @@ func init() {
t["VirtualMachineVideoCardUse3dRenderer"] = reflect.TypeOf((*VirtualMachineVideoCardUse3dRenderer)(nil)).Elem()
}
type VirtualMachineVirtualPMemSnapshotMode string
const (
VirtualMachineVirtualPMemSnapshotModeIndependent_persistent = VirtualMachineVirtualPMemSnapshotMode("independent_persistent")
VirtualMachineVirtualPMemSnapshotModeIndependent_eraseonrevert = VirtualMachineVirtualPMemSnapshotMode("independent_eraseonrevert")
)
func init() {
t["VirtualMachineVirtualPMemSnapshotMode"] = reflect.TypeOf((*VirtualMachineVirtualPMemSnapshotMode)(nil)).Elem()
}
type VirtualMachineWindowsQuiesceSpecVssBackupContext string
const (

View file

@ -54,7 +54,7 @@ func (r ManagedObjectReference) String() string {
func (r *ManagedObjectReference) FromString(o string) bool {
s := strings.SplitN(o, ":", 2)
if len(s) < 2 {
if len(s) != 2 {
return false
}

View file

@ -1256,6 +1256,18 @@ func init() {
t["BaseHostDasEvent"] = reflect.TypeOf((*HostDasEvent)(nil)).Elem()
}
func (b *HostDataTransportConnectionInfo) GetHostDataTransportConnectionInfo() *HostDataTransportConnectionInfo {
return b
}
type BaseHostDataTransportConnectionInfo interface {
GetHostDataTransportConnectionInfo() *HostDataTransportConnectionInfo
}
func init() {
t["BaseHostDataTransportConnectionInfo"] = reflect.TypeOf((*HostDataTransportConnectionInfo)(nil)).Elem()
}
func (b *HostDatastoreConnectInfo) GetHostDatastoreConnectInfo() *HostDatastoreConnectInfo { return b }
type BaseHostDatastoreConnectInfo interface {
@ -1358,6 +1370,16 @@ func init() {
t["BaseHostHardwareElementInfo"] = reflect.TypeOf((*HostHardwareElementInfo)(nil)).Elem()
}
func (b *HostHbaCreateSpec) GetHostHbaCreateSpec() *HostHbaCreateSpec { return b }
type BaseHostHbaCreateSpec interface {
GetHostHbaCreateSpec() *HostHbaCreateSpec
}
func init() {
t["BaseHostHbaCreateSpec"] = reflect.TypeOf((*HostHbaCreateSpec)(nil)).Elem()
}
func (b *HostHostBusAdapter) GetHostHostBusAdapter() *HostHostBusAdapter { return b }
type BaseHostHostBusAdapter interface {
@ -3012,6 +3034,18 @@ func init() {
t["BaseVirtualHardwareCompatibilityIssue"] = reflect.TypeOf((*VirtualHardwareCompatibilityIssue)(nil)).Elem()
}
func (b *VirtualMachineBaseIndependentFilterSpec) GetVirtualMachineBaseIndependentFilterSpec() *VirtualMachineBaseIndependentFilterSpec {
return b
}
type BaseVirtualMachineBaseIndependentFilterSpec interface {
GetVirtualMachineBaseIndependentFilterSpec() *VirtualMachineBaseIndependentFilterSpec
}
func init() {
t["BaseVirtualMachineBaseIndependentFilterSpec"] = reflect.TypeOf((*VirtualMachineBaseIndependentFilterSpec)(nil)).Elem()
}
func (b *VirtualMachineBootOptionsBootableDevice) GetVirtualMachineBootOptionsBootableDevice() *VirtualMachineBootOptionsBootableDevice {
return b
}

View file

@ -1852,6 +1852,14 @@ func init() {
t["ArrayOfClusterDasVmConfigSpec"] = reflect.TypeOf((*ArrayOfClusterDasVmConfigSpec)(nil)).Elem()
}
type ArrayOfClusterDatastoreUpdateSpec struct {
ClusterDatastoreUpdateSpec []ClusterDatastoreUpdateSpec `xml:"ClusterDatastoreUpdateSpec,omitempty"`
}
func init() {
t["ArrayOfClusterDatastoreUpdateSpec"] = reflect.TypeOf((*ArrayOfClusterDatastoreUpdateSpec)(nil)).Elem()
}
type ArrayOfClusterDpmHostConfigInfo struct {
ClusterDpmHostConfigInfo []ClusterDpmHostConfigInfo `xml:"ClusterDpmHostConfigInfo,omitempty"`
}
@ -1996,6 +2004,14 @@ func init() {
t["ArrayOfClusterRuleSpec"] = reflect.TypeOf((*ArrayOfClusterRuleSpec)(nil)).Elem()
}
type ArrayOfClusterTagCategoryUpdateSpec struct {
ClusterTagCategoryUpdateSpec []ClusterTagCategoryUpdateSpec `xml:"ClusterTagCategoryUpdateSpec,omitempty"`
}
func init() {
t["ArrayOfClusterTagCategoryUpdateSpec"] = reflect.TypeOf((*ArrayOfClusterTagCategoryUpdateSpec)(nil)).Elem()
}
type ArrayOfClusterVmOrchestrationInfo struct {
ClusterVmOrchestrationInfo []ClusterVmOrchestrationInfo `xml:"ClusterVmOrchestrationInfo,omitempty"`
}
@ -3316,6 +3332,14 @@ func init() {
t["ArrayOfHostMemberRuntimeInfo"] = reflect.TypeOf((*ArrayOfHostMemberRuntimeInfo)(nil)).Elem()
}
type ArrayOfHostMemoryTierInfo struct {
HostMemoryTierInfo []HostMemoryTierInfo `xml:"HostMemoryTierInfo,omitempty"`
}
func init() {
t["ArrayOfHostMemoryTierInfo"] = reflect.TypeOf((*ArrayOfHostMemoryTierInfo)(nil)).Elem()
}
type ArrayOfHostMultipathInfoLogicalUnit struct {
HostMultipathInfoLogicalUnit []HostMultipathInfoLogicalUnit `xml:"HostMultipathInfoLogicalUnit,omitempty"`
}
@ -3404,6 +3428,14 @@ func init() {
t["ArrayOfHostNumericSensorInfo"] = reflect.TypeOf((*ArrayOfHostNumericSensorInfo)(nil)).Elem()
}
type ArrayOfHostNvmeConnectSpec struct {
HostNvmeConnectSpec []HostNvmeConnectSpec `xml:"HostNvmeConnectSpec,omitempty"`
}
func init() {
t["ArrayOfHostNvmeConnectSpec"] = reflect.TypeOf((*ArrayOfHostNvmeConnectSpec)(nil)).Elem()
}
type ArrayOfHostNvmeController struct {
HostNvmeController []HostNvmeController `xml:"HostNvmeController,omitempty"`
}
@ -3412,6 +3444,14 @@ func init() {
t["ArrayOfHostNvmeController"] = reflect.TypeOf((*ArrayOfHostNvmeController)(nil)).Elem()
}
type ArrayOfHostNvmeDisconnectSpec struct {
HostNvmeDisconnectSpec []HostNvmeDisconnectSpec `xml:"HostNvmeDisconnectSpec,omitempty"`
}
func init() {
t["ArrayOfHostNvmeDisconnectSpec"] = reflect.TypeOf((*ArrayOfHostNvmeDisconnectSpec)(nil)).Elem()
}
type ArrayOfHostNvmeDiscoveryLogEntry struct {
HostNvmeDiscoveryLogEntry []HostNvmeDiscoveryLogEntry `xml:"HostNvmeDiscoveryLogEntry,omitempty"`
}
@ -3620,14 +3660,6 @@ func init() {
t["ArrayOfHostProfileManagerCompositionValidationResultResultElement"] = reflect.TypeOf((*ArrayOfHostProfileManagerCompositionValidationResultResultElement)(nil)).Elem()
}
type ArrayOfHostProfileManagerHostToConfigSpecMap struct {
HostProfileManagerHostToConfigSpecMap []HostProfileManagerHostToConfigSpecMap `xml:"HostProfileManagerHostToConfigSpecMap,omitempty"`
}
func init() {
t["ArrayOfHostProfileManagerHostToConfigSpecMap"] = reflect.TypeOf((*ArrayOfHostProfileManagerHostToConfigSpecMap)(nil)).Elem()
}
type ArrayOfHostProfilesEntityCustomizations struct {
HostProfilesEntityCustomizations []BaseHostProfilesEntityCustomizations `xml:"HostProfilesEntityCustomizations,omitempty,typeattr"`
}
@ -3668,6 +3700,22 @@ func init() {
t["ArrayOfHostProxySwitchHostLagConfig"] = reflect.TypeOf((*ArrayOfHostProxySwitchHostLagConfig)(nil)).Elem()
}
type ArrayOfHostPtpConfigPtpPort struct {
HostPtpConfigPtpPort []HostPtpConfigPtpPort `xml:"HostPtpConfigPtpPort,omitempty"`
}
func init() {
t["ArrayOfHostPtpConfigPtpPort"] = reflect.TypeOf((*ArrayOfHostPtpConfigPtpPort)(nil)).Elem()
}
type ArrayOfHostQualifiedName struct {
HostQualifiedName []HostQualifiedName `xml:"HostQualifiedName,omitempty"`
}
func init() {
t["ArrayOfHostQualifiedName"] = reflect.TypeOf((*ArrayOfHostQualifiedName)(nil)).Elem()
}
type ArrayOfHostRdmaDevice struct {
HostRdmaDevice []HostRdmaDevice `xml:"HostRdmaDevice,omitempty"`
}
@ -5492,6 +5540,14 @@ func init() {
t["ArrayOfVirtualDiskRuleSpec"] = reflect.TypeOf((*ArrayOfVirtualDiskRuleSpec)(nil)).Elem()
}
type ArrayOfVirtualMachineBaseIndependentFilterSpec struct {
VirtualMachineBaseIndependentFilterSpec []BaseVirtualMachineBaseIndependentFilterSpec `xml:"VirtualMachineBaseIndependentFilterSpec,omitempty,typeattr"`
}
func init() {
t["ArrayOfVirtualMachineBaseIndependentFilterSpec"] = reflect.TypeOf((*ArrayOfVirtualMachineBaseIndependentFilterSpec)(nil)).Elem()
}
type ArrayOfVirtualMachineBootOptionsBootableDevice struct {
VirtualMachineBootOptionsBootableDevice []BaseVirtualMachineBootOptionsBootableDevice `xml:"VirtualMachineBootOptionsBootableDevice,omitempty,typeattr"`
}
@ -5764,6 +5820,14 @@ func init() {
t["ArrayOfVirtualMachinePropertyRelation"] = reflect.TypeOf((*ArrayOfVirtualMachinePropertyRelation)(nil)).Elem()
}
type ArrayOfVirtualMachineQuickStatsMemoryTierStats struct {
VirtualMachineQuickStatsMemoryTierStats []VirtualMachineQuickStatsMemoryTierStats `xml:"VirtualMachineQuickStatsMemoryTierStats,omitempty"`
}
func init() {
t["ArrayOfVirtualMachineQuickStatsMemoryTierStats"] = reflect.TypeOf((*ArrayOfVirtualMachineQuickStatsMemoryTierStats)(nil)).Elem()
}
type ArrayOfVirtualMachineRelocateSpecDiskLocator struct {
VirtualMachineRelocateSpecDiskLocator []VirtualMachineRelocateSpecDiskLocator `xml:"VirtualMachineRelocateSpecDiskLocator,omitempty"`
}
@ -8330,8 +8394,10 @@ func init() {
type ClusterComputeResourceVcsSlots struct {
DynamicData
Host ManagedObjectReference `xml:"host"`
TotalSlots int32 `xml:"totalSlots"`
SystemId string `xml:"systemId,omitempty"`
Host ManagedObjectReference `xml:"host"`
Datastore []ManagedObjectReference `xml:"datastore,omitempty"`
TotalSlots int32 `xml:"totalSlots"`
}
func init() {
@ -8355,6 +8421,7 @@ func init() {
type ClusterConfigInfoEx struct {
ComputeResourceConfigInfo
SystemVMsConfig *ClusterSystemVMsConfigInfo `xml:"systemVMsConfig,omitempty"`
DasConfig ClusterDasConfigInfo `xml:"dasConfig"`
DasVmConfig []ClusterDasVmConfigInfo `xml:"dasVmConfig,omitempty"`
DrsConfig ClusterDrsConfigInfo `xml:"drsConfig"`
@ -8393,6 +8460,7 @@ func init() {
type ClusterConfigSpecEx struct {
ComputeResourceConfigSpec
SystemVMsConfig *ClusterSystemVMsConfigSpec `xml:"systemVMsConfig,omitempty"`
DasConfig *ClusterDasConfigInfo `xml:"dasConfig,omitempty"`
DasVmConfigSpec []ClusterDasVmConfigSpec `xml:"dasVmConfigSpec,omitempty"`
DrsConfig *ClusterDrsConfigInfo `xml:"drsConfig,omitempty"`
@ -8660,6 +8728,16 @@ func init() {
t["ClusterDasVmSettings"] = reflect.TypeOf((*ClusterDasVmSettings)(nil)).Elem()
}
type ClusterDatastoreUpdateSpec struct {
ArrayUpdateSpec
Datastore *ManagedObjectReference `xml:"datastore,omitempty"`
}
func init() {
t["ClusterDatastoreUpdateSpec"] = reflect.TypeOf((*ClusterDatastoreUpdateSpec)(nil)).Elem()
}
type ClusterDependencyRuleInfo struct {
ClusterRuleInfo
@ -9287,6 +9365,40 @@ func init() {
t["ClusterStatusChangedEvent"] = reflect.TypeOf((*ClusterStatusChangedEvent)(nil)).Elem()
}
type ClusterSystemVMsConfigInfo struct {
DynamicData
AllowedDatastores []ManagedObjectReference `xml:"allowedDatastores,omitempty"`
NotAllowedDatastores []ManagedObjectReference `xml:"notAllowedDatastores,omitempty"`
DsTagCategoriesToExclude []string `xml:"dsTagCategoriesToExclude,omitempty"`
}
func init() {
t["ClusterSystemVMsConfigInfo"] = reflect.TypeOf((*ClusterSystemVMsConfigInfo)(nil)).Elem()
}
type ClusterSystemVMsConfigSpec struct {
DynamicData
AllowedDatastores []ClusterDatastoreUpdateSpec `xml:"allowedDatastores,omitempty"`
NotAllowedDatastores []ClusterDatastoreUpdateSpec `xml:"notAllowedDatastores,omitempty"`
DsTagCategoriesToExclude []ClusterTagCategoryUpdateSpec `xml:"dsTagCategoriesToExclude,omitempty"`
}
func init() {
t["ClusterSystemVMsConfigSpec"] = reflect.TypeOf((*ClusterSystemVMsConfigSpec)(nil)).Elem()
}
type ClusterTagCategoryUpdateSpec struct {
ArrayUpdateSpec
Category string `xml:"category,omitempty"`
}
func init() {
t["ClusterTagCategoryUpdateSpec"] = reflect.TypeOf((*ClusterTagCategoryUpdateSpec)(nil)).Elem()
}
type ClusterUsageSummary struct {
DynamicData
@ -9910,6 +10022,25 @@ func init() {
t["ConnectNvmeController"] = reflect.TypeOf((*ConnectNvmeController)(nil)).Elem()
}
type ConnectNvmeControllerExRequestType struct {
This ManagedObjectReference `xml:"_this"`
ConnectSpec []HostNvmeConnectSpec `xml:"connectSpec,omitempty"`
}
func init() {
t["ConnectNvmeControllerExRequestType"] = reflect.TypeOf((*ConnectNvmeControllerExRequestType)(nil)).Elem()
}
type ConnectNvmeControllerEx_Task ConnectNvmeControllerExRequestType
func init() {
t["ConnectNvmeControllerEx_Task"] = reflect.TypeOf((*ConnectNvmeControllerEx_Task)(nil)).Elem()
}
type ConnectNvmeControllerEx_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
type ConnectNvmeControllerRequestType struct {
This ManagedObjectReference `xml:"_this"`
ConnectSpec HostNvmeConnectSpec `xml:"connectSpec"`
@ -10962,6 +11093,24 @@ type CreateSnapshot_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
type CreateSoftwareAdapter CreateSoftwareAdapterRequestType
func init() {
t["CreateSoftwareAdapter"] = reflect.TypeOf((*CreateSoftwareAdapter)(nil)).Elem()
}
type CreateSoftwareAdapterRequestType struct {
This ManagedObjectReference `xml:"_this"`
Spec BaseHostHbaCreateSpec `xml:"spec,typeattr"`
}
func init() {
t["CreateSoftwareAdapterRequestType"] = reflect.TypeOf((*CreateSoftwareAdapterRequestType)(nil)).Elem()
}
type CreateSoftwareAdapterResponse struct {
}
type CreateStoragePod CreateStoragePodRequestType
func init() {
@ -11557,6 +11706,17 @@ func init() {
t["CustomizationAutoIpV6Generator"] = reflect.TypeOf((*CustomizationAutoIpV6Generator)(nil)).Elem()
}
type CustomizationCloudinitPrep struct {
CustomizationIdentitySettings
Metadata string `xml:"metadata"`
Userdata string `xml:"userdata,omitempty"`
}
func init() {
t["CustomizationCloudinitPrep"] = reflect.TypeOf((*CustomizationCloudinitPrep)(nil)).Elem()
}
type CustomizationCustomIpGenerator struct {
CustomizationIpGenerator
@ -14351,6 +14511,17 @@ func init() {
t["DeviceUnsupportedForVmVersionFault"] = reflect.TypeOf((*DeviceUnsupportedForVmVersionFault)(nil)).Elem()
}
type DiagnosticManagerAuditRecordResult struct {
DynamicData
Records []string `xml:"records,omitempty"`
NextToken string `xml:"nextToken"`
}
func init() {
t["DiagnosticManagerAuditRecordResult"] = reflect.TypeOf((*DiagnosticManagerAuditRecordResult)(nil)).Elem()
}
type DiagnosticManagerBundleInfo struct {
DynamicData
@ -14683,6 +14854,25 @@ func init() {
t["DisconnectNvmeController"] = reflect.TypeOf((*DisconnectNvmeController)(nil)).Elem()
}
type DisconnectNvmeControllerExRequestType struct {
This ManagedObjectReference `xml:"_this"`
DisconnectSpec []HostNvmeDisconnectSpec `xml:"disconnectSpec,omitempty"`
}
func init() {
t["DisconnectNvmeControllerExRequestType"] = reflect.TypeOf((*DisconnectNvmeControllerExRequestType)(nil)).Elem()
}
type DisconnectNvmeControllerEx_Task DisconnectNvmeControllerExRequestType
func init() {
t["DisconnectNvmeControllerEx_Task"] = reflect.TypeOf((*DisconnectNvmeControllerEx_Task)(nil)).Elem()
}
type DisconnectNvmeControllerEx_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
type DisconnectNvmeControllerRequestType struct {
This ManagedObjectReference `xml:"_this"`
DisconnectSpec HostNvmeDisconnectSpec `xml:"disconnectSpec"`
@ -18509,6 +18699,25 @@ func init() {
t["FeatureRequirementsNotMetFault"] = reflect.TypeOf((*FeatureRequirementsNotMetFault)(nil)).Elem()
}
type FetchAuditRecords FetchAuditRecordsRequestType
func init() {
t["FetchAuditRecords"] = reflect.TypeOf((*FetchAuditRecords)(nil)).Elem()
}
type FetchAuditRecordsRequestType struct {
This ManagedObjectReference `xml:"_this"`
Token string `xml:"token,omitempty"`
}
func init() {
t["FetchAuditRecordsRequestType"] = reflect.TypeOf((*FetchAuditRecordsRequestType)(nil)).Elem()
}
type FetchAuditRecordsResponse struct {
Returnval DiagnosticManagerAuditRecordResult `xml:"returnval"`
}
type FetchDVPortKeys FetchDVPortKeysRequestType
func init() {
@ -19758,6 +19967,24 @@ type GetSiteInfoResponse struct {
Returnval SiteInfo `xml:"returnval"`
}
type GetSystemVMsRestrictedDatastores GetSystemVMsRestrictedDatastoresRequestType
func init() {
t["GetSystemVMsRestrictedDatastores"] = reflect.TypeOf((*GetSystemVMsRestrictedDatastores)(nil)).Elem()
}
type GetSystemVMsRestrictedDatastoresRequestType struct {
This ManagedObjectReference `xml:"_this"`
}
func init() {
t["GetSystemVMsRestrictedDatastoresRequestType"] = reflect.TypeOf((*GetSystemVMsRestrictedDatastoresRequestType)(nil)).Elem()
}
type GetSystemVMsRestrictedDatastoresResponse struct {
Returnval []ManagedObjectReference `xml:"returnval,omitempty"`
}
type GetVchaClusterHealth GetVchaClusterHealthRequestType
func init() {
@ -21176,9 +21403,16 @@ type HostCapability struct {
RemoteDeviceVMotionSupported *bool `xml:"remoteDeviceVMotionSupported"`
MaxSupportedVmMemory int32 `xml:"maxSupportedVmMemory,omitempty"`
AhDeviceHintsSupported *bool `xml:"ahDeviceHintsSupported"`
NvmeOverTcpSupported *bool `xml:"nvmeOverTcpSupported"`
NvmeStorageFabricServicesSupported *bool `xml:"nvmeStorageFabricServicesSupported"`
AssignHwPciConfigSupported *bool `xml:"assignHwPciConfigSupported"`
TimeConfigSupported *bool `xml:"timeConfigSupported"`
NvmeBatchOperationsSupported *bool `xml:"nvmeBatchOperationsSupported"`
PMemFailoverSupported *bool `xml:"pMemFailoverSupported"`
HostConfigEncryptionSupported *bool `xml:"hostConfigEncryptionSupported"`
PtpConfigSupported *bool `xml:"ptpConfigSupported"`
MaxSupportedPtpPorts int32 `xml:"maxSupportedPtpPorts,omitempty"`
PMemIndependentSnapshotSupported *bool `xml:"pMemIndependentSnapshotSupported"`
}
func init() {
@ -21833,6 +22067,16 @@ func init() {
t["HostDasOkEvent"] = reflect.TypeOf((*HostDasOkEvent)(nil)).Elem()
}
type HostDataTransportConnectionInfo struct {
DynamicData
StaticMemoryConsumed int64 `xml:"staticMemoryConsumed"`
}
func init() {
t["HostDataTransportConnectionInfo"] = reflect.TypeOf((*HostDataTransportConnectionInfo)(nil)).Elem()
}
type HostDatastoreBrowserSearchResults struct {
DynamicData
@ -21927,8 +22171,14 @@ func init() {
type HostDateTimeConfig struct {
DynamicData
TimeZone string `xml:"timeZone,omitempty"`
NtpConfig *HostNtpConfig `xml:"ntpConfig,omitempty"`
TimeZone string `xml:"timeZone,omitempty"`
NtpConfig *HostNtpConfig `xml:"ntpConfig,omitempty"`
PtpConfig *HostPtpConfig `xml:"ptpConfig,omitempty"`
Protocol string `xml:"protocol,omitempty"`
Enabled *bool `xml:"enabled"`
DisableEvents *bool `xml:"disableEvents"`
DisableFallback *bool `xml:"disableFallback"`
ResetToFactoryDefaults *bool `xml:"resetToFactoryDefaults"`
}
func init() {
@ -21941,12 +22191,35 @@ type HostDateTimeInfo struct {
TimeZone HostDateTimeSystemTimeZone `xml:"timeZone"`
SystemClockProtocol string `xml:"systemClockProtocol,omitempty"`
NtpConfig *HostNtpConfig `xml:"ntpConfig,omitempty"`
PtpConfig *HostPtpConfig `xml:"ptpConfig,omitempty"`
Enabled *bool `xml:"enabled"`
DisableEvents *bool `xml:"disableEvents"`
DisableFallback *bool `xml:"disableFallback"`
InFallbackState *bool `xml:"inFallbackState"`
ServiceSync *bool `xml:"serviceSync"`
LastSyncTime *time.Time `xml:"lastSyncTime"`
RemoteNtpServer string `xml:"remoteNtpServer,omitempty"`
NtpRunTime int64 `xml:"ntpRunTime,omitempty"`
PtpRunTime int64 `xml:"ptpRunTime,omitempty"`
NtpDuration string `xml:"ntpDuration,omitempty"`
PtpDuration string `xml:"ptpDuration,omitempty"`
}
func init() {
t["HostDateTimeInfo"] = reflect.TypeOf((*HostDateTimeInfo)(nil)).Elem()
}
type HostDateTimeSystemServiceTestResult struct {
DynamicData
WorkingNormally bool `xml:"workingNormally"`
Report []string `xml:"report,omitempty"`
}
func init() {
t["HostDateTimeSystemServiceTestResult"] = reflect.TypeOf((*HostDateTimeSystemServiceTestResult)(nil)).Elem()
}
type HostDateTimeSystemTimeZone struct {
DynamicData
@ -22794,6 +23067,8 @@ type HostHardwareInfo struct {
PersistentMemoryInfo *HostPersistentMemoryInfo `xml:"persistentMemoryInfo,omitempty"`
SgxInfo *HostSgxInfo `xml:"sgxInfo,omitempty"`
SevInfo *HostSevInfo `xml:"sevInfo,omitempty"`
MemoryTieringType string `xml:"memoryTieringType,omitempty"`
MemoryTierInfo []HostMemoryTierInfo `xml:"memoryTierInfo,omitempty"`
}
func init() {
@ -22851,6 +23126,14 @@ func init() {
t["HostHasComponentFailureFault"] = reflect.TypeOf((*HostHasComponentFailureFault)(nil)).Elem()
}
type HostHbaCreateSpec struct {
DynamicData
}
func init() {
t["HostHbaCreateSpec"] = reflect.TypeOf((*HostHbaCreateSpec)(nil)).Elem()
}
type HostHostBusAdapter struct {
DynamicData
@ -23791,6 +24074,19 @@ func init() {
t["HostMemorySpec"] = reflect.TypeOf((*HostMemorySpec)(nil)).Elem()
}
type HostMemoryTierInfo struct {
DynamicData
Name string `xml:"name"`
Type string `xml:"type"`
Flags []string `xml:"flags,omitempty"`
Size int64 `xml:"size"`
}
func init() {
t["HostMemoryTierInfo"] = reflect.TypeOf((*HostMemoryTierInfo)(nil)).Elem()
}
type HostMissingNetworksEvent struct {
HostDasEvent
@ -24242,6 +24538,16 @@ func init() {
t["HostNewNetworkConnectInfo"] = reflect.TypeOf((*HostNewNetworkConnectInfo)(nil)).Elem()
}
type HostNfcConnectionInfo struct {
HostDataTransportConnectionInfo
StreamingMemoryConsumed int64 `xml:"streamingMemoryConsumed,omitempty"`
}
func init() {
t["HostNfcConnectionInfo"] = reflect.TypeOf((*HostNfcConnectionInfo)(nil)).Elem()
}
type HostNicFailureCriteria struct {
DynamicData
@ -24460,7 +24766,8 @@ func init() {
type HostNvmeDiscoverSpec struct {
HostNvmeSpec
AutoConnect *bool `xml:"autoConnect"`
AutoConnect *bool `xml:"autoConnect"`
RootDiscoveryController *bool `xml:"rootDiscoveryController"`
}
func init() {
@ -24546,6 +24853,18 @@ func init() {
t["HostNvmeOverRdmaParameters"] = reflect.TypeOf((*HostNvmeOverRdmaParameters)(nil)).Elem()
}
type HostNvmeOverTcpParameters struct {
HostNvmeTransportParameters
Address string `xml:"address"`
PortNumber int32 `xml:"portNumber,omitempty"`
DigestVerification string `xml:"digestVerification,omitempty"`
}
func init() {
t["HostNvmeOverTcpParameters"] = reflect.TypeOf((*HostNvmeOverTcpParameters)(nil)).Elem()
}
type HostNvmeSpec struct {
DynamicData
@ -25302,6 +25621,41 @@ func init() {
t["HostProxySwitchSpec"] = reflect.TypeOf((*HostProxySwitchSpec)(nil)).Elem()
}
type HostPtpConfig struct {
DynamicData
Domain int32 `xml:"domain,omitempty"`
Port []HostPtpConfigPtpPort `xml:"port,omitempty"`
}
func init() {
t["HostPtpConfig"] = reflect.TypeOf((*HostPtpConfig)(nil)).Elem()
}
type HostPtpConfigPtpPort struct {
DynamicData
Index int32 `xml:"index"`
DeviceType string `xml:"deviceType,omitempty"`
Device string `xml:"device,omitempty"`
IpConfig *HostIpConfig `xml:"ipConfig,omitempty"`
}
func init() {
t["HostPtpConfigPtpPort"] = reflect.TypeOf((*HostPtpConfigPtpPort)(nil)).Elem()
}
type HostQualifiedName struct {
DynamicData
Value string `xml:"value"`
Type string `xml:"type"`
}
func init() {
t["HostQualifiedName"] = reflect.TypeOf((*HostQualifiedName)(nil)).Elem()
}
type HostRdmaDevice struct {
DynamicData
@ -25634,6 +25988,7 @@ type HostRuntimeInfo struct {
CryptoState string `xml:"cryptoState,omitempty"`
CryptoKeyId *CryptoKeyId `xml:"cryptoKeyId,omitempty"`
StatelessNvdsMigrationReady string `xml:"statelessNvdsMigrationReady,omitempty"`
StateEncryption *HostRuntimeInfoStateEncryptionInfo `xml:"stateEncryption,omitempty"`
}
func init() {
@ -25665,6 +26020,18 @@ func init() {
t["HostRuntimeInfoNetworkRuntimeInfo"] = reflect.TypeOf((*HostRuntimeInfoNetworkRuntimeInfo)(nil)).Elem()
}
type HostRuntimeInfoStateEncryptionInfo struct {
DynamicData
ProtectionMode string `xml:"protectionMode"`
RequireSecureBoot *bool `xml:"requireSecureBoot"`
RequireExecInstalledOnly *bool `xml:"requireExecInstalledOnly"`
}
func init() {
t["HostRuntimeInfoStateEncryptionInfo"] = reflect.TypeOf((*HostRuntimeInfoStateEncryptionInfo)(nil)).Elem()
}
type HostScheduleReconcileDatastoreInventory HostScheduleReconcileDatastoreInventoryRequestType
func init() {
@ -26288,6 +26655,7 @@ type HostSystemInfo struct {
Uuid string `xml:"uuid"`
OtherIdentifyingInfo []HostSystemIdentificationInfo `xml:"otherIdentifyingInfo,omitempty"`
SerialNumber string `xml:"serialNumber,omitempty"`
QualifiedName []HostQualifiedName `xml:"qualifiedName,omitempty"`
}
func init() {
@ -26389,6 +26757,34 @@ func init() {
t["HostTargetTransport"] = reflect.TypeOf((*HostTargetTransport)(nil)).Elem()
}
type HostTcpHba struct {
HostHostBusAdapter
AssociatedPnic string `xml:"associatedPnic,omitempty"`
}
func init() {
t["HostTcpHba"] = reflect.TypeOf((*HostTcpHba)(nil)).Elem()
}
type HostTcpHbaCreateSpec struct {
HostHbaCreateSpec
Pnic string `xml:"pnic"`
}
func init() {
t["HostTcpHbaCreateSpec"] = reflect.TypeOf((*HostTcpHbaCreateSpec)(nil)).Elem()
}
type HostTcpTargetTransport struct {
HostTargetTransport
}
func init() {
t["HostTcpTargetTransport"] = reflect.TypeOf((*HostTcpTargetTransport)(nil)).Elem()
}
type HostTpmAttestationInfo struct {
DynamicData
@ -41754,6 +42150,24 @@ type RemoveSnapshot_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
type RemoveSoftwareAdapter RemoveSoftwareAdapterRequestType
func init() {
t["RemoveSoftwareAdapter"] = reflect.TypeOf((*RemoveSoftwareAdapter)(nil)).Elem()
}
type RemoveSoftwareAdapterRequestType struct {
This ManagedObjectReference `xml:"_this"`
HbaDeviceName string `xml:"hbaDeviceName"`
}
func init() {
t["RemoveSoftwareAdapterRequestType"] = reflect.TypeOf((*RemoveSoftwareAdapterRequestType)(nil)).Elem()
}
type RemoveSoftwareAdapterResponse struct {
}
type RemoveUser RemoveUserRequestType
func init() {
@ -46821,6 +47235,24 @@ func init() {
type TerminateVMResponse struct {
}
type TestTimeService TestTimeServiceRequestType
func init() {
t["TestTimeService"] = reflect.TypeOf((*TestTimeService)(nil)).Elem()
}
type TestTimeServiceRequestType struct {
This ManagedObjectReference `xml:"_this"`
}
func init() {
t["TestTimeServiceRequestType"] = reflect.TypeOf((*TestTimeServiceRequestType)(nil)).Elem()
}
type TestTimeServiceResponse struct {
Returnval *HostDateTimeSystemServiceTestResult `xml:"returnval,omitempty"`
}
type ThirdPartyLicenseAssignmentFailed struct {
RuntimeFault
@ -48164,25 +48596,6 @@ func init() {
type UpdateGraphicsConfigResponse struct {
}
type UpdateHostCustomizationsRequestType struct {
This ManagedObjectReference `xml:"_this"`
HostToConfigSpecMap []HostProfileManagerHostToConfigSpecMap `xml:"hostToConfigSpecMap,omitempty"`
}
func init() {
t["UpdateHostCustomizationsRequestType"] = reflect.TypeOf((*UpdateHostCustomizationsRequestType)(nil)).Elem()
}
type UpdateHostCustomizations_Task UpdateHostCustomizationsRequestType
func init() {
t["UpdateHostCustomizations_Task"] = reflect.TypeOf((*UpdateHostCustomizations_Task)(nil)).Elem()
}
type UpdateHostCustomizations_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
type UpdateHostImageAcceptanceLevel UpdateHostImageAcceptanceLevelRequestType
func init() {
@ -51310,11 +51723,12 @@ func init() {
type VirtualDeviceConfigSpec struct {
DynamicData
Operation VirtualDeviceConfigSpecOperation `xml:"operation,omitempty"`
FileOperation VirtualDeviceConfigSpecFileOperation `xml:"fileOperation,omitempty"`
Device BaseVirtualDevice `xml:"device,typeattr"`
Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
Backing *VirtualDeviceConfigSpecBackingSpec `xml:"backing,omitempty"`
Operation VirtualDeviceConfigSpecOperation `xml:"operation,omitempty"`
FileOperation VirtualDeviceConfigSpecFileOperation `xml:"fileOperation,omitempty"`
Device BaseVirtualDevice `xml:"device,typeattr"`
Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
Backing *VirtualDeviceConfigSpecBackingSpec `xml:"backing,omitempty"`
FilterSpec []BaseVirtualMachineBaseIndependentFilterSpec `xml:"filterSpec,omitempty,typeattr"`
}
func init() {
@ -51494,15 +51908,16 @@ func init() {
type VirtualDisk struct {
VirtualDevice
CapacityInKB int64 `xml:"capacityInKB"`
CapacityInBytes int64 `xml:"capacityInBytes,omitempty"`
Shares *SharesInfo `xml:"shares,omitempty"`
StorageIOAllocation *StorageIOAllocationInfo `xml:"storageIOAllocation,omitempty"`
DiskObjectId string `xml:"diskObjectId,omitempty"`
VFlashCacheConfigInfo *VirtualDiskVFlashCacheConfigInfo `xml:"vFlashCacheConfigInfo,omitempty"`
Iofilter []string `xml:"iofilter,omitempty"`
VDiskId *ID `xml:"vDiskId,omitempty"`
NativeUnmanagedLinkedClone *bool `xml:"nativeUnmanagedLinkedClone"`
CapacityInKB int64 `xml:"capacityInKB"`
CapacityInBytes int64 `xml:"capacityInBytes,omitempty"`
Shares *SharesInfo `xml:"shares,omitempty"`
StorageIOAllocation *StorageIOAllocationInfo `xml:"storageIOAllocation,omitempty"`
DiskObjectId string `xml:"diskObjectId,omitempty"`
VFlashCacheConfigInfo *VirtualDiskVFlashCacheConfigInfo `xml:"vFlashCacheConfigInfo,omitempty"`
Iofilter []string `xml:"iofilter,omitempty"`
VDiskId *ID `xml:"vDiskId,omitempty"`
NativeUnmanagedLinkedClone *bool `xml:"nativeUnmanagedLinkedClone"`
IndependentFilters []BaseVirtualMachineBaseIndependentFilterSpec `xml:"independentFilters,omitempty,typeattr"`
}
func init() {
@ -52318,6 +52733,14 @@ func init() {
t["VirtualMachineAffinityInfo"] = reflect.TypeOf((*VirtualMachineAffinityInfo)(nil)).Elem()
}
type VirtualMachineBaseIndependentFilterSpec struct {
DynamicData
}
func init() {
t["VirtualMachineBaseIndependentFilterSpec"] = reflect.TypeOf((*VirtualMachineBaseIndependentFilterSpec)(nil)).Elem()
}
type VirtualMachineBootOptions struct {
DynamicData
@ -52534,6 +52957,7 @@ type VirtualMachineConfigInfo struct {
GuestMonitoringModeInfo *VirtualMachineGuestMonitoringModeInfo `xml:"guestMonitoringModeInfo,omitempty"`
SevEnabled *bool `xml:"sevEnabled"`
PmemFailoverEnabled *bool `xml:"pmemFailoverEnabled"`
Pmem *VirtualMachineVirtualPMem `xml:"pmem,omitempty"`
}
func init() {
@ -52668,6 +53092,7 @@ type VirtualMachineConfigSpec struct {
GuestMonitoringModeInfo *VirtualMachineGuestMonitoringModeInfo `xml:"guestMonitoringModeInfo,omitempty"`
SevEnabled *bool `xml:"sevEnabled"`
PmemFailoverEnabled *bool `xml:"pmemFailoverEnabled"`
Pmem *VirtualMachineVirtualPMem `xml:"pmem,omitempty"`
}
func init() {
@ -52887,6 +53312,14 @@ func init() {
t["VirtualMachineDynamicPassthroughInfo"] = reflect.TypeOf((*VirtualMachineDynamicPassthroughInfo)(nil)).Elem()
}
type VirtualMachineEmptyIndependentFilterSpec struct {
VirtualMachineBaseIndependentFilterSpec
}
func init() {
t["VirtualMachineEmptyIndependentFilterSpec"] = reflect.TypeOf((*VirtualMachineEmptyIndependentFilterSpec)(nil)).Elem()
}
type VirtualMachineEmptyProfileSpec struct {
VirtualMachineProfileSpec
}
@ -53148,6 +53581,18 @@ func init() {
t["VirtualMachineImportSpec"] = reflect.TypeOf((*VirtualMachineImportSpec)(nil)).Elem()
}
type VirtualMachineIndependentFilterSpec struct {
VirtualMachineBaseIndependentFilterSpec
FilterName string `xml:"filterName"`
FilterClass string `xml:"filterClass,omitempty"`
FilterCapabilities []KeyValue `xml:"filterCapabilities,omitempty"`
}
func init() {
t["VirtualMachineIndependentFilterSpec"] = reflect.TypeOf((*VirtualMachineIndependentFilterSpec)(nil)).Elem()
}
type VirtualMachineInstantCloneSpec struct {
DynamicData
@ -53403,34 +53848,47 @@ func init() {
type VirtualMachineQuickStats struct {
DynamicData
OverallCpuUsage int32 `xml:"overallCpuUsage,omitempty"`
OverallCpuDemand int32 `xml:"overallCpuDemand,omitempty"`
OverallCpuReadiness int32 `xml:"overallCpuReadiness,omitempty"`
GuestMemoryUsage int32 `xml:"guestMemoryUsage,omitempty"`
HostMemoryUsage int32 `xml:"hostMemoryUsage,omitempty"`
GuestHeartbeatStatus ManagedEntityStatus `xml:"guestHeartbeatStatus"`
DistributedCpuEntitlement int32 `xml:"distributedCpuEntitlement,omitempty"`
DistributedMemoryEntitlement int32 `xml:"distributedMemoryEntitlement,omitempty"`
StaticCpuEntitlement int32 `xml:"staticCpuEntitlement,omitempty"`
StaticMemoryEntitlement int32 `xml:"staticMemoryEntitlement,omitempty"`
GrantedMemory int32 `xml:"grantedMemory,omitempty"`
PrivateMemory int32 `xml:"privateMemory,omitempty"`
SharedMemory int32 `xml:"sharedMemory,omitempty"`
SwappedMemory int32 `xml:"swappedMemory,omitempty"`
BalloonedMemory int32 `xml:"balloonedMemory,omitempty"`
ConsumedOverheadMemory int32 `xml:"consumedOverheadMemory,omitempty"`
FtLogBandwidth int32 `xml:"ftLogBandwidth,omitempty"`
FtSecondaryLatency int32 `xml:"ftSecondaryLatency,omitempty"`
FtLatencyStatus ManagedEntityStatus `xml:"ftLatencyStatus,omitempty"`
CompressedMemory int64 `xml:"compressedMemory,omitempty"`
UptimeSeconds int32 `xml:"uptimeSeconds,omitempty"`
SsdSwappedMemory int64 `xml:"ssdSwappedMemory,omitempty"`
OverallCpuUsage int32 `xml:"overallCpuUsage,omitempty"`
OverallCpuDemand int32 `xml:"overallCpuDemand,omitempty"`
OverallCpuReadiness int32 `xml:"overallCpuReadiness,omitempty"`
GuestMemoryUsage int32 `xml:"guestMemoryUsage,omitempty"`
HostMemoryUsage int32 `xml:"hostMemoryUsage,omitempty"`
GuestHeartbeatStatus ManagedEntityStatus `xml:"guestHeartbeatStatus"`
DistributedCpuEntitlement int32 `xml:"distributedCpuEntitlement,omitempty"`
DistributedMemoryEntitlement int32 `xml:"distributedMemoryEntitlement,omitempty"`
StaticCpuEntitlement int32 `xml:"staticCpuEntitlement,omitempty"`
StaticMemoryEntitlement int32 `xml:"staticMemoryEntitlement,omitempty"`
GrantedMemory int32 `xml:"grantedMemory,omitempty"`
PrivateMemory int32 `xml:"privateMemory,omitempty"`
SharedMemory int32 `xml:"sharedMemory,omitempty"`
SwappedMemory int32 `xml:"swappedMemory,omitempty"`
BalloonedMemory int32 `xml:"balloonedMemory,omitempty"`
ConsumedOverheadMemory int32 `xml:"consumedOverheadMemory,omitempty"`
FtLogBandwidth int32 `xml:"ftLogBandwidth,omitempty"`
FtSecondaryLatency int32 `xml:"ftSecondaryLatency,omitempty"`
FtLatencyStatus ManagedEntityStatus `xml:"ftLatencyStatus,omitempty"`
CompressedMemory int64 `xml:"compressedMemory,omitempty"`
UptimeSeconds int32 `xml:"uptimeSeconds,omitempty"`
SsdSwappedMemory int64 `xml:"ssdSwappedMemory,omitempty"`
ActiveMemory int32 `xml:"activeMemory,omitempty"`
MemoryTierStats []VirtualMachineQuickStatsMemoryTierStats `xml:"memoryTierStats,omitempty"`
}
func init() {
t["VirtualMachineQuickStats"] = reflect.TypeOf((*VirtualMachineQuickStats)(nil)).Elem()
}
type VirtualMachineQuickStatsMemoryTierStats struct {
DynamicData
MemoryTierType string `xml:"memoryTierType"`
ReadBandwidth int64 `xml:"readBandwidth"`
}
func init() {
t["VirtualMachineQuickStatsMemoryTierStats"] = reflect.TypeOf((*VirtualMachineQuickStatsMemoryTierStats)(nil)).Elem()
}
type VirtualMachineRelocateSpec struct {
DynamicData
@ -53460,6 +53918,7 @@ type VirtualMachineRelocateSpecDiskLocator struct {
DiskBackingInfo BaseVirtualDeviceBackingInfo `xml:"diskBackingInfo,omitempty,typeattr"`
Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
Backing *VirtualMachineRelocateSpecDiskLocatorBackingSpec `xml:"backing,omitempty"`
FilterSpec []BaseVirtualMachineBaseIndependentFilterSpec `xml:"filterSpec,omitempty,typeattr"`
}
func init() {
@ -53859,6 +54318,16 @@ func init() {
t["VirtualMachineVideoCard"] = reflect.TypeOf((*VirtualMachineVideoCard)(nil)).Elem()
}
type VirtualMachineVirtualPMem struct {
DynamicData
SnapshotMode string `xml:"snapshotMode,omitempty"`
}
func init() {
t["VirtualMachineVirtualPMem"] = reflect.TypeOf((*VirtualMachineVirtualPMem)(nil)).Elem()
}
type VirtualMachineWindowsQuiesceSpec struct {
VirtualMachineGuestQuiesceSpec

View file

@ -0,0 +1,117 @@
/*
Copyright (c) 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 types
import "reflect"
type ArrayOfPlaceVmsXClusterResultPlacementFaults struct {
PlaceVmsXClusterResultPlacementFaults []PlaceVmsXClusterResultPlacementFaults `xml:"PlaceVmsXClusterResultPlacementFaults,omitempty"`
}
func init() {
t["ArrayOfPlaceVmsXClusterResultPlacementFaults"] = reflect.TypeOf((*ArrayOfPlaceVmsXClusterResultPlacementFaults)(nil)).Elem()
}
type ArrayOfPlaceVmsXClusterResultPlacementInfo struct {
PlaceVmsXClusterResultPlacementInfo []PlaceVmsXClusterResultPlacementInfo `xml:"PlaceVmsXClusterResultPlacementInfo,omitempty"`
}
func init() {
t["ArrayOfPlaceVmsXClusterResultPlacementInfo"] = reflect.TypeOf((*ArrayOfPlaceVmsXClusterResultPlacementInfo)(nil)).Elem()
}
type ArrayOfPlaceVmsXClusterSpecVmPlacementSpec struct {
PlaceVmsXClusterSpecVmPlacementSpec []PlaceVmsXClusterSpecVmPlacementSpec `xml:"PlaceVmsXClusterSpecVmPlacementSpec,omitempty"`
}
func init() {
t["ArrayOfPlaceVmsXClusterSpecVmPlacementSpec"] = reflect.TypeOf((*ArrayOfPlaceVmsXClusterSpecVmPlacementSpec)(nil)).Elem()
}
type PlaceVmsXCluster PlaceVmsXClusterRequestType
func init() {
t["PlaceVmsXCluster"] = reflect.TypeOf((*PlaceVmsXCluster)(nil)).Elem()
}
type PlaceVmsXClusterRequestType struct {
This ManagedObjectReference `xml:"_this"`
PlacementSpec PlaceVmsXClusterSpec `xml:"placementSpec"`
}
func init() {
t["PlaceVmsXClusterRequestType"] = reflect.TypeOf((*PlaceVmsXClusterRequestType)(nil)).Elem()
}
type PlaceVmsXClusterResponse struct {
Returnval PlaceVmsXClusterResult `xml:"returnval"`
}
type PlaceVmsXClusterResult struct {
DynamicData
PlacementInfos []PlaceVmsXClusterResultPlacementInfo `xml:"placementInfos,omitempty"`
Faults []PlaceVmsXClusterResultPlacementFaults `xml:"faults,omitempty"`
}
func init() {
t["PlaceVmsXClusterResult"] = reflect.TypeOf((*PlaceVmsXClusterResult)(nil)).Elem()
}
type PlaceVmsXClusterResultPlacementFaults struct {
DynamicData
ResourcePool ManagedObjectReference `xml:"resourcePool"`
VmName string `xml:"vmName"`
Faults []LocalizedMethodFault `xml:"faults,omitempty"`
}
func init() {
t["PlaceVmsXClusterResultPlacementFaults"] = reflect.TypeOf((*PlaceVmsXClusterResultPlacementFaults)(nil)).Elem()
}
type PlaceVmsXClusterResultPlacementInfo struct {
DynamicData
VmName string `xml:"vmName"`
Recommendation ClusterRecommendation `xml:"recommendation"`
}
func init() {
t["PlaceVmsXClusterResultPlacementInfo"] = reflect.TypeOf((*PlaceVmsXClusterResultPlacementInfo)(nil)).Elem()
}
type PlaceVmsXClusterSpec struct {
DynamicData
ResourcePools []ManagedObjectReference `xml:"resourcePools,omitempty"`
VmPlacementSpecs []PlaceVmsXClusterSpecVmPlacementSpec `xml:"vmPlacementSpecs,omitempty"`
}
func init() {
t["PlaceVmsXClusterSpec"] = reflect.TypeOf((*PlaceVmsXClusterSpec)(nil)).Elem()
}
type PlaceVmsXClusterSpecVmPlacementSpec struct {
DynamicData
ConfigSpec VirtualMachineConfigSpec `xml:"configSpec"`
}
func init() {
t["PlaceVmsXClusterSpecVmPlacementSpec"] = reflect.TypeOf((*PlaceVmsXClusterSpecVmPlacementSpec)(nil)).Elem()
}