Documentation ¶
Index ¶
- func NewDataAppResource() resource.Resource
- func NewDataAppSourceSelectionResource() resource.Resource
- func NewDataConnectionResource() resource.Resource
- func NewDataProjectResource() resource.Resource
- func NewSpaceResource() resource.Resource
- type DataAppResource
- func (r *DataAppResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *DataAppResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DataAppResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DataAppResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *DataAppResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DataAppResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DataAppResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DataAppResourceModel
- type DataAppSourceSelectionResource
- func (r *DataAppSourceSelectionResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *DataAppSourceSelectionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DataAppSourceSelectionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DataAppSourceSelectionResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *DataAppSourceSelectionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DataAppSourceSelectionResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DataAppSourceSelectionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DataAppSourceSelectionResourceModel
- type DataConnectionParameters
- type DataConnectionResource
- func (r *DataConnectionResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *DataConnectionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DataConnectionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DataConnectionResource) GetConnectionString(src string, props DataConnectionResourceModel) (*models.GetConnectionStringResponse, error)
- func (r *DataConnectionResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *DataConnectionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DataConnectionResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DataConnectionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DataConnectionResourceModel
- type DataProjectResource
- func (r *DataProjectResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *DataProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DataProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DataProjectResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *DataProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DataProjectResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DataProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DataProjectResourceModel
- type SourceSelectionModel
- type SpaceResource
- func (r *SpaceResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *SpaceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *SpaceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *SpaceResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *SpaceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *SpaceResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *SpaceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type SpaceResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataAppResource ¶
NewOrderResource is a helper function to simplify the provider implementation.
func NewDataAppSourceSelectionResource ¶
NewOrderResource is a helper function to simplify the provider implementation.
func NewDataConnectionResource ¶
NewOrderResource is a helper function to simplify the provider implementation.
func NewDataProjectResource ¶
NewOrderResource is a helper function to simplify the provider implementation.
func NewSpaceResource ¶
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 ¶
func (r *DataAppResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure adds the provider configured client to the resource.
func (*DataAppResource) Create ¶
func (r *DataAppResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create a new resource.
func (*DataAppResource) Delete ¶
func (r *DataAppResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DataAppResource) Metadata ¶
func (r *DataAppResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*DataAppResource) Read ¶
func (r *DataAppResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read resource information.
func (*DataAppResource) Schema ¶
func (r *DataAppResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*DataAppResource) Update ¶
func (r *DataAppResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 ¶
func (r *DataAppSourceSelectionResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure adds the provider configured client to the resource.
func (*DataAppSourceSelectionResource) Create ¶
func (r *DataAppSourceSelectionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create a new resource.
func (*DataAppSourceSelectionResource) Delete ¶
func (r *DataAppSourceSelectionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DataAppSourceSelectionResource) Metadata ¶
func (r *DataAppSourceSelectionResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*DataAppSourceSelectionResource) Read ¶
func (r *DataAppSourceSelectionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read resource information.
func (*DataAppSourceSelectionResource) Schema ¶
func (r *DataAppSourceSelectionResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*DataAppSourceSelectionResource) Update ¶
func (r *DataAppSourceSelectionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 ¶
func (r *DataConnectionResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure adds the provider configured client to the resource.
func (*DataConnectionResource) Create ¶
func (r *DataConnectionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create a new resource.
func (*DataConnectionResource) Delete ¶
func (r *DataConnectionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DataConnectionResource) GetConnectionString ¶
func (r *DataConnectionResource) GetConnectionString(src string, props DataConnectionResourceModel) (*models.GetConnectionStringResponse, error)
func (*DataConnectionResource) Metadata ¶
func (r *DataConnectionResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*DataConnectionResource) Read ¶
func (r *DataConnectionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read resource information.
func (*DataConnectionResource) Schema ¶
func (r *DataConnectionResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*DataConnectionResource) Update ¶
func (r *DataConnectionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 ¶
func (r *DataProjectResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure adds the provider configured client to the resource.
func (*DataProjectResource) Create ¶
func (r *DataProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create a new resource.
func (*DataProjectResource) Delete ¶
func (r *DataProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DataProjectResource) Metadata ¶
func (r *DataProjectResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*DataProjectResource) Read ¶
func (r *DataProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read resource information.
func (*DataProjectResource) Schema ¶
func (r *DataProjectResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*DataProjectResource) Update ¶
func (r *DataProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 SpaceResource ¶
type SpaceResource struct {
// contains filtered or unexported fields
}
orderResource is the resource implementation.
func (*SpaceResource) Configure ¶
func (r *SpaceResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure adds the provider configured client to the resource.
func (*SpaceResource) Create ¶
func (r *SpaceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create a new resource.
func (*SpaceResource) Delete ¶
func (r *SpaceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*SpaceResource) Metadata ¶
func (r *SpaceResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*SpaceResource) Read ¶
func (r *SpaceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read resource information.
func (*SpaceResource) Schema ¶
func (r *SpaceResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*SpaceResource) Update ¶
func (r *SpaceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)