resources

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataAppResource

func NewDataAppResource() resource.Resource

NewOrderResource is a helper function to simplify the provider implementation.

func NewDataAppSourceSelectionResource

func NewDataAppSourceSelectionResource() resource.Resource

NewOrderResource is a helper function to simplify the provider implementation.

func NewDataConnectionResource

func NewDataConnectionResource() resource.Resource

NewOrderResource is a helper function to simplify the provider implementation.

func NewDataProjectResource

func NewDataProjectResource() resource.Resource

NewOrderResource is a helper function to simplify the provider implementation.

func NewSpaceResource

func NewSpaceResource() resource.Resource

NewOrderResource is a helper function to simplify the provider implementation.

Types

type DataAppResource

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

orderResource is the resource implementation.

func (*DataAppResource) Configure

Configure adds the provider configured client to the resource.

func (*DataAppResource) Create

Create a new resource.

func (*DataAppResource) Delete

func (*DataAppResource) Metadata

Metadata returns the resource type name.

func (*DataAppResource) Read

Read resource information.

func (*DataAppResource) Schema

Schema defines the schema for the resource.

func (*DataAppResource) Update

type DataAppResourceModel

type DataAppResourceModel struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Type        types.String `tfsdk:"type"`
	Description types.String `tfsdk:"description"`
	ProjectID   types.String `tfsdk:"project_id"`
}

orderResourceModel maps the resource schema data.

type DataAppSourceSelectionResource

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

orderResource is the resource implementation.

func (*DataAppSourceSelectionResource) Configure

Configure adds the provider configured client to the resource.

func (*DataAppSourceSelectionResource) Create

Create a new resource.

func (*DataAppSourceSelectionResource) Delete

func (*DataAppSourceSelectionResource) Metadata

Metadata returns the resource type name.

func (*DataAppSourceSelectionResource) Read

Read resource information.

func (*DataAppSourceSelectionResource) Schema

Schema defines the schema for the resource.

func (*DataAppSourceSelectionResource) Update

type DataAppSourceSelectionResourceModel

type DataAppSourceSelectionResourceModel struct {
	ID                 types.String           `tfsdk:"id"`
	ProjectID          types.String           `tfsdk:"project_id"`
	AppID              types.String           `tfsdk:"app_id"`
	SourceConnectionID types.String           `tfsdk:"source_connection_id"`
	SourceSelection    []SourceSelectionModel `tfsdk:"source_selection"`
}

orderResourceModel maps the resource schema data.

type DataConnectionParameters

type DataConnectionParameters struct {
	Server         types.String `tfsdk:"server"`
	Username       types.String `tfsdk:"username"`
	Warehouse      types.String `tfsdk:"warehouse"`
	Database       types.String `tfsdk:"database"`
	MetadataSchema types.String `tfsdk:"metadata_schema"`
	SapClient      types.String `tfsdk:"sap_client"`
	Password       types.String `tfsdk:"password"`
}

type DataConnectionResource

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

orderResource is the resource implementation.

func (*DataConnectionResource) Configure

Configure adds the provider configured client to the resource.

func (*DataConnectionResource) Create

Create a new resource.

func (*DataConnectionResource) Delete

func (*DataConnectionResource) GetConnectionString

func (*DataConnectionResource) Metadata

Metadata returns the resource type name.

func (*DataConnectionResource) Read

Read resource information.

func (*DataConnectionResource) Schema

Schema defines the schema for the resource.

func (*DataConnectionResource) Update

type DataConnectionResourceModel

type DataConnectionResourceModel struct {
	ID                   types.String             `tfsdk:"id"`
	Name                 types.String             `tfsdk:"name"`
	SpaceID              types.String             `tfsdk:"space_id"`
	GatewayID            types.String             `tfsdk:"gateway_id"`
	ConnectionParameters DataConnectionParameters `tfsdk:"connection_parameters"`
	Type                 types.String             `tfsdk:"type"`
	Driver               types.String             `tfsdk:"driver"`
	EngineID             types.String             `tfsdk:"engine_id"`
	ConnectStatement     types.String             `tfsdk:"connect_statement"`
	CredentialsID        types.String             `tfsdk:"credentials_id"`
	CredentialsName      types.String             `tfsdk:"credentials_name"`
}

orderResourceModel maps the resource schema data.

type DataProjectResource

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

orderResource is the resource implementation.

func (*DataProjectResource) Configure

Configure adds the provider configured client to the resource.

func (*DataProjectResource) Create

Create a new resource.

func (*DataProjectResource) Delete

func (*DataProjectResource) Metadata

Metadata returns the resource type name.

func (*DataProjectResource) Read

Read resource information.

func (*DataProjectResource) Schema

Schema defines the schema for the resource.

func (*DataProjectResource) Update

type DataProjectResourceModel

type DataProjectResourceModel struct {
	ID                types.String `tfsdk:"id"`
	Name              types.String `tfsdk:"name"`
	Description       types.String `tfsdk:"description"`
	SpaceID           types.String `tfsdk:"space_id"`
	LakehouseType     types.String `tfsdk:"lakehouse_type"`
	Type              types.String `tfsdk:"type"`
	StorageConnection types.String `tfsdk:"storage_connection"`
	BatchMode         types.Bool   `tfsdk:"batch_mode"`
}

orderResourceModel maps the resource schema data.

type SourceSelectionModel

type SourceSelectionModel struct {
	ID        types.String `tfsdk:"id"`
	Name      types.String `tfsdk:"name"`
	DataAppID types.String `tfsdk:"data_app_id"`
	Schema    types.String `tfsdk:"schema"`
	Database  types.String `tfsdk:"database"`
	Type      types.String `tfsdk:"type"`
	ProjectID types.String `tfsdk:"project_id"`
}

type SpaceResource

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

orderResource is the resource implementation.

func (*SpaceResource) Configure

Configure adds the provider configured client to the resource.

func (*SpaceResource) Create

Create a new resource.

func (*SpaceResource) Delete

func (*SpaceResource) Metadata

Metadata returns the resource type name.

func (*SpaceResource) Read

Read resource information.

func (*SpaceResource) Schema

Schema defines the schema for the resource.

func (*SpaceResource) Update

type SpaceResourceModel

type SpaceResourceModel struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Type        types.String `tfsdk:"type"`
	Description types.String `tfsdk:"description"`
	OwnerID     types.String `tfsdk:"owner_id"`
}

orderResourceModel maps the resource schema data.

Jump to

Keyboard shortcuts

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