vdc

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: MPL-2.0 Imports: 42 Imported by: 0

Documentation

Overview

Package vdc provides a Terraform resource.

Package vdc provides a resource to manage VDCs.

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 NewNetworkIsolatedDataSource added in v0.24.0

func NewNetworkIsolatedDataSource() datasource.DataSource

func NewNetworkIsolatedResource added in v0.24.0

func NewNetworkIsolatedResource() resource.Resource

NewNetworkIsolatedResource 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.

type NetworkIsolatedDataSource added in v0.24.0

type NetworkIsolatedDataSource struct {
	// contains filtered or unexported fields
}

func (*NetworkIsolatedDataSource) Configure added in v0.24.0

func (*NetworkIsolatedDataSource) Init added in v0.24.0

func (d *NetworkIsolatedDataSource) Init(ctx context.Context, rm *networkIsolatedModel) (diags diag.Diagnostics)

Init Initializes the resource.

func (*NetworkIsolatedDataSource) Metadata added in v0.24.0

func (*NetworkIsolatedDataSource) Read added in v0.24.0

func (*NetworkIsolatedDataSource) Schema added in v0.24.0

type NetworkIsolatedResource added in v0.24.0

type NetworkIsolatedResource struct {
	// contains filtered or unexported fields
}

NetworkIsolatedResource is the resource implementation.

func (*NetworkIsolatedResource) Configure added in v0.24.0

func (*NetworkIsolatedResource) Create added in v0.24.0

Create creates the resource and sets the initial Terraform state.

func (*NetworkIsolatedResource) Delete added in v0.24.0

Delete deletes the resource and removes the Terraform state on success.

func (*NetworkIsolatedResource) ImportState added in v0.24.0

func (*NetworkIsolatedResource) Init added in v0.24.0

func (r *NetworkIsolatedResource) Init(ctx context.Context, rm *networkIsolatedModel) (diags diag.Diagnostics)

Init Initializes the resource.

func (*NetworkIsolatedResource) Metadata added in v0.24.0

Metadata returns the resource type name.

func (*NetworkIsolatedResource) MoveState added in v0.24.0

ResourceWithMoveState interface implementation.

func (*NetworkIsolatedResource) Read added in v0.24.0

Read refreshes the Terraform state with the latest data.

func (*NetworkIsolatedResource) Schema added in v0.24.0

Schema defines the schema for the resource.

func (*NetworkIsolatedResource) Update added in v0.24.0

Update updates the resource and sets the updated Terraform state on success.

Jump to

Keyboard shortcuts

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