Documentation ¶
Index ¶
- func GlobalConnectionDataSource() datasource.DataSource
- func GlobalConnectionResource() resource.Resource
- func GlobalConnectionsDataSource() datasource.DataSource
- type ApacheSparkConfig
- type AthenaConfig
- type BigQueryConfig
- type ConfigDetails
- type DatabricksConfig
- type FabricConfig
- type GlobalConnectionResourceModel
- type GlobalConnectionSummary
- type GlobalConnectionsDatasourceModel
- type PostgresConfig
- type RedshiftConfig
- type SSHTunnelConfig
- type SnowflakeConfig
- type StarburstConfig
- type SynapseConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobalConnectionDataSource ¶ added in v0.3.15
func GlobalConnectionDataSource() datasource.DataSource
func GlobalConnectionsDataSource ¶ added in v0.3.15
func GlobalConnectionsDataSource() datasource.DataSource
Types ¶
type ApacheSparkConfig ¶ added in v0.3.13
type ApacheSparkConfig struct { Method types.String `tfsdk:"method"` Host types.String `tfsdk:"host"` Port types.Int64 `tfsdk:"port"` Cluster types.String `tfsdk:"cluster"` ConnectTimeout types.Int64 `tfsdk:"connect_timeout"` ConnectRetries types.Int64 `tfsdk:"connect_retries"` // nullable Organization types.String `tfsdk:"organization"` User types.String `tfsdk:"user"` Auth types.String `tfsdk:"auth"` }
type AthenaConfig ¶ added in v0.3.13
type AthenaConfig struct { RegionName types.String `tfsdk:"region_name"` Database types.String `tfsdk:"database"` S3StagingDir types.String `tfsdk:"s3_staging_dir"` // nullable WorkGroup types.String `tfsdk:"work_group"` SparkWorkGroup types.String `tfsdk:"spark_work_group"` S3DataDir types.String `tfsdk:"s3_data_dir"` S3DataNaming types.String `tfsdk:"s3_data_naming"` S3TmpTableDir types.String `tfsdk:"s3_tmp_table_dir"` PollInterval types.Int64 `tfsdk:"poll_interval"` NumRetries types.Int64 `tfsdk:"num_retries"` NumBoto3Retries types.Int64 `tfsdk:"num_boto3_retries"` NumIcebergRetries types.Int64 `tfsdk:"num_iceberg_retries"` }
type BigQueryConfig ¶
type BigQueryConfig struct { GCPProjectID types.String `tfsdk:"gcp_project_id"` TimeoutSeconds types.Int64 `tfsdk:"timeout_seconds"` PrivateKeyID types.String `tfsdk:"private_key_id"` PrivateKey types.String `tfsdk:"private_key"` ClientEmail types.String `tfsdk:"client_email"` ClientID types.String `tfsdk:"client_id"` AuthURI types.String `tfsdk:"auth_uri"` TokenURI types.String `tfsdk:"token_uri"` AuthProviderX509CertURL types.String `tfsdk:"auth_provider_x509_cert_url"` ClientX509CertURL types.String `tfsdk:"client_x509_cert_url"` Retries types.Int64 `tfsdk:"retries"` Scopes []types.String `tfsdk:"scopes"` // nullable Priority types.String `tfsdk:"priority"` Location types.String `tfsdk:"location"` MaximumBytesBilled types.Int64 `tfsdk:"maximum_bytes_billed"` ExecutionProject types.String `tfsdk:"execution_project"` ImpersonateServiceAccount types.String `tfsdk:"impersonate_service_account"` JobRetryDeadlineSeconds types.Int64 `tfsdk:"job_retry_deadline_seconds"` JobCreationTimeoutSeconds types.Int64 `tfsdk:"job_creation_timeout_seconds"` ApplicationID types.String `tfsdk:"application_id"` ApplicationSecret types.String `tfsdk:"application_secret"` GcsBucket types.String `tfsdk:"gcs_bucket"` DataprocRegion types.String `tfsdk:"dataproc_region"` DataprocClusterName types.String `tfsdk:"dataproc_cluster_name"` }
type ConfigDetails ¶ added in v0.3.13
type ConfigDetails struct { EmptyConfigName interface{} IsEmptyConfig func(*GlobalConnectionResourceModel) bool GetSSHTunnelConfig func(*GlobalConnectionResourceModel) *SSHTunnelConfig }
type DatabricksConfig ¶
type FabricConfig ¶
type GlobalConnectionResourceModel ¶
type GlobalConnectionResourceModel struct { ID types.Int64 `tfsdk:"id"` AdapterVersion types.String `tfsdk:"adapter_version"` Name types.String `tfsdk:"name"` IsSshTunnelEnabled types.Bool `tfsdk:"is_ssh_tunnel_enabled"` //TODO: check if we can deprecate this PrivateLinkEndpointId types.String `tfsdk:"private_link_endpoint_id"` OauthConfigurationId types.Int64 `tfsdk:"oauth_configuration_id"` SnowflakeConfig *SnowflakeConfig `tfsdk:"snowflake"` BigQueryConfig *BigQueryConfig `tfsdk:"bigquery"` DatabricksConfig *DatabricksConfig `tfsdk:"databricks"` RedshiftConfig *RedshiftConfig `tfsdk:"redshift"` PostgresConfig *PostgresConfig `tfsdk:"postgres"` FabricConfig *FabricConfig `tfsdk:"fabric"` SynapseConfig *SynapseConfig `tfsdk:"synapse"` StarburstConfig *StarburstConfig `tfsdk:"starburst"` AthenaConfig *AthenaConfig `tfsdk:"athena"` ApacheSparkConfig *ApacheSparkConfig `tfsdk:"apache_spark"` }
type GlobalConnectionSummary ¶ added in v0.3.15
type GlobalConnectionSummary struct { ID types.Int64 `tfsdk:"id"` Name types.String `tfsdk:"name"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` AdapterVersion types.String `tfsdk:"adapter_version"` PrivateLinkEndpointID types.String `tfsdk:"private_link_endpoint_id"` IsSSHTunnelEnabled types.Bool `tfsdk:"is_ssh_tunnel_enabled"` OauthConfigurationID types.Int64 `tfsdk:"oauth_configuration_id"` EnvironmentCount types.Int64 `tfsdk:"environment__count"` }
type GlobalConnectionsDatasourceModel ¶ added in v0.3.15
type GlobalConnectionsDatasourceModel struct {
Connections []GlobalConnectionSummary `tfsdk:"connections"`
}
type PostgresConfig ¶
type RedshiftConfig ¶
type SSHTunnelConfig ¶ added in v0.3.13
type SnowflakeConfig ¶
type SnowflakeConfig struct { Account types.String `tfsdk:"account"` Database types.String `tfsdk:"database"` Warehouse types.String `tfsdk:"warehouse"` ClientSessionKeepAlive types.Bool `tfsdk:"client_session_keep_alive"` AllowSso types.Bool `tfsdk:"allow_sso"` OauthClientID types.String `tfsdk:"oauth_client_id"` OauthClientSecret types.String `tfsdk:"oauth_client_secret"` // nullable Role types.String `tfsdk:"role"` }
type StarburstConfig ¶
type SynapseConfig ¶
type SynapseConfig struct { Host types.String `tfsdk:"host"` Port types.Int64 `tfsdk:"port"` Database types.String `tfsdk:"database"` Retries types.Int64 `tfsdk:"retries"` LoginTimeout types.Int64 `tfsdk:"login_timeout"` QueryTimeout types.Int64 `tfsdk:"query_timeout"` }
Fabric and Synapse are very similar, except Synapse uses Host instead of Server
Click to show internal directories.
Click to hide internal directories.