diff --git a/eam/methods/methods.go b/eam/methods/methods.go index 7e968b2e1..edf67f1b0 100644 --- a/eam/methods/methods.go +++ b/eam/methods/methods.go @@ -183,26 +183,6 @@ func DestroyAgency(ctx context.Context, r soap.RoundTripper, req *types.DestroyA return resBody.Res, nil } -type GetMaintenanceModePolicyBody struct { - Req *types.GetMaintenanceModePolicy `xml:"urn:eam GetMaintenanceModePolicy,omitempty"` - Res *types.GetMaintenanceModePolicyResponse `xml:"urn:eam GetMaintenanceModePolicyResponse,omitempty"` - Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` -} - -func (b *GetMaintenanceModePolicyBody) Fault() *soap.Fault { return b.Fault_ } - -func GetMaintenanceModePolicy(ctx context.Context, r soap.RoundTripper, req *types.GetMaintenanceModePolicy) (*types.GetMaintenanceModePolicyResponse, error) { - var reqBody, resBody GetMaintenanceModePolicyBody - - reqBody.Req = req - - if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { - return nil, err - } - - return resBody.Res, nil -} - type MarkAsAvailableBody struct { Req *types.MarkAsAvailable `xml:"urn:eam MarkAsAvailable,omitempty"` Res *types.MarkAsAvailableResponse `xml:"urn:eam MarkAsAvailableResponse,omitempty"` @@ -403,26 +383,6 @@ func ScanForUnknownAgentVm(ctx context.Context, r soap.RoundTripper, req *types. return resBody.Res, nil } -type SetMaintenanceModePolicyBody struct { - Req *types.SetMaintenanceModePolicy `xml:"urn:eam SetMaintenanceModePolicy,omitempty"` - Res *types.SetMaintenanceModePolicyResponse `xml:"urn:eam SetMaintenanceModePolicyResponse,omitempty"` - Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"` -} - -func (b *SetMaintenanceModePolicyBody) Fault() *soap.Fault { return b.Fault_ } - -func SetMaintenanceModePolicy(ctx context.Context, r soap.RoundTripper, req *types.SetMaintenanceModePolicy) (*types.SetMaintenanceModePolicyResponse, error) { - var reqBody, resBody SetMaintenanceModePolicyBody - - reqBody.Req = req - - if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil { - return nil, err - } - - return resBody.Res, nil -} - type UninstallBody struct { Req *types.Uninstall `xml:"urn:eam Uninstall,omitempty"` Res *types.UninstallResponse `xml:"urn:eam UninstallResponse,omitempty"` diff --git a/eam/types/types.go b/eam/types/types.go index 1b130483a..ed8b2d3f4 100644 --- a/eam/types/types.go +++ b/eam/types/types.go @@ -582,12 +582,6 @@ func init() { types.Add("eam:DisabledClusterFault", reflect.TypeOf((*DisabledClusterFault)(nil)).Elem()) } -type DisabledClusterFaultFault DisabledClusterFault - -func init() { - types.Add("eam:DisabledClusterFaultFault", reflect.TypeOf((*DisabledClusterFaultFault)(nil)).Elem()) -} - type EamAppFault struct { EamRuntimeFault } @@ -652,12 +646,6 @@ func init() { types.Add("eam:EamInvalidState", reflect.TypeOf((*EamInvalidState)(nil)).Elem()) } -type EamInvalidStateFault EamInvalidState - -func init() { - types.Add("eam:EamInvalidStateFault", reflect.TypeOf((*EamInvalidStateFault)(nil)).Elem()) -} - type EamInvalidVibPackage struct { EamRuntimeFault } @@ -741,12 +729,6 @@ func init() { types.Add("eam:ExtensibleIssue", reflect.TypeOf((*ExtensibleIssue)(nil)).Elem()) } -type GetMaintenanceModePolicy GetMaintenanceModePolicyRequestType - -func init() { - types.Add("eam:GetMaintenanceModePolicy", reflect.TypeOf((*GetMaintenanceModePolicy)(nil)).Elem()) -} - type GetMaintenanceModePolicyRequestType struct { This types.ManagedObjectReference `xml:"_this"` } @@ -755,10 +737,6 @@ func init() { types.Add("eam:GetMaintenanceModePolicyRequestType", reflect.TypeOf((*GetMaintenanceModePolicyRequestType)(nil)).Elem()) } -type GetMaintenanceModePolicyResponse struct { - Returnval string `xml:"returnval"` -} - type HostInMaintenanceMode struct { VmDeployed } @@ -1354,12 +1332,6 @@ func init() { type ScanForUnknownAgentVmResponse struct { } -type SetMaintenanceModePolicy SetMaintenanceModePolicyRequestType - -func init() { - types.Add("eam:SetMaintenanceModePolicy", reflect.TypeOf((*SetMaintenanceModePolicy)(nil)).Elem()) -} - type SetMaintenanceModePolicyRequestType struct { This types.ManagedObjectReference `xml:"_this"` Policy string `xml:"policy"` @@ -1369,9 +1341,6 @@ func init() { types.Add("eam:SetMaintenanceModePolicyRequestType", reflect.TypeOf((*SetMaintenanceModePolicyRequestType)(nil)).Elem()) } -type SetMaintenanceModePolicyResponse struct { -} - type Uninstall UninstallRequestType func init() { diff --git a/gen/gen.sh b/gen/gen.sh index 58cc4710c..6f8929124 100755 --- a/gen/gen.sh +++ b/gen/gen.sh @@ -1,6 +1,6 @@ #!/bin/bash -# 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. @@ -48,9 +48,9 @@ generate() { } # -# All types derive from vCenter build 18700403, vSphere 7.0U3. +# All types derive from vCenter build 20023987, vSphere 8.0. # -export COPYRIGHT_DATE_RANGE="2014-2021" +export COPYRIGHT_DATE_RANGE="2014-2022" # # FORCE_BASE_INTERFACE_FOR_TYPES defines the types that we want to @@ -59,14 +59,14 @@ export COPYRIGHT_DATE_RANGE="2014-2021" # export FORCE_BASE_INTERFACE_FOR_TYPES="AgencyConfigInfo" -# ./sdk/ contains the contents of wsdl.zip from vimbase build 18281059. +# ./sdk/ contains the contents of wsdl.zip from vimbase build 19936444. generate "../vim25" "vim" "./rbvmomi/vmodl.db" # from github.com/vmware/rbvmomi@v3.0.0 generate "../pbm" "pbm" generate "../vslm" "vslm" generate "../sms" "sms" # ./sdk/ contains the files eam-messagetypes.xsd and eam-types.xsd from -# eam-wsdl.zip, from eam-vcenter build 18281060. +# eam-wsdl.zip, from eam-vcenter build 19970683. # # Please note the EAM files are also available at the following, public URL -- # http://bit.ly/eam-sdk, therefore the WSDL resource for EAM are in fact diff --git a/pbm/methods/methods.go b/pbm/methods/methods.go index 075c0f746..fa7f2b200 100644 --- a/pbm/methods/methods.go +++ b/pbm/methods/methods.go @@ -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. diff --git a/pbm/types/enum.go b/pbm/types/enum.go index 6ebfa3729..66751bb1f 100644 --- a/pbm/types/enum.go +++ b/pbm/types/enum.go @@ -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() { diff --git a/pbm/types/if.go b/pbm/types/if.go index 0cc311acb..a740a25da 100644 --- a/pbm/types/if.go +++ b/pbm/types/if.go @@ -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. diff --git a/pbm/types/types.go b/pbm/types/types.go index 206aa03ea..1687df447 100644 --- a/pbm/types/types.go +++ b/pbm/types/types.go @@ -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 diff --git a/simulator/property_collector.go b/simulator/property_collector.go index ab80005cf..f6951afd6 100644 --- a/simulator/property_collector.go +++ b/simulator/property_collector.go @@ -262,7 +262,7 @@ func (rr *retrieveResult) add(ctx *Context, name string, val types.AnyType, cont Path: name, Fault: types.LocalizedMethodFault{Fault: &types.NotAuthenticated{ NoPermission: types.NoPermission{ - Object: content.Obj, + Object: &content.Obj, PrivilegeId: "System.Read", }}, }, diff --git a/simulator/simulator.go b/simulator/simulator.go index 84f18c1c5..673031fc9 100644 --- a/simulator/simulator.go +++ b/simulator/simulator.go @@ -158,7 +158,7 @@ func (s *Service) call(ctx *Context, method *Method) soap.HasFault { default: fault := &types.NotAuthenticated{ NoPermission: types.NoPermission{ - Object: method.This, + Object: &method.This, PrivilegeId: "System.View", }, } diff --git a/sms/methods/methods.go b/sms/methods/methods.go index 86edebeef..c2ec3f726 100644 --- a/sms/methods/methods.go +++ b/sms/methods/methods.go @@ -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. diff --git a/sms/types/enum.go b/sms/types/enum.go index aaf205d84..ad7ae8d30 100644 --- a/sms/types/enum.go +++ b/sms/types/enum.go @@ -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. @@ -183,6 +183,19 @@ func init() { types.Add("sms:SmsTaskState", reflect.TypeOf((*SmsTaskState)(nil)).Elem()) } +type StorageContainerVvolContainerTypeEnum string + +const ( + StorageContainerVvolContainerTypeEnumNFS = StorageContainerVvolContainerTypeEnum("NFS") + StorageContainerVvolContainerTypeEnumNFS4x = StorageContainerVvolContainerTypeEnum("NFS4x") + StorageContainerVvolContainerTypeEnumSCSI = StorageContainerVvolContainerTypeEnum("SCSI") + StorageContainerVvolContainerTypeEnumNVMe = StorageContainerVvolContainerTypeEnum("NVMe") +) + +func init() { + types.Add("sms:StorageContainerVvolContainerTypeEnum", reflect.TypeOf((*StorageContainerVvolContainerTypeEnum)(nil)).Elem()) +} + type ThinProvisioningStatus string const ( diff --git a/sms/types/if.go b/sms/types/if.go index 2f474e844..99426b6c6 100644 --- a/sms/types/if.go +++ b/sms/types/if.go @@ -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. diff --git a/sms/types/types.go b/sms/types/types.go index f1bc50910..fe3cefd18 100644 --- a/sms/types/types.go +++ b/sms/types/types.go @@ -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. @@ -2107,16 +2107,17 @@ func init() { type StorageArray struct { types.DynamicData - Name string `xml:"name"` - Uuid string `xml:"uuid"` - VendorId string `xml:"vendorId"` - ModelId string `xml:"modelId"` - Firmware string `xml:"firmware,omitempty"` - AlternateName []string `xml:"alternateName,omitempty"` - SupportedBlockInterface []string `xml:"supportedBlockInterface,omitempty"` - SupportedFileSystemInterface []string `xml:"supportedFileSystemInterface,omitempty"` - SupportedProfile []string `xml:"supportedProfile,omitempty"` - Priority int32 `xml:"priority,omitempty"` + Name string `xml:"name"` + Uuid string `xml:"uuid"` + VendorId string `xml:"vendorId"` + ModelId string `xml:"modelId"` + Firmware string `xml:"firmware,omitempty"` + AlternateName []string `xml:"alternateName,omitempty"` + SupportedBlockInterface []string `xml:"supportedBlockInterface,omitempty"` + SupportedFileSystemInterface []string `xml:"supportedFileSystemInterface,omitempty"` + SupportedProfile []string `xml:"supportedProfile,omitempty"` + Priority int32 `xml:"priority,omitempty"` + DiscoverySvc []types.VASAStorageArrayDiscoverySvcInfo `xml:"discoverySvc,omitempty"` } func init() { @@ -2138,11 +2139,12 @@ func init() { type StorageContainer struct { types.DynamicData - Uuid string `xml:"uuid"` - Name string `xml:"name"` - MaxVvolSizeInMB int64 `xml:"maxVvolSizeInMB"` - ProviderId []string `xml:"providerId"` - ArrayId []string `xml:"arrayId"` + Uuid string `xml:"uuid"` + Name string `xml:"name"` + MaxVvolSizeInMB int64 `xml:"maxVvolSizeInMB"` + ProviderId []string `xml:"providerId"` + ArrayId []string `xml:"arrayId"` + VvolContainerType string `xml:"vvolContainerType,omitempty"` } func init() { diff --git a/vim25/methods/methods.go b/vim25/methods/methods.go index 7c7635e07..4f1cf8ac0 100644 --- a/vim25/methods/methods.go +++ b/vim25/methods/methods.go @@ -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"` diff --git a/vim25/mo/mo.go b/vim25/mo/mo.go index 427d579ee..f3dcb5e29 100644 --- a/vim25/mo/mo.go +++ b/vim25/mo/mo.go @@ -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. diff --git a/vim25/types/enum.go b/vim25/types/enum.go index d997fe296..e8da547b3 100644 --- a/vim25/types/enum.go +++ b/vim25/types/enum.go @@ -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 ( diff --git a/vim25/types/if.go b/vim25/types/if.go index 6712beb8e..03ba1f37d 100644 --- a/vim25/types/if.go +++ b/vim25/types/if.go @@ -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 } diff --git a/vim25/types/types.go b/vim25/types/types.go index d9c0f4b59..30a58792b 100644 --- a/vim25/types/types.go +++ b/vim25/types/types.go @@ -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. @@ -2188,6 +2188,14 @@ func init() { t["ArrayOfDVSHealthCheckConfig"] = reflect.TypeOf((*ArrayOfDVSHealthCheckConfig)(nil)).Elem() } +type ArrayOfDVSManagerPhysicalNicsList struct { + DVSManagerPhysicalNicsList []DVSManagerPhysicalNicsList `xml:"DVSManagerPhysicalNicsList,omitempty"` +} + +func init() { + t["ArrayOfDVSManagerPhysicalNicsList"] = reflect.TypeOf((*ArrayOfDVSManagerPhysicalNicsList)(nil)).Elem() +} + type ArrayOfDVSNetworkResourcePool struct { DVSNetworkResourcePool []DVSNetworkResourcePool `xml:"DVSNetworkResourcePool,omitempty"` } @@ -2388,6 +2396,14 @@ func init() { t["ArrayOfDistributedVirtualSwitchManagerHostDvsFilterSpec"] = reflect.TypeOf((*ArrayOfDistributedVirtualSwitchManagerHostDvsFilterSpec)(nil)).Elem() } +type ArrayOfDistributedVirtualSwitchNetworkOffloadSpec struct { + DistributedVirtualSwitchNetworkOffloadSpec []DistributedVirtualSwitchNetworkOffloadSpec `xml:"DistributedVirtualSwitchNetworkOffloadSpec,omitempty"` +} + +func init() { + t["ArrayOfDistributedVirtualSwitchNetworkOffloadSpec"] = reflect.TypeOf((*ArrayOfDistributedVirtualSwitchNetworkOffloadSpec)(nil)).Elem() +} + type ArrayOfDistributedVirtualSwitchProductSpec struct { DistributedVirtualSwitchProductSpec []DistributedVirtualSwitchProductSpec `xml:"DistributedVirtualSwitchProductSpec,omitempty"` } @@ -2404,6 +2420,22 @@ func init() { t["ArrayOfDouble"] = reflect.TypeOf((*ArrayOfDouble)(nil)).Elem() } +type ArrayOfDpuStatusInfo struct { + DpuStatusInfo []DpuStatusInfo `xml:"DpuStatusInfo,omitempty"` +} + +func init() { + t["ArrayOfDpuStatusInfo"] = reflect.TypeOf((*ArrayOfDpuStatusInfo)(nil)).Elem() +} + +type ArrayOfDpuStatusInfoOperationalInfo struct { + DpuStatusInfoOperationalInfo []DpuStatusInfoOperationalInfo `xml:"DpuStatusInfoOperationalInfo,omitempty"` +} + +func init() { + t["ArrayOfDpuStatusInfoOperationalInfo"] = reflect.TypeOf((*ArrayOfDpuStatusInfoOperationalInfo)(nil)).Elem() +} + type ArrayOfDvsApplyOperationFaultFaultOnObject struct { DvsApplyOperationFaultFaultOnObject []DvsApplyOperationFaultFaultOnObject `xml:"DvsApplyOperationFaultFaultOnObject,omitempty"` } @@ -3100,6 +3132,14 @@ func init() { t["ArrayOfHostDiskPartitionInfo"] = reflect.TypeOf((*ArrayOfHostDiskPartitionInfo)(nil)).Elem() } +type ArrayOfHostDvxClass struct { + HostDvxClass []HostDvxClass `xml:"HostDvxClass,omitempty"` +} + +func init() { + t["ArrayOfHostDvxClass"] = reflect.TypeOf((*ArrayOfHostDvxClass)(nil)).Elem() +} + type ArrayOfHostEventArgument struct { HostEventArgument []HostEventArgument `xml:"HostEventArgument,omitempty"` } @@ -3660,6 +3700,14 @@ 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"` } @@ -4412,6 +4460,14 @@ func init() { t["ArrayOfNetStackInstanceProfile"] = reflect.TypeOf((*ArrayOfNetStackInstanceProfile)(nil)).Elem() } +type ArrayOfNoPermissionEntityPrivileges struct { + NoPermissionEntityPrivileges []NoPermissionEntityPrivileges `xml:"NoPermissionEntityPrivileges,omitempty"` +} + +func init() { + t["ArrayOfNoPermissionEntityPrivileges"] = reflect.TypeOf((*ArrayOfNoPermissionEntityPrivileges)(nil)).Elem() +} + type ArrayOfNsxHostVNicProfile struct { NsxHostVNicProfile []NsxHostVNicProfile `xml:"NsxHostVNicProfile,omitempty"` } @@ -5284,6 +5340,14 @@ func init() { t["ArrayOfVASAStorageArray"] = reflect.TypeOf((*ArrayOfVASAStorageArray)(nil)).Elem() } +type ArrayOfVASAStorageArrayDiscoverySvcInfo struct { + VASAStorageArrayDiscoverySvcInfo []VASAStorageArrayDiscoverySvcInfo `xml:"VASAStorageArrayDiscoverySvcInfo,omitempty"` +} + +func init() { + t["ArrayOfVASAStorageArrayDiscoverySvcInfo"] = reflect.TypeOf((*ArrayOfVASAStorageArrayDiscoverySvcInfo)(nil)).Elem() +} + type ArrayOfVAppCloneSpecNetworkMappingPair struct { VAppCloneSpecNetworkMappingPair []VAppCloneSpecNetworkMappingPair `xml:"VAppCloneSpecNetworkMappingPair,omitempty"` } @@ -5564,6 +5628,14 @@ func init() { t["ArrayOfVirtualMachineCdromInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineCdromInfo)(nil)).Elem() } +type ArrayOfVirtualMachineCertThumbprint struct { + VirtualMachineCertThumbprint []VirtualMachineCertThumbprint `xml:"VirtualMachineCertThumbprint,omitempty"` +} + +func init() { + t["ArrayOfVirtualMachineCertThumbprint"] = reflect.TypeOf((*ArrayOfVirtualMachineCertThumbprint)(nil)).Elem() +} + type ArrayOfVirtualMachineConfigInfoDatastoreUrlPair struct { VirtualMachineConfigInfoDatastoreUrlPair []VirtualMachineConfigInfoDatastoreUrlPair `xml:"VirtualMachineConfigInfoDatastoreUrlPair,omitempty"` } @@ -5636,6 +5708,14 @@ func init() { t["ArrayOfVirtualMachineDisplayTopology"] = reflect.TypeOf((*ArrayOfVirtualMachineDisplayTopology)(nil)).Elem() } +type ArrayOfVirtualMachineDvxClassInfo struct { + VirtualMachineDvxClassInfo []VirtualMachineDvxClassInfo `xml:"VirtualMachineDvxClassInfo,omitempty"` +} + +func init() { + t["ArrayOfVirtualMachineDvxClassInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineDvxClassInfo)(nil)).Elem() +} + type ArrayOfVirtualMachineDynamicPassthroughInfo struct { VirtualMachineDynamicPassthroughInfo []VirtualMachineDynamicPassthroughInfo `xml:"VirtualMachineDynamicPassthroughInfo,omitempty"` } @@ -5932,6 +6012,46 @@ func init() { t["ArrayOfVirtualMachineVcpuConfig"] = reflect.TypeOf((*ArrayOfVirtualMachineVcpuConfig)(nil)).Elem() } +type ArrayOfVirtualMachineVendorDeviceGroupInfo struct { + VirtualMachineVendorDeviceGroupInfo []VirtualMachineVendorDeviceGroupInfo `xml:"VirtualMachineVendorDeviceGroupInfo,omitempty"` +} + +func init() { + t["ArrayOfVirtualMachineVendorDeviceGroupInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineVendorDeviceGroupInfo)(nil)).Elem() +} + +type ArrayOfVirtualMachineVendorDeviceGroupInfoComponentDeviceInfo struct { + VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo []VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo `xml:"VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo,omitempty"` +} + +func init() { + t["ArrayOfVirtualMachineVendorDeviceGroupInfoComponentDeviceInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineVendorDeviceGroupInfoComponentDeviceInfo)(nil)).Elem() +} + +type ArrayOfVirtualMachineVgpuDeviceInfo struct { + VirtualMachineVgpuDeviceInfo []VirtualMachineVgpuDeviceInfo `xml:"VirtualMachineVgpuDeviceInfo,omitempty"` +} + +func init() { + t["ArrayOfVirtualMachineVgpuDeviceInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineVgpuDeviceInfo)(nil)).Elem() +} + +type ArrayOfVirtualMachineVgpuProfileInfo struct { + VirtualMachineVgpuProfileInfo []VirtualMachineVgpuProfileInfo `xml:"VirtualMachineVgpuProfileInfo,omitempty"` +} + +func init() { + t["ArrayOfVirtualMachineVgpuProfileInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineVgpuProfileInfo)(nil)).Elem() +} + +type ArrayOfVirtualMachineVirtualDeviceGroupsDeviceGroup struct { + VirtualMachineVirtualDeviceGroupsDeviceGroup []BaseVirtualMachineVirtualDeviceGroupsDeviceGroup `xml:"VirtualMachineVirtualDeviceGroupsDeviceGroup,omitempty,typeattr"` +} + +func init() { + t["ArrayOfVirtualMachineVirtualDeviceGroupsDeviceGroup"] = reflect.TypeOf((*ArrayOfVirtualMachineVirtualDeviceGroupsDeviceGroup)(nil)).Elem() +} + type ArrayOfVirtualNicManagerNetConfig struct { VirtualNicManagerNetConfig []VirtualNicManagerNetConfig `xml:"VirtualNicManagerNetConfig,omitempty"` } @@ -7336,6 +7456,7 @@ type Capability struct { HostSeedingSupported *bool `xml:"hostSeedingSupported"` ScalableSharesSupported *bool `xml:"scalableSharesSupported"` HadcsSupported *bool `xml:"hadcsSupported"` + ConfigMgmtSupported *bool `xml:"configMgmtSupported"` } func init() { @@ -8714,6 +8835,18 @@ func init() { t["ClusterDasVmConfigSpec"] = reflect.TypeOf((*ClusterDasVmConfigSpec)(nil)).Elem() } +type ClusterDasVmPreemptiblePairInfo struct { + DynamicData + + Key int32 `xml:"key,omitempty"` + MonitoredVm ManagedObjectReference `xml:"monitoredVm"` + PreemptibleVm ManagedObjectReference `xml:"preemptibleVm"` +} + +func init() { + t["ClusterDasVmPreemptiblePairInfo"] = reflect.TypeOf((*ClusterDasVmPreemptiblePairInfo)(nil)).Elem() +} + type ClusterDasVmSettings struct { DynamicData @@ -9216,6 +9349,28 @@ func init() { t["ClusterPowerOnVmResult"] = reflect.TypeOf((*ClusterPowerOnVmResult)(nil)).Elem() } +type ClusterPreemptibleVmPairInfo struct { + DynamicData + + Id int32 `xml:"id,omitempty"` + MonitoredVm ManagedObjectReference `xml:"monitoredVm"` + PreemptibleVm ManagedObjectReference `xml:"preemptibleVm"` +} + +func init() { + t["ClusterPreemptibleVmPairInfo"] = reflect.TypeOf((*ClusterPreemptibleVmPairInfo)(nil)).Elem() +} + +type ClusterPreemptibleVmPairSpec struct { + ArrayUpdateSpec + + Info *ClusterPreemptibleVmPairInfo `xml:"info,omitempty"` +} + +func init() { + t["ClusterPreemptibleVmPairSpec"] = reflect.TypeOf((*ClusterPreemptibleVmPairSpec)(nil)).Elem() +} + type ClusterProactiveDrsConfigInfo struct { DynamicData @@ -9678,6 +9833,7 @@ type ComputeResourceConfigSpec struct { DefaultHardwareVersionKey string `xml:"defaultHardwareVersionKey,omitempty"` DesiredSoftwareSpec *DesiredSoftwareSpec `xml:"desiredSoftwareSpec,omitempty"` MaximumHardwareVersionKey string `xml:"maximumHardwareVersionKey,omitempty"` + EnableConfigManager *bool `xml:"enableConfigManager"` } func init() { @@ -9773,6 +9929,11 @@ type ConfigTarget struct { SgxTargetInfo *VirtualMachineSgxTargetInfo `xml:"sgxTargetInfo,omitempty"` PrecisionClockInfo []VirtualMachinePrecisionClockInfo `xml:"precisionClockInfo,omitempty"` SevSupported *bool `xml:"sevSupported"` + VgpuDeviceInfo []VirtualMachineVgpuDeviceInfo `xml:"vgpuDeviceInfo,omitempty"` + VgpuProfileInfo []VirtualMachineVgpuProfileInfo `xml:"vgpuProfileInfo,omitempty"` + VendorDeviceGroupInfo []VirtualMachineVendorDeviceGroupInfo `xml:"vendorDeviceGroupInfo,omitempty"` + MaxSimultaneousThreads int32 `xml:"maxSimultaneousThreads,omitempty"` + DvxClassInfo []VirtualMachineDvxClassInfo `xml:"dvxClassInfo,omitempty"` } func init() { @@ -12764,6 +12925,17 @@ type DVSManagerLookupDvPortGroupResponse struct { Returnval *ManagedObjectReference `xml:"returnval,omitempty"` } +type DVSManagerPhysicalNicsList struct { + DynamicData + + Host ManagedObjectReference `xml:"host"` + PhysicalNics []PhysicalNic `xml:"physicalNics,omitempty"` +} + +func init() { + t["DVSManagerPhysicalNicsList"] = reflect.TypeOf((*DVSManagerPhysicalNicsList)(nil)).Elem() +} + type DVSNameArrayUplinkPortPolicy struct { DVSUplinkPortPolicy @@ -15179,15 +15351,16 @@ func init() { type DistributedVirtualSwitchHostMemberConfigInfo struct { DynamicData - Host *ManagedObjectReference `xml:"host,omitempty"` - MaxProxySwitchPorts int32 `xml:"maxProxySwitchPorts"` - VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty"` - Backing BaseDistributedVirtualSwitchHostMemberBacking `xml:"backing,typeattr"` - NsxSwitch *bool `xml:"nsxSwitch"` - EnsEnabled *bool `xml:"ensEnabled"` - EnsInterruptEnabled *bool `xml:"ensInterruptEnabled"` - TransportZones []DistributedVirtualSwitchHostMemberTransportZoneInfo `xml:"transportZones,omitempty"` - NsxtUsedUplinkNames []string `xml:"nsxtUsedUplinkNames,omitempty"` + Host *ManagedObjectReference `xml:"host,omitempty"` + MaxProxySwitchPorts int32 `xml:"maxProxySwitchPorts"` + VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty"` + Backing BaseDistributedVirtualSwitchHostMemberBacking `xml:"backing,typeattr"` + NsxSwitch *bool `xml:"nsxSwitch"` + EnsEnabled *bool `xml:"ensEnabled"` + EnsInterruptEnabled *bool `xml:"ensInterruptEnabled"` + TransportZones []DistributedVirtualSwitchHostMemberTransportZoneInfo `xml:"transportZones,omitempty"` + NsxtUsedUplinkNames []string `xml:"nsxtUsedUplinkNames,omitempty"` + NetworkOffloadingEnabled *bool `xml:"networkOffloadingEnabled"` } func init() { @@ -15372,6 +15545,18 @@ func init() { t["DistributedVirtualSwitchManagerImportResult"] = reflect.TypeOf((*DistributedVirtualSwitchManagerImportResult)(nil)).Elem() } +type DistributedVirtualSwitchNetworkOffloadSpec struct { + DynamicData + + Id string `xml:"id"` + Name string `xml:"name,omitempty"` + Types []string `xml:"types,omitempty"` +} + +func init() { + t["DistributedVirtualSwitchNetworkOffloadSpec"] = reflect.TypeOf((*DistributedVirtualSwitchNetworkOffloadSpec)(nil)).Elem() +} + type DistributedVirtualSwitchPortConnectee struct { DynamicData @@ -15512,6 +15697,32 @@ type DownloadDescriptionTreeResponse struct { Returnval []byte `xml:"returnval"` } +type DpuStatusInfo struct { + HostHardwareElementInfo + + DpuId string `xml:"dpuId"` + Fru *HostFru `xml:"fru,omitempty"` + Sensors []DpuStatusInfoOperationalInfo `xml:"sensors,omitempty"` +} + +func init() { + t["DpuStatusInfo"] = reflect.TypeOf((*DpuStatusInfo)(nil)).Elem() +} + +type DpuStatusInfoOperationalInfo struct { + DynamicData + + SensorId string `xml:"sensorId"` + HealthState BaseElementDescription `xml:"healthState,omitempty,typeattr"` + Reading string `xml:"reading"` + Units string `xml:"units,omitempty"` + TimeStamp *time.Time `xml:"timeStamp"` +} + +func init() { + t["DpuStatusInfoOperationalInfo"] = reflect.TypeOf((*DpuStatusInfoOperationalInfo)(nil)).Elem() +} + type DropConnections DropConnectionsRequestType func init() { @@ -20404,7 +20615,9 @@ type GuestOsDescriptor struct { VvtdSupported *BoolOption `xml:"vvtdSupported,omitempty"` VbsSupported *BoolOption `xml:"vbsSupported,omitempty"` VsgxSupported *BoolOption `xml:"vsgxSupported,omitempty"` + VsgxRemoteAttestationSupported *bool `xml:"vsgxRemoteAttestationSupported"` SupportsTPM20 *bool `xml:"supportsTPM20"` + RecommendedTPM20 *bool `xml:"recommendedTPM20"` VwdtSupported *bool `xml:"vwdtSupported"` } @@ -21410,9 +21623,14 @@ type HostCapability struct { NvmeBatchOperationsSupported *bool `xml:"nvmeBatchOperationsSupported"` PMemFailoverSupported *bool `xml:"pMemFailoverSupported"` HostConfigEncryptionSupported *bool `xml:"hostConfigEncryptionSupported"` + MaxSupportedSimultaneousThreads int32 `xml:"maxSupportedSimultaneousThreads,omitempty"` PtpConfigSupported *bool `xml:"ptpConfigSupported"` MaxSupportedPtpPorts int32 `xml:"maxSupportedPtpPorts,omitempty"` + SgxRegistrationSupported *bool `xml:"sgxRegistrationSupported"` PMemIndependentSnapshotSupported *bool `xml:"pMemIndependentSnapshotSupported"` + IommuSLDirtyCapable *bool `xml:"iommuSLDirtyCapable"` + UltralowFixedUnmapSupported *bool `xml:"ultralowFixedUnmapSupported"` + NvmeVvolSupported *bool `xml:"nvmeVvolSupported"` } func init() { @@ -22598,6 +22816,19 @@ func init() { t["HostDnsConfigSpec"] = reflect.TypeOf((*HostDnsConfigSpec)(nil)).Elem() } +type HostDvxClass struct { + DynamicData + + DeviceClass string `xml:"deviceClass"` + CheckpointSupported bool `xml:"checkpointSupported"` + SwDMATracingSupported bool `xml:"swDMATracingSupported"` + SriovNic bool `xml:"sriovNic"` +} + +func init() { + t["HostDvxClass"] = reflect.TypeOf((*HostDvxClass)(nil)).Elem() +} + type HostEnableAdminFailedEvent struct { HostEvent @@ -22744,7 +22975,7 @@ type HostFibreChannelOverEthernetHba struct { UnderlyingNic string `xml:"underlyingNic"` LinkInfo HostFibreChannelOverEthernetHbaLinkInfo `xml:"linkInfo"` IsSoftwareFcoe bool `xml:"isSoftwareFcoe"` - MarkedForRemoval bool `xml:"markedForRemoval"` + MarkedForRemoval *bool `xml:"markedForRemoval"` } func init() { @@ -22961,6 +23192,21 @@ func init() { t["HostForceMountedInfo"] = reflect.TypeOf((*HostForceMountedInfo)(nil)).Elem() } +type HostFru struct { + DynamicData + + Type string `xml:"type"` + PartName string `xml:"partName"` + PartNumber string `xml:"partNumber"` + Manufacturer string `xml:"manufacturer"` + SerialNumber string `xml:"serialNumber,omitempty"` + MfgTimeStamp *time.Time `xml:"mfgTimeStamp"` +} + +func init() { + t["HostFru"] = reflect.TypeOf((*HostFru)(nil)).Elem() +} + type HostGatewaySpec struct { DynamicData @@ -23061,6 +23307,7 @@ type HostHardwareInfo struct { NumaInfo *HostNumaInfo `xml:"numaInfo,omitempty"` SmcPresent *bool `xml:"smcPresent"` PciDevice []HostPciDevice `xml:"pciDevice,omitempty"` + DvxClasses []HostDvxClass `xml:"dvxClasses,omitempty"` CpuFeature []HostCpuIdInfo `xml:"cpuFeature,omitempty"` BiosInfo *HostBIOSInfo `xml:"biosInfo,omitempty"` ReliableMemoryInfo *HostReliableMemoryInfo `xml:"reliableMemoryInfo,omitempty"` @@ -23081,6 +23328,7 @@ type HostHardwareStatusInfo struct { MemoryStatusInfo []BaseHostHardwareElementInfo `xml:"memoryStatusInfo,omitempty,typeattr"` CpuStatusInfo []BaseHostHardwareElementInfo `xml:"cpuStatusInfo,omitempty,typeattr"` StorageStatusInfo []HostStorageElementInfo `xml:"storageStatusInfo,omitempty"` + DpuStatusInfo []DpuStatusInfo `xml:"dpuStatusInfo,omitempty"` } func init() { @@ -24116,6 +24364,7 @@ type HostMountInfo struct { Mounted *bool `xml:"mounted"` Accessible *bool `xml:"accessible"` InaccessibleReason string `xml:"inaccessibleReason,omitempty"` + MountFailedReason string `xml:"mountFailedReason,omitempty"` } func init() { @@ -24688,6 +24937,7 @@ type HostNumaNode struct { TypeId byte `xml:"typeId"` CpuID []int16 `xml:"cpuID"` + MemorySize int64 `xml:"memorySize,omitempty"` MemoryRangeBegin int64 `xml:"memoryRangeBegin"` MemoryRangeLength int64 `xml:"memoryRangeLength"` PciId []string `xml:"pciId,omitempty"` @@ -24708,7 +24958,9 @@ type HostNumericSensorInfo struct { RateUnits string `xml:"rateUnits,omitempty"` SensorType string `xml:"sensorType"` Id string `xml:"id,omitempty"` + SensorNumber int64 `xml:"sensorNumber,omitempty"` TimeStamp string `xml:"timeStamp,omitempty"` + Fru *HostFru `xml:"fru,omitempty"` } func init() { @@ -25581,6 +25833,8 @@ type HostProxySwitch struct { NsxUsedUplinkPort []string `xml:"nsxUsedUplinkPort,omitempty"` NsxtStatus string `xml:"nsxtStatus,omitempty"` NsxtStatusDetail string `xml:"nsxtStatusDetail,omitempty"` + EnsInfo *HostProxySwitchEnsInfo `xml:"ensInfo,omitempty"` + NetworkOffloadingEnabled *bool `xml:"networkOffloadingEnabled"` } func init() { @@ -25599,6 +25853,20 @@ func init() { t["HostProxySwitchConfig"] = reflect.TypeOf((*HostProxySwitchConfig)(nil)).Elem() } +type HostProxySwitchEnsInfo struct { + DynamicData + + OpsVersion int64 `xml:"opsVersion"` + NumPSOps int64 `xml:"numPSOps"` + NumLcoreOps int64 `xml:"numLcoreOps"` + ErrorStatus int64 `xml:"errorStatus"` + LcoreStatus int64 `xml:"lcoreStatus"` +} + +func init() { + t["HostProxySwitchEnsInfo"] = reflect.TypeOf((*HostProxySwitchEnsInfo)(nil)).Elem() +} + type HostProxySwitchHostLagConfig struct { DynamicData @@ -25936,9 +26204,10 @@ type HostRetrieveVStorageObjectMetadataValueResponse struct { } type HostRetrieveVStorageObjectRequestType struct { - This ManagedObjectReference `xml:"_this"` - Id ID `xml:"id"` - Datastore ManagedObjectReference `xml:"datastore"` + This ManagedObjectReference `xml:"_this"` + Id ID `xml:"id"` + Datastore ManagedObjectReference `xml:"datastore"` + DiskInfoFlags []string `xml:"diskInfoFlags,omitempty"` } func init() { @@ -26253,16 +26522,32 @@ func init() { type HostSgxInfo struct { DynamicData - SgxState string `xml:"sgxState"` - TotalEpcMemory int64 `xml:"totalEpcMemory"` - FlcMode string `xml:"flcMode"` - LePubKeyHash string `xml:"lePubKeyHash,omitempty"` + SgxState string `xml:"sgxState"` + TotalEpcMemory int64 `xml:"totalEpcMemory"` + FlcMode string `xml:"flcMode"` + LePubKeyHash string `xml:"lePubKeyHash,omitempty"` + RegistrationInfo *HostSgxRegistrationInfo `xml:"registrationInfo,omitempty"` } func init() { t["HostSgxInfo"] = reflect.TypeOf((*HostSgxInfo)(nil)).Elem() } +type HostSgxRegistrationInfo struct { + DynamicData + + Status string `xml:"status,omitempty"` + BiosError int32 `xml:"biosError,omitempty"` + RegistrationUrl string `xml:"registrationUrl,omitempty"` + Type string `xml:"type,omitempty"` + Ppid string `xml:"ppid,omitempty"` + LastRegisteredTime *time.Time `xml:"lastRegisteredTime"` +} + +func init() { + t["HostSgxRegistrationInfo"] = reflect.TypeOf((*HostSgxRegistrationInfo)(nil)).Elem() +} + type HostSharedGpuCapabilities struct { DynamicData @@ -26656,6 +26941,8 @@ type HostSystemInfo struct { OtherIdentifyingInfo []HostSystemIdentificationInfo `xml:"otherIdentifyingInfo,omitempty"` SerialNumber string `xml:"serialNumber,omitempty"` QualifiedName []HostQualifiedName `xml:"qualifiedName,omitempty"` + VvolHostNQN *HostQualifiedName `xml:"vvolHostNQN,omitempty"` + VvolHostId string `xml:"vvolHostId,omitempty"` } func init() { @@ -26880,6 +27167,14 @@ func init() { t["HostTpmOptionEventDetails"] = reflect.TypeOf((*HostTpmOptionEventDetails)(nil)).Elem() } +type HostTpmSignerEventDetails struct { + HostTpmBootSecurityOptionEventDetails +} + +func init() { + t["HostTpmSignerEventDetails"] = reflect.TypeOf((*HostTpmSignerEventDetails)(nil)).Elem() +} + type HostTpmSoftwareComponentEventDetails struct { HostTpmEventDetails @@ -26893,6 +27188,16 @@ func init() { t["HostTpmSoftwareComponentEventDetails"] = reflect.TypeOf((*HostTpmSoftwareComponentEventDetails)(nil)).Elem() } +type HostTpmVersionEventDetails struct { + HostTpmEventDetails + + Version []byte `xml:"version"` +} + +func init() { + t["HostTpmVersionEventDetails"] = reflect.TypeOf((*HostTpmVersionEventDetails)(nil)).Elem() +} + type HostTrustAuthorityAttestationInfo struct { DynamicData @@ -27219,14 +27524,15 @@ func init() { } type HostVStorageObjectCreateDiskFromSnapshotRequestType struct { - This ManagedObjectReference `xml:"_this"` - Id ID `xml:"id"` - Datastore ManagedObjectReference `xml:"datastore"` - SnapshotId ID `xml:"snapshotId"` - Name string `xml:"name"` - Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"` - Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr"` - Path string `xml:"path,omitempty"` + This ManagedObjectReference `xml:"_this"` + Id ID `xml:"id"` + Datastore ManagedObjectReference `xml:"datastore"` + SnapshotId ID `xml:"snapshotId"` + Name string `xml:"name"` + Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"` + Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr"` + Path string `xml:"path,omitempty"` + ProvisioningType string `xml:"provisioningType,omitempty"` } func init() { @@ -27456,6 +27762,7 @@ type HostVirtualNicSpec struct { PinnedPnic string `xml:"pinnedPnic,omitempty"` IpRouteSpec *HostVirtualNicIpRouteSpec `xml:"ipRouteSpec,omitempty"` SystemOwned *bool `xml:"systemOwned"` + DpuId string `xml:"dpuId,omitempty"` } func init() { @@ -27679,10 +27986,11 @@ func init() { type HostVvolVolume struct { HostFileSystemVolume - ScId string `xml:"scId"` - HostPE []VVolHostPE `xml:"hostPE,omitempty"` - VasaProviderInfo []VimVasaProviderInfo `xml:"vasaProviderInfo,omitempty"` - StorageArray []VASAStorageArray `xml:"storageArray,omitempty"` + ScId string `xml:"scId"` + HostPE []VVolHostPE `xml:"hostPE,omitempty"` + VasaProviderInfo []VimVasaProviderInfo `xml:"vasaProviderInfo,omitempty"` + StorageArray []VASAStorageArray `xml:"storageArray,omitempty"` + ProtocolEndpointType string `xml:"protocolEndpointType,omitempty"` } func init() { @@ -33736,14 +34044,26 @@ func init() { type NoPermission struct { SecurityError - Object ManagedObjectReference `xml:"object"` - PrivilegeId string `xml:"privilegeId"` + Object *ManagedObjectReference `xml:"object,omitempty"` + PrivilegeId string `xml:"privilegeId,omitempty"` + MissingPrivileges []NoPermissionEntityPrivileges `xml:"missingPrivileges,omitempty"` } func init() { t["NoPermission"] = reflect.TypeOf((*NoPermission)(nil)).Elem() } +type NoPermissionEntityPrivileges struct { + DynamicData + + Entity ManagedObjectReference `xml:"entity"` + PrivilegeIds []string `xml:"privilegeIds,omitempty"` +} + +func init() { + t["NoPermissionEntityPrivileges"] = reflect.TypeOf((*NoPermissionEntityPrivileges)(nil)).Elem() +} + type NoPermissionFault BaseNoPermission func init() { @@ -36879,6 +37199,8 @@ type PhysicalNic struct { Device string `xml:"device"` Pci string `xml:"pci"` Driver string `xml:"driver,omitempty"` + DriverVersion string `xml:"driverVersion,omitempty"` + FirmwareVersion string `xml:"firmwareVersion,omitempty"` LinkSpeed *PhysicalNicLinkInfo `xml:"linkSpeed,omitempty"` ValidLinkSpecification []PhysicalNicLinkInfo `xml:"validLinkSpecification,omitempty"` Spec PhysicalNicSpec `xml:"spec"` @@ -36893,6 +37215,7 @@ type PhysicalNic struct { EnhancedNetworkingStackSupported *bool `xml:"enhancedNetworkingStackSupported"` EnsInterruptSupported *bool `xml:"ensInterruptSupported"` RdmaDevice string `xml:"rdmaDevice,omitempty"` + DpuId string `xml:"dpuId,omitempty"` } func init() { @@ -38312,6 +38635,26 @@ type QueryCompatibleHostForNewDvsResponse struct { Returnval []ManagedObjectReference `xml:"returnval,omitempty"` } +type QueryCompatibleVmnicsFromHosts QueryCompatibleVmnicsFromHostsRequestType + +func init() { + t["QueryCompatibleVmnicsFromHosts"] = reflect.TypeOf((*QueryCompatibleVmnicsFromHosts)(nil)).Elem() +} + +type QueryCompatibleVmnicsFromHostsRequestType struct { + This ManagedObjectReference `xml:"_this"` + Hosts []ManagedObjectReference `xml:"hosts,omitempty"` + Dvs ManagedObjectReference `xml:"dvs"` +} + +func init() { + t["QueryCompatibleVmnicsFromHostsRequestType"] = reflect.TypeOf((*QueryCompatibleVmnicsFromHostsRequestType)(nil)).Elem() +} + +type QueryCompatibleVmnicsFromHostsResponse struct { + Returnval []DVSManagerPhysicalNicsList `xml:"returnval,omitempty"` +} + type QueryComplianceStatus QueryComplianceStatusRequestType func init() { @@ -39194,6 +39537,25 @@ type QueryManagedByResponse struct { Returnval []ManagedObjectReference `xml:"returnval,omitempty"` } +type QueryMaxQueueDepth QueryMaxQueueDepthRequestType + +func init() { + t["QueryMaxQueueDepth"] = reflect.TypeOf((*QueryMaxQueueDepth)(nil)).Elem() +} + +type QueryMaxQueueDepthRequestType struct { + This ManagedObjectReference `xml:"_this"` + Datastore ManagedObjectReference `xml:"datastore"` +} + +func init() { + t["QueryMaxQueueDepthRequestType"] = reflect.TypeOf((*QueryMaxQueueDepthRequestType)(nil)).Elem() +} + +type QueryMaxQueueDepthResponse struct { + Returnval int64 `xml:"returnval"` +} + type QueryMemoryOverhead QueryMemoryOverheadRequestType func init() { @@ -39744,6 +40106,25 @@ type QuerySupportedFeaturesResponse struct { Returnval []LicenseFeatureInfo `xml:"returnval,omitempty"` } +type QuerySupportedNetworkOffloadSpec QuerySupportedNetworkOffloadSpecRequestType + +func init() { + t["QuerySupportedNetworkOffloadSpec"] = reflect.TypeOf((*QuerySupportedNetworkOffloadSpec)(nil)).Elem() +} + +type QuerySupportedNetworkOffloadSpecRequestType struct { + This ManagedObjectReference `xml:"_this"` + SwitchProductSpec DistributedVirtualSwitchProductSpec `xml:"switchProductSpec"` +} + +func init() { + t["QuerySupportedNetworkOffloadSpecRequestType"] = reflect.TypeOf((*QuerySupportedNetworkOffloadSpecRequestType)(nil)).Elem() +} + +type QuerySupportedNetworkOffloadSpecResponse struct { + Returnval []DistributedVirtualSwitchNetworkOffloadSpec `xml:"returnval,omitempty"` +} + type QuerySyncingVsanObjects QuerySyncingVsanObjectsRequestType func init() { @@ -42403,6 +42784,7 @@ type ReplicationConfigSpec struct { EncryptionDestination string `xml:"encryptionDestination,omitempty"` EncryptionPort int32 `xml:"encryptionPort,omitempty"` RemoteCertificateThumbprint string `xml:"remoteCertificateThumbprint,omitempty"` + DataSetsReplicationEnabled *bool `xml:"dataSetsReplicationEnabled"` Disk []ReplicationInfoDiskSettings `xml:"disk,omitempty"` } @@ -43899,9 +44281,10 @@ type RetrieveVStorageObjectAssociationsResponse struct { } type RetrieveVStorageObjectRequestType struct { - This ManagedObjectReference `xml:"_this"` - Id ID `xml:"id"` - Datastore ManagedObjectReference `xml:"datastore"` + This ManagedObjectReference `xml:"_this"` + Id ID `xml:"id"` + Datastore ManagedObjectReference `xml:"datastore"` + DiskInfoFlags []string `xml:"diskInfoFlags,omitempty"` } func init() { @@ -43932,6 +44315,60 @@ type RetrieveVStorageObjectStateResponse struct { Returnval VStorageObjectStateInfo `xml:"returnval"` } +type RetrieveVendorDeviceGroupInfo RetrieveVendorDeviceGroupInfoRequestType + +func init() { + t["RetrieveVendorDeviceGroupInfo"] = reflect.TypeOf((*RetrieveVendorDeviceGroupInfo)(nil)).Elem() +} + +type RetrieveVendorDeviceGroupInfoRequestType struct { + This ManagedObjectReference `xml:"_this"` +} + +func init() { + t["RetrieveVendorDeviceGroupInfoRequestType"] = reflect.TypeOf((*RetrieveVendorDeviceGroupInfoRequestType)(nil)).Elem() +} + +type RetrieveVendorDeviceGroupInfoResponse struct { + Returnval []VirtualMachineVendorDeviceGroupInfo `xml:"returnval,omitempty"` +} + +type RetrieveVgpuDeviceInfo RetrieveVgpuDeviceInfoRequestType + +func init() { + t["RetrieveVgpuDeviceInfo"] = reflect.TypeOf((*RetrieveVgpuDeviceInfo)(nil)).Elem() +} + +type RetrieveVgpuDeviceInfoRequestType struct { + This ManagedObjectReference `xml:"_this"` +} + +func init() { + t["RetrieveVgpuDeviceInfoRequestType"] = reflect.TypeOf((*RetrieveVgpuDeviceInfoRequestType)(nil)).Elem() +} + +type RetrieveVgpuDeviceInfoResponse struct { + Returnval []VirtualMachineVgpuDeviceInfo `xml:"returnval,omitempty"` +} + +type RetrieveVgpuProfileInfo RetrieveVgpuProfileInfoRequestType + +func init() { + t["RetrieveVgpuProfileInfo"] = reflect.TypeOf((*RetrieveVgpuProfileInfo)(nil)).Elem() +} + +type RetrieveVgpuProfileInfoRequestType struct { + This ManagedObjectReference `xml:"_this"` +} + +func init() { + t["RetrieveVgpuProfileInfoRequestType"] = reflect.TypeOf((*RetrieveVgpuProfileInfoRequestType)(nil)).Elem() +} + +type RetrieveVgpuProfileInfoResponse struct { + Returnval []VirtualMachineVgpuProfileInfo `xml:"returnval,omitempty"` +} + type RevertToCurrentSnapshotRequestType struct { This ManagedObjectReference `xml:"_this"` Host *ManagedObjectReference `xml:"host,omitempty"` @@ -44993,10 +45430,11 @@ type SessionIsActiveResponse struct { type SessionManagerGenericServiceTicket struct { DynamicData - Id string `xml:"id"` - HostName string `xml:"hostName,omitempty"` - SslThumbprint string `xml:"sslThumbprint,omitempty"` - TicketType string `xml:"ticketType,omitempty"` + Id string `xml:"id"` + HostName string `xml:"hostName,omitempty"` + SslThumbprint string `xml:"sslThumbprint,omitempty"` + CertThumbprintList []VirtualMachineCertThumbprint `xml:"certThumbprintList,omitempty"` + TicketType string `xml:"ticketType,omitempty"` } func init() { @@ -45222,6 +45660,25 @@ func init() { type SetLocaleResponse struct { } +type SetMaxQueueDepth SetMaxQueueDepthRequestType + +func init() { + t["SetMaxQueueDepth"] = reflect.TypeOf((*SetMaxQueueDepth)(nil)).Elem() +} + +type SetMaxQueueDepthRequestType struct { + This ManagedObjectReference `xml:"_this"` + Datastore ManagedObjectReference `xml:"datastore"` + MaxQdepth int64 `xml:"maxQdepth"` +} + +func init() { + t["SetMaxQueueDepthRequestType"] = reflect.TypeOf((*SetMaxQueueDepthRequestType)(nil)).Elem() +} + +type SetMaxQueueDepthResponse struct { +} + type SetMultipathLunPolicy SetMultipathLunPolicyRequestType func init() { @@ -48596,6 +49053,25 @@ 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() { @@ -50102,16 +50578,52 @@ func init() { type VASAStorageArray struct { DynamicData - Name string `xml:"name"` - Uuid string `xml:"uuid"` - VendorId string `xml:"vendorId"` - ModelId string `xml:"modelId"` + Name string `xml:"name"` + Uuid string `xml:"uuid"` + VendorId string `xml:"vendorId"` + ModelId string `xml:"modelId"` + DiscoverySvcInfo []VASAStorageArrayDiscoverySvcInfo `xml:"discoverySvcInfo,omitempty"` } func init() { t["VASAStorageArray"] = reflect.TypeOf((*VASAStorageArray)(nil)).Elem() } +type VASAStorageArrayDiscoveryFcTransport struct { + DynamicData + + NodeWwn string `xml:"nodeWwn"` + PortWwn string `xml:"portWwn"` +} + +func init() { + t["VASAStorageArrayDiscoveryFcTransport"] = reflect.TypeOf((*VASAStorageArrayDiscoveryFcTransport)(nil)).Elem() +} + +type VASAStorageArrayDiscoveryIpTransport struct { + DynamicData + + IpAddress string `xml:"ipAddress"` + PortNumber string `xml:"portNumber,omitempty"` +} + +func init() { + t["VASAStorageArrayDiscoveryIpTransport"] = reflect.TypeOf((*VASAStorageArrayDiscoveryIpTransport)(nil)).Elem() +} + +type VASAStorageArrayDiscoverySvcInfo struct { + DynamicData + + PortType string `xml:"portType"` + SvcNqn string `xml:"svcNqn"` + IpInfo *VASAStorageArrayDiscoveryIpTransport `xml:"ipInfo,omitempty"` + FcInfo *VASAStorageArrayDiscoveryFcTransport `xml:"fcInfo,omitempty"` +} + +func init() { + t["VASAStorageArrayDiscoverySvcInfo"] = reflect.TypeOf((*VASAStorageArrayDiscoverySvcInfo)(nil)).Elem() +} + type VAppCloneSpec struct { DynamicData @@ -50656,6 +51168,7 @@ type VMwareDVSConfigInfo struct { LacpGroupConfig []VMwareDvsLacpGroupConfig `xml:"lacpGroupConfig,omitempty"` LacpApiVersion string `xml:"lacpApiVersion,omitempty"` MulticastFilteringMode string `xml:"multicastFilteringMode,omitempty"` + NetworkOffloadSpecId string `xml:"networkOffloadSpecId,omitempty"` } func init() { @@ -50672,6 +51185,7 @@ type VMwareDVSConfigSpec struct { IpfixConfig *VMwareIpfixConfig `xml:"ipfixConfig,omitempty"` LacpApiVersion string `xml:"lacpApiVersion,omitempty"` MulticastFilteringMode string `xml:"multicastFilteringMode,omitempty"` + NetworkOffloadSpecId string `xml:"networkOffloadSpecId,omitempty"` } func init() { @@ -50688,6 +51202,7 @@ type VMwareDVSFeatureCapability struct { MulticastSnoopingSupported *bool `xml:"multicastSnoopingSupported"` VspanCapability *VMwareDVSVspanCapability `xml:"vspanCapability,omitempty"` LacpCapability *VMwareDvsLacpCapability `xml:"lacpCapability,omitempty"` + DpuCapability *VMwareDvsDpuCapability `xml:"dpuCapability,omitempty"` NsxSupported *bool `xml:"nsxSupported"` MtuCapability *VMwareDvsMtuCapability `xml:"mtuCapability,omitempty"` } @@ -50846,6 +51361,16 @@ func init() { t["VMwareDVSVspanConfigSpec"] = reflect.TypeOf((*VMwareDVSVspanConfigSpec)(nil)).Elem() } +type VMwareDvsDpuCapability struct { + DynamicData + + NetworkOffloadSupported *bool `xml:"networkOffloadSupported"` +} + +func init() { + t["VMwareDvsDpuCapability"] = reflect.TypeOf((*VMwareDvsDpuCapability)(nil)).Elem() +} + type VMwareDvsIpfixCapability struct { DynamicData @@ -51671,13 +52196,15 @@ func init() { type VirtualDevice struct { DynamicData - Key int32 `xml:"key"` - DeviceInfo BaseDescription `xml:"deviceInfo,omitempty,typeattr"` - Backing BaseVirtualDeviceBackingInfo `xml:"backing,omitempty,typeattr"` - Connectable *VirtualDeviceConnectInfo `xml:"connectable,omitempty"` - SlotInfo BaseVirtualDeviceBusSlotInfo `xml:"slotInfo,omitempty,typeattr"` - ControllerKey int32 `xml:"controllerKey,omitempty"` - UnitNumber *int32 `xml:"unitNumber"` + Key int32 `xml:"key"` + DeviceInfo BaseDescription `xml:"deviceInfo,omitempty,typeattr"` + Backing BaseVirtualDeviceBackingInfo `xml:"backing,omitempty,typeattr"` + Connectable *VirtualDeviceConnectInfo `xml:"connectable,omitempty"` + SlotInfo BaseVirtualDeviceBusSlotInfo `xml:"slotInfo,omitempty,typeattr"` + ControllerKey int32 `xml:"controllerKey,omitempty"` + UnitNumber *int32 `xml:"unitNumber"` + NumaNode int32 `xml:"numaNode,omitempty"` + DeviceGroupInfo *VirtualDeviceDeviceGroupInfo `xml:"deviceGroupInfo,omitempty"` } func init() { @@ -51729,6 +52256,7 @@ type VirtualDeviceConfigSpec struct { Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"` Backing *VirtualDeviceConfigSpecBackingSpec `xml:"backing,omitempty"` FilterSpec []BaseVirtualMachineBaseIndependentFilterSpec `xml:"filterSpec,omitempty,typeattr"` + ChangeMode string `xml:"changeMode,omitempty"` } func init() { @@ -51792,6 +52320,17 @@ func init() { t["VirtualDeviceDeviceBackingOption"] = reflect.TypeOf((*VirtualDeviceDeviceBackingOption)(nil)).Elem() } +type VirtualDeviceDeviceGroupInfo struct { + DynamicData + + GroupInstanceKey int32 `xml:"groupInstanceKey"` + SequenceId int32 `xml:"sequenceId"` +} + +func init() { + t["VirtualDeviceDeviceGroupInfo"] = reflect.TypeOf((*VirtualDeviceDeviceGroupInfo)(nil)).Elem() +} + type VirtualDeviceFileBackingInfo struct { VirtualDeviceBackingInfo @@ -51828,6 +52367,7 @@ type VirtualDeviceOption struct { Deprecated bool `xml:"deprecated"` PlugAndPlay bool `xml:"plugAndPlay"` HotRemoveSupported *bool `xml:"hotRemoveSupported"` + NumaSupported *bool `xml:"numaSupported"` } func init() { @@ -52568,10 +53108,13 @@ type VirtualHardware struct { NumCPU int32 `xml:"numCPU"` NumCoresPerSocket int32 `xml:"numCoresPerSocket,omitempty"` + AutoCoresPerSocket *bool `xml:"autoCoresPerSocket"` MemoryMB int32 `xml:"memoryMB"` VirtualICH7MPresent *bool `xml:"virtualICH7MPresent"` VirtualSMCPresent *bool `xml:"virtualSMCPresent"` Device []BaseVirtualDevice `xml:"device,omitempty,typeattr"` + MotherboardLayout string `xml:"motherboardLayout,omitempty"` + SimultaneousThreads int32 `xml:"simultaneousThreads,omitempty"` } func init() { @@ -52595,28 +53138,34 @@ func init() { type VirtualHardwareOption struct { DynamicData - HwVersion int32 `xml:"hwVersion"` - VirtualDeviceOption []BaseVirtualDeviceOption `xml:"virtualDeviceOption,typeattr"` - DeviceListReadonly bool `xml:"deviceListReadonly"` - NumCPU []int32 `xml:"numCPU"` - NumCoresPerSocket *IntOption `xml:"numCoresPerSocket,omitempty"` - NumCpuReadonly bool `xml:"numCpuReadonly"` - MemoryMB LongOption `xml:"memoryMB"` - NumPCIControllers IntOption `xml:"numPCIControllers"` - NumIDEControllers IntOption `xml:"numIDEControllers"` - NumUSBControllers IntOption `xml:"numUSBControllers"` - NumUSBXHCIControllers *IntOption `xml:"numUSBXHCIControllers,omitempty"` - NumSIOControllers IntOption `xml:"numSIOControllers"` - NumPS2Controllers IntOption `xml:"numPS2Controllers"` - LicensingLimit []string `xml:"licensingLimit,omitempty"` - NumSupportedWwnPorts *IntOption `xml:"numSupportedWwnPorts,omitempty"` - NumSupportedWwnNodes *IntOption `xml:"numSupportedWwnNodes,omitempty"` - ResourceConfigOption *ResourceConfigOption `xml:"resourceConfigOption,omitempty"` - NumNVDIMMControllers *IntOption `xml:"numNVDIMMControllers,omitempty"` - NumTPMDevices *IntOption `xml:"numTPMDevices,omitempty"` - NumWDTDevices *IntOption `xml:"numWDTDevices,omitempty"` - NumPrecisionClockDevices *IntOption `xml:"numPrecisionClockDevices,omitempty"` - EpcMemoryMB *LongOption `xml:"epcMemoryMB,omitempty"` + HwVersion int32 `xml:"hwVersion"` + VirtualDeviceOption []BaseVirtualDeviceOption `xml:"virtualDeviceOption,typeattr"` + DeviceListReadonly bool `xml:"deviceListReadonly"` + NumCPU []int32 `xml:"numCPU"` + NumCoresPerSocket *IntOption `xml:"numCoresPerSocket,omitempty"` + AutoCoresPerSocket *BoolOption `xml:"autoCoresPerSocket,omitempty"` + NumCpuReadonly bool `xml:"numCpuReadonly"` + MemoryMB LongOption `xml:"memoryMB"` + NumPCIControllers IntOption `xml:"numPCIControllers"` + NumIDEControllers IntOption `xml:"numIDEControllers"` + NumUSBControllers IntOption `xml:"numUSBControllers"` + NumUSBXHCIControllers *IntOption `xml:"numUSBXHCIControllers,omitempty"` + NumSIOControllers IntOption `xml:"numSIOControllers"` + NumPS2Controllers IntOption `xml:"numPS2Controllers"` + LicensingLimit []string `xml:"licensingLimit,omitempty"` + NumSupportedWwnPorts *IntOption `xml:"numSupportedWwnPorts,omitempty"` + NumSupportedWwnNodes *IntOption `xml:"numSupportedWwnNodes,omitempty"` + ResourceConfigOption *ResourceConfigOption `xml:"resourceConfigOption,omitempty"` + NumNVDIMMControllers *IntOption `xml:"numNVDIMMControllers,omitempty"` + NumTPMDevices *IntOption `xml:"numTPMDevices,omitempty"` + NumWDTDevices *IntOption `xml:"numWDTDevices,omitempty"` + NumPrecisionClockDevices *IntOption `xml:"numPrecisionClockDevices,omitempty"` + EpcMemoryMB *LongOption `xml:"epcMemoryMB,omitempty"` + AcpiHostBridgesFirmware []string `xml:"acpiHostBridgesFirmware,omitempty"` + NumCpuSimultaneousThreads *IntOption `xml:"numCpuSimultaneousThreads,omitempty"` + NumNumaNodes *IntOption `xml:"numNumaNodes,omitempty"` + NumDeviceGroups *IntOption `xml:"numDeviceGroups,omitempty"` + DeviceGroupTypes []string `xml:"deviceGroupTypes,omitempty"` } func init() { @@ -52850,6 +53399,8 @@ type VirtualMachineCapability struct { ToolsSyncTimeAllowSupported *bool `xml:"toolsSyncTimeAllowSupported"` SevSupported *bool `xml:"sevSupported"` PmemFailoverSupported *bool `xml:"pmemFailoverSupported"` + RequireSgxAttestationSupported *bool `xml:"requireSgxAttestationSupported"` + ChangeModeDisksSupported *bool `xml:"changeModeDisksSupported"` } func init() { @@ -52866,16 +53417,28 @@ func init() { t["VirtualMachineCdromInfo"] = reflect.TypeOf((*VirtualMachineCdromInfo)(nil)).Elem() } +type VirtualMachineCertThumbprint struct { + DynamicData + + Thumbprint string `xml:"thumbprint"` + HashAlgorithm string `xml:"hashAlgorithm,omitempty"` +} + +func init() { + t["VirtualMachineCertThumbprint"] = reflect.TypeOf((*VirtualMachineCertThumbprint)(nil)).Elem() +} + type VirtualMachineCloneSpec struct { DynamicData - Location VirtualMachineRelocateSpec `xml:"location"` - Template bool `xml:"template"` - Config *VirtualMachineConfigSpec `xml:"config,omitempty"` - Customization *CustomizationSpec `xml:"customization,omitempty"` - PowerOn bool `xml:"powerOn"` - Snapshot *ManagedObjectReference `xml:"snapshot,omitempty"` - Memory *bool `xml:"memory"` + Location VirtualMachineRelocateSpec `xml:"location"` + Template bool `xml:"template"` + Config *VirtualMachineConfigSpec `xml:"config,omitempty"` + Customization *CustomizationSpec `xml:"customization,omitempty"` + PowerOn bool `xml:"powerOn"` + Snapshot *ManagedObjectReference `xml:"snapshot,omitempty"` + Memory *bool `xml:"memory"` + TpmProvisionPolicy string `xml:"tpmProvisionPolicy,omitempty"` } func init() { @@ -52910,6 +53473,7 @@ type VirtualMachineConfigInfo struct { Flags VirtualMachineFlagInfo `xml:"flags"` ConsolePreferences *VirtualMachineConsolePreferences `xml:"consolePreferences,omitempty"` DefaultPowerOps VirtualMachineDefaultPowerOpInfo `xml:"defaultPowerOps"` + RebootPowerOff *bool `xml:"rebootPowerOff"` Hardware VirtualHardware `xml:"hardware"` VcpuConfig []VirtualMachineVcpuConfig `xml:"vcpuConfig,omitempty"` CpuAllocation *ResourceAllocationInfo `xml:"cpuAllocation,omitempty"` @@ -52956,8 +53520,14 @@ type VirtualMachineConfigInfo struct { FtEncryptionMode string `xml:"ftEncryptionMode,omitempty"` GuestMonitoringModeInfo *VirtualMachineGuestMonitoringModeInfo `xml:"guestMonitoringModeInfo,omitempty"` SevEnabled *bool `xml:"sevEnabled"` + NumaInfo *VirtualMachineVirtualNumaInfo `xml:"numaInfo,omitempty"` PmemFailoverEnabled *bool `xml:"pmemFailoverEnabled"` + VmxStatsCollectionEnabled *bool `xml:"vmxStatsCollectionEnabled"` + VmOpNotificationToAppEnabled *bool `xml:"vmOpNotificationToAppEnabled"` + VmOpNotificationTimeout int64 `xml:"vmOpNotificationTimeout,omitempty"` + DeviceSwap *VirtualMachineVirtualDeviceSwap `xml:"deviceSwap,omitempty"` Pmem *VirtualMachineVirtualPMem `xml:"pmem,omitempty"` + DeviceGroups *VirtualMachineVirtualDeviceGroups `xml:"deviceGroups,omitempty"` } func init() { @@ -53049,6 +53619,7 @@ type VirtualMachineConfigSpec struct { Flags *VirtualMachineFlagInfo `xml:"flags,omitempty"` ConsolePreferences *VirtualMachineConsolePreferences `xml:"consolePreferences,omitempty"` PowerOpInfo *VirtualMachineDefaultPowerOpInfo `xml:"powerOpInfo,omitempty"` + RebootPowerOff *bool `xml:"rebootPowerOff"` NumCPUs int32 `xml:"numCPUs,omitempty"` VcpuConfig []VirtualMachineVcpuConfig `xml:"vcpuConfig,omitempty"` NumCoresPerSocket int32 `xml:"numCoresPerSocket,omitempty"` @@ -53091,8 +53662,16 @@ type VirtualMachineConfigSpec struct { FtEncryptionMode string `xml:"ftEncryptionMode,omitempty"` GuestMonitoringModeInfo *VirtualMachineGuestMonitoringModeInfo `xml:"guestMonitoringModeInfo,omitempty"` SevEnabled *bool `xml:"sevEnabled"` + VirtualNuma *VirtualMachineVirtualNuma `xml:"virtualNuma,omitempty"` + MotherboardLayout string `xml:"motherboardLayout,omitempty"` PmemFailoverEnabled *bool `xml:"pmemFailoverEnabled"` + VmxStatsCollectionEnabled *bool `xml:"vmxStatsCollectionEnabled"` + VmOpNotificationToAppEnabled *bool `xml:"vmOpNotificationToAppEnabled"` + VmOpNotificationTimeout int64 `xml:"vmOpNotificationTimeout,omitempty"` + DeviceSwap *VirtualMachineVirtualDeviceSwap `xml:"deviceSwap,omitempty"` + SimultaneousThreads int32 `xml:"simultaneousThreads,omitempty"` Pmem *VirtualMachineVirtualPMem `xml:"pmem,omitempty"` + DeviceGroups *VirtualMachineVirtualDeviceGroups `xml:"deviceGroups,omitempty"` } func init() { @@ -53265,6 +53844,9 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct { VmDirectPathGen2InactiveReasonVm []string `xml:"vmDirectPathGen2InactiveReasonVm,omitempty"` VmDirectPathGen2InactiveReasonOther []string `xml:"vmDirectPathGen2InactiveReasonOther,omitempty"` VmDirectPathGen2InactiveReasonExtended string `xml:"vmDirectPathGen2InactiveReasonExtended,omitempty"` + Uptv2Active *bool `xml:"uptv2Active"` + Uptv2InactiveReasonVm []string `xml:"uptv2InactiveReasonVm,omitempty"` + Uptv2InactiveReasonOther []string `xml:"uptv2InactiveReasonOther,omitempty"` ReservationStatus string `xml:"reservationStatus,omitempty"` AttachmentStatus string `xml:"attachmentStatus,omitempty"` FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty"` @@ -53298,6 +53880,19 @@ func init() { t["VirtualMachineDisplayTopology"] = reflect.TypeOf((*VirtualMachineDisplayTopology)(nil)).Elem() } +type VirtualMachineDvxClassInfo struct { + DynamicData + + DeviceClass BaseElementDescription `xml:"deviceClass,typeattr"` + VendorName string `xml:"vendorName"` + SriovNic bool `xml:"sriovNic"` + ConfigParams []OptionDef `xml:"configParams,omitempty"` +} + +func init() { + t["VirtualMachineDvxClassInfo"] = reflect.TypeOf((*VirtualMachineDvxClassInfo)(nil)).Elem() +} + type VirtualMachineDynamicPassthroughInfo struct { VirtualMachineTargetInfo @@ -53971,6 +54566,7 @@ type VirtualMachineRuntimeInfo struct { InstantCloneFrozen *bool `xml:"instantCloneFrozen"` CryptoState string `xml:"cryptoState,omitempty"` SuspendedToMemory *bool `xml:"suspendedToMemory"` + OpNotificationTimeout int64 `xml:"opNotificationTimeout,omitempty"` } func init() { @@ -54022,9 +54618,10 @@ func init() { type VirtualMachineSgxInfo struct { DynamicData - EpcSize int64 `xml:"epcSize"` - FlcMode string `xml:"flcMode,omitempty"` - LePubKeyHash string `xml:"lePubKeyHash,omitempty"` + EpcSize int64 `xml:"epcSize"` + FlcMode string `xml:"flcMode,omitempty"` + LePubKeyHash string `xml:"lePubKeyHash,omitempty"` + RequireAttestation *bool `xml:"requireAttestation"` } func init() { @@ -54034,9 +54631,10 @@ func init() { type VirtualMachineSgxTargetInfo struct { VirtualMachineTargetInfo - MaxEpcSize int64 `xml:"maxEpcSize"` - FlcModes []string `xml:"flcModes,omitempty"` - LePubKeyHashes []string `xml:"lePubKeyHashes,omitempty"` + MaxEpcSize int64 `xml:"maxEpcSize"` + FlcModes []string `xml:"flcModes,omitempty"` + LePubKeyHashes []string `xml:"lePubKeyHashes,omitempty"` + RequireAttestationSupported *bool `xml:"requireAttestationSupported"` } func init() { @@ -54170,12 +54768,13 @@ func init() { type VirtualMachineTicket struct { DynamicData - Ticket string `xml:"ticket"` - CfgFile string `xml:"cfgFile"` - Host string `xml:"host,omitempty"` - Port int32 `xml:"port,omitempty"` - SslThumbprint string `xml:"sslThumbprint,omitempty"` - Url string `xml:"url,omitempty"` + Ticket string `xml:"ticket"` + CfgFile string `xml:"cfgFile"` + Host string `xml:"host,omitempty"` + Port int32 `xml:"port,omitempty"` + SslThumbprint string `xml:"sslThumbprint,omitempty"` + CertThumbprintList []VirtualMachineCertThumbprint `xml:"certThumbprintList,omitempty"` + Url string `xml:"url,omitempty"` } func init() { @@ -54303,6 +54902,62 @@ func init() { t["VirtualMachineVcpuConfig"] = reflect.TypeOf((*VirtualMachineVcpuConfig)(nil)).Elem() } +type VirtualMachineVendorDeviceGroupInfo struct { + VirtualMachineTargetInfo + + DeviceGroupName string `xml:"deviceGroupName"` + DeviceGroupDescription string `xml:"deviceGroupDescription,omitempty"` + ComponentDeviceInfo []VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo `xml:"componentDeviceInfo,omitempty"` +} + +func init() { + t["VirtualMachineVendorDeviceGroupInfo"] = reflect.TypeOf((*VirtualMachineVendorDeviceGroupInfo)(nil)).Elem() +} + +type VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo struct { + DynamicData + + Type string `xml:"type"` + VendorName string `xml:"vendorName"` + DeviceName string `xml:"deviceName"` + IsConfigurable bool `xml:"isConfigurable"` + Device BaseVirtualDevice `xml:"device,typeattr"` +} + +func init() { + t["VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo"] = reflect.TypeOf((*VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo)(nil)).Elem() +} + +type VirtualMachineVgpuDeviceInfo struct { + VirtualMachineTargetInfo + + DeviceName string `xml:"deviceName"` + DeviceVendorId int64 `xml:"deviceVendorId"` + MaxFbSizeInGib int64 `xml:"maxFbSizeInGib"` + TimeSlicedCapable bool `xml:"timeSlicedCapable"` + MigCapable bool `xml:"migCapable"` + ComputeProfileCapable bool `xml:"computeProfileCapable"` + QuadroProfileCapable bool `xml:"quadroProfileCapable"` +} + +func init() { + t["VirtualMachineVgpuDeviceInfo"] = reflect.TypeOf((*VirtualMachineVgpuDeviceInfo)(nil)).Elem() +} + +type VirtualMachineVgpuProfileInfo struct { + VirtualMachineTargetInfo + + ProfileName string `xml:"profileName"` + DeviceVendorId int64 `xml:"deviceVendorId"` + FbSizeInGib int64 `xml:"fbSizeInGib"` + ProfileSharing string `xml:"profileSharing"` + ProfileClass string `xml:"profileClass"` +} + +func init() { + t["VirtualMachineVgpuProfileInfo"] = reflect.TypeOf((*VirtualMachineVgpuProfileInfo)(nil)).Elem() +} + type VirtualMachineVideoCard struct { VirtualDevice @@ -54318,6 +54973,82 @@ func init() { t["VirtualMachineVideoCard"] = reflect.TypeOf((*VirtualMachineVideoCard)(nil)).Elem() } +type VirtualMachineVirtualDeviceGroups struct { + DynamicData + + DeviceGroup []BaseVirtualMachineVirtualDeviceGroupsDeviceGroup `xml:"deviceGroup,omitempty,typeattr"` +} + +func init() { + t["VirtualMachineVirtualDeviceGroups"] = reflect.TypeOf((*VirtualMachineVirtualDeviceGroups)(nil)).Elem() +} + +type VirtualMachineVirtualDeviceGroupsDeviceGroup struct { + DynamicData + + GroupInstanceKey int32 `xml:"groupInstanceKey"` + DeviceInfo BaseDescription `xml:"deviceInfo,omitempty,typeattr"` +} + +func init() { + t["VirtualMachineVirtualDeviceGroupsDeviceGroup"] = reflect.TypeOf((*VirtualMachineVirtualDeviceGroupsDeviceGroup)(nil)).Elem() +} + +type VirtualMachineVirtualDeviceGroupsVendorDeviceGroup struct { + VirtualMachineVirtualDeviceGroupsDeviceGroup + + DeviceGroupName string `xml:"deviceGroupName"` +} + +func init() { + t["VirtualMachineVirtualDeviceGroupsVendorDeviceGroup"] = reflect.TypeOf((*VirtualMachineVirtualDeviceGroupsVendorDeviceGroup)(nil)).Elem() +} + +type VirtualMachineVirtualDeviceSwap struct { + DynamicData + + LsiToPvscsi *VirtualMachineVirtualDeviceSwapDeviceSwapInfo `xml:"lsiToPvscsi,omitempty"` +} + +func init() { + t["VirtualMachineVirtualDeviceSwap"] = reflect.TypeOf((*VirtualMachineVirtualDeviceSwap)(nil)).Elem() +} + +type VirtualMachineVirtualDeviceSwapDeviceSwapInfo struct { + DynamicData + + Enabled *bool `xml:"enabled"` + Applicable *bool `xml:"applicable"` + Status string `xml:"status,omitempty"` +} + +func init() { + t["VirtualMachineVirtualDeviceSwapDeviceSwapInfo"] = reflect.TypeOf((*VirtualMachineVirtualDeviceSwapDeviceSwapInfo)(nil)).Elem() +} + +type VirtualMachineVirtualNuma struct { + DynamicData + + CoresPerNumaNode int32 `xml:"coresPerNumaNode,omitempty"` + ExposeVnumaOnCpuHotadd *bool `xml:"exposeVnumaOnCpuHotadd"` +} + +func init() { + t["VirtualMachineVirtualNuma"] = reflect.TypeOf((*VirtualMachineVirtualNuma)(nil)).Elem() +} + +type VirtualMachineVirtualNumaInfo struct { + DynamicData + + CoresPerNumaNode int32 `xml:"coresPerNumaNode,omitempty"` + AutoCoresPerNumaNode *bool `xml:"autoCoresPerNumaNode"` + VnumaOnCpuHotaddExposed *bool `xml:"vnumaOnCpuHotaddExposed"` +} + +func init() { + t["VirtualMachineVirtualNumaInfo"] = reflect.TypeOf((*VirtualMachineVirtualNumaInfo)(nil)).Elem() +} + type VirtualMachineVirtualPMem struct { DynamicData @@ -54509,6 +55240,25 @@ func init() { t["VirtualPCIPassthroughDeviceBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughDeviceBackingOption)(nil)).Elem() } +type VirtualPCIPassthroughDvxBackingInfo struct { + VirtualDeviceBackingInfo + + DeviceClass string `xml:"deviceClass,omitempty"` + ConfigParams []BaseOptionValue `xml:"configParams,omitempty,typeattr"` +} + +func init() { + t["VirtualPCIPassthroughDvxBackingInfo"] = reflect.TypeOf((*VirtualPCIPassthroughDvxBackingInfo)(nil)).Elem() +} + +type VirtualPCIPassthroughDvxBackingOption struct { + VirtualDeviceBackingOption +} + +func init() { + t["VirtualPCIPassthroughDvxBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughDvxBackingOption)(nil)).Elem() +} + type VirtualPCIPassthroughDynamicBackingInfo struct { VirtualDeviceDeviceBackingInfo @@ -54556,8 +55306,10 @@ func init() { type VirtualPCIPassthroughVmiopBackingInfo struct { VirtualPCIPassthroughPluginBackingInfo - Vgpu string `xml:"vgpu,omitempty"` - MigrateSupported *bool `xml:"migrateSupported"` + Vgpu string `xml:"vgpu,omitempty"` + VgpuMigrateDataSizeMB int32 `xml:"vgpuMigrateDataSizeMB,omitempty"` + MigrateSupported *bool `xml:"migrateSupported"` + EnhancedMigrateCapability *bool `xml:"enhancedMigrateCapability"` } func init() { @@ -54990,6 +55742,7 @@ type VirtualSriovEthernetCard struct { AllowGuestOSMtuChange *bool `xml:"allowGuestOSMtuChange"` SriovBacking *VirtualSriovEthernetCardSriovBackingInfo `xml:"sriovBacking,omitempty"` + DvxBackingInfo *VirtualPCIPassthroughDvxBackingInfo `xml:"dvxBackingInfo,omitempty"` } func init() { @@ -55245,6 +55998,8 @@ func init() { type VirtualVmxnet3 struct { VirtualVmxnet + + Uptv2Enabled *bool `xml:"uptv2Enabled"` } func init() { @@ -55253,6 +56008,8 @@ func init() { type VirtualVmxnet3Option struct { VirtualVmxnetOption + + Uptv2Enabled *BoolOption `xml:"uptv2Enabled,omitempty"` } func init() { @@ -57045,6 +57802,7 @@ type VmfsConfigOption struct { UnmapBandwidthDynamicMin *LongOption `xml:"unmapBandwidthDynamicMin,omitempty"` UnmapBandwidthDynamicMax *LongOption `xml:"unmapBandwidthDynamicMax,omitempty"` UnmapBandwidthIncrement int64 `xml:"unmapBandwidthIncrement,omitempty"` + UnmapBandwidthUltraLow int64 `xml:"unmapBandwidthUltraLow,omitempty"` } func init() { @@ -57297,8 +58055,9 @@ func init() { type VsanClusterConfigInfo struct { DynamicData - Enabled *bool `xml:"enabled"` - DefaultConfig *VsanClusterConfigInfoHostDefaultInfo `xml:"defaultConfig,omitempty"` + Enabled *bool `xml:"enabled"` + DefaultConfig *VsanClusterConfigInfoHostDefaultInfo `xml:"defaultConfig,omitempty"` + VsanEsaEnabled *bool `xml:"vsanEsaEnabled"` } func init() { @@ -57420,6 +58179,7 @@ type VsanHostConfigInfo struct { StorageInfo *VsanHostConfigInfoStorageInfo `xml:"storageInfo,omitempty"` NetworkInfo *VsanHostConfigInfoNetworkInfo `xml:"networkInfo,omitempty"` FaultDomainInfo *VsanHostFaultDomainInfo `xml:"faultDomainInfo,omitempty"` + VsanEsaEnabled *bool `xml:"vsanEsaEnabled"` } func init() { diff --git a/vslm/methods/methods.go b/vslm/methods/methods.go index fc9c0cb6b..4fe31f04d 100644 --- a/vslm/methods/methods.go +++ b/vslm/methods/methods.go @@ -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. diff --git a/vslm/types/enum.go b/vslm/types/enum.go index b1ec21917..81afc1db1 100644 --- a/vslm/types/enum.go +++ b/vslm/types/enum.go @@ -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. diff --git a/vslm/types/if.go b/vslm/types/if.go index dc0b89225..6a3eb25cc 100644 --- a/vslm/types/if.go +++ b/vslm/types/if.go @@ -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. diff --git a/vslm/types/types.go b/vslm/types/types.go index 368d54899..1534bc041 100644 --- a/vslm/types/types.go +++ b/vslm/types/types.go @@ -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.