resourcepool

package
v0.117.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourcePoolDataSource

func NewResourcePoolDataSource() datasource.DataSource

func NewResourcePoolResource

func NewResourcePoolResource() resource.Resource

NewResourcePoolResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id                  types.String   `tfsdk:"id"` // needed by TF
	ProjectId           types.String   `tfsdk:"project_id"`
	ResourcePoolId      types.String   `tfsdk:"resource_pool_id"`
	AvailabilityZone    types.String   `tfsdk:"availability_zone"`
	IpAcl               types.List     `tfsdk:"ip_acl"`
	Name                types.String   `tfsdk:"name"`
	Labels              types.Map      `tfsdk:"labels"`
	PerformanceClass    types.String   `tfsdk:"performance_class"`
	SizeGigabytes       types.Int32    `tfsdk:"size_gigabytes"`
	SnapshotPolicy      types.Object   `tfsdk:"snapshot_policy"`
	Region              types.String   `tfsdk:"region"`
	SnapshotsAreVisible types.Bool     `tfsdk:"snapshots_are_visible"`
	Timeouts            timeouts.Value `tfsdk:"timeouts"`
}

type SnapshotPolicyModel added in v0.96.0

type SnapshotPolicyModel struct {
	Id   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
}

Jump to

Keyboard shortcuts

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