go.mod: update github.com/vmware/govmomi to v0.48.0

Needs manual change of import paths.
This commit is contained in:
Achilleas Koutsou 2025-01-31 18:26:22 +01:00 committed by Sanne Raymaekers
parent 3a6bea380e
commit bec893e37c
170 changed files with 7474 additions and 1604 deletions

View file

@ -1,18 +1,6 @@
/*
Copyright (c) 2014-2024 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// © Broadcom. All Rights Reserved.
// The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
// SPDX-License-Identifier: Apache-2.0
package methods
@ -4603,6 +4591,106 @@ func DetachTagFromVStorageObject(ctx context.Context, r soap.RoundTripper, req *
return resBody.Res, nil
}
type DirectPathProfileManagerCreateBody struct {
Req *types.DirectPathProfileManagerCreate `xml:"urn:vim25 DirectPathProfileManagerCreate,omitempty"`
Res *types.DirectPathProfileManagerCreateResponse `xml:"DirectPathProfileManagerCreateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *DirectPathProfileManagerCreateBody) Fault() *soap.Fault { return b.Fault_ }
func DirectPathProfileManagerCreate(ctx context.Context, r soap.RoundTripper, req *types.DirectPathProfileManagerCreate) (*types.DirectPathProfileManagerCreateResponse, error) {
var reqBody, resBody DirectPathProfileManagerCreateBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type DirectPathProfileManagerDeleteBody struct {
Req *types.DirectPathProfileManagerDelete `xml:"urn:vim25 DirectPathProfileManagerDelete,omitempty"`
Res *types.DirectPathProfileManagerDeleteResponse `xml:"DirectPathProfileManagerDeleteResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *DirectPathProfileManagerDeleteBody) Fault() *soap.Fault { return b.Fault_ }
func DirectPathProfileManagerDelete(ctx context.Context, r soap.RoundTripper, req *types.DirectPathProfileManagerDelete) (*types.DirectPathProfileManagerDeleteResponse, error) {
var reqBody, resBody DirectPathProfileManagerDeleteBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type DirectPathProfileManagerListBody struct {
Req *types.DirectPathProfileManagerList `xml:"urn:vim25 DirectPathProfileManagerList,omitempty"`
Res *types.DirectPathProfileManagerListResponse `xml:"DirectPathProfileManagerListResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *DirectPathProfileManagerListBody) Fault() *soap.Fault { return b.Fault_ }
func DirectPathProfileManagerList(ctx context.Context, r soap.RoundTripper, req *types.DirectPathProfileManagerList) (*types.DirectPathProfileManagerListResponse, error) {
var reqBody, resBody DirectPathProfileManagerListBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type DirectPathProfileManagerQueryCapacityBody struct {
Req *types.DirectPathProfileManagerQueryCapacity `xml:"urn:vim25 DirectPathProfileManagerQueryCapacity,omitempty"`
Res *types.DirectPathProfileManagerQueryCapacityResponse `xml:"DirectPathProfileManagerQueryCapacityResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *DirectPathProfileManagerQueryCapacityBody) Fault() *soap.Fault { return b.Fault_ }
func DirectPathProfileManagerQueryCapacity(ctx context.Context, r soap.RoundTripper, req *types.DirectPathProfileManagerQueryCapacity) (*types.DirectPathProfileManagerQueryCapacityResponse, error) {
var reqBody, resBody DirectPathProfileManagerQueryCapacityBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type DirectPathProfileManagerUpdateBody struct {
Req *types.DirectPathProfileManagerUpdate `xml:"urn:vim25 DirectPathProfileManagerUpdate,omitempty"`
Res *types.DirectPathProfileManagerUpdateResponse `xml:"DirectPathProfileManagerUpdateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *DirectPathProfileManagerUpdateBody) Fault() *soap.Fault { return b.Fault_ }
func DirectPathProfileManagerUpdate(ctx context.Context, r soap.RoundTripper, req *types.DirectPathProfileManagerUpdate) (*types.DirectPathProfileManagerUpdateResponse, error) {
var reqBody, resBody DirectPathProfileManagerUpdateBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type DisableAlarmBody struct {
Req *types.DisableAlarm `xml:"urn:vim25 DisableAlarm,omitempty"`
Res *types.DisableAlarmResponse `xml:"DisableAlarmResponse,omitempty"`
@ -4723,6 +4811,26 @@ func DisableMultipathPath(ctx context.Context, r soap.RoundTripper, req *types.D
return resBody.Res, nil
}
type DisableNetworkBoot_TaskBody struct {
Req *types.DisableNetworkBoot_Task `xml:"urn:vim25 DisableNetworkBoot_Task,omitempty"`
Res *types.DisableNetworkBoot_TaskResponse `xml:"DisableNetworkBoot_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *DisableNetworkBoot_TaskBody) Fault() *soap.Fault { return b.Fault_ }
func DisableNetworkBoot_Task(ctx context.Context, r soap.RoundTripper, req *types.DisableNetworkBoot_Task) (*types.DisableNetworkBoot_TaskResponse, error) {
var reqBody, resBody DisableNetworkBoot_TaskBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type DisableRulesetBody struct {
Req *types.DisableRuleset `xml:"urn:vim25 DisableRuleset,omitempty"`
Res *types.DisableRulesetResponse `xml:"DisableRulesetResponse,omitempty"`
@ -5183,6 +5291,26 @@ func EnableMultipathPath(ctx context.Context, r soap.RoundTripper, req *types.En
return resBody.Res, nil
}
type EnableNetworkBoot_TaskBody struct {
Req *types.EnableNetworkBoot_Task `xml:"urn:vim25 EnableNetworkBoot_Task,omitempty"`
Res *types.EnableNetworkBoot_TaskResponse `xml:"EnableNetworkBoot_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *EnableNetworkBoot_TaskBody) Fault() *soap.Fault { return b.Fault_ }
func EnableNetworkBoot_Task(ctx context.Context, r soap.RoundTripper, req *types.EnableNetworkBoot_Task) (*types.EnableNetworkBoot_TaskResponse, error) {
var reqBody, resBody EnableNetworkBoot_TaskBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type EnableNetworkResourceManagementBody struct {
Req *types.EnableNetworkResourceManagement `xml:"urn:vim25 EnableNetworkResourceManagement,omitempty"`
Res *types.EnableNetworkResourceManagementResponse `xml:"EnableNetworkResourceManagementResponse,omitempty"`
@ -7683,6 +7811,26 @@ func InitiateFileTransferToGuest(ctx context.Context, r soap.RoundTripper, req *
return resBody.Res, nil
}
type InitiateTransitionToVLCM_TaskBody struct {
Req *types.InitiateTransitionToVLCM_Task `xml:"urn:vim25 InitiateTransitionToVLCM_Task,omitempty"`
Res *types.InitiateTransitionToVLCM_TaskResponse `xml:"InitiateTransitionToVLCM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *InitiateTransitionToVLCM_TaskBody) Fault() *soap.Fault { return b.Fault_ }
func InitiateTransitionToVLCM_Task(ctx context.Context, r soap.RoundTripper, req *types.InitiateTransitionToVLCM_Task) (*types.InitiateTransitionToVLCM_TaskResponse, error) {
var reqBody, resBody InitiateTransitionToVLCM_TaskBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type InstallHostPatchV2_TaskBody struct {
Req *types.InstallHostPatchV2_Task `xml:"urn:vim25 InstallHostPatchV2_Task,omitempty"`
Res *types.InstallHostPatchV2_TaskResponse `xml:"InstallHostPatchV2_TaskResponse,omitempty"`
@ -7823,6 +7971,26 @@ func IsClusteredVmdkEnabled(ctx context.Context, r soap.RoundTripper, req *types
return resBody.Res, nil
}
type IsGuestOsCustomizableBody struct {
Req *types.IsGuestOsCustomizable `xml:"urn:vim25 IsGuestOsCustomizable,omitempty"`
Res *types.IsGuestOsCustomizableResponse `xml:"IsGuestOsCustomizableResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *IsGuestOsCustomizableBody) Fault() *soap.Fault { return b.Fault_ }
func IsGuestOsCustomizable(ctx context.Context, r soap.RoundTripper, req *types.IsGuestOsCustomizable) (*types.IsGuestOsCustomizableResponse, error) {
var reqBody, resBody IsGuestOsCustomizableBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type IsKmsClusterActiveBody struct {
Req *types.IsKmsClusterActive `xml:"urn:vim25 IsKmsClusterActive,omitempty"`
Res *types.IsKmsClusterActiveResponse `xml:"IsKmsClusterActiveResponse,omitempty"`
@ -11883,6 +12051,26 @@ func ReadNextTasks(ctx context.Context, r soap.RoundTripper, req *types.ReadNext
return resBody.Res, nil
}
type ReadNextTasksByViewSpecBody struct {
Req *types.ReadNextTasksByViewSpec `xml:"urn:vim25 ReadNextTasksByViewSpec,omitempty"`
Res *types.ReadNextTasksByViewSpecResponse `xml:"ReadNextTasksByViewSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *ReadNextTasksByViewSpecBody) Fault() *soap.Fault { return b.Fault_ }
func ReadNextTasksByViewSpec(ctx context.Context, r soap.RoundTripper, req *types.ReadNextTasksByViewSpec) (*types.ReadNextTasksByViewSpecResponse, error) {
var reqBody, resBody ReadNextTasksByViewSpecBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type ReadPreviousEventsBody struct {
Req *types.ReadPreviousEvents `xml:"urn:vim25 ReadPreviousEvents,omitempty"`
Res *types.ReadPreviousEventsResponse `xml:"ReadPreviousEventsResponse,omitempty"`
@ -12023,6 +12211,26 @@ func RecommissionVsanNode_Task(ctx context.Context, r soap.RoundTripper, req *ty
return resBody.Res, nil
}
type ReconcileDatastoreInventoryEx_TaskBody struct {
Req *types.ReconcileDatastoreInventoryEx_Task `xml:"urn:vim25 ReconcileDatastoreInventoryEx_Task,omitempty"`
Res *types.ReconcileDatastoreInventoryEx_TaskResponse `xml:"ReconcileDatastoreInventoryEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *ReconcileDatastoreInventoryEx_TaskBody) Fault() *soap.Fault { return b.Fault_ }
func ReconcileDatastoreInventoryEx_Task(ctx context.Context, r soap.RoundTripper, req *types.ReconcileDatastoreInventoryEx_Task) (*types.ReconcileDatastoreInventoryEx_TaskResponse, error) {
var reqBody, resBody ReconcileDatastoreInventoryEx_TaskBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type ReconcileDatastoreInventory_TaskBody struct {
Req *types.ReconcileDatastoreInventory_Task `xml:"urn:vim25 ReconcileDatastoreInventory_Task,omitempty"`
Res *types.ReconcileDatastoreInventory_TaskResponse `xml:"ReconcileDatastoreInventory_TaskResponse,omitempty"`
@ -13623,6 +13831,26 @@ func RemoveSmartCardTrustAnchorByFingerprint(ctx context.Context, r soap.RoundTr
return resBody.Res, nil
}
type RemoveSmartCardTrustAnchorCertificateBody struct {
Req *types.RemoveSmartCardTrustAnchorCertificate `xml:"urn:vim25 RemoveSmartCardTrustAnchorCertificate,omitempty"`
Res *types.RemoveSmartCardTrustAnchorCertificateResponse `xml:"RemoveSmartCardTrustAnchorCertificateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *RemoveSmartCardTrustAnchorCertificateBody) Fault() *soap.Fault { return b.Fault_ }
func RemoveSmartCardTrustAnchorCertificate(ctx context.Context, r soap.RoundTripper, req *types.RemoveSmartCardTrustAnchorCertificate) (*types.RemoveSmartCardTrustAnchorCertificateResponse, error) {
var reqBody, resBody RemoveSmartCardTrustAnchorCertificateBody
reqBody.Req = req
if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
return nil, err
}
return resBody.Res, nil
}
type RemoveSnapshot_TaskBody struct {
Req *types.RemoveSnapshot_Task `xml:"urn:vim25 RemoveSnapshot_Task,omitempty"`
Res *types.RemoveSnapshot_TaskResponse `xml:"RemoveSnapshot_TaskResponse,omitempty"`