vdc

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: 32 Imported by: 0

Documentation

Overview

Package vdc provides a Terraform resource.

Package vdc provides a resource to manage VDCs.

Package vdc provides a Terraform datasource.

Package vdc provides a Terraform resource.

Package vdc provides a resource to manage VDCs.

Package vdc provides a resource to manage VDCs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewACLResource

func NewACLResource() resource.Resource

NewACLResource is a helper function to simplify the provider implementation.

func NewGroupDataSource added in v0.12.0

func NewGroupDataSource() datasource.DataSource

func NewGroupResource added in v0.9.0

func NewGroupResource() resource.Resource

NewGroupResource is a helper function to simplify the provider implementation.

func NewVDCDataSource

func NewVDCDataSource() datasource.DataSource

NewVDCDataSource returns a new resource implementing the vdcs data source.

func NewVDCResource

func NewVDCResource() resource.Resource

NewVDCResource is a helper function to simplify the provider implementation.

func NewVDCsDataSource

func NewVDCsDataSource() datasource.DataSource

NewVDCsDataSource returns a new resource implementing the vdcs data source.

Types

type GroupModel added in v0.9.0

type GroupModel struct {
	Description supertypes.StringValue `tfsdk:"description"`
	ID          supertypes.StringValue `tfsdk:"id"`
	Name        supertypes.StringValue `tfsdk:"name"`
	Status      supertypes.StringValue `tfsdk:"status"`
	Type        supertypes.StringValue `tfsdk:"type"`
	VDCIds      supertypes.SetValue    `tfsdk:"vdc_ids"`
}

func NewGroup added in v0.9.0

func NewGroup(t any) *GroupModel

func (*GroupModel) Copy added in v0.9.0

func (rm *GroupModel) Copy() *GroupModel

func (*GroupModel) GetNameOrID added in v0.9.0

func (rm *GroupModel) GetNameOrID() string

GetNameOrID returns the name or the id of the resource.

func (*GroupModel) GetVDCIds added in v0.9.0

func (rm *GroupModel) GetVDCIds(ctx context.Context) (values GroupModelVDCIds, diags diag.Diagnostics)

GetVDCIds returns the value of the VdcIds field.

type GroupModelVDCIds added in v0.9.0

type GroupModelVDCIds []supertypes.StringValue

func (*GroupModelVDCIds) Get added in v0.9.0

func (rmVDCIds *GroupModelVDCIds) Get() []string

Get returns the values.

Jump to

Keyboard shortcuts

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