models

package
v1.5.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupConfiguration added in v1.2.0

type BackupConfiguration struct {
	BackupPeriodInHours          types.Int32  `tfsdk:"backup_period_in_hours"`
	BackupRetentionPeriodInHours types.Int32  `tfsdk:"backup_retention_period_in_hours"`
	BackupStartTime              types.String `tfsdk:"backup_start_time"`
}

func (BackupConfiguration) ObjectType added in v1.2.0

func (b BackupConfiguration) ObjectType() types.ObjectType

func (BackupConfiguration) ObjectValue added in v1.2.0

func (b BackupConfiguration) ObjectValue() basetypes.ObjectValue

type ClickPipeDestinationColumnModel

type ClickPipeDestinationColumnModel struct {
	Name types.String `tfsdk:"name"`
	Type types.String `tfsdk:"type"`
}

func (ClickPipeDestinationColumnModel) ObjectType

func (ClickPipeDestinationColumnModel) ObjectValue

type ClickPipeDestinationModel

type ClickPipeDestinationModel struct {
	Database        types.String `tfsdk:"database"`
	Table           types.String `tfsdk:"table"`
	ManagedTable    types.Bool   `tfsdk:"managed_table"`
	TableDefinition types.Object `tfsdk:"table_definition"`
	Columns         types.List   `tfsdk:"columns"`
	Roles           types.List   `tfsdk:"roles"`
}

func (ClickPipeDestinationModel) ObjectType

func (ClickPipeDestinationModel) ObjectValue

func (m ClickPipeDestinationModel) ObjectValue() types.Object

type ClickPipeDestinationTableDefinitionModel

type ClickPipeDestinationTableDefinitionModel struct {
	Engine      types.Object `tfsdk:"engine"`
	SortingKey  types.List   `tfsdk:"sorting_key"`
	PartitionBy types.String `tfsdk:"partition_by"`
	PrimaryKey  types.String `tfsdk:"primary_key"`
}

func (ClickPipeDestinationTableDefinitionModel) ObjectType

func (ClickPipeDestinationTableDefinitionModel) ObjectValue

type ClickPipeDestinationTableEngineModel

type ClickPipeDestinationTableEngineModel struct {
	Type types.String `tfsdk:"type"`
}

func (ClickPipeDestinationTableEngineModel) ObjectType

func (ClickPipeDestinationTableEngineModel) ObjectValue

type ClickPipeFieldMappingModel

type ClickPipeFieldMappingModel struct {
	SourceField      types.String `tfsdk:"source_field"`
	DestinationField types.String `tfsdk:"destination_field"`
}

func (ClickPipeFieldMappingModel) ObjectType

func (ClickPipeFieldMappingModel) ObjectValue

func (m ClickPipeFieldMappingModel) ObjectValue() types.Object

type ClickPipeKafkaOffsetModel

type ClickPipeKafkaOffsetModel struct {
	Strategy  types.String `tfsdk:"strategy"`
	Timestamp types.String `tfsdk:"timestamp"`
}

func (ClickPipeKafkaOffsetModel) ObjectType

func (ClickPipeKafkaOffsetModel) ObjectValue

func (m ClickPipeKafkaOffsetModel) ObjectValue() types.Object

type ClickPipeKafkaSchemaRegistryModel

type ClickPipeKafkaSchemaRegistryModel struct {
	URL            types.String `tfsdk:"url"`
	Authentication types.String `tfsdk:"authentication"`
	Credentials    types.Object `tfsdk:"credentials"`
}

func (ClickPipeKafkaSchemaRegistryModel) ObjectType

func (ClickPipeKafkaSchemaRegistryModel) ObjectValue

type ClickPipeKafkaSourceCredentialsModel

type ClickPipeKafkaSourceCredentialsModel struct {
	// PLAIN and SCRAM
	ClickPipeSourceCredentialsModel

	// AWS IAM user credentials
	ClickPipeSourceAccessKeyModel

	// Azure EventHub connection string
	ConnectionString types.String `tfsdk:"connection_string"`
}

func (ClickPipeKafkaSourceCredentialsModel) ObjectType

func (ClickPipeKafkaSourceCredentialsModel) ObjectValue

type ClickPipeKafkaSourceModel

type ClickPipeKafkaSourceModel struct {
	Type   types.String `tfsdk:"type"`
	Format types.String `tfsdk:"format"`

	Brokers types.String `tfsdk:"brokers"`
	Topics  types.String `tfsdk:"topics"`

	ConsumerGroup types.String `tfsdk:"consumer_group"`

	Offset         types.Object `tfsdk:"offset"`
	SchemaRegistry types.Object `tfsdk:"schema_registry"`

	Authentication types.String `tfsdk:"authentication"`
	Credentials    types.Object `tfsdk:"credentials"`
	IAMRole        types.String `tfsdk:"iam_role"`
	CACertificate  types.String `tfsdk:"ca_certificate"`
}

func (ClickPipeKafkaSourceModel) ObjectType

func (ClickPipeKafkaSourceModel) ObjectValue

func (m ClickPipeKafkaSourceModel) ObjectValue() types.Object

type ClickPipeObjectStorageSourceModel

type ClickPipeObjectStorageSourceModel struct {
	Type           types.String `tfsdk:"type"`
	Format         types.String `tfsdk:"format"`
	URL            types.String `tfsdk:"url"`
	Delimiter      types.String `tfsdk:"delimiter"`
	Compression    types.String `tfsdk:"compression"`
	IsContinuous   types.Bool   `tfsdk:"is_continuous"`
	Authentication types.String `tfsdk:"authentication"`
	AccessKey      types.Object `tfsdk:"access_key"`
	IAMRole        types.String `tfsdk:"iam_role"`
}

func (ClickPipeObjectStorageSourceModel) ObjectType

func (ClickPipeObjectStorageSourceModel) ObjectValue

type ClickPipeResourceModel

type ClickPipeResourceModel struct {
	ID            types.String `tfsdk:"id"`
	ServiceID     types.String `tfsdk:"service_id"`
	Name          types.String `tfsdk:"name"`
	Description   types.String `tfsdk:"description"`
	Scaling       types.Object `tfsdk:"scaling"`
	State         types.String `tfsdk:"state"`
	Source        types.Object `tfsdk:"source"`
	Destination   types.Object `tfsdk:"destination"`
	FieldMappings types.List   `tfsdk:"field_mappings"`
}

type ClickPipeScalingModel

type ClickPipeScalingModel struct {
	Replicas types.Int64 `tfsdk:"replicas"`
}

func (ClickPipeScalingModel) ObjectType

func (m ClickPipeScalingModel) ObjectType() types.ObjectType

func (ClickPipeScalingModel) ObjectValue

func (m ClickPipeScalingModel) ObjectValue() types.Object

type ClickPipeSourceAccessKeyModel

type ClickPipeSourceAccessKeyModel struct {
	AccessKeyID types.String `tfsdk:"access_key_id"`
	SecretKey   types.String `tfsdk:"secret_key"`
}

func (ClickPipeSourceAccessKeyModel) ObjectType

func (ClickPipeSourceAccessKeyModel) ObjectValue

func (m ClickPipeSourceAccessKeyModel) ObjectValue() types.Object

type ClickPipeSourceCredentialsModel

type ClickPipeSourceCredentialsModel struct {
	Username types.String `tfsdk:"username"`
	Password types.String `tfsdk:"password"`
}

func (ClickPipeSourceCredentialsModel) ObjectType

func (ClickPipeSourceCredentialsModel) ObjectValue

type ClickPipeSourceModel

type ClickPipeSourceModel struct {
	Kafka         types.Object `tfsdk:"kafka"`
	ObjectStorage types.Object `tfsdk:"object_storage"`
}

func (ClickPipeSourceModel) ObjectType

func (m ClickPipeSourceModel) ObjectType() types.ObjectType

func (ClickPipeSourceModel) ObjectValue

func (m ClickPipeSourceModel) ObjectValue() types.Object

type Endpoint

type Endpoint struct {
	Protocol types.String `tfsdk:"protocol"`
	Host     types.String `tfsdk:"host"`
	Port     types.Int64  `tfsdk:"port"`
}

func (Endpoint) ObjectType

func (e Endpoint) ObjectType() types.ObjectType

func (Endpoint) ObjectValue

func (e Endpoint) ObjectValue() basetypes.ObjectValue

type IPAccessList

type IPAccessList struct {
	Source      types.String `tfsdk:"source"`
	Description types.String `tfsdk:"description"`
}

func (IPAccessList) ObjectType

func (i IPAccessList) ObjectType() types.ObjectType

func (IPAccessList) ObjectValue

func (i IPAccessList) ObjectValue() basetypes.ObjectValue

type PrivateEndpointConfig

type PrivateEndpointConfig struct {
	EndpointServiceID  types.String `tfsdk:"endpoint_service_id"`
	PrivateDNSHostname types.String `tfsdk:"private_dns_hostname"`
}

func (PrivateEndpointConfig) ObjectType

func (p PrivateEndpointConfig) ObjectType() types.ObjectType

func (PrivateEndpointConfig) ObjectValue

type PrivateEndpointRegistration

type PrivateEndpointRegistration struct {
	CloudProvider types.String `tfsdk:"cloud_provider"`
	Description   types.String `tfsdk:"description"`
	EndpointId    types.String `tfsdk:"private_endpoint_id"`
	Region        types.String `tfsdk:"region"`
}

type ServicePrivateEndpointsAttachment added in v1.0.0

type ServicePrivateEndpointsAttachment struct {
	PrivateEndpointIDs types.List   `tfsdk:"private_endpoint_ids"`
	ServiceID          types.String `tfsdk:"service_id"`
}

type ServiceResourceModel

type ServiceResourceModel struct {
	ID                              types.String `tfsdk:"id"`
	BYOCID                          types.String `tfsdk:"byoc_id"`
	Name                            types.String `tfsdk:"name"`
	Password                        types.String `tfsdk:"password"`
	PasswordHash                    types.String `tfsdk:"password_hash"`
	DoubleSha1PasswordHash          types.String `tfsdk:"double_sha1_password_hash"`
	Endpoints                       types.List   `tfsdk:"endpoints"`
	CloudProvider                   types.String `tfsdk:"cloud_provider"`
	Region                          types.String `tfsdk:"region"`
	Tier                            types.String `tfsdk:"tier"`
	ReleaseChannel                  types.String `tfsdk:"release_channel"`
	IdleScaling                     types.Bool   `tfsdk:"idle_scaling"`
	IpAccessList                    types.List   `tfsdk:"ip_access"`
	MinTotalMemoryGb                types.Int64  `tfsdk:"min_total_memory_gb"`
	MaxTotalMemoryGb                types.Int64  `tfsdk:"max_total_memory_gb"`
	MinReplicaMemoryGb              types.Int64  `tfsdk:"min_replica_memory_gb"`
	MaxReplicaMemoryGb              types.Int64  `tfsdk:"max_replica_memory_gb"`
	NumReplicas                     types.Int64  `tfsdk:"num_replicas"`
	IdleTimeoutMinutes              types.Int64  `tfsdk:"idle_timeout_minutes"`
	IAMRole                         types.String `tfsdk:"iam_role"`
	PrivateEndpointConfig           types.Object `tfsdk:"private_endpoint_config"`
	EncryptionKey                   types.String `tfsdk:"encryption_key"`
	EncryptionAssumedRoleIdentifier types.String `tfsdk:"encryption_assumed_role_identifier"`
	BackupConfiguration             types.Object `tfsdk:"backup_configuration"`
}

func (*ServiceResourceModel) Equals

Jump to

Keyboard shortcuts

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