netbackup

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetVAppMachinesResponse

type GetVAppMachinesResponse struct {
	Data []struct {
		IsVisibleToAllUsers       bool      `json:"IsVisibleToAllUsers,omitempty"`
		NetBackupClientName       string    `json:"NetBackupClientName,omitempty"`
		LastUpdatedDateTime       time.Time `json:"LastUpdatedDateTime,omitempty"`
		MachineCode               string    `json:"MachineCode,omitempty"`
		DisplayName               string    `json:"DisplayName,omitempty"`
		ProtectionTypeName        string    `json:"ProtectionTypeName,omitempty"`
		Hardware                  string    `json:"Hardware,omitempty"`
		TrafficLightStatus        string    `json:"TrafficLightStatus,omitempty"`
		IsSyncingNetBackupData    bool      `json:"IsSyncingNetBackupData,omitempty"`
		PolicyAppendix            string    `json:"PolicyAppendix,omitempty"`
		AdditionalData            string    `json:"AdditionalData,omitempty"`
		Os                        string    `json:"OS,omitempty"`
		ImportSource              string    `json:"ImportSource,omitempty"`
		CustomerCode              string    `json:"CustomerCode,omitempty"`
		ProviderAssetType         string    `json:"ProviderAssetType,omitempty"`
		IsDeletedFromImportSource bool      `json:"IsDeletedFromImportSource,omitempty"`
		VAppID                    int       `json:"VAppId,omitempty"`
		LastSuccessfulBackupDate  time.Time `json:"LastSuccessfulBackupDate,omitempty"`
		SyncLastError             string    `json:"SyncLastError,omitempty"`
		ProtectionTypeID          int       `json:"ProtectionTypeId,omitempty"`
		IsInVCloud                bool      `json:"IsInVCloud,omitempty"`
		Links                     []struct {
			Rel    string `json:"Rel,omitempty"`
			Href   string `json:"Href,omitempty"`
			Method string `json:"Method,omitempty"`
		} `json:"Links,omitempty"`
		CatalogName     string    `json:"CatalogName,omitempty"`
		ID              int       `json:"Id,omitempty"`
		VMDisplayName   string    `json:"VMDisplayName,omitempty"`
		CreatedDateTime time.Time `json:"CreatedDateTime,omitempty"`
		Location        string    `json:"Location,omitempty"`
	} `json:"Data,omitempty"`
}

GetVAppMachinesResponse - Is the response structure for the GetVAppMachines API

type InventoryClient

type InventoryClient struct{}

func (*InventoryClient) Refresh

func (i *InventoryClient) Refresh() (job *commonnetbackup.JobAPIResponse, err error)

Refresh refreshes the inventory.

type Machine

type Machine struct {
	IsVisibleToAllUsers       bool      `json:"IsVisibleToAllUsers,omitempty"`
	NetBackupClientName       string    `json:"NetBackupClientName,omitempty"`
	LastUpdatedDateTime       time.Time `json:"LastUpdatedDateTime,omitempty"`
	MachineCode               string    `json:"MachineCode,omitempty"` // Is a URN in the form of urn:vcloud:vm:xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
	DisplayName               string    `json:"DisplayName,omitempty"`
	ProtectionTypeName        string    `json:"ProtectionTypeName,omitempty"`
	Hardware                  string    `json:"Hardware,omitempty"`
	TrafficLightStatus        string    `json:"TrafficLightStatus,omitempty"`
	IsSyncingNetBackupData    bool      `json:"IsSyncingNetBackupData,omitempty"`
	PolicyAppendix            string    `json:"PolicyAppendix,omitempty"`
	AdditionalData            string    `json:"AdditionalData,omitempty"`
	Os                        string    `json:"OS,omitempty"`
	ImportSource              string    `json:"ImportSource,omitempty"`
	CustomerCode              string    `json:"CustomerCode,omitempty"` // Is a Org Name
	ProviderAssetType         string    `json:"ProviderAssetType,omitempty"`
	IsDeletedFromImportSource bool      `json:"IsDeletedFromImportSource,omitempty"`
	VAppID                    int       `json:"VAppId,omitempty"`
	LastSuccessfulBackupDate  time.Time `json:"LastSuccessfulBackupDate,omitempty"`
	SyncLastError             string    `json:"SyncLastError,omitempty"`
	ProtectionTypeID          int       `json:"ProtectionTypeId,omitempty"`
	IsInVCloud                bool      `json:"IsInVCloud,omitempty"`
	CatalogName               string    `json:"CatalogName,omitempty"`
	ID                        int       `json:"Id,omitempty"`
	VMDisplayName             string    `json:"VMDisplayName,omitempty"` // Is a VM Name with suffix "-Random4Letters/Numbers" (e.g. "demo-4f5a")
	CreatedDateTime           time.Time `json:"CreatedDateTime,omitempty"`
	Location                  string    `json:"Location,omitempty"`
}

Machine - Is the response structure for the Machines APIs

func (*Machine) GetAdditionalData

func (m *Machine) GetAdditionalData() string

GetAdditionalData returns the AdditionalData field of Machine

func (*Machine) GetCatalogName

func (m *Machine) GetCatalogName() string

GetCatalogName returns the CatalogName field of Machine

func (*Machine) GetCreatedDateTime

func (m *Machine) GetCreatedDateTime() time.Time

GetCreatedDateTime returns the CreatedDateTime field of Machine

func (*Machine) GetCustomerCode

func (m *Machine) GetCustomerCode() string

GetCustomerCode returns the CustomerCode field of Machine

func (*Machine) GetDisplayName

func (m *Machine) GetDisplayName() string

GetDisplayName returns the DisplayName field of Machine

func (*Machine) GetHardware

func (m *Machine) GetHardware() string

GetHardware returns the Hardware field of Machine

func (*Machine) GetID

func (m *Machine) GetID() int

GetID returns the ID field of Machine

func (*Machine) GetIDPtr

func (m *Machine) GetIDPtr() *int

GetIDPtr returns a pointer to the ID field of Machine

func (*Machine) GetImportSource

func (m *Machine) GetImportSource() string

GetImportSource returns the ImportSource field of Machine

func (*Machine) GetIsDeletedFromImportSource

func (m *Machine) GetIsDeletedFromImportSource() bool

GetIsDeletedFromImportSource returns the IsDeletedFromImportSource field of Machine

func (*Machine) GetIsInVCloud

func (m *Machine) GetIsInVCloud() bool

GetIsInVCloud returns the IsInVCloud field of Machine

func (*Machine) GetIsSyncingNetBackupData

func (m *Machine) GetIsSyncingNetBackupData() bool

GetIsSyncingNetBackupData returns the IsSyncingNetBackupData field of Machine

func (*Machine) GetIsVisibleToAllUsers

func (m *Machine) GetIsVisibleToAllUsers() bool

GetIsVisibleToAllUsers returns the IsVisibleToAllUsers field of Machine

func (*Machine) GetLastSuccessfulBackupDate

func (m *Machine) GetLastSuccessfulBackupDate() time.Time

GetLastSuccessfulBackupDate returns the LastSuccessfulBackupDate field of Machine

func (*Machine) GetLastUpdatedDateTime

func (m *Machine) GetLastUpdatedDateTime() time.Time

GetLastUpdatedDateTime returns the LastUpdatedDateTime field of Machine

func (*Machine) GetLocation

func (m *Machine) GetLocation() string

GetLocation returns the Location field of Machine

func (*Machine) GetMachineCode

func (m *Machine) GetMachineCode() string

GetMachineCode returns the MachineCode field of Machine

func (*Machine) GetName

func (m *Machine) GetName() string

GetName returns the DisplayName field of Machine

func (*Machine) GetNetBackupClientName

func (m *Machine) GetNetBackupClientName() string

GetNetBackupClientName returns the NetBackupClientName field of Machine

func (*Machine) GetOs

func (m *Machine) GetOs() string

GetOs returns the Os field of Machine

func (*Machine) GetPolicyAppendix

func (m *Machine) GetPolicyAppendix() string

GetPolicyAppendix returns the PolicyAppendix field of Machine

func (*Machine) GetProtectionLevelAvailableByID

func (m *Machine) GetProtectionLevelAvailableByID(id int) (resp *ProtectionLevel, err error)

GetProtectionLevelAvailableByID - Get a protection level available for a Machine by ID

func (*Machine) GetProtectionLevelAvailableByName

func (m *Machine) GetProtectionLevelAvailableByName(name string) (resp *ProtectionLevel, err error)

GetProtectionLevelAvailableByName - Get a protection level available for a Machine by Name

func (*Machine) GetProtectionTypeID

func (m *Machine) GetProtectionTypeID() int

GetProtectionTypeID returns the ProtectionTypeID field of Machine

func (*Machine) GetProtectionTypeName

func (m *Machine) GetProtectionTypeName() string

GetProtectionTypeName returns the ProtectionTypeName field of Machine

func (*Machine) GetProviderAssetType

func (m *Machine) GetProviderAssetType() string

GetProviderAssetType returns the ProviderAssetType field of Machine

func (*Machine) GetSyncLastError

func (m *Machine) GetSyncLastError() string

GetSyncLastError returns the SyncLastError field of Machine

func (*Machine) GetTrafficLightStatus

func (m *Machine) GetTrafficLightStatus() string

GetTrafficLightStatus returns the TrafficLightStatus field of Machine

func (*Machine) GetVAppID

func (m *Machine) GetVAppID() int

GetVAppID returns the VAppID field of Machine

func (*Machine) GetVMDisplayName

func (m *Machine) GetVMDisplayName() string

GetVMDisplayName returns the VMDisplayName field of Machine

func (*Machine) ListProtectionLevels

func (m *Machine) ListProtectionLevels() (resp *ProtectionLevels, err error)

ListProtectionLevels - List the protection levels applied to a Machine

func (*Machine) ListProtectionLevelsAvailable

func (m *Machine) ListProtectionLevelsAvailable() (resp *ProtectionLevels, err error)

ListProtectionLevelsAvailable - List the protection levels available for a Machine

func (*Machine) Protect

Protect - Protect a Machine

func (*Machine) Unprotect

func (m *Machine) Unprotect(req ProtectUnprotectRequest) (job *commonnetbackup.JobAPIResponse, err error)

Unprotect - Unprotect a Machine

type MachineClient

type MachineClient struct{}

func (*MachineClient) GetMachineByID

func (m *MachineClient) GetMachineByID(id int) (resp *Machine, err error)

GetMachineByID - Get a NetBackup Machine by ID

func (*MachineClient) GetMachineByIdentifier

func (m *MachineClient) GetMachineByIdentifier(identifier string) (resp *Machine, err error)

GetMachineByIdentifier - Get a NetBackup Machine by Identifier

func (*MachineClient) GetMachineByName

func (m *MachineClient) GetMachineByName(name string) (resp *Machine, err error)

GetMachineByName - Get a NetBackup Machine by Name

func (*MachineClient) GetMachineByNameOrIdentifier

func (m *MachineClient) GetMachineByNameOrIdentifier(nameOrIdentifier string) (resp *Machine, err error)

GetMachineByNameOrIdentifier - Get a NetBackup Machine by Name or Identifier

func (*MachineClient) GetMachines

func (m *MachineClient) GetMachines() (resp *Machines, err error)

GetMachines - Get a list of NetBackup Machines

type Machines

type Machines []Machine

* Machines Machines - Is the response structure for the GetMachines API

type Netbackup

type Netbackup struct {
	VCloud          VcloudClient
	ProtectionLevel ProtectionLevelClient
	Machines        MachineClient
	Inventory       InventoryClient
}

type Org

type Org struct {
	ID           int    `json:"Id"`
	Name         string `json:"Name"`
	DisplayName  string `json:"DisplayName"`
	CustomerCode string `json:"CustomerCode"`
	ImportSource string `json:"ImportSource"`
	Location     string `json:"Location"`
}

func (*Org) GetCustomerCode

func (r *Org) GetCustomerCode() string

GetCustomerCode returns the CustomerCode field of Org

func (*Org) GetDisplayName

func (r *Org) GetDisplayName() string

GetDisplayName returns the DisplayName field of Org

func (*Org) GetID

func (r *Org) GetID() int

GetID returns the ID field of Org

func (*Org) GetIDPtr

func (r *Org) GetIDPtr() *int

GetIDPtr returns a pointer to the ID field of Org

func (*Org) GetImportSource

func (r *Org) GetImportSource() string

GetImportSource returns the ImportSource field of Org

func (*Org) GetLocation

func (r *Org) GetLocation() string

GetLocation returns the Location field of Org

func (*Org) GetName

func (r *Org) GetName() string

GetName returns the Name field of Org

type Orgs

type Orgs []Org

* Orgs Orgs - Is the response structure for the GetOrgs API

type ProtectUnprotectRequest

type ProtectUnprotectRequest struct {
	// One of the following protection level settings must be specified
	// The ID of the protection level in the netbackup system
	ProtectionLevelID *int // Optional if ProtectionLevelName is specified
	// The name of the protection level in the netbackup system
	ProtectionLevelName string // Optional if ProtectionLevelID is specified
}

ProtectUnprotectRequest - Is the request structure for the Protects and Unprotects APIs

type ProtectionLevel

type ProtectionLevel struct {
	ID                            int    `json:"Id,omitempty"`
	ProtectionTypeID              int    `json:"ProtectionTypeId,omitempty"`
	Name                          string `json:"Name,omitempty"`
	Code                          string `json:"Code,omitempty"`
	Description                   string `json:"Description,omitempty"`
	Sequence                      int    `json:"Sequence,omitempty"`
	Color                         string `json:"Color,omitempty"`
	RequestTypeCode               string `json:"RequestTypeCode,omitempty"`
	IsVisible                     bool   `json:"IsVisible,omitempty"`
	IsBackupNow                   bool   `json:"IsBackupNow,omitempty"`
	IsManaged                     bool   `json:"IsManaged,omitempty"`
	SupportsFileProtect           bool   `json:"SupportsFileProtect,omitempty"`
	SupportsSingleClientBackupNow bool   `json:"SupportsSingleClientBackupNow,omitempty"`
}

func (*ProtectionLevel) GetCode

func (r *ProtectionLevel) GetCode() string

GetCode returns the Code field of ProtectionLevel

func (*ProtectionLevel) GetColor

func (r *ProtectionLevel) GetColor() string

GetColor returns the Color field of ProtectionLevel

func (*ProtectionLevel) GetDescription

func (r *ProtectionLevel) GetDescription() string

GetDescription returns the Description field of ProtectionLevel

func (*ProtectionLevel) GetID

func (r *ProtectionLevel) GetID() int

GetID returns the ID field of GetProtectionLevelResponse

func (*ProtectionLevel) GetIsBackupNow

func (r *ProtectionLevel) GetIsBackupNow() bool

GetIsBackupNow returns the IsBackupNow field of ProtectionLevel

func (*ProtectionLevel) GetIsManaged

func (r *ProtectionLevel) GetIsManaged() bool

GetIsManaged returns the IsManaged field of ProtectionLevel

func (*ProtectionLevel) GetIsVisible

func (r *ProtectionLevel) GetIsVisible() bool

GetIsVisible returns the IsVisible field of ProtectionLevel

func (*ProtectionLevel) GetName

func (r *ProtectionLevel) GetName() string

GetName returns the Name field of ProtectionLevel

func (*ProtectionLevel) GetProtectionTypeID

func (r *ProtectionLevel) GetProtectionTypeID() int

GetProtectionTypeID returns the ProtectionTypeID field of ProtectionLevel

func (*ProtectionLevel) GetRequestTypeCode

func (r *ProtectionLevel) GetRequestTypeCode() string

GetRequestTypeCode returns the RequestTypeCode field of ProtectionLevel

func (*ProtectionLevel) GetSequence

func (r *ProtectionLevel) GetSequence() int

GetSequence returns the Sequence field of ProtectionLevel

func (*ProtectionLevel) GetSupportsFileProtect

func (r *ProtectionLevel) GetSupportsFileProtect() bool

GetSupportsFileProtect returns the SupportsFileProtect field of ProtectionLevel

func (*ProtectionLevel) GetSupportsSingleClientBackupNow

func (r *ProtectionLevel) GetSupportsSingleClientBackupNow() bool

GetSupportsSingleClientBackupNow returns the SupportsSingleClientBackupNow field of ProtectionLevel

type ProtectionLevelClient

type ProtectionLevelClient struct{}

func (*ProtectionLevelClient) ListProtectionLevels

func (p *ProtectionLevelClient) ListProtectionLevels(req listProtectionLevelsRequest) (resp *ProtectionLevels, err error)

ListProtectionLevels - Get a list of protection levels Use listProtectionLevelsRequest to specify the VAppID, VDCID or MachineID

type ProtectionLevels

type ProtectionLevels []ProtectionLevel

type VApp

type VApp struct {
	ID               int    `json:"Id,omitempty"`
	Identifier       string `json:"Identifier,omitempty"`
	ProtectionTypeID int    `json:"ProtectionTypeId,omitempty"`
	VDCID            int    `json:"VdcId,omitempty"`
	Name             string `json:"Name,omitempty"`
}

VApp - Is the response structure for the GetVApp API

func (*VApp) GetID

func (vApp *VApp) GetID() int

GetID returns the ID field of VApp

func (*VApp) GetIDPtr

func (vApp *VApp) GetIDPtr() *int

GetIDPtr returns a pointer to the ID field of VApp

func (*VApp) GetIdentifier

func (vApp *VApp) GetIdentifier() string

GetIdentifier returns the Identifier field of VApp

func (*VApp) GetName

func (vApp *VApp) GetName() string

GetName returns the Name field of VApp

func (*VApp) GetProtectionLevelAvailableByID

func (vApp *VApp) GetProtectionLevelAvailableByID(id int) (resp *ProtectionLevel, err error)

GetProtectionLevelAvailableByID - Get a protection level by ID for a vCloud Director Virtual Application

func (*VApp) GetProtectionLevelAvailableByName

func (vApp *VApp) GetProtectionLevelAvailableByName(name string) (resp *ProtectionLevel, err error)

GetProtectionLevelAvailableByName - Get a protection level by name for a vCloud Director Virtual Application

func (*VApp) GetProtectionTypeID

func (vApp *VApp) GetProtectionTypeID() int

GetProtectionTypeID returns the ProtectionTypeID field of VApp

func (*VApp) ListProtectionLevels

func (vApp *VApp) ListProtectionLevels() (resp *ProtectionLevels, err error)

ListProtectionLevels - List the protection levels applied to a vCloud Director Virtual Application

func (*VApp) ListProtectionLevelsAvailable

func (vApp *VApp) ListProtectionLevelsAvailable() (resp *ProtectionLevels, err error)

ListProtectionLevelsAvailable - List the protection levels available for a vCloud Director Virtual Application

func (*VApp) Protect

func (vApp *VApp) Protect(req ProtectUnprotectRequest) (job *commonnetbackup.JobAPIResponse, err error)

ProtectVApp - Protect a vCloud Director Virtual Application

func (*VApp) Unprotect

func (vApp *VApp) Unprotect(req ProtectUnprotectRequest) (job *commonnetbackup.JobAPIResponse, err error)

UnprotectVApp - Unprotect a vCloud Director Virtual Application

type VAppResponse added in v0.6.0

type VAppResponse struct {
	Data VApp `json:"data,omitempty"`
}

type VApps

type VApps []VApp

* VApps VApps - Is the response structure for the GetVApps API

type VAppsResponse added in v0.6.0

type VAppsResponse struct {
	Data VApps `json:"data,omitempty"`
}

type VDC

type VDC struct {
	ID               int    `json:"Id,omitempty"`
	Name             string `json:"Name,omitempty"`
	Identifier       string `json:"Identifier,omitempty"`
	VOrgID           int    `json:"VOrgId,omitempty"`
	ProtectionTypeID int    `json:"ProtectionTypeId,omitempty"`
}

VDC - Is the response structure for the GetVdc API

func (*VDC) GetID

func (vdc *VDC) GetID() int

GetID returns the ID field of VDC

func (*VDC) GetIDPtr

func (vdc *VDC) GetIDPtr() *int

GetIDPtr returns a pointer to the ID field of VDC

func (*VDC) GetIdentifier

func (vdc *VDC) GetIdentifier() string

GetIdentifier returns the Identifier field of VDC

func (*VDC) GetName

func (vdc *VDC) GetName() string

GetName returns the Name field of VDC

func (*VDC) GetProtectionLevelAvailableByID

func (vdc *VDC) GetProtectionLevelAvailableByID(id int) (resp *ProtectionLevel, err error)

GetProtectionLevelAvailableByID - Get a protection level by ID for a vCloud Director Virtual Application

func (*VDC) GetProtectionLevelAvailableByName

func (vdc *VDC) GetProtectionLevelAvailableByName(name string) (resp *ProtectionLevel, err error)

GetProtectionLevelAvailableByName - Get a protection level by name for a vCloud Director Virtual Application

func (*VDC) GetProtectionTypeID

func (vdc *VDC) GetProtectionTypeID() int

GetProtectionTypeID returns the ProtectionTypeID field of VDC

func (*VDC) GetVOrgID

func (vdc *VDC) GetVOrgID() int

GetVOrgID returns the VOrgID field of VDC

func (*VDC) ListProtectionLevels

func (vdc *VDC) ListProtectionLevels() (resp *ProtectionLevels, err error)

ListProtectionLevels - List the protection levels applied to a vCloud Director Virtual Application

func (*VDC) ListProtectionLevelsAvailable

func (vdc *VDC) ListProtectionLevelsAvailable() (resp *ProtectionLevels, err error)

ListProtectionLevelsAvailable - List the protection levels available for a vCloud Director Virtual Application

func (*VDC) Protect

func (vdc *VDC) Protect(req ProtectUnprotectRequest) (job *commonnetbackup.JobAPIResponse, err error)

ProtectVdc - Protect a vCloud Director Virtual Data Center

func (*VDC) Unprotect

func (vdc *VDC) Unprotect(req ProtectUnprotectRequest) (job *commonnetbackup.JobAPIResponse, err error)

UnprotectVdc - Unprotect a vCloud Director Virtual Data Center

type VDCs

type VDCs []VDC

* VDCs VDCs - Is the response structure for the GetVdcs API

type VcloudClient

type VcloudClient struct{}

func (*VcloudClient) GetOrg

func (v *VcloudClient) GetOrg(id int) (resp *Org, err error)

GetOrg - Get a vCloud Director Organization

func (*VcloudClient) GetOrgByName

func (v *VcloudClient) GetOrgByName(name string) (resp *Org, err error)

GetOrgByName - Get a vCloud Director Organization by name

func (*VcloudClient) GetOrgs

func (v *VcloudClient) GetOrgs() (resp *Orgs, err error)

GetOrgs - Get a list of vCloud Director Organizations

func (*VcloudClient) GetVAppByID

func (v *VcloudClient) GetVAppByID(id int) (resp *VApp, err error)

GetVAppByID - Get a vCloud Director Virtual Application by ID id - The ID of the vapp in the netbackup system

func (*VcloudClient) GetVAppByIdentifier

func (v *VcloudClient) GetVAppByIdentifier(identifier string) (resp *VApp, err error)

GetVAppByIdentifier - Get a vCloud Director Virtual Application by Identifier identifier - The Identifier of the vapp in the vmware system (URN)

func (*VcloudClient) GetVAppByName

func (v *VcloudClient) GetVAppByName(name string) (resp *VApp, err error)

GetVAppByName - Get a vCloud Director Virtual Application by Name name - The name of the vapp in the netbackup system

func (*VcloudClient) GetVAppByNameOrIdentifier

func (v *VcloudClient) GetVAppByNameOrIdentifier(nameOrIdentifier string) (resp *VApp, err error)

GetVdcByNameOrIdentifier - Get a vCloud Director Virtual Application by Name or Identifier nameOrIdentifier - The Name or Identifier of the vapp in the vmware system

func (*VcloudClient) GetVAppMachines

func (v *VcloudClient) GetVAppMachines(vAppID int) (resp *GetVAppMachinesResponse, err error)

GetVAppMachines - Get a list of vCloud Director Virtual Application Machines

func (*VcloudClient) GetVApps

func (v *VcloudClient) GetVApps() (resp *VApps, err error)

GetVApps - Get a list of vCloud Director Virtual Applications

func (*VcloudClient) GetVDCByID added in v0.6.0

func (v *VcloudClient) GetVDCByID(id int) (resp *VDC, err error)

GetVDCByID - Get a vCloud Director Virtual Data Center by ID id - The ID of the vdc in the netbackup system

func (*VcloudClient) GetVDCByIdentifier added in v0.6.0

func (v *VcloudClient) GetVDCByIdentifier(identifier string) (resp *VDC, err error)

GetVDCByIdentifier - Get a vCloud Director Virtual Data Center by Identifier identifier - The Identifier of the vdc in the vmware system (URN)

func (*VcloudClient) GetVDCByName added in v0.6.0

func (v *VcloudClient) GetVDCByName(name string) (resp *VDC, err error)

GetVDCByName - Get a vCloud Director Virtual Data Center by Name name - The Name of the vdc in the vmware system

func (*VcloudClient) GetVDCByNameOrIdentifier added in v0.6.0

func (v *VcloudClient) GetVDCByNameOrIdentifier(nameOrIdentifier string) (resp *VDC, err error)

GetVDCByNameOrIdentifier - Get a vCloud Director Virtual Data Center by Name or Identifier nameOrIdentifier - The Name or Identifier of the vdc in the vmware system

func (*VcloudClient) GetVdcs

func (v *VcloudClient) GetVdcs() (resp *VDCs, err error)

GetVdcs - Get a list of vCloud Director Virtual Data Centers

func (*VcloudClient) GetVdcsByOrgID

func (v *VcloudClient) GetVdcsByOrgID(orgID int) (resp *VDCs, err error)

GetVdcsByOrgID - Get a list of vCloud Director Virtual Data Centers by Org ID orgID - The ID of the org in the netbackup system

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL