attribute_group

package
v1.19.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() resource.Resource

Types

type AttributeGroup

type AttributeGroup struct {
	ID          types.String                     `tfsdk:"id"`
	Version     types.Int64                      `tfsdk:"version"`
	Key         types.String                     `tfsdk:"key"`
	Name        customtypes.LocalizedStringValue `tfsdk:"name"`
	Description customtypes.LocalizedStringValue `tfsdk:"description"`
	Attributes  []AttributeReference             `tfsdk:"attribute"`
}

AttributeGroup is the main resource schema data

type AttributeReference

type AttributeReference struct {
	Key types.String `tfsdk:"key"`
}

type Resource

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

func (*Resource) Configure

Configure adds the provider configured client to the data source.

func (*Resource) Create

Create creates the resource and sets the initial Terraform state.

func (*Resource) Delete

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

func (*Resource) ImportState

func (*Resource) Metadata

Metadata returns the data source type name.

func (*Resource) Read

Read refreshes the Terraform state with the latest data.

func (*Resource) Schema

Schema defines the schema for the data source.

func (*Resource) Update

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