Documentation ¶
Index ¶
- Variables
- func DataSource() datasource.DataSource
- func NewStreamInstanceCreateReq(ctx context.Context, plan *TFStreamInstanceModel) (*admin.StreamsTenant, diag.Diagnostics)
- func NewStreamInstanceUpdateReq(ctx context.Context, plan *TFStreamInstanceModel) (*admin.StreamsDataProcessRegion, diag.Diagnostics)
- func PluralDataSource() datasource.DataSource
- func Resource() resource.Resource
- func ResourceSchema(ctx context.Context) schema.Schema
- type TFInstanceProcessRegionSpecModel
- type TFInstanceStreamConfigSpecModel
- type TFStreamInstanceModel
- type TFStreamInstancesModel
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 NewStreamInstanceCreateReq ¶
func NewStreamInstanceCreateReq(ctx context.Context, plan *TFStreamInstanceModel) (*admin.StreamsTenant, diag.Diagnostics)
func NewStreamInstanceUpdateReq ¶
func NewStreamInstanceUpdateReq(ctx context.Context, plan *TFStreamInstanceModel) (*admin.StreamsDataProcessRegion, diag.Diagnostics)
func PluralDataSource ¶
func PluralDataSource() datasource.DataSource
Types ¶
type TFInstanceStreamConfigSpecModel ¶ added in v1.15.2
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"` }
func NewTFStreamInstance ¶
func NewTFStreamInstance(ctx context.Context, apiResp *admin.StreamsTenant) (*TFStreamInstanceModel, diag.Diagnostics)
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)
Click to show internal directories.
Click to hide internal directories.