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 ¶
- func NewACLDataSource() datasource.DataSource
- func NewACLResource() resource.Resource
- func NewCatalogDataSource() datasource.DataSource
- func NewCatalogMediaDataSource() datasource.DataSource
- func NewCatalogMediasDataSource() datasource.DataSource
- func NewCatalogResource() resource.Resource
- func NewCatalogsDataSource() datasource.DataSource
- func NewVAppTemplateDataSource() datasource.DataSource
- type ACLModel
- func (rm *ACLModel) Copy() *ACLModel
- func (rm *ACLModel) GetSharedWithUsers(ctx context.Context) (values ACLModelSharedWithUsers, diags diag.Diagnostics)
- func (rm *ACLModel) ToControlAccessParams(ctx context.Context, adminOrg adminorg.AdminOrg) (values govcdtypes.ControlAccessParams, diags diag.Diagnostics)
- type ACLModelSharedWithUser
- type ACLModelSharedWithUsers
- type VAPPTemplateModel
- type VAPPTemplateModelVMNames
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
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 ¶
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"` }
func NewCatalogACL ¶ added in v0.9.0
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 {}
* 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 (rm *VAPPTemplateModel) Copy() *VAPPTemplateModel
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
Source Files ¶
- acl_datasource.go
- acl_resource.go
- acl_schema.go
- acl_types.go
- base.go
- catalog_datasource.go
- catalog_resource.go
- catalog_schema.go
- catalog_types.go
- catalog_vapp_template_datasource.go
- catalog_vapp_template_schema.go
- catalog_vapp_template_types.go
- catalogs_datasource.go
- catalogs_schema.go
- catalogs_types.go
- media_datasource.go
- media_schema.go
- media_types.go
- medias_datasource.go
- medias_schema.go
- medias_types.go