catalog

package
v0.18.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MPL-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package catalog provides a Terraform datasource.

Package catalog provides a Terraform resource.

Package catalog provides a Terraform resource to manage catalogs.

Package catalog provides a Terraform resource to manage catalogs.

Package catalog provides a Terraform datasource.

Package catalog provides a Terraform datasource.

Package catalog provides a Terraform datasource.

Package catalog provides a Terraform datasource.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewACLDataSource added in v0.9.0

func NewACLDataSource() datasource.DataSource

func NewACLResource added in v0.9.0

func NewACLResource() resource.Resource

NewACLResource is a helper function to simplify the provider implementation.

func NewCatalogDataSource

func NewCatalogDataSource() datasource.DataSource

NewCatalogDataSource returns a new resource implementing the catalog data source.

func NewCatalogMediaDataSource

func NewCatalogMediaDataSource() datasource.DataSource

func NewCatalogMediasDataSource

func NewCatalogMediasDataSource() datasource.DataSource

func NewCatalogResource

func NewCatalogResource() resource.Resource

NewCatalogResource is a helper function to simplify the provider implementation.

func NewCatalogsDataSource

func NewCatalogsDataSource() datasource.DataSource

func NewVAppTemplateDataSource

func NewVAppTemplateDataSource() datasource.DataSource

Types

type ACLModel added in v0.9.0

type ACLModel struct {
	CatalogID           supertypes.StringValue    `tfsdk:"catalog_id"`
	CatalogName         supertypes.StringValue    `tfsdk:"catalog_name"`
	EveryoneAccessLevel supertypes.StringValue    `tfsdk:"everyone_access_level"`
	ID                  supertypes.StringValue    `tfsdk:"id"`
	SharedWithEveryone  supertypes.BoolValue      `tfsdk:"shared_with_everyone"`
	SharedWithUsers     supertypes.SetNestedValue `tfsdk:"shared_with_users"`
}

func NewCatalogACL added in v0.9.0

func NewCatalogACL(t any) *ACLModel

func (*ACLModel) Copy added in v0.9.0

func (rm *ACLModel) Copy() *ACLModel

func (*ACLModel) GetSharedWithUsers added in v0.9.0

func (rm *ACLModel) GetSharedWithUsers(ctx context.Context) (values ACLModelSharedWithUsers, diags diag.Diagnostics)

GetSharedWithUsers returns the value of the SharedWithUsers field.

func (*ACLModel) ToControlAccessParams added in v0.9.0

func (rm *ACLModel) ToControlAccessParams(ctx context.Context, adminOrg adminorg.AdminOrg) (values govcdtypes.ControlAccessParams, diags diag.Diagnostics)

ToControlAccessParams converts the ACLModel to govcdtypes.ControlAccessParams.

type ACLModelSharedWithUser added in v0.9.0

type ACLModelSharedWithUser struct {
	AccessLevel supertypes.StringValue `tfsdk:"access_level"`
	UserID      supertypes.StringValue `tfsdk:"user_id"`
}

* SharedWithUsers.

type ACLModelSharedWithUsers added in v0.9.0

type ACLModelSharedWithUsers []ACLModelSharedWithUser

* SharedWithUsers.

type VAPPTemplateModel added in v0.9.0

type VAPPTemplateModel struct {
	CatalogID    supertypes.StringValue `tfsdk:"catalog_id"`
	CatalogName  supertypes.StringValue `tfsdk:"catalog_name"`
	CreatedAt    supertypes.StringValue `tfsdk:"created_at"`
	Description  supertypes.StringValue `tfsdk:"description"`
	ID           supertypes.StringValue `tfsdk:"id"`
	TemplateID   supertypes.StringValue `tfsdk:"template_id"`
	VMNames      supertypes.SetValue    `tfsdk:"vm_names"`
	TemplateName supertypes.StringValue `tfsdk:"template_name"`
}

func NewCatalogVappTemplate added in v0.9.0

func NewCatalogVappTemplate(t any) *VAPPTemplateModel

func (*VAPPTemplateModel) Copy added in v0.9.0

func (*VAPPTemplateModel) GetVMNames added in v0.9.0

func (rm *VAPPTemplateModel) GetVMNames(ctx context.Context) (values VAPPTemplateModelVMNames, diags diag.Diagnostics)

GetVmNames returns the value of the VmNames field.

type VAPPTemplateModelVMNames added in v0.9.0

type VAPPTemplateModelVMNames []supertypes.StringValue

Jump to

Keyboard shortcuts

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