cloudsec

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudSecPolicyResource

func NewCloudSecPolicyResource() resource.Resource

NewCloudSecPolicyResource is a helper function to simplify the provider implementation.

func NewCloudSecRuleResource

func NewCloudSecRuleResource() resource.Resource

NewCloudSecRuleResource is a helper function to simplify the provider implementation.

Types

type CloudSecPolicyResource

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

CloudSecPolicyResource is the resource implementation.

func (*CloudSecPolicyResource) Configure

Configure adds the provider-configured client to the resource.

func (*CloudSecPolicyResource) Create

Create creates the resource and sets the initial Terraform state.

func (*CloudSecPolicyResource) Delete

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

func (*CloudSecPolicyResource) ImportState

ImportState imports the resource by ID.

func (*CloudSecPolicyResource) Metadata

Metadata returns the resource type name.

func (*CloudSecPolicyResource) Read

Read refreshes the Terraform state with the latest data.

func (*CloudSecPolicyResource) Schema

Schema defines the schema for the resource.

func (*CloudSecPolicyResource) Update

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

func (*CloudSecPolicyResource) ValidateConfig

ValidateConfig performs plan-time validation of the resource configuration. This ensures conditional requirements (e.g., filter_criteria required when type=RULE_FILTER) are caught during `terraform plan` rather than `terraform apply`.

type CloudSecRuleResource

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

CloudSecRuleResource is the resource implementation.

func (*CloudSecRuleResource) Configure

Configure adds the provider-configured client to the resource.

func (*CloudSecRuleResource) Create

Create creates the resource and sets the initial Terraform state.

func (*CloudSecRuleResource) Delete

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

func (*CloudSecRuleResource) ImportState

ImportState imports the resource by ID.

func (*CloudSecRuleResource) Metadata

Metadata returns the resource type name.

func (*CloudSecRuleResource) Read

Read refreshes the Terraform state with the latest data.

func (*CloudSecRuleResource) Schema

Schema defines the schema for the resource.

func (*CloudSecRuleResource) 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