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 ¶
- func NewACLResource() resource.Resource
- func NewGroupDataSource() datasource.DataSource
- func NewGroupResource() resource.Resource
- func NewVDCDataSource() datasource.DataSource
- func NewVDCResource() resource.Resource
- func NewVDCsDataSource() datasource.DataSource
- type GroupModel
- type GroupModelVDCIds
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewACLResource ¶
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
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 ¶
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.