Documentation ¶
Overview ¶
Package models contains all the Terraform schema representations of the resources created by the Redpanda Terraform provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACL ¶
type ACL struct { ResourceType types.String `tfsdk:"resource_type"` ResourceName types.String `tfsdk:"resource_name"` ResourcePatternType types.String `tfsdk:"resource_pattern_type"` Principal types.String `tfsdk:"principal"` Host types.String `tfsdk:"host"` Operation types.String `tfsdk:"operation"` PermissionType types.String `tfsdk:"permission_type"` ClusterAPIURL types.String `tfsdk:"cluster_api_url"` ID types.String `tfsdk:"id"` }
ACL defines the structure for configuration settings parsed from HCL.
type AwsPrivateLink ¶ added in v0.7.0
type AwsPrivateLink struct { Enabled types.Bool `tfsdk:"enabled"` ConnectConsole types.Bool `tfsdk:"connect_console"` AllowedPrincipals types.List `tfsdk:"allowed_principals"` }
AwsPrivateLink represents the Terraform schema for the AWS Private Link configuration.
type AzurePrivateLink ¶ added in v0.7.0
type AzurePrivateLink struct { AllowedSubscriptions types.List `tfsdk:"allowed_subscriptions"` ConnectConsole types.Bool `tfsdk:"connect_console"` Enabled types.Bool `tfsdk:"enabled"` }
AzurePrivateLink represents the Terraform schema for the Azure Private Link configuration.
type Cluster ¶
type Cluster struct { Name types.String `tfsdk:"name"` ID types.String `tfsdk:"id"` ConnectionType types.String `tfsdk:"connection_type"` CloudProvider types.String `tfsdk:"cloud_provider"` ClusterType types.String `tfsdk:"cluster_type"` RedpandaVersion types.String `tfsdk:"redpanda_version"` ThroughputTier types.String `tfsdk:"throughput_tier"` Region types.String `tfsdk:"region"` Zones types.List `tfsdk:"zones"` AllowDeletion types.Bool `tfsdk:"allow_deletion"` Tags types.Map `tfsdk:"tags"` ResourceGroupID types.String `tfsdk:"resource_group_id"` NetworkID types.String `tfsdk:"network_id"` ClusterAPIURL types.String `tfsdk:"cluster_api_url"` AwsPrivateLink *AwsPrivateLink `tfsdk:"aws_private_link"` GcpPrivateServiceConnect *GcpPrivateServiceConnect `tfsdk:"gcp_private_service_connect"` AzurePrivateLink *AzurePrivateLink `tfsdk:"azure_private_link"` KafkaAPI *KafkaAPI `tfsdk:"kafka_api"` HTTPProxy *HTTPProxy `tfsdk:"http_proxy"` SchemaRegistry *SchemaRegistry `tfsdk:"schema_registry"` ReadReplicaClusterIds types.List `tfsdk:"read_replica_cluster_ids"` }
Cluster represents the Terraform schema for the cluster resource.
type GcpPrivateServiceConnect ¶ added in v0.7.0
type GcpPrivateServiceConnect struct { Enabled types.Bool `tfsdk:"enabled"` GlobalAccessEnabled types.Bool `tfsdk:"global_access_enabled"` ConsumerAcceptList []*GcpPrivateServiceConnectConsumer `tfsdk:"consumer_accept_list"` }
GcpPrivateServiceConnect represents the Terraform schema for the GCP Private Service Connect configuration.
type GcpPrivateServiceConnectConsumer ¶ added in v0.7.0
type GcpPrivateServiceConnectConsumer struct {
Source string `tfsdk:"source"`
}
GcpPrivateServiceConnectConsumer represents the Terraform schema for the GCP Private Service Connect consumer configuration.
type HTTPProxy ¶ added in v0.7.0
type HTTPProxy struct {
Mtls *Mtls `tfsdk:"mtls"`
}
HTTPProxy represents the Terraform schema for the HTTP Proxy configuration.
type KafkaAPI ¶ added in v0.7.0
type KafkaAPI struct {
Mtls *Mtls `tfsdk:"mtls"`
}
KafkaAPI represents the Terraform schema for the Kafka API configuration.
type Mtls ¶ added in v0.7.0
type Mtls struct { Enabled types.Bool `tfsdk:"enabled"` CaCertificatesPem types.List `tfsdk:"ca_certificates_pem"` PrincipalMappingRules types.List `tfsdk:"principal_mapping_rules"` }
Mtls represents the Terraform schema for the mutual TLS configuration.
type Network ¶
type Network struct { Name types.String `tfsdk:"name"` ResourceGroupID types.String `tfsdk:"resource_group_id"` CloudProvider types.String `tfsdk:"cloud_provider"` Region types.String `tfsdk:"region"` CidrBlock types.String `tfsdk:"cidr_block"` ID types.String `tfsdk:"id"` ClusterType types.String `tfsdk:"cluster_type"` }
Network represents the Terraform schema for the network resource.
type Redpanda ¶
type Redpanda struct { ClientID types.String `tfsdk:"client_id"` ClientSecret types.String `tfsdk:"client_secret"` }
Redpanda represents the Terraform schema for the Redpanda TF provider.
type ResourceGroup ¶ added in v0.5.0
ResourceGroup represents the Terraform schema for the ResourceGroup resource.
type SchemaRegistry ¶ added in v0.7.0
type SchemaRegistry struct {
Mtls *Mtls `tfsdk:"mtls"`
}
SchemaRegistry represents the Terraform schema for the Schema Registry configuration.
type ServerlessCluster ¶ added in v0.6.0
type ServerlessCluster struct { Name types.String `tfsdk:"name"` ID types.String `tfsdk:"id"` ServerlessRegion types.String `tfsdk:"serverless_region"` ResourceGroupID types.String `tfsdk:"resource_group_id"` ClusterAPIURL types.String `tfsdk:"cluster_api_url"` }
ServerlessCluster represents the Terraform schema for the serverless cluster resource.
type Topic ¶
type Topic struct { Name types.String `tfsdk:"name"` PartitionCount types.Number `tfsdk:"partition_count"` ReplicationFactor types.Number `tfsdk:"replication_factor"` Configuration types.Map `tfsdk:"configuration"` AllowDeletion types.Bool `tfsdk:"allow_deletion"` ClusterAPIURL types.String `tfsdk:"cluster_api_url"` ID types.String `tfsdk:"id"` }
Topic defines the structure for configuration settings parsed from HCL.
type User ¶
type User struct { Name types.String `tfsdk:"name"` Password types.String `tfsdk:"password"` Mechanism types.String `tfsdk:"mechanism"` ID types.String `tfsdk:"id"` ClusterAPIURL types.String `tfsdk:"cluster_api_url"` }
User defines the structure for configuration settings parsed from HCL.