streaminstance

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProcessRegionObjectType = types.ObjectType{AttrTypes: map[string]attr.Type{
	"cloud_provider": types.StringType,
	"region":         types.StringType,
}}
View Source
var StreamConfigObjectType = types.ObjectType{AttrTypes: map[string]attr.Type{
	"tier": types.StringType,
}}

Functions

func DataSource

func DataSource() datasource.DataSource

func PluralDataSource

func PluralDataSource() datasource.DataSource

func Resource

func Resource() resource.Resource

func ResourceSchema added in v1.22.0

func ResourceSchema(ctx context.Context) schema.Schema

Types

type TFInstanceProcessRegionSpecModel

type TFInstanceProcessRegionSpecModel struct {
	CloudProvider types.String `tfsdk:"cloud_provider"`
	Region        types.String `tfsdk:"region"`
}

type TFInstanceStreamConfigSpecModel added in v1.15.2

type TFInstanceStreamConfigSpecModel struct {
	Tier types.String `tfsdk:"tier"`
}

type TFStreamInstanceModel

type TFStreamInstanceModel struct {
	ID                types.String `tfsdk:"id"`
	InstanceName      types.String `tfsdk:"instance_name"`
	ProjectID         types.String `tfsdk:"project_id"`
	DataProcessRegion types.Object `tfsdk:"data_process_region"`
	StreamConfig      types.Object `tfsdk:"stream_config"`
	Hostnames         types.List   `tfsdk:"hostnames"`
}

type TFStreamInstancesModel

type TFStreamInstancesModel struct {
	ID           types.String            `tfsdk:"id"`
	ProjectID    types.String            `tfsdk:"project_id"`
	Results      []TFStreamInstanceModel `tfsdk:"results"`
	PageNum      types.Int64             `tfsdk:"page_num"`
	ItemsPerPage types.Int64             `tfsdk:"items_per_page"`
	TotalCount   types.Int64             `tfsdk:"total_count"`
}

func NewTFStreamInstances

func NewTFStreamInstances(ctx context.Context, streamInstancesConfig *TFStreamInstancesModel, paginatedResult *admin.PaginatedApiStreamsTenant) (*TFStreamInstancesModel, diag.Diagnostics)

Jump to

Keyboard shortcuts

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