Documentation ¶
Index ¶
Constants ¶
View Source
const (
SchemaStorageProfile = "storage_profile"
)
Variables ¶
View Source
var ( ErrStorageProfileIDIsEmpty = errors.New("storage profile ID is empty") ErrStorageProfileNotFound = errors.New("storage profile not found") )
Functions ¶
func Schema ¶
func Schema(opts ...common.AttributeOpts) schema.Attribute
Schema
returns the schema.Attribute for the storage profile. Default values are : - Optional: true - Computed: false - Required: false You can override the default values by using the following options: - IsComputed() - IsRequired() - IsOptional() If the override is define all the default values are set to false.
Types ¶
type Handler ¶
type Handler interface { GetStorageProfile(storageProfileID string, refresh bool) (*govcdtypes.CatalogStorageProfiles, error) GetStorageProfileReference(storageProfileID string, refresh bool) (*govcdtypes.Reference, error) FindStorageProfileID(storageProfileName string) (string, error) }
Click to show internal directories.
Click to hide internal directories.