vmwarev1

package
v0.0.0-...-9719f3f Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package vmwarev1 : Operations and models for the VmwareV1 service

Index

Constants

View Source
const (
	DirectorSite_Status_Creating   = "Creating"
	DirectorSite_Status_Deleted    = "Deleted"
	DirectorSite_Status_Deleting   = "Deleting"
	DirectorSite_Status_Readytouse = "ReadyToUse"
	DirectorSite_Status_Updating   = "Updating"
)

Constants associated with the DirectorSite.Status property. The status of director site.

View Source
const (
	Edge_Size_ExtraLarge = "extra_large"
	Edge_Size_Large      = "large"
	Edge_Size_Medium     = "medium"
)

Constants associated with the Edge.Size property. The size of the Edge.

The size can only be specified for dedicated Edges. Larger sizes require more capacity from the director site in which the Virtual Data Center was created to be deployed.

View Source
const (
	Edge_Type_Dedicated = "dedicated"
	Edge_Type_Shared    = "shared"
)

Constants associated with the Edge.Type property. The type of Edge to be deployed.

Shared Edges allow for multiple VDCs to share some Edge resources. Dedicated Edges do not share resources between VDCs.

View Source
const (
	NewVDCEdge_Size_ExtraLarge = "extra_large"
	NewVDCEdge_Size_Large      = "large"
	NewVDCEdge_Size_Medium     = "medium"
)

Constants associated with the NewVDCEdge.Size property. The size of the Edge. Only used for Edges of type dedicated.

View Source
const (
	NewVDCEdge_Type_Dedicated = "dedicated"
	NewVDCEdge_Type_Shared    = "shared"
)

Constants associated with the NewVDCEdge.Type property. The type of Edge to be deployed on the Virtual Data Center.

View Source
const (
	VDC_Status_Creating   = "Creating"
	VDC_Status_Deleted    = "Deleted"
	VDC_Status_Deleting   = "Deleting"
	VDC_Status_Failed     = "Failed"
	VDC_Status_Modifying  = "Modifying"
	VDC_Status_Readytouse = "ReadyToUse"
)

Constants associated with the VDC.Status property. Determines the state the Virtual Data Center is currently in.

View Source
const (
	Cluster_BillingPlan_Monthly = "monthly"
)

Constants associated with the Cluster.BillingPlan property. The billing plan for the cluster.

View Source
const (
	Cluster_StorageType_Nfs = "nfs"
)

Constants associated with the Cluster.StorageType property. The storage type of the cluster.

View Source
const DefaultServiceName = "vmware"

DefaultServiceName is the default key used to find external configuration information.

View Source
const DefaultServiceURL = "https://vmware.cloud.ibm.com/v1"

DefaultServiceURL is the default URL to make service requests to.

View Source
const (
	VDC_AllocationModel_Paygo = "paygo"
)

Constants associated with the VDC.AllocationModel property. Determines how resources are made available to the Virtual Data Center. VMware as a Services uses the VMware Cloud Director Pay-As-You-Go (paygo) allocation model. With paygo, resources are committed as they are allocated by VMware vApps and VMs. IaaS resources are not reserved until vApps and VMs are specifically defined to VMware Cloud Director. The paygo model supports an optimal use of resources where resources are allocated on-demand as needed rather than prereserved without use.

View Source
const (
	VDC_Type_Dedicated = "dedicated"
)

Constants associated with the VDC.Type property. Determines if this Virtual Data Center is in a single-tenant or multi-tenant director site.

Variables

This section is empty.

Functions

func GetServiceURLForRegion

func GetServiceURLForRegion(region string) (string, error)

GetServiceURLForRegion returns the service URL to be used for the specified region

func UnmarshalCluster

func UnmarshalCluster(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCluster unmarshals an instance of Cluster from the specified map of raw messages.

func UnmarshalClusterOrderInfo

func UnmarshalClusterOrderInfo(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalClusterOrderInfo unmarshals an instance of ClusterOrderInfo from the specified map of raw messages.

func UnmarshalClusterSummary

func UnmarshalClusterSummary(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalClusterSummary unmarshals an instance of ClusterSummary from the specified map of raw messages.

func UnmarshalDataCenterInfo

func UnmarshalDataCenterInfo(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDataCenterInfo unmarshals an instance of DataCenterInfo from the specified map of raw messages.

func UnmarshalDirectorSite

func UnmarshalDirectorSite(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDirectorSite unmarshals an instance of DirectorSite from the specified map of raw messages.

func UnmarshalDirectorSitePriceItem

func UnmarshalDirectorSitePriceItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDirectorSitePriceItem unmarshals an instance of DirectorSitePriceItem from the specified map of raw messages.

func UnmarshalDirectorSitePriceListItem

func UnmarshalDirectorSitePriceListItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDirectorSitePriceListItem unmarshals an instance of DirectorSitePriceListItem from the specified map of raw messages.

func UnmarshalDirectorSitePriceMetric

func UnmarshalDirectorSitePriceMetric(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDirectorSitePriceMetric unmarshals an instance of DirectorSitePriceMetric from the specified map of raw messages.

func UnmarshalDirectorSitePriceQuoteClusterInfo

func UnmarshalDirectorSitePriceQuoteClusterInfo(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDirectorSitePriceQuoteClusterInfo unmarshals an instance of DirectorSitePriceQuoteClusterInfo from the specified map of raw messages.

func UnmarshalDirectorSitePriceQuoteResponse

func UnmarshalDirectorSitePriceQuoteResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDirectorSitePriceQuoteResponse unmarshals an instance of DirectorSitePriceQuoteResponse from the specified map of raw messages.

func UnmarshalDirectorSitePricingInfo

func UnmarshalDirectorSitePricingInfo(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDirectorSitePricingInfo unmarshals an instance of DirectorSitePricingInfo from the specified map of raw messages.

func UnmarshalDirectorSiteRegions

func UnmarshalDirectorSiteRegions(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDirectorSiteRegions unmarshals an instance of DirectorSiteRegions from the specified map of raw messages.

func UnmarshalEdge

func UnmarshalEdge(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEdge unmarshals an instance of Edge from the specified map of raw messages.

func UnmarshalError

func UnmarshalError(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalError unmarshals an instance of Error from the specified map of raw messages.

func UnmarshalFileShares

func UnmarshalFileShares(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFileShares unmarshals an instance of FileShares from the specified map of raw messages.

func UnmarshalHostProfile

func UnmarshalHostProfile(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalHostProfile unmarshals an instance of HostProfile from the specified map of raw messages.

func UnmarshalHostProfileDisk

func UnmarshalHostProfileDisk(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalHostProfileDisk unmarshals an instance of HostProfileDisk from the specified map of raw messages.

func UnmarshalListClusters

func UnmarshalListClusters(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListClusters unmarshals an instance of ListClusters from the specified map of raw messages.

func UnmarshalListDirectorSites

func UnmarshalListDirectorSites(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListDirectorSites unmarshals an instance of ListDirectorSites from the specified map of raw messages.

func UnmarshalListHostProfiles

func UnmarshalListHostProfiles(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListHostProfiles unmarshals an instance of ListHostProfiles from the specified map of raw messages.

func UnmarshalListVDCs

func UnmarshalListVDCs(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListVDCs unmarshals an instance of ListVDCs from the specified map of raw messages.

func UnmarshalNewPassword

func UnmarshalNewPassword(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNewPassword unmarshals an instance of NewPassword from the specified map of raw messages.

func UnmarshalNewVDCDirectorSite

func UnmarshalNewVDCDirectorSite(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNewVDCDirectorSite unmarshals an instance of NewVDCDirectorSite from the specified map of raw messages.

func UnmarshalNewVDCEdge

func UnmarshalNewVDCEdge(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNewVDCEdge unmarshals an instance of NewVDCEdge from the specified map of raw messages.

func UnmarshalNewVDCResourceGroup

func UnmarshalNewVDCResourceGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNewVDCResourceGroup unmarshals an instance of NewVDCResourceGroup from the specified map of raw messages.

func UnmarshalPriceInfoBaseCharge

func UnmarshalPriceInfoBaseCharge(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPriceInfoBaseCharge unmarshals an instance of PriceInfoBaseCharge from the specified map of raw messages.

func UnmarshalPriceInfoClusterCharge

func UnmarshalPriceInfoClusterCharge(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPriceInfoClusterCharge unmarshals an instance of PriceInfoClusterCharge from the specified map of raw messages.

func UnmarshalPriceInfoClusterItem

func UnmarshalPriceInfoClusterItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPriceInfoClusterItem unmarshals an instance of PriceInfoClusterItem from the specified map of raw messages.

func UnmarshalPriceInfoClusterSubItem

func UnmarshalPriceInfoClusterSubItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPriceInfoClusterSubItem unmarshals an instance of PriceInfoClusterSubItem from the specified map of raw messages.

func UnmarshalRegionDetail

func UnmarshalRegionDetail(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRegionDetail unmarshals an instance of RegionDetail from the specified map of raw messages.

func UnmarshalSetHostsCountResponse

func UnmarshalSetHostsCountResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSetHostsCountResponse unmarshals an instance of SetHostsCountResponse from the specified map of raw messages.

func UnmarshalVDC

func UnmarshalVDC(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVDC unmarshals an instance of VDC from the specified map of raw messages.

func UnmarshalVDCDirectorSite

func UnmarshalVDCDirectorSite(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVDCDirectorSite unmarshals an instance of VDCDirectorSite from the specified map of raw messages.

func UnmarshalVDCDirectorSiteCluster

func UnmarshalVDCDirectorSiteCluster(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVDCDirectorSiteCluster unmarshals an instance of VDCDirectorSiteCluster from the specified map of raw messages.

Types

type Cluster

type Cluster struct {
	// The cluster ID.
	ID *string `json:"id,omitempty"`

	// The cluster name.
	Name *string `json:"name,omitempty"`

	// The time that the instance is ordered.
	InstanceOrdered *string `json:"instance_ordered,omitempty"`

	// The time that the instance is created.
	InstanceCreated *string `json:"instance_created,omitempty"`

	// The time that the instance is deleted.
	InstanceDeleted *string `json:"instance_deleted,omitempty"`

	// The location of deployed cluster.
	Location *string `json:"location,omitempty"`

	// The number of hosts in the cluster.
	HostCount *int64 `json:"host_count,omitempty"`

	// The status of the director site cluster.
	Status *string `json:"status,omitempty"`

	// The ID of the director site.
	SiteID *string `json:"site_id,omitempty"`

	// The name of the host profile.
	HostProfile *string `json:"host_profile,omitempty"`

	// The storage type of the cluster.
	StorageType *string `json:"storage_type,omitempty"`

	// The billing plan for the cluster.
	BillingPlan *string `json:"billing_plan,omitempty"`

	// The chosen storage policies and their sizes.
	FileShares map[string]interface{} `json:"file_shares,omitempty"`
}

Cluster : A cluster resource.

type ClusterOrderInfo

type ClusterOrderInfo struct {
	// Name of the VMware cluster. Cluster names must be unique per director site instance. Cluster names cannot be changed
	// after creation.
	Name *string `json:"name" validate:"required"`

	// Data center location to deploy the cluster. See `GET /director_site_regions` for supported data center locations.
	Location *string `json:"location" validate:"required"`

	// Number of hosts in the VMware cluster.
	HostCount *int64 `json:"host_count" validate:"required"`

	// Chosen storage policies and their sizes.
	FileShares *FileShares `json:"file_shares" validate:"required"`

	// The host type. IBM Cloud offers several different host types. Typically, the host type is selected based on the
	// properties of the workload to be run in the VMware cluster.
	HostProfile *string `json:"host_profile" validate:"required"`
}

ClusterOrderInfo : VMware Cluster order information. Clusters form VMware workload availibility boundaries.

type ClusterSummary

type ClusterSummary struct {
	// The cluster ID.
	ID *string `json:"id,omitempty"`

	// The cluster name.
	Name *string `json:"name,omitempty"`

	// The location of the deployed cluster.
	Location *string `json:"location,omitempty"`

	// The number of hosts in the cluster.
	HostCount *int64 `json:"host_count,omitempty"`

	// THe cluster status.
	Status *string `json:"status,omitempty"`

	// The cluster's internal name.
	ClusterName *string `json:"cluster_name,omitempty"`

	// The name of the host profile.
	HostProfile *string `json:"host_profile,omitempty"`

	// The chosen storage policies and their sizes.
	FileShares map[string]interface{} `json:"file_shares,omitempty"`
}

ClusterSummary : The list of VMware clusters deployed on the director site.

type CreateVdcOptions

type CreateVdcOptions struct {
	// A human readable identifier for the Virtual Data Center. Use a name that is unique to your region.
	Name *string `json:"name" validate:"required"`

	// The director site in which to deploy the Virtual Data Center.
	DirectorSite *NewVDCDirectorSite `json:"director_site" validate:"required"`

	// The networking Edge to be deployed on the Virtual Data Center.
	Edge *NewVDCEdge `json:"edge,omitempty"`

	// The resource group to associate with the Virtual Data Center.
	// If not specified, the default resource group in the account is used.
	ResourceGroup *NewVDCResourceGroup `json:"resource_group,omitempty"`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateVdcOptions : The CreateVdc options.

func (*CreateVdcOptions) SetAcceptLanguage

func (_options *CreateVdcOptions) SetAcceptLanguage(acceptLanguage string) *CreateVdcOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*CreateVdcOptions) SetDirectorSite

func (_options *CreateVdcOptions) SetDirectorSite(directorSite *NewVDCDirectorSite) *CreateVdcOptions

SetDirectorSite : Allow user to set DirectorSite

func (*CreateVdcOptions) SetEdge

func (_options *CreateVdcOptions) SetEdge(edge *NewVDCEdge) *CreateVdcOptions

SetEdge : Allow user to set Edge

func (*CreateVdcOptions) SetHeaders

func (options *CreateVdcOptions) SetHeaders(param map[string]string) *CreateVdcOptions

SetHeaders : Allow user to set Headers

func (*CreateVdcOptions) SetName

func (_options *CreateVdcOptions) SetName(name string) *CreateVdcOptions

SetName : Allow user to set Name

func (*CreateVdcOptions) SetResourceGroup

func (_options *CreateVdcOptions) SetResourceGroup(resourceGroup *NewVDCResourceGroup) *CreateVdcOptions

SetResourceGroup : Allow user to set ResourceGroup

type CreateWorkloadDomainOptions

type CreateWorkloadDomainOptions struct {
	// Name of the director site instance. Use a name that is unique to your region and meaningful. Names cannot be changed
	// after initial creation.
	Name *string `json:"name" validate:"required"`

	// The name or ID of the IBM resource group where the instance is deployed.
	ResourceGroup *string `json:"resource_group" validate:"required"`

	// List of VMware clusters to deploy on the instance. Clusters form VMware workload availibility boundaries.
	Clusters []ClusterOrderInfo `json:"clusters" validate:"required"`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateWorkloadDomainOptions : The CreateWorkloadDomain options.

func (*CreateWorkloadDomainOptions) SetAcceptLanguage

func (_options *CreateWorkloadDomainOptions) SetAcceptLanguage(acceptLanguage string) *CreateWorkloadDomainOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*CreateWorkloadDomainOptions) SetClusters

SetClusters : Allow user to set Clusters

func (*CreateWorkloadDomainOptions) SetHeaders

func (options *CreateWorkloadDomainOptions) SetHeaders(param map[string]string) *CreateWorkloadDomainOptions

SetHeaders : Allow user to set Headers

func (*CreateWorkloadDomainOptions) SetName

SetName : Allow user to set Name

func (*CreateWorkloadDomainOptions) SetResourceGroup

func (_options *CreateWorkloadDomainOptions) SetResourceGroup(resourceGroup string) *CreateWorkloadDomainOptions

SetResourceGroup : Allow user to set ResourceGroup

func (*CreateWorkloadDomainOptions) SetXGlobalTransactionID

func (_options *CreateWorkloadDomainOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *CreateWorkloadDomainOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type DataCenterInfo

type DataCenterInfo struct {
	// The display name of the data center.
	DisplayName *string `json:"display_name,omitempty"`

	// The name of the data center.
	Name *string `json:"name,omitempty"`

	// The speed available per data center.
	UplinkSpeed *string `json:"uplink_speed,omitempty"`
}

DataCenterInfo : Details of the data center.

type DeleteVdcOptions

type DeleteVdcOptions struct {
	// A unique identifier for a given Virtual Data Center.
	VdcID *string `json:"vdc_id" validate:"required,ne="`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteVdcOptions : The DeleteVdc options.

func (*DeleteVdcOptions) SetAcceptLanguage

func (_options *DeleteVdcOptions) SetAcceptLanguage(acceptLanguage string) *DeleteVdcOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*DeleteVdcOptions) SetHeaders

func (options *DeleteVdcOptions) SetHeaders(param map[string]string) *DeleteVdcOptions

SetHeaders : Allow user to set Headers

func (*DeleteVdcOptions) SetVdcID

func (_options *DeleteVdcOptions) SetVdcID(vdcID string) *DeleteVdcOptions

SetVdcID : Allow user to set VdcID

type DeleteWorkloadDomainOptions

type DeleteWorkloadDomainOptions struct {
	// A unique identifier for the director site in which the Virtual Data Center was created.
	SiteID *string `json:"site_id" validate:"required,ne="`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteWorkloadDomainOptions : The DeleteWorkloadDomain options.

func (*DeleteWorkloadDomainOptions) SetAcceptLanguage

func (_options *DeleteWorkloadDomainOptions) SetAcceptLanguage(acceptLanguage string) *DeleteWorkloadDomainOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*DeleteWorkloadDomainOptions) SetHeaders

func (options *DeleteWorkloadDomainOptions) SetHeaders(param map[string]string) *DeleteWorkloadDomainOptions

SetHeaders : Allow user to set Headers

func (*DeleteWorkloadDomainOptions) SetSiteID

func (_options *DeleteWorkloadDomainOptions) SetSiteID(siteID string) *DeleteWorkloadDomainOptions

SetSiteID : Allow user to set SiteID

func (*DeleteWorkloadDomainOptions) SetXGlobalTransactionID

func (_options *DeleteWorkloadDomainOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *DeleteWorkloadDomainOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type DirectorSite

type DirectorSite struct {
	// ID of the director site.
	ID *string `json:"id,omitempty"`

	// The time that the instance is ordered.
	InstanceOrdered *string `json:"instance_ordered,omitempty"`

	// The time that the instance is created and available to use.
	InstanceCreated *string `json:"instance_created,omitempty"`

	// The name of director site. The name of the director site cannot be changed after creation.
	Name *string `json:"name,omitempty"`

	// The status of director site.
	Status *string `json:"status,omitempty"`

	// The name of the IBM resource group.
	ResourceGroup *string `json:"resource_group,omitempty"`

	// The email identity of the user that ordered the VMware as a Service director site instance.
	Requester *string `json:"requester,omitempty"`

	// The ID of the resource group.
	ResourceGroupID *string `json:"resource_group_id,omitempty"`

	// The CRN of the resource group.
	ResourceGroupCrn *string `json:"resource_group_crn,omitempty"`

	// The VMware clusters on the director site.
	Clusters []ClusterSummary `json:"clusters,omitempty"`
}

DirectorSite : A director site resource. The director site instance is the infrastructure and associated VMware software stack consisting of vCenter, NSX-T and VMware Cloud Director.

type DirectorSitePriceItem

type DirectorSitePriceItem struct {
	// The price for the metric.
	Price *float64 `json:"price,omitempty"`

	// Quantity tier.
	QuantityTier *int64 `json:"quantity_tier,omitempty"`
}

DirectorSitePriceItem : sub items for a metric and associated prices.

type DirectorSitePriceListItem

type DirectorSitePriceListItem struct {
	// The country for which this price applies.
	Country *string `json:"country,omitempty"`

	// The unit of currency for this price.
	Currency *string `json:"currency,omitempty"`

	// A list of prices.
	Prices []DirectorSitePriceItem `json:"prices,omitempty"`
}

DirectorSitePriceListItem : items for a metric and associated prices.

type DirectorSitePriceMetric

type DirectorSitePriceMetric struct {
	// The metric name.
	Metric *string `json:"metric,omitempty"`

	// The metric description.
	Description *string `json:"description,omitempty"`

	// A list of prices for each country.
	PriceList []DirectorSitePriceListItem `json:"price_list,omitempty"`
}

DirectorSitePriceMetric : A metric and associated prices.

type DirectorSitePriceQuoteClusterInfo

type DirectorSitePriceQuoteClusterInfo struct {
	// The name of the cluster.
	Name *string `json:"name,omitempty"`

	// The metric for the host configuration.
	HostProfile *string `json:"host_profile,omitempty"`

	// The number of hosts.
	HostCount *int64 `json:"host_count,omitempty"`

	// Chosen storage policies and their sizes.
	FileShares *FileShares `json:"file_shares,omitempty"`
}

DirectorSitePriceQuoteClusterInfo : VCDD instance cluster information for price calculation.

type DirectorSitePriceQuoteResponse

type DirectorSitePriceQuoteResponse struct {
	// Details of the instance base charge.
	BaseCharge *PriceInfoBaseCharge `json:"base_charge,omitempty"`

	// A list of the clusters with price information.
	Clusters []PriceInfoClusterCharge `json:"clusters,omitempty"`

	// The currency unit for this price.
	Currency *string `json:"currency,omitempty"`

	// The total price for the instance.
	Total *float64 `json:"total,omitempty"`
}

DirectorSitePriceQuoteResponse : Return price information for a VCDD instance.

type DirectorSitePricingInfo

type DirectorSitePricingInfo struct {
	// A list of metrics and associated prices.
	DirectorSitePricing []DirectorSitePriceMetric `json:"director_site_pricing,omitempty"`
}

DirectorSitePricingInfo : Return all metrics with associate prices.

type DirectorSiteRegions

type DirectorSiteRegions struct {
	// available region.
	DirectorSiteRegions map[string]RegionDetail `json:"director_site_regions,omitempty"`
}

DirectorSiteRegions : Success. The request was successfully processed.

type Edge

type Edge struct {
	// A unique identifier for the Edge.
	ID *string `json:"id" validate:"required"`

	// The public IP addresses assigned to the Edge.
	PublicIps []string `json:"public_ips" validate:"required"`

	// The size of the Edge.
	//
	// The size can only be specified for dedicated Edges. Larger sizes require more capacity from the director site in
	// which the Virtual Data Center was created to be deployed.
	Size *string `json:"size,omitempty"`

	// The type of Edge to be deployed.
	//
	// Shared Edges allow for multiple VDCs to share some Edge resources. Dedicated Edges do not share resources between
	// VDCs.
	Type *string `json:"type" validate:"required"`
}

Edge : A networking Edge deployed on a Virtual Data Center. Networking edges are based on NSX-T and used for bridging virtualize networking to the physical public-internet and IBM private networking.

type Error

type Error struct {
	// An error code specific to the error encountered.
	Code *string `json:"code" validate:"required"`

	// A message describing why the error ocurred.
	Message *string `json:"message" validate:"required"`

	// A URL that links to a page with more information about this error.
	MoreInfo *string `json:"more_info,omitempty"`
}

Error : Information about why a request cannot be completed or why a resource could not be created.

type FileShares

type FileShares struct {
	// The amount of 0.25 IOPS/GB storage in GB (1024^3 bytes).
	STORAGEPOINTTWOFIVEIOPSGB *int64 `json:"STORAGE_POINT_TWO_FIVE_IOPS_GB,omitempty"`

	// The amount of 2 IOPS/GB storage in GB (1024^3 bytes).
	STORAGETWOIOPSGB *int64 `json:"STORAGE_TWO_IOPS_GB,omitempty"`

	// The amount of 4 IOPS/GB storage in GB (1024^3 bytes).
	STORAGEFOURIOPSGB *int64 `json:"STORAGE_FOUR_IOPS_GB,omitempty"`

	// The amount of 10 IOPS/GB storage in GB (1024^3 bytes).
	STORAGETENIOPSGB *int64 `json:"STORAGE_TEN_IOPS_GB,omitempty"`
}

FileShares : Chosen storage policies and their sizes.

type GetRegionsOptions

type GetRegionsOptions struct {
	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetRegionsOptions : The GetRegions options.

func (*GetRegionsOptions) SetAcceptLanguage

func (_options *GetRegionsOptions) SetAcceptLanguage(acceptLanguage string) *GetRegionsOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*GetRegionsOptions) SetHeaders

func (options *GetRegionsOptions) SetHeaders(param map[string]string) *GetRegionsOptions

SetHeaders : Allow user to set Headers

func (*GetRegionsOptions) SetXGlobalTransactionID

func (_options *GetRegionsOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *GetRegionsOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type GetSpecificClusterInstanceOptions

type GetSpecificClusterInstanceOptions struct {
	// A unique identifier for the director site in which the Virtual Data Center was created.
	SiteID *string `json:"site_id" validate:"required,ne="`

	// The cluster to query.
	ClusterID *string `json:"cluster_id" validate:"required,ne="`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSpecificClusterInstanceOptions : The GetSpecificClusterInstance options.

func (*GetSpecificClusterInstanceOptions) SetAcceptLanguage

func (_options *GetSpecificClusterInstanceOptions) SetAcceptLanguage(acceptLanguage string) *GetSpecificClusterInstanceOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*GetSpecificClusterInstanceOptions) SetClusterID

SetClusterID : Allow user to set ClusterID

func (*GetSpecificClusterInstanceOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetSpecificClusterInstanceOptions) SetSiteID

SetSiteID : Allow user to set SiteID

func (*GetSpecificClusterInstanceOptions) SetXGlobalTransactionID

func (_options *GetSpecificClusterInstanceOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *GetSpecificClusterInstanceOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type GetSpecificWorkloadDomainInstanceOptions

type GetSpecificWorkloadDomainInstanceOptions struct {
	// A unique identifier for the director site in which the Virtual Data Center was created.
	SiteID *string `json:"site_id" validate:"required,ne="`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSpecificWorkloadDomainInstanceOptions : The GetSpecificWorkloadDomainInstance options.

func (*GetSpecificWorkloadDomainInstanceOptions) SetAcceptLanguage

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*GetSpecificWorkloadDomainInstanceOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetSpecificWorkloadDomainInstanceOptions) SetSiteID

SetSiteID : Allow user to set SiteID

func (*GetSpecificWorkloadDomainInstanceOptions) SetXGlobalTransactionID

func (_options *GetSpecificWorkloadDomainInstanceOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *GetSpecificWorkloadDomainInstanceOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type GetVcddPriceOptions

type GetVcddPriceOptions struct {
	// String representing the billing country.
	Country *string `json:"country,omitempty"`

	// The list of clusters.
	Clusters []DirectorSitePriceQuoteClusterInfo `json:"clusters,omitempty"`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVcddPriceOptions : The GetVcddPrice options.

func (*GetVcddPriceOptions) SetAcceptLanguage

func (_options *GetVcddPriceOptions) SetAcceptLanguage(acceptLanguage string) *GetVcddPriceOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*GetVcddPriceOptions) SetClusters

SetClusters : Allow user to set Clusters

func (*GetVcddPriceOptions) SetCountry

func (_options *GetVcddPriceOptions) SetCountry(country string) *GetVcddPriceOptions

SetCountry : Allow user to set Country

func (*GetVcddPriceOptions) SetHeaders

func (options *GetVcddPriceOptions) SetHeaders(param map[string]string) *GetVcddPriceOptions

SetHeaders : Allow user to set Headers

func (*GetVcddPriceOptions) SetXGlobalTransactionID

func (_options *GetVcddPriceOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *GetVcddPriceOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type GetVdcOptions

type GetVdcOptions struct {
	// A unique identifier for a given Virtual Data Center.
	VdcID *string `json:"vdc_id" validate:"required,ne="`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetVdcOptions : The GetVdc options.

func (*GetVdcOptions) SetAcceptLanguage

func (_options *GetVdcOptions) SetAcceptLanguage(acceptLanguage string) *GetVdcOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*GetVdcOptions) SetHeaders

func (options *GetVdcOptions) SetHeaders(param map[string]string) *GetVdcOptions

SetHeaders : Allow user to set Headers

func (*GetVdcOptions) SetVdcID

func (_options *GetVdcOptions) SetVdcID(vdcID string) *GetVdcOptions

SetVdcID : Allow user to set VdcID

type HostProfile

type HostProfile struct {
	// The name for this host profile.
	ProfileName *string `json:"profile_name,omitempty"`

	// The CPU type for this host profile.
	CpuType *string `json:"cpu_type,omitempty"`

	// The number of CPUs for this host profile.
	CpuCount *int64 `json:"cpu_count,omitempty"`

	// The RAM for this host profile in GB (1024^3 bytes).
	Ram *int64 `json:"ram,omitempty"`

	// The collection of the host profile disks.
	LocalDisks []HostProfileDisk `json:"local_disks,omitempty"`
}

HostProfile : Host profile template.

type HostProfileDisk

type HostProfileDisk struct {
	// The number of disks of this configuration for an instance with this profile.
	Quantity *int64 `json:"quantity,omitempty"`

	// The disk size in GB (1024^3 bytes).
	Size *int64 `json:"size,omitempty"`

	// The disk type and specifications.
	Type *string `json:"type,omitempty"`
}

HostProfileDisk : The host profile disk description. The host profile disk defines the properties of local disks in the host.

type ListClusterInstancesOptions

type ListClusterInstancesOptions struct {
	// A unique identifier for the director site in which the Virtual Data Center was created.
	SiteID *string `json:"site_id" validate:"required,ne="`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListClusterInstancesOptions : The ListClusterInstances options.

func (*ListClusterInstancesOptions) SetAcceptLanguage

func (_options *ListClusterInstancesOptions) SetAcceptLanguage(acceptLanguage string) *ListClusterInstancesOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*ListClusterInstancesOptions) SetHeaders

func (options *ListClusterInstancesOptions) SetHeaders(param map[string]string) *ListClusterInstancesOptions

SetHeaders : Allow user to set Headers

func (*ListClusterInstancesOptions) SetSiteID

func (_options *ListClusterInstancesOptions) SetSiteID(siteID string) *ListClusterInstancesOptions

SetSiteID : Allow user to set SiteID

func (*ListClusterInstancesOptions) SetXGlobalTransactionID

func (_options *ListClusterInstancesOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *ListClusterInstancesOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type ListClusters

type ListClusters struct {
	// list of cluster objects.
	Clusters []Cluster `json:"clusters,omitempty"`
}

ListClusters : Return all clusters instances.

type ListDirectorSites

type ListDirectorSites struct {
	// List of director site instances.
	DirectorSites []DirectorSite `json:"director_sites,omitempty"`
}

ListDirectorSites : Return all director site instances.

type ListHostProfiles

type ListHostProfiles struct {
	// The list of available host profiles.
	DirectorSiteHostProfiles []HostProfile `json:"director_site_host_profiles,omitempty"`
}

ListHostProfiles : Success. The request was successfully processed.

type ListPricesOptions

type ListPricesOptions struct {
	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListPricesOptions : The ListPrices options.

func (*ListPricesOptions) SetAcceptLanguage

func (_options *ListPricesOptions) SetAcceptLanguage(acceptLanguage string) *ListPricesOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*ListPricesOptions) SetHeaders

func (options *ListPricesOptions) SetHeaders(param map[string]string) *ListPricesOptions

SetHeaders : Allow user to set Headers

func (*ListPricesOptions) SetXGlobalTransactionID

func (_options *ListPricesOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *ListPricesOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type ListVDCs

type ListVDCs struct {
	// A List of Virtual Data Centers.
	Vdcs []VDC `json:"vdcs" validate:"required"`
}

ListVDCs : A list of Virtual Data Centers.

type ListVdcsOptions

type ListVdcsOptions struct {
	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListVdcsOptions : The ListVdcs options.

func (*ListVdcsOptions) SetAcceptLanguage

func (_options *ListVdcsOptions) SetAcceptLanguage(acceptLanguage string) *ListVdcsOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*ListVdcsOptions) SetHeaders

func (options *ListVdcsOptions) SetHeaders(param map[string]string) *ListVdcsOptions

SetHeaders : Allow user to set Headers

type ListWorkloadDomainInstancesOptions

type ListWorkloadDomainInstancesOptions struct {
	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListWorkloadDomainInstancesOptions : The ListWorkloadDomainInstances options.

func (*ListWorkloadDomainInstancesOptions) SetAcceptLanguage

func (_options *ListWorkloadDomainInstancesOptions) SetAcceptLanguage(acceptLanguage string) *ListWorkloadDomainInstancesOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*ListWorkloadDomainInstancesOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListWorkloadDomainInstancesOptions) SetXGlobalTransactionID

func (_options *ListWorkloadDomainInstancesOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *ListWorkloadDomainInstancesOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type NewPassword

type NewPassword struct {
	// The password used to log in to the VMware Cloud Director tenant portal.
	Password *string `json:"password" validate:"required"`
}

NewPassword : The new admin password used to log in to the VMware Cloud Director tenant portal. VMware Cloud Director has its own internal authentication and authorization model. The previous Director admin password is reset to a newly generated random password.

type NewVDCDirectorSite

type NewVDCDirectorSite struct {
	// A unique identifier for the director site.
	ID *string `json:"id" validate:"required"`

	// The cluster within the director site in which to deploy the Virtual Data Center.
	Cluster *VDCDirectorSiteCluster `json:"cluster" validate:"required"`
}

NewVDCDirectorSite : The director site in which to deploy the Virtual Data Center.

type NewVDCEdge

type NewVDCEdge struct {
	// The size of the Edge. Only used for Edges of type dedicated.
	Size *string `json:"size,omitempty"`

	// The type of Edge to be deployed on the Virtual Data Center.
	Type *string `json:"type" validate:"required"`
}

NewVDCEdge : The networking Edge to be deployed on the Virtual Data Center.

type NewVDCResourceGroup

type NewVDCResourceGroup struct {
	// A unique identifier for the resource group.
	ID *string `json:"id" validate:"required"`
}

NewVDCResourceGroup : The resource group to associate with the Virtual Data Center. If not specified, the default resource group in the account is used.

type PriceInfoBaseCharge

type PriceInfoBaseCharge struct {
	// The name of the metric that is being charged.
	Name *string `json:"name,omitempty"`

	// The unit of currency for this pric.
	Currency *string `json:"currency,omitempty"`

	// The price for this metric.
	Price *float64 `json:"price,omitempty"`
}

PriceInfoBaseCharge : Details of the instance base charge.

type PriceInfoClusterCharge

type PriceInfoClusterCharge struct {
	// The cluster name.
	Name *string `json:"name,omitempty"`

	// The unit of currency for this price.
	Currency *string `json:"currency,omitempty"`

	// The total price for this cluster.
	Price *float64 `json:"price,omitempty"`

	// A list of items that make up the cluster and their price information.
	Items []PriceInfoClusterItem `json:"items,omitempty"`
}

PriceInfoClusterCharge : A cluster for the instance and its price information.

type PriceInfoClusterItem

type PriceInfoClusterItem struct {
	// The item name.
	Name *string `json:"name,omitempty"`

	// The unit of currency for this price.
	Currency *string `json:"currency,omitempty"`

	// The total price for this item.
	Price *float64 `json:"price,omitempty"`

	// A list of subitems and their price information.
	Items []PriceInfoClusterSubItem `json:"items,omitempty"`
}

PriceInfoClusterItem : items for VCDD instance cluster price information.

type PriceInfoClusterSubItem

type PriceInfoClusterSubItem struct {
	// The metric that is being charged.
	Name *string `json:"name,omitempty"`

	// The number of items that this metric will be charged.
	Count *int64 `json:"count,omitempty"`

	// The unit of currency for this price.
	Currency *string `json:"currency,omitempty"`

	// The price for a single charge of this metric.
	Price *float64 `json:"price,omitempty"`
}

PriceInfoClusterSubItem : sub items for VCDD instance cluster price information.

type RegionDetail

type RegionDetail struct {
	// The datacenter details.
	Datacenters []DataCenterInfo `json:"datacenters,omitempty"`

	// Accessable endpoint of the region.
	Endpoint *string `json:"endpoint,omitempty"`
}

RegionDetail : The region details.

type ReplaceOrgAdminPasswordOptions

type ReplaceOrgAdminPasswordOptions struct {
	// A unique identifier for the director site.
	SiteID *string `json:"site_id" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ReplaceOrgAdminPasswordOptions : The ReplaceOrgAdminPassword options.

func (*ReplaceOrgAdminPasswordOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ReplaceOrgAdminPasswordOptions) SetSiteID

SetSiteID : Allow user to set SiteID

type SetFileSharesOptions

type SetFileSharesOptions struct {
	// A unique identifier for the director site in which the Virtual Data Center was created.
	SiteID *string `json:"site_id" validate:"required,ne="`

	// The cluster to query.
	ClusterID *string `json:"cluster_id" validate:"required,ne="`

	// The amount of 0.25 IOPS/GB storage in GB (1024^3 bytes).
	STORAGEPOINTTWOFIVEIOPSGB *int64 `json:"STORAGE_POINT_TWO_FIVE_IOPS_GB,omitempty"`

	// The amount of 2 IOPS/GB storage in GB (1024^3 bytes).
	STORAGETWOIOPSGB *int64 `json:"STORAGE_TWO_IOPS_GB,omitempty"`

	// The amount of 4 IOPS/GB storage in GB (1024^3 bytes).
	STORAGEFOURIOPSGB *int64 `json:"STORAGE_FOUR_IOPS_GB,omitempty"`

	// The amount of 10 IOPS/GB storage in GB (1024^3 bytes).
	STORAGETENIOPSGB *int64 `json:"STORAGE_TEN_IOPS_GB,omitempty"`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

SetFileSharesOptions : The SetFileShares options.

func (*SetFileSharesOptions) SetAcceptLanguage

func (_options *SetFileSharesOptions) SetAcceptLanguage(acceptLanguage string) *SetFileSharesOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*SetFileSharesOptions) SetClusterID

func (_options *SetFileSharesOptions) SetClusterID(clusterID string) *SetFileSharesOptions

SetClusterID : Allow user to set ClusterID

func (*SetFileSharesOptions) SetHeaders

func (options *SetFileSharesOptions) SetHeaders(param map[string]string) *SetFileSharesOptions

SetHeaders : Allow user to set Headers

func (*SetFileSharesOptions) SetSTORAGEFOURIOPSGB

func (_options *SetFileSharesOptions) SetSTORAGEFOURIOPSGB(sTORAGEFOURIOPSGB int64) *SetFileSharesOptions

SetSTORAGEFOURIOPSGB : Allow user to set STORAGEFOURIOPSGB

func (*SetFileSharesOptions) SetSTORAGEPOINTTWOFIVEIOPSGB

func (_options *SetFileSharesOptions) SetSTORAGEPOINTTWOFIVEIOPSGB(sTORAGEPOINTTWOFIVEIOPSGB int64) *SetFileSharesOptions

SetSTORAGEPOINTTWOFIVEIOPSGB : Allow user to set STORAGEPOINTTWOFIVEIOPSGB

func (*SetFileSharesOptions) SetSTORAGETENIOPSGB

func (_options *SetFileSharesOptions) SetSTORAGETENIOPSGB(sTORAGETENIOPSGB int64) *SetFileSharesOptions

SetSTORAGETENIOPSGB : Allow user to set STORAGETENIOPSGB

func (*SetFileSharesOptions) SetSTORAGETWOIOPSGB

func (_options *SetFileSharesOptions) SetSTORAGETWOIOPSGB(sTORAGETWOIOPSGB int64) *SetFileSharesOptions

SetSTORAGETWOIOPSGB : Allow user to set STORAGETWOIOPSGB

func (*SetFileSharesOptions) SetSiteID

func (_options *SetFileSharesOptions) SetSiteID(siteID string) *SetFileSharesOptions

SetSiteID : Allow user to set SiteID

func (*SetFileSharesOptions) SetXGlobalTransactionID

func (_options *SetFileSharesOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *SetFileSharesOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type SetHostsCountOptions

type SetHostsCountOptions struct {
	// A unique identifier for the director site in which the Virtual Data Center was created.
	SiteID *string `json:"site_id" validate:"required,ne="`

	// The cluster to query.
	ClusterID *string `json:"cluster_id" validate:"required,ne="`

	// count of hosts to add or remove on cluster.
	Count *int64 `json:"count" validate:"required"`

	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

SetHostsCountOptions : The SetHostsCount options.

func (*SetHostsCountOptions) SetAcceptLanguage

func (_options *SetHostsCountOptions) SetAcceptLanguage(acceptLanguage string) *SetHostsCountOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*SetHostsCountOptions) SetClusterID

func (_options *SetHostsCountOptions) SetClusterID(clusterID string) *SetHostsCountOptions

SetClusterID : Allow user to set ClusterID

func (*SetHostsCountOptions) SetCount

func (_options *SetHostsCountOptions) SetCount(count int64) *SetHostsCountOptions

SetCount : Allow user to set Count

func (*SetHostsCountOptions) SetHeaders

func (options *SetHostsCountOptions) SetHeaders(param map[string]string) *SetHostsCountOptions

SetHeaders : Allow user to set Headers

func (*SetHostsCountOptions) SetSiteID

func (_options *SetHostsCountOptions) SetSiteID(siteID string) *SetHostsCountOptions

SetSiteID : Allow user to set SiteID

func (*SetHostsCountOptions) SetXGlobalTransactionID

func (_options *SetHostsCountOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *SetHostsCountOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type SetHostsCountResponse

type SetHostsCountResponse struct {
	// Information of request accepted.
	Message *string `json:"message,omitempty"`
}

SetHostsCountResponse : Response of set hosts count.

type VDC

type VDC struct {
	// A unique identifier for the Virtual Data Center.
	ID *string `json:"id" validate:"required"`

	// Determines how resources are made available to the Virtual Data Center. VMware as a Services uses the VMware Cloud
	// Director Pay-As-You-Go (paygo) allocation model. With paygo, resources are committed as they are allocated by VMware
	// vApps and VMs. IaaS resources are not reserved until vApps and VMs are specifically defined to VMware Cloud
	// Director. The paygo model supports an optimal use of resources where resources are allocated on-demand as needed
	// rather than prereserved without use.
	AllocationModel *string `json:"allocation_model" validate:"required"`

	// The time after which the Virtual Data Center is considered usable.
	CreatedTime *strfmt.DateTime `json:"created_time" validate:"required"`

	// A unique identifier for the Virtual Data Center in IBM Cloud.
	Crn *string `json:"crn" validate:"required"`

	// The time after which the Virtual Data Center is no longer considered usable.
	DeletedTime *strfmt.DateTime `json:"deleted_time" validate:"required"`

	// The director site in which to deploy the Virtual Data Center.
	DirectorSite *VDCDirectorSite `json:"director_site" validate:"required"`

	// The VMware NSX-T networking Edges deployed on the Virtual Data Center. NSX-T edges are used for bridging virtualize
	// networking to the physical public-internet and IBM private networking.
	Edges []Edge `json:"edges" validate:"required"`

	// Information about why the request to create the Virtual Data Center cannot be completed.
	Errors []Error `json:"errors" validate:"required"`

	// A human readable identifier for the Virtual Data Center.
	Name *string `json:"name" validate:"required"`

	// The time at which the request to create the Virtual Data Center was made.
	OrderedTime *strfmt.DateTime `json:"ordered_time" validate:"required"`

	// The name of the VMware Cloud Director organization containing this Virtual Data Center. VMware Cloud Director
	// organizations are used to create strong boundaries between virtual data centers. There is a complete isolation of
	// user administration, networking, workloads and VMware Cloud Director catalogs between different Director
	// organizations.
	OrgName *string `json:"org_name" validate:"required"`

	// Determines the state the Virtual Data Center is currently in.
	Status *string `json:"status" validate:"required"`

	// Determines if this Virtual Data Center is in a single-tenant or multi-tenant director site.
	Type *string `json:"type" validate:"required"`
}

VDC : A VMware Virtual Data Center (VDC). VMware VDCs are used to deploy and run VMware virtualized networking and run VMware workloads. VMware VDCs form loose boundaries of networking and workload where networking and workload can be shared or optionally isolated between VDCs. You can deploy one or more VDCs in an instance except when using the minimal instance configuration consisting of 2 hosts (2-Socket 32 Cores, 192 GB RAM). With the minimal instance configuration you can start with just one VDC and a performance network edge of medium size until additional hosts are added to the cluster.

type VDCDirectorSite

type VDCDirectorSite struct {
	// A unique identifier for the director site.
	ID *string `json:"id" validate:"required"`

	// The cluster within the director site in which to deploy the Virtual Data Center.
	Cluster *VDCDirectorSiteCluster `json:"cluster" validate:"required"`

	// The URL of the VMware Cloud Director tenant portal where this Virtual Data Center can be managed.
	URL *string `json:"url" validate:"required"`
}

VDCDirectorSite : The director site in which to deploy the Virtual Data Center.

type VDCDirectorSiteCluster

type VDCDirectorSiteCluster struct {
	// A unique identifier for the cluster.
	ID *string `json:"id" validate:"required"`
}

VDCDirectorSiteCluster : The cluster within the director site in which to deploy the Virtual Data Center.

type ViewInstanceOptions

type ViewInstanceOptions struct {
	// Language.
	AcceptLanguage *string `json:"Accept-Language,omitempty"`

	// Transaction id.
	XGlobalTransactionID *string `json:"X-Global-Transaction-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ViewInstanceOptions : The ViewInstance options.

func (*ViewInstanceOptions) SetAcceptLanguage

func (_options *ViewInstanceOptions) SetAcceptLanguage(acceptLanguage string) *ViewInstanceOptions

SetAcceptLanguage : Allow user to set AcceptLanguage

func (*ViewInstanceOptions) SetHeaders

func (options *ViewInstanceOptions) SetHeaders(param map[string]string) *ViewInstanceOptions

SetHeaders : Allow user to set Headers

func (*ViewInstanceOptions) SetXGlobalTransactionID

func (_options *ViewInstanceOptions) SetXGlobalTransactionID(xGlobalTransactionID string) *ViewInstanceOptions

SetXGlobalTransactionID : Allow user to set XGlobalTransactionID

type VmwareV1

type VmwareV1 struct {
	Service *core.BaseService
}

VmwareV1 : IBM Cloud for VMware as a Service API

API Version: 1.0

func NewVmwareV1

func NewVmwareV1(options *VmwareV1Options) (service *VmwareV1, err error)

NewVmwareV1 : constructs an instance of VmwareV1 with passed in options.

func NewVmwareV1UsingExternalConfig

func NewVmwareV1UsingExternalConfig(options *VmwareV1Options) (vmware *VmwareV1, err error)

NewVmwareV1UsingExternalConfig : constructs an instance of VmwareV1 with passed in options and external configuration.

func (*VmwareV1) Clone

func (vmware *VmwareV1) Clone() *VmwareV1

Clone makes a copy of "vmware" suitable for processing requests.

func (*VmwareV1) CreateVdc

func (vmware *VmwareV1) CreateVdc(createVdcOptions *CreateVdcOptions) (result *VDC, response *core.DetailedResponse, err error)

CreateVdc : Create a Virtual Data Center Create a new Virtual Data Center with specified configurations.

func (*VmwareV1) CreateVdcWithContext

func (vmware *VmwareV1) CreateVdcWithContext(ctx context.Context, createVdcOptions *CreateVdcOptions) (result *VDC, response *core.DetailedResponse, err error)

CreateVdcWithContext is an alternate form of the CreateVdc method which supports a Context parameter

func (*VmwareV1) CreateWorkloadDomain

func (vmware *VmwareV1) CreateWorkloadDomain(createWorkloadDomainOptions *CreateWorkloadDomainOptions) (result *DirectorSite, response *core.DetailedResponse, err error)

CreateWorkloadDomain : Create a director site instance Create a new instance of a director site with specified configurations. The director site instance is the infrastructure and associated VMware software stack consisting of vCenter, NSX-T, and VMware Cloud Director. VMware platform management and operations are performed with VMware Cloud Director. The minimum initial order size is 2 hosts (2-Socket 32 Cores, 192 GB RAM) with 24 TB of 2.0 IOPS/GB storage.

func (*VmwareV1) CreateWorkloadDomainWithContext

func (vmware *VmwareV1) CreateWorkloadDomainWithContext(ctx context.Context, createWorkloadDomainOptions *CreateWorkloadDomainOptions) (result *DirectorSite, response *core.DetailedResponse, err error)

CreateWorkloadDomainWithContext is an alternate form of the CreateWorkloadDomain method which supports a Context parameter

func (*VmwareV1) DeleteVdc

func (vmware *VmwareV1) DeleteVdc(deleteVdcOptions *DeleteVdcOptions) (result *VDC, response *core.DetailedResponse, err error)

DeleteVdc : Delete a Virtual Data Center Delete a Virtual Data Center by specifying the VDC ID.

func (*VmwareV1) DeleteVdcWithContext

func (vmware *VmwareV1) DeleteVdcWithContext(ctx context.Context, deleteVdcOptions *DeleteVdcOptions) (result *VDC, response *core.DetailedResponse, err error)

DeleteVdcWithContext is an alternate form of the DeleteVdc method which supports a Context parameter

func (*VmwareV1) DeleteWorkloadDomain

func (vmware *VmwareV1) DeleteWorkloadDomain(deleteWorkloadDomainOptions *DeleteWorkloadDomainOptions) (result *DirectorSite, response *core.DetailedResponse, err error)

DeleteWorkloadDomain : Delete a director site instance Delete a director site instance by specifying the instance ID.

func (*VmwareV1) DeleteWorkloadDomainWithContext

func (vmware *VmwareV1) DeleteWorkloadDomainWithContext(ctx context.Context, deleteWorkloadDomainOptions *DeleteWorkloadDomainOptions) (result *DirectorSite, response *core.DetailedResponse, err error)

DeleteWorkloadDomainWithContext is an alternate form of the DeleteWorkloadDomain method which supports a Context parameter

func (*VmwareV1) DisableRetries

func (vmware *VmwareV1) DisableRetries()

DisableRetries disables automatic retries for requests invoked for this service instance.

func (*VmwareV1) EnableRetries

func (vmware *VmwareV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)

EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.

func (*VmwareV1) GetEnableGzipCompression

func (vmware *VmwareV1) GetEnableGzipCompression() bool

GetEnableGzipCompression returns the service's EnableGzipCompression field

func (*VmwareV1) GetRegions

func (vmware *VmwareV1) GetRegions(getRegionsOptions *GetRegionsOptions) (result *DirectorSiteRegions, response *core.DetailedResponse, err error)

GetRegions : List regions List all IBM Cloud regions enabled for users to create a new director site instance.

func (*VmwareV1) GetRegionsWithContext

func (vmware *VmwareV1) GetRegionsWithContext(ctx context.Context, getRegionsOptions *GetRegionsOptions) (result *DirectorSiteRegions, response *core.DetailedResponse, err error)

GetRegionsWithContext is an alternate form of the GetRegions method which supports a Context parameter

func (*VmwareV1) GetServiceURL

func (vmware *VmwareV1) GetServiceURL() string

GetServiceURL returns the service URL

func (*VmwareV1) GetSpecificClusterInstance

func (vmware *VmwareV1) GetSpecificClusterInstance(getSpecificClusterInstanceOptions *GetSpecificClusterInstanceOptions) (result *Cluster, response *core.DetailedResponse, err error)

GetSpecificClusterInstance : Get a cluster Get a specific VMware cluster from the director site instance.

func (*VmwareV1) GetSpecificClusterInstanceWithContext

func (vmware *VmwareV1) GetSpecificClusterInstanceWithContext(ctx context.Context, getSpecificClusterInstanceOptions *GetSpecificClusterInstanceOptions) (result *Cluster, response *core.DetailedResponse, err error)

GetSpecificClusterInstanceWithContext is an alternate form of the GetSpecificClusterInstance method which supports a Context parameter

func (*VmwareV1) GetSpecificWorkloadDomainInstance

func (vmware *VmwareV1) GetSpecificWorkloadDomainInstance(getSpecificWorkloadDomainInstanceOptions *GetSpecificWorkloadDomainInstanceOptions) (result *DirectorSite, response *core.DetailedResponse, err error)

GetSpecificWorkloadDomainInstance : Get a director site instance Get a director site instance by specifying the instance ID.

func (*VmwareV1) GetSpecificWorkloadDomainInstanceWithContext

func (vmware *VmwareV1) GetSpecificWorkloadDomainInstanceWithContext(ctx context.Context, getSpecificWorkloadDomainInstanceOptions *GetSpecificWorkloadDomainInstanceOptions) (result *DirectorSite, response *core.DetailedResponse, err error)

GetSpecificWorkloadDomainInstanceWithContext is an alternate form of the GetSpecificWorkloadDomainInstance method which supports a Context parameter

func (*VmwareV1) GetVcddPrice

func (vmware *VmwareV1) GetVcddPrice(getVcddPriceOptions *GetVcddPriceOptions) (result *DirectorSitePriceQuoteResponse, response *core.DetailedResponse, err error)

GetVcddPrice : Quote price Quote price for a specific director site instance configuration.

func (*VmwareV1) GetVcddPriceWithContext

func (vmware *VmwareV1) GetVcddPriceWithContext(ctx context.Context, getVcddPriceOptions *GetVcddPriceOptions) (result *DirectorSitePriceQuoteResponse, response *core.DetailedResponse, err error)

GetVcddPriceWithContext is an alternate form of the GetVcddPrice method which supports a Context parameter

func (*VmwareV1) GetVdc

func (vmware *VmwareV1) GetVdc(getVdcOptions *GetVdcOptions) (result *VDC, response *core.DetailedResponse, err error)

GetVdc : Get a Virtual Data Center Get details about a Virtual Data Center by specifying the VDC ID.

func (*VmwareV1) GetVdcWithContext

func (vmware *VmwareV1) GetVdcWithContext(ctx context.Context, getVdcOptions *GetVdcOptions) (result *VDC, response *core.DetailedResponse, err error)

GetVdcWithContext is an alternate form of the GetVdc method which supports a Context parameter

func (*VmwareV1) ListClusterInstances

func (vmware *VmwareV1) ListClusterInstances(listClusterInstancesOptions *ListClusterInstancesOptions) (result *ListClusters, response *core.DetailedResponse, err error)

ListClusterInstances : List clusters List all VMware clusters of a director site instance by specifying the ID of the instance.

func (*VmwareV1) ListClusterInstancesWithContext

func (vmware *VmwareV1) ListClusterInstancesWithContext(ctx context.Context, listClusterInstancesOptions *ListClusterInstancesOptions) (result *ListClusters, response *core.DetailedResponse, err error)

ListClusterInstancesWithContext is an alternate form of the ListClusterInstances method which supports a Context parameter

func (*VmwareV1) ListPrices

func (vmware *VmwareV1) ListPrices(listPricesOptions *ListPricesOptions) (result *DirectorSitePricingInfo, response *core.DetailedResponse, err error)

ListPrices : List billing metrics List all billing metrics and associated prices.

func (*VmwareV1) ListPricesWithContext

func (vmware *VmwareV1) ListPricesWithContext(ctx context.Context, listPricesOptions *ListPricesOptions) (result *DirectorSitePricingInfo, response *core.DetailedResponse, err error)

ListPricesWithContext is an alternate form of the ListPrices method which supports a Context parameter

func (*VmwareV1) ListVdcs

func (vmware *VmwareV1) ListVdcs(listVdcsOptions *ListVdcsOptions) (result *ListVDCs, response *core.DetailedResponse, err error)

ListVdcs : List Virtual Data Centers List all Virtual Data Centers that user has access to in the cloud account.

func (*VmwareV1) ListVdcsWithContext

func (vmware *VmwareV1) ListVdcsWithContext(ctx context.Context, listVdcsOptions *ListVdcsOptions) (result *ListVDCs, response *core.DetailedResponse, err error)

ListVdcsWithContext is an alternate form of the ListVdcs method which supports a Context parameter

func (*VmwareV1) ListWorkloadDomainInstances

func (vmware *VmwareV1) ListWorkloadDomainInstances(listWorkloadDomainInstancesOptions *ListWorkloadDomainInstancesOptions) (result *ListDirectorSites, response *core.DetailedResponse, err error)

ListWorkloadDomainInstances : List director site instances List all VMware director site instances that the user can access in the cloud account.

func (*VmwareV1) ListWorkloadDomainInstancesWithContext

func (vmware *VmwareV1) ListWorkloadDomainInstancesWithContext(ctx context.Context, listWorkloadDomainInstancesOptions *ListWorkloadDomainInstancesOptions) (result *ListDirectorSites, response *core.DetailedResponse, err error)

ListWorkloadDomainInstancesWithContext is an alternate form of the ListWorkloadDomainInstances method which supports a Context parameter

func (*VmwareV1) NewClusterOrderInfo

func (*VmwareV1) NewClusterOrderInfo(name string, location string, hostCount int64, fileShares *FileShares, hostProfile string) (_model *ClusterOrderInfo, err error)

NewClusterOrderInfo : Instantiate ClusterOrderInfo (Generic Model Constructor)

func (*VmwareV1) NewCreateVdcOptions

func (*VmwareV1) NewCreateVdcOptions(name string, directorSite *NewVDCDirectorSite) *CreateVdcOptions

NewCreateVdcOptions : Instantiate CreateVdcOptions

func (*VmwareV1) NewCreateWorkloadDomainOptions

func (*VmwareV1) NewCreateWorkloadDomainOptions(name string, resourceGroup string, clusters []ClusterOrderInfo) *CreateWorkloadDomainOptions

NewCreateWorkloadDomainOptions : Instantiate CreateWorkloadDomainOptions

func (*VmwareV1) NewDeleteVdcOptions

func (*VmwareV1) NewDeleteVdcOptions(vdcID string) *DeleteVdcOptions

NewDeleteVdcOptions : Instantiate DeleteVdcOptions

func (*VmwareV1) NewDeleteWorkloadDomainOptions

func (*VmwareV1) NewDeleteWorkloadDomainOptions(siteID string) *DeleteWorkloadDomainOptions

NewDeleteWorkloadDomainOptions : Instantiate DeleteWorkloadDomainOptions

func (*VmwareV1) NewGetRegionsOptions

func (*VmwareV1) NewGetRegionsOptions() *GetRegionsOptions

NewGetRegionsOptions : Instantiate GetRegionsOptions

func (*VmwareV1) NewGetSpecificClusterInstanceOptions

func (*VmwareV1) NewGetSpecificClusterInstanceOptions(siteID string, clusterID string) *GetSpecificClusterInstanceOptions

NewGetSpecificClusterInstanceOptions : Instantiate GetSpecificClusterInstanceOptions

func (*VmwareV1) NewGetSpecificWorkloadDomainInstanceOptions

func (*VmwareV1) NewGetSpecificWorkloadDomainInstanceOptions(siteID string) *GetSpecificWorkloadDomainInstanceOptions

NewGetSpecificWorkloadDomainInstanceOptions : Instantiate GetSpecificWorkloadDomainInstanceOptions

func (*VmwareV1) NewGetVcddPriceOptions

func (*VmwareV1) NewGetVcddPriceOptions() *GetVcddPriceOptions

NewGetVcddPriceOptions : Instantiate GetVcddPriceOptions

func (*VmwareV1) NewGetVdcOptions

func (*VmwareV1) NewGetVdcOptions(vdcID string) *GetVdcOptions

NewGetVdcOptions : Instantiate GetVdcOptions

func (*VmwareV1) NewListClusterInstancesOptions

func (*VmwareV1) NewListClusterInstancesOptions(siteID string) *ListClusterInstancesOptions

NewListClusterInstancesOptions : Instantiate ListClusterInstancesOptions

func (*VmwareV1) NewListPricesOptions

func (*VmwareV1) NewListPricesOptions() *ListPricesOptions

NewListPricesOptions : Instantiate ListPricesOptions

func (*VmwareV1) NewListVdcsOptions

func (*VmwareV1) NewListVdcsOptions() *ListVdcsOptions

NewListVdcsOptions : Instantiate ListVdcsOptions

func (*VmwareV1) NewListWorkloadDomainInstancesOptions

func (*VmwareV1) NewListWorkloadDomainInstancesOptions() *ListWorkloadDomainInstancesOptions

NewListWorkloadDomainInstancesOptions : Instantiate ListWorkloadDomainInstancesOptions

func (*VmwareV1) NewNewVDCDirectorSite

func (*VmwareV1) NewNewVDCDirectorSite(id string, cluster *VDCDirectorSiteCluster) (_model *NewVDCDirectorSite, err error)

NewNewVDCDirectorSite : Instantiate NewVDCDirectorSite (Generic Model Constructor)

func (*VmwareV1) NewNewVDCEdge

func (*VmwareV1) NewNewVDCEdge(typeVar string) (_model *NewVDCEdge, err error)

NewNewVDCEdge : Instantiate NewVDCEdge (Generic Model Constructor)

func (*VmwareV1) NewNewVDCResourceGroup

func (*VmwareV1) NewNewVDCResourceGroup(id string) (_model *NewVDCResourceGroup, err error)

NewNewVDCResourceGroup : Instantiate NewVDCResourceGroup (Generic Model Constructor)

func (*VmwareV1) NewReplaceOrgAdminPasswordOptions

func (*VmwareV1) NewReplaceOrgAdminPasswordOptions(siteID string) *ReplaceOrgAdminPasswordOptions

NewReplaceOrgAdminPasswordOptions : Instantiate ReplaceOrgAdminPasswordOptions

func (*VmwareV1) NewSetFileSharesOptions

func (*VmwareV1) NewSetFileSharesOptions(siteID string, clusterID string) *SetFileSharesOptions

NewSetFileSharesOptions : Instantiate SetFileSharesOptions

func (*VmwareV1) NewSetHostsCountOptions

func (*VmwareV1) NewSetHostsCountOptions(siteID string, clusterID string, count int64) *SetHostsCountOptions

NewSetHostsCountOptions : Instantiate SetHostsCountOptions

func (*VmwareV1) NewVDCDirectorSiteCluster

func (*VmwareV1) NewVDCDirectorSiteCluster(id string) (_model *VDCDirectorSiteCluster, err error)

NewVDCDirectorSiteCluster : Instantiate VDCDirectorSiteCluster (Generic Model Constructor)

func (*VmwareV1) NewViewInstanceOptions

func (*VmwareV1) NewViewInstanceOptions() *ViewInstanceOptions

NewViewInstanceOptions : Instantiate ViewInstanceOptions

func (*VmwareV1) ReplaceOrgAdminPassword

func (vmware *VmwareV1) ReplaceOrgAdminPassword(replaceOrgAdminPasswordOptions *ReplaceOrgAdminPasswordOptions) (result *NewPassword, response *core.DetailedResponse, err error)

ReplaceOrgAdminPassword : Replace the password of VMware Cloud Director tenant portal Replace the admin password used to log on to the VMware Cloud Director tenant portal and return the new value. VMware Cloud Director has its own authentication and authorization model. The first time that you access the VMware Cloud Director console you must set the admin credentials to generate an initial, complex, and random password. After the first admin password is generated, the VMware Cloud Director console option is enabled on the VDC details page. IBM Cloud does not capture the password. If the password is lost it needs to be reset.

func (*VmwareV1) ReplaceOrgAdminPasswordWithContext

func (vmware *VmwareV1) ReplaceOrgAdminPasswordWithContext(ctx context.Context, replaceOrgAdminPasswordOptions *ReplaceOrgAdminPasswordOptions) (result *NewPassword, response *core.DetailedResponse, err error)

ReplaceOrgAdminPasswordWithContext is an alternate form of the ReplaceOrgAdminPassword method which supports a Context parameter

func (*VmwareV1) SetDefaultHeaders

func (vmware *VmwareV1) SetDefaultHeaders(headers http.Header)

SetDefaultHeaders sets HTTP headers to be sent in every request

func (*VmwareV1) SetEnableGzipCompression

func (vmware *VmwareV1) SetEnableGzipCompression(enableGzip bool)

SetEnableGzipCompression sets the service's EnableGzipCompression field

func (*VmwareV1) SetFileShares

func (vmware *VmwareV1) SetFileShares(setFileSharesOptions *SetFileSharesOptions) (result *FileShares, response *core.DetailedResponse, err error)

SetFileShares : Update the file storage shares of a cluster Update the file_shares of a specific cluster in a specific director site instance.

func (*VmwareV1) SetFileSharesWithContext

func (vmware *VmwareV1) SetFileSharesWithContext(ctx context.Context, setFileSharesOptions *SetFileSharesOptions) (result *FileShares, response *core.DetailedResponse, err error)

SetFileSharesWithContext is an alternate form of the SetFileShares method which supports a Context parameter

func (*VmwareV1) SetHostsCount

func (vmware *VmwareV1) SetHostsCount(setHostsCountOptions *SetHostsCountOptions) (result *SetHostsCountResponse, response *core.DetailedResponse, err error)

SetHostsCount : Update the number of hosts of a cluster Update the number of hosts of a specific cluster in a specific director site instance. VMware clusters must have between [2-25] hosts.

func (*VmwareV1) SetHostsCountWithContext

func (vmware *VmwareV1) SetHostsCountWithContext(ctx context.Context, setHostsCountOptions *SetHostsCountOptions) (result *SetHostsCountResponse, response *core.DetailedResponse, err error)

SetHostsCountWithContext is an alternate form of the SetHostsCount method which supports a Context parameter

func (*VmwareV1) SetServiceURL

func (vmware *VmwareV1) SetServiceURL(url string) error

SetServiceURL sets the service URL

func (*VmwareV1) ViewInstance

func (vmware *VmwareV1) ViewInstance(viewInstanceOptions *ViewInstanceOptions) (result *ListHostProfiles, response *core.DetailedResponse, err error)

ViewInstance : List host profiles List available host profiles that could be used when creating a director site instance. IBM Cloud offers several different host types. Typically, the host type is selected based on the properties of the workload to be run in the VMware cluster.

func (*VmwareV1) ViewInstanceWithContext

func (vmware *VmwareV1) ViewInstanceWithContext(ctx context.Context, viewInstanceOptions *ViewInstanceOptions) (result *ListHostProfiles, response *core.DetailedResponse, err error)

ViewInstanceWithContext is an alternate form of the ViewInstance method which supports a Context parameter

type VmwareV1Options

type VmwareV1Options struct {
	ServiceName   string
	URL           string
	Authenticator core.Authenticator
}

VmwareV1Options : Service options

Jump to

Keyboard shortcuts

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