vdc

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Schema

func Schema() schemaR.StringAttribute

Schema

Optional: true
Computed: true
RequiresReplace
UseStateForUnknown

func SuperSchema

func SuperSchema() superschema.StringAttribute

SuperSchema

For the resource :
Optional: true
Computed: true
RequiresReplace
UseStateForUnknown

For the data source :
Optional: true
Computed: true

Types

type VDC

type VDC struct {
	*client.VDC
	// contains filtered or unexported fields
}

func Init

Init

If vDC is not defined at data source level, use the one defined at provider level.

func (*VDC) FindStorageProfileID

func (v *VDC) FindStorageProfileID(storageProfileName string) (string, error)

GetStorageProfileID returns the storage profile ID.

func (*VDC) GetStorageProfile

func (v *VDC) GetStorageProfile(storageProfileID string, refresh bool) (*govcdtypes.CatalogStorageProfiles, error)

GetStorageProfile returns the storage profile.

func (*VDC) GetStorageProfileReference

func (v *VDC) GetStorageProfileReference(storageProfileID string, refresh bool) (*govcdtypes.Reference, error)

GetStorageProfileReference returns the storage profile reference.

Jump to

Keyboard shortcuts

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