v1beta2

package
v1.12.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=datastream.gcp.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "datastream.gcp.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

View Source
var (
	ConnectionProfile_Kind             = "ConnectionProfile"
	ConnectionProfile_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ConnectionProfile_Kind}.String()
	ConnectionProfile_KindAPIVersion   = ConnectionProfile_Kind + "." + CRDGroupVersion.String()
	ConnectionProfile_GroupVersionKind = CRDGroupVersion.WithKind(ConnectionProfile_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	PrivateConnection_Kind             = "PrivateConnection"
	PrivateConnection_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PrivateConnection_Kind}.String()
	PrivateConnection_KindAPIVersion   = PrivateConnection_Kind + "." + CRDGroupVersion.String()
	PrivateConnection_GroupVersionKind = CRDGroupVersion.WithKind(PrivateConnection_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BigqueryProfileInitParameters

type BigqueryProfileInitParameters struct {
}

func (*BigqueryProfileInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigqueryProfileInitParameters.

func (*BigqueryProfileInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BigqueryProfileObservation

type BigqueryProfileObservation struct {
}

func (*BigqueryProfileObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigqueryProfileObservation.

func (*BigqueryProfileObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BigqueryProfileParameters

type BigqueryProfileParameters struct {
}

func (*BigqueryProfileParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigqueryProfileParameters.

func (*BigqueryProfileParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConnectionProfile

type ConnectionProfile struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.displayName) || (has(self.initProvider) && has(self.initProvider.displayName))",message="spec.forProvider.displayName is a required parameter"
	Spec   ConnectionProfileSpec   `json:"spec"`
	Status ConnectionProfileStatus `json:"status,omitempty"`
}

ConnectionProfile is the Schema for the ConnectionProfiles API. A set of reusable connection configurations to be used as a source or destination for a stream. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*ConnectionProfile) DeepCopy

func (in *ConnectionProfile) DeepCopy() *ConnectionProfile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionProfile.

func (*ConnectionProfile) DeepCopyInto

func (in *ConnectionProfile) DeepCopyInto(out *ConnectionProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConnectionProfile) DeepCopyObject

func (in *ConnectionProfile) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ConnectionProfile) GetCondition

func (mg *ConnectionProfile) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ConnectionProfile.

func (*ConnectionProfile) GetConnectionDetailsMapping

func (tr *ConnectionProfile) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ConnectionProfile

func (*ConnectionProfile) GetDeletionPolicy

func (mg *ConnectionProfile) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ConnectionProfile.

func (*ConnectionProfile) GetID

func (tr *ConnectionProfile) GetID() string

GetID returns ID of underlying Terraform resource of this ConnectionProfile

func (*ConnectionProfile) GetInitParameters

func (tr *ConnectionProfile) GetInitParameters() (map[string]any, error)

GetInitParameters of this ConnectionProfile

func (*ConnectionProfile) GetManagementPolicies

func (mg *ConnectionProfile) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ConnectionProfile.

func (*ConnectionProfile) GetMergedParameters

func (tr *ConnectionProfile) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this ConnectionProfile

func (*ConnectionProfile) GetObservation

func (tr *ConnectionProfile) GetObservation() (map[string]any, error)

GetObservation of this ConnectionProfile

func (*ConnectionProfile) GetParameters

func (tr *ConnectionProfile) GetParameters() (map[string]any, error)

GetParameters of this ConnectionProfile

func (*ConnectionProfile) GetProviderConfigReference

func (mg *ConnectionProfile) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ConnectionProfile.

func (*ConnectionProfile) GetPublishConnectionDetailsTo

func (mg *ConnectionProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ConnectionProfile.

func (*ConnectionProfile) GetTerraformResourceType

func (mg *ConnectionProfile) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ConnectionProfile

func (*ConnectionProfile) GetTerraformSchemaVersion

func (tr *ConnectionProfile) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ConnectionProfile) GetWriteConnectionSecretToReference

func (mg *ConnectionProfile) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ConnectionProfile.

func (*ConnectionProfile) Hub

func (tr *ConnectionProfile) Hub()

Hub marks this type as a conversion hub.

func (*ConnectionProfile) LateInitialize

func (tr *ConnectionProfile) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ConnectionProfile using its observed tfState. returns True if there are any spec changes for the resource.

func (*ConnectionProfile) ResolveReferences

func (mg *ConnectionProfile) ResolveReferences(
	ctx context.Context, c client.Reader) error

func (*ConnectionProfile) SetConditions

func (mg *ConnectionProfile) SetConditions(c ...xpv1.Condition)

SetConditions of this ConnectionProfile.

func (*ConnectionProfile) SetDeletionPolicy

func (mg *ConnectionProfile) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ConnectionProfile.

func (*ConnectionProfile) SetManagementPolicies

func (mg *ConnectionProfile) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ConnectionProfile.

func (*ConnectionProfile) SetObservation

func (tr *ConnectionProfile) SetObservation(obs map[string]any) error

SetObservation for this ConnectionProfile

func (*ConnectionProfile) SetParameters

func (tr *ConnectionProfile) SetParameters(params map[string]any) error

SetParameters for this ConnectionProfile

func (*ConnectionProfile) SetProviderConfigReference

func (mg *ConnectionProfile) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ConnectionProfile.

func (*ConnectionProfile) SetPublishConnectionDetailsTo

func (mg *ConnectionProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ConnectionProfile.

func (*ConnectionProfile) SetWriteConnectionSecretToReference

func (mg *ConnectionProfile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ConnectionProfile.

type ConnectionProfileInitParameters

type ConnectionProfileInitParameters struct {

	// BigQuery warehouse profile.
	BigqueryProfile *BigqueryProfileInitParameters `json:"bigqueryProfile,omitempty" tf:"bigquery_profile,omitempty"`

	// Create the connection profile without validating it.
	CreateWithoutValidation *bool `json:"createWithoutValidation,omitempty" tf:"create_without_validation,omitempty"`

	// Display name.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Forward SSH tunnel connectivity.
	// Structure is documented below.
	ForwardSSHConnectivity *ForwardSSHConnectivityInitParameters `json:"forwardSshConnectivity,omitempty" tf:"forward_ssh_connectivity,omitempty"`

	// Cloud Storage bucket profile.
	// Structure is documented below.
	GcsProfile *GcsProfileInitParameters `json:"gcsProfile,omitempty" tf:"gcs_profile,omitempty"`

	// Labels.
	// Note: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field effective_labels for all of the labels present on the resource.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// MySQL database profile.
	// Structure is documented below.
	MySQLProfile *MySQLProfileInitParameters `json:"mysqlProfile,omitempty" tf:"mysql_profile,omitempty"`

	// Oracle database profile.
	// Structure is documented below.
	OracleProfile *OracleProfileInitParameters `json:"oracleProfile,omitempty" tf:"oracle_profile,omitempty"`

	// PostgreSQL database profile.
	// Structure is documented below.
	PostgresqlProfile *PostgresqlProfileInitParameters `json:"postgresqlProfile,omitempty" tf:"postgresql_profile,omitempty"`

	// Private connectivity.
	// Structure is documented below.
	PrivateConnectivity *PrivateConnectivityInitParameters `json:"privateConnectivity,omitempty" tf:"private_connectivity,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// SQL Server database profile.
	// Structure is documented below.
	SQLServerProfile *SQLServerProfileInitParameters `json:"sqlServerProfile,omitempty" tf:"sql_server_profile,omitempty"`
}

func (*ConnectionProfileInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionProfileInitParameters.

func (*ConnectionProfileInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConnectionProfileList

type ConnectionProfileList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ConnectionProfile `json:"items"`
}

ConnectionProfileList contains a list of ConnectionProfiles

func (*ConnectionProfileList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionProfileList.

func (*ConnectionProfileList) DeepCopyInto

func (in *ConnectionProfileList) DeepCopyInto(out *ConnectionProfileList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConnectionProfileList) DeepCopyObject

func (in *ConnectionProfileList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ConnectionProfileList) GetItems

func (l *ConnectionProfileList) GetItems() []resource.Managed

GetItems of this ConnectionProfileList.

type ConnectionProfileObservation

type ConnectionProfileObservation struct {

	// BigQuery warehouse profile.
	BigqueryProfile *BigqueryProfileParameters `json:"bigqueryProfile,omitempty" tf:"bigquery_profile,omitempty"`

	// Create the connection profile without validating it.
	CreateWithoutValidation *bool `json:"createWithoutValidation,omitempty" tf:"create_without_validation,omitempty"`

	// Display name.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// +mapType=granular
	EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"`

	// Forward SSH tunnel connectivity.
	// Structure is documented below.
	ForwardSSHConnectivity *ForwardSSHConnectivityObservation `json:"forwardSshConnectivity,omitempty" tf:"forward_ssh_connectivity,omitempty"`

	// Cloud Storage bucket profile.
	// Structure is documented below.
	GcsProfile *GcsProfileObservation `json:"gcsProfile,omitempty" tf:"gcs_profile,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/connectionProfiles/{{connection_profile_id}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels.
	// Note: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field effective_labels for all of the labels present on the resource.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the location this connection profile is located in.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// MySQL database profile.
	// Structure is documented below.
	MySQLProfile *MySQLProfileObservation `json:"mysqlProfile,omitempty" tf:"mysql_profile,omitempty"`

	// The resource's name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Oracle database profile.
	// Structure is documented below.
	OracleProfile *OracleProfileObservation `json:"oracleProfile,omitempty" tf:"oracle_profile,omitempty"`

	// PostgreSQL database profile.
	// Structure is documented below.
	PostgresqlProfile *PostgresqlProfileObservation `json:"postgresqlProfile,omitempty" tf:"postgresql_profile,omitempty"`

	// Private connectivity.
	// Structure is documented below.
	PrivateConnectivity *PrivateConnectivityObservation `json:"privateConnectivity,omitempty" tf:"private_connectivity,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// SQL Server database profile.
	// Structure is documented below.
	SQLServerProfile *SQLServerProfileObservation `json:"sqlServerProfile,omitempty" tf:"sql_server_profile,omitempty"`

	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	// +mapType=granular
	TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"`
}

func (*ConnectionProfileObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionProfileObservation.

func (*ConnectionProfileObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConnectionProfileParameters

type ConnectionProfileParameters struct {

	// BigQuery warehouse profile.
	// +kubebuilder:validation:Optional
	BigqueryProfile *BigqueryProfileParameters `json:"bigqueryProfile,omitempty" tf:"bigquery_profile,omitempty"`

	// Create the connection profile without validating it.
	// +kubebuilder:validation:Optional
	CreateWithoutValidation *bool `json:"createWithoutValidation,omitempty" tf:"create_without_validation,omitempty"`

	// Display name.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Forward SSH tunnel connectivity.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ForwardSSHConnectivity *ForwardSSHConnectivityParameters `json:"forwardSshConnectivity,omitempty" tf:"forward_ssh_connectivity,omitempty"`

	// Cloud Storage bucket profile.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	GcsProfile *GcsProfileParameters `json:"gcsProfile,omitempty" tf:"gcs_profile,omitempty"`

	// Labels.
	// Note: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field effective_labels for all of the labels present on the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the location this connection profile is located in.
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// MySQL database profile.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	MySQLProfile *MySQLProfileParameters `json:"mysqlProfile,omitempty" tf:"mysql_profile,omitempty"`

	// Oracle database profile.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	OracleProfile *OracleProfileParameters `json:"oracleProfile,omitempty" tf:"oracle_profile,omitempty"`

	// PostgreSQL database profile.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	PostgresqlProfile *PostgresqlProfileParameters `json:"postgresqlProfile,omitempty" tf:"postgresql_profile,omitempty"`

	// Private connectivity.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	PrivateConnectivity *PrivateConnectivityParameters `json:"privateConnectivity,omitempty" tf:"private_connectivity,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// SQL Server database profile.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	SQLServerProfile *SQLServerProfileParameters `json:"sqlServerProfile,omitempty" tf:"sql_server_profile,omitempty"`
}

func (*ConnectionProfileParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionProfileParameters.

func (*ConnectionProfileParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConnectionProfileSpec

type ConnectionProfileSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ConnectionProfileParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ConnectionProfileInitParameters `json:"initProvider,omitempty"`
}

ConnectionProfileSpec defines the desired state of ConnectionProfile

func (*ConnectionProfileSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionProfileSpec.

func (*ConnectionProfileSpec) DeepCopyInto

func (in *ConnectionProfileSpec) DeepCopyInto(out *ConnectionProfileSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConnectionProfileStatus

type ConnectionProfileStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ConnectionProfileObservation `json:"atProvider,omitempty"`
}

ConnectionProfileStatus defines the observed state of ConnectionProfile.

func (*ConnectionProfileStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionProfileStatus.

func (*ConnectionProfileStatus) DeepCopyInto

func (in *ConnectionProfileStatus) DeepCopyInto(out *ConnectionProfileStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ErrorInitParameters

type ErrorInitParameters struct {
}

func (*ErrorInitParameters) DeepCopy

func (in *ErrorInitParameters) DeepCopy() *ErrorInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorInitParameters.

func (*ErrorInitParameters) DeepCopyInto

func (in *ErrorInitParameters) DeepCopyInto(out *ErrorInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ErrorObservation

type ErrorObservation struct {

	// A list of messages that carry the error details.
	// +mapType=granular
	Details map[string]*string `json:"details,omitempty" tf:"details,omitempty"`

	// A message containing more information about the error that occurred.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`
}

func (*ErrorObservation) DeepCopy

func (in *ErrorObservation) DeepCopy() *ErrorObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorObservation.

func (*ErrorObservation) DeepCopyInto

func (in *ErrorObservation) DeepCopyInto(out *ErrorObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ErrorParameters

type ErrorParameters struct {
}

func (*ErrorParameters) DeepCopy

func (in *ErrorParameters) DeepCopy() *ErrorParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorParameters.

func (*ErrorParameters) DeepCopyInto

func (in *ErrorParameters) DeepCopyInto(out *ErrorParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ForwardSSHConnectivityInitParameters

type ForwardSSHConnectivityInitParameters struct {

	// Hostname for the SSH tunnel.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// SSH password.
	// Note: This property is sensitive and will not be displayed in the plan.
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Port for the SSH tunnel.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// SSH private key.
	// Note: This property is sensitive and will not be displayed in the plan.
	PrivateKeySecretRef *v1.SecretKeySelector `json:"privateKeySecretRef,omitempty" tf:"-"`

	// Username for the SSH tunnel.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*ForwardSSHConnectivityInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardSSHConnectivityInitParameters.

func (*ForwardSSHConnectivityInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ForwardSSHConnectivityObservation

type ForwardSSHConnectivityObservation struct {

	// Hostname for the SSH tunnel.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Port for the SSH tunnel.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Username for the SSH tunnel.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*ForwardSSHConnectivityObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardSSHConnectivityObservation.

func (*ForwardSSHConnectivityObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ForwardSSHConnectivityParameters

type ForwardSSHConnectivityParameters struct {

	// Hostname for the SSH tunnel.
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname" tf:"hostname,omitempty"`

	// SSH password.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Port for the SSH tunnel.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// SSH private key.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	PrivateKeySecretRef *v1.SecretKeySelector `json:"privateKeySecretRef,omitempty" tf:"-"`

	// Username for the SSH tunnel.
	// +kubebuilder:validation:Optional
	Username *string `json:"username" tf:"username,omitempty"`
}

func (*ForwardSSHConnectivityParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardSSHConnectivityParameters.

func (*ForwardSSHConnectivityParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GcsProfileInitParameters

type GcsProfileInitParameters struct {

	// The Cloud Storage bucket name.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// The root path inside the Cloud Storage bucket.
	RootPath *string `json:"rootPath,omitempty" tf:"root_path,omitempty"`
}

func (*GcsProfileInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcsProfileInitParameters.

func (*GcsProfileInitParameters) DeepCopyInto

func (in *GcsProfileInitParameters) DeepCopyInto(out *GcsProfileInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GcsProfileObservation

type GcsProfileObservation struct {

	// The Cloud Storage bucket name.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// The root path inside the Cloud Storage bucket.
	RootPath *string `json:"rootPath,omitempty" tf:"root_path,omitempty"`
}

func (*GcsProfileObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcsProfileObservation.

func (*GcsProfileObservation) DeepCopyInto

func (in *GcsProfileObservation) DeepCopyInto(out *GcsProfileObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GcsProfileParameters

type GcsProfileParameters struct {

	// The Cloud Storage bucket name.
	// +kubebuilder:validation:Optional
	Bucket *string `json:"bucket" tf:"bucket,omitempty"`

	// The root path inside the Cloud Storage bucket.
	// +kubebuilder:validation:Optional
	RootPath *string `json:"rootPath,omitempty" tf:"root_path,omitempty"`
}

func (*GcsProfileParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcsProfileParameters.

func (*GcsProfileParameters) DeepCopyInto

func (in *GcsProfileParameters) DeepCopyInto(out *GcsProfileParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLProfileInitParameters

type MySQLProfileInitParameters struct {

	// Hostname for the MySQL connection.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Password for the MySQL connection.
	// Note: This property is sensitive and will not be displayed in the plan.
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Port for the MySQL connection.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// SSL configuration for the MySQL connection.
	// Structure is documented below.
	SSLConfig *SSLConfigInitParameters `json:"sslConfig,omitempty" tf:"ssl_config,omitempty"`

	// Username for the MySQL connection.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*MySQLProfileInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLProfileInitParameters.

func (*MySQLProfileInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLProfileObservation

type MySQLProfileObservation struct {

	// Hostname for the MySQL connection.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Port for the MySQL connection.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// SSL configuration for the MySQL connection.
	// Structure is documented below.
	SSLConfig *SSLConfigObservation `json:"sslConfig,omitempty" tf:"ssl_config,omitempty"`

	// Username for the MySQL connection.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*MySQLProfileObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLProfileObservation.

func (*MySQLProfileObservation) DeepCopyInto

func (in *MySQLProfileObservation) DeepCopyInto(out *MySQLProfileObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MySQLProfileParameters

type MySQLProfileParameters struct {

	// Hostname for the MySQL connection.
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname" tf:"hostname,omitempty"`

	// Password for the MySQL connection.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Port for the MySQL connection.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// SSL configuration for the MySQL connection.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	SSLConfig *SSLConfigParameters `json:"sslConfig,omitempty" tf:"ssl_config,omitempty"`

	// Username for the MySQL connection.
	// +kubebuilder:validation:Optional
	Username *string `json:"username" tf:"username,omitempty"`
}

func (*MySQLProfileParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLProfileParameters.

func (*MySQLProfileParameters) DeepCopyInto

func (in *MySQLProfileParameters) DeepCopyInto(out *MySQLProfileParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OracleProfileInitParameters

type OracleProfileInitParameters struct {

	// Connection string attributes
	// +mapType=granular
	ConnectionAttributes map[string]*string `json:"connectionAttributes,omitempty" tf:"connection_attributes,omitempty"`

	// Database for the Oracle connection.
	DatabaseService *string `json:"databaseService,omitempty" tf:"database_service,omitempty"`

	// Hostname for the Oracle connection.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Password for the Oracle connection.
	// Note: This property is sensitive and will not be displayed in the plan.
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Port for the Oracle connection.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Username for the Oracle connection.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*OracleProfileInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleProfileInitParameters.

func (*OracleProfileInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OracleProfileObservation

type OracleProfileObservation struct {

	// Connection string attributes
	// +mapType=granular
	ConnectionAttributes map[string]*string `json:"connectionAttributes,omitempty" tf:"connection_attributes,omitempty"`

	// Database for the Oracle connection.
	DatabaseService *string `json:"databaseService,omitempty" tf:"database_service,omitempty"`

	// Hostname for the Oracle connection.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Port for the Oracle connection.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Username for the Oracle connection.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*OracleProfileObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleProfileObservation.

func (*OracleProfileObservation) DeepCopyInto

func (in *OracleProfileObservation) DeepCopyInto(out *OracleProfileObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OracleProfileParameters

type OracleProfileParameters struct {

	// Connection string attributes
	// +kubebuilder:validation:Optional
	// +mapType=granular
	ConnectionAttributes map[string]*string `json:"connectionAttributes,omitempty" tf:"connection_attributes,omitempty"`

	// Database for the Oracle connection.
	// +kubebuilder:validation:Optional
	DatabaseService *string `json:"databaseService" tf:"database_service,omitempty"`

	// Hostname for the Oracle connection.
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname" tf:"hostname,omitempty"`

	// Password for the Oracle connection.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Port for the Oracle connection.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Username for the Oracle connection.
	// +kubebuilder:validation:Optional
	Username *string `json:"username" tf:"username,omitempty"`
}

func (*OracleProfileParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleProfileParameters.

func (*OracleProfileParameters) DeepCopyInto

func (in *OracleProfileParameters) DeepCopyInto(out *OracleProfileParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PostgresqlProfileInitParameters

type PostgresqlProfileInitParameters struct {

	// Database for the PostgreSQL connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta1.Database
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Reference to a Database in sql to populate database.
	// +kubebuilder:validation:Optional
	DatabaseRef *v1.Reference `json:"databaseRef,omitempty" tf:"-"`

	// Selector for a Database in sql to populate database.
	// +kubebuilder:validation:Optional
	DatabaseSelector *v1.Selector `json:"databaseSelector,omitempty" tf:"-"`

	// Hostname for the PostgreSQL connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta2.DatabaseInstance
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("public_ip_address",true)
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Reference to a DatabaseInstance in sql to populate hostname.
	// +kubebuilder:validation:Optional
	HostnameRef *v1.Reference `json:"hostnameRef,omitempty" tf:"-"`

	// Selector for a DatabaseInstance in sql to populate hostname.
	// +kubebuilder:validation:Optional
	HostnameSelector *v1.Selector `json:"hostnameSelector,omitempty" tf:"-"`

	// Password for the PostgreSQL connection.
	// Note: This property is sensitive and will not be displayed in the plan.
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Port for the PostgreSQL connection.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Username for the PostgreSQL connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta2.User
	Username *string `json:"username,omitempty" tf:"username,omitempty"`

	// Reference to a User in sql to populate username.
	// +kubebuilder:validation:Optional
	UsernameRef *v1.Reference `json:"usernameRef,omitempty" tf:"-"`

	// Selector for a User in sql to populate username.
	// +kubebuilder:validation:Optional
	UsernameSelector *v1.Selector `json:"usernameSelector,omitempty" tf:"-"`
}

func (*PostgresqlProfileInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlProfileInitParameters.

func (*PostgresqlProfileInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PostgresqlProfileObservation

type PostgresqlProfileObservation struct {

	// Database for the PostgreSQL connection.
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Hostname for the PostgreSQL connection.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Port for the PostgreSQL connection.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Username for the PostgreSQL connection.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*PostgresqlProfileObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlProfileObservation.

func (*PostgresqlProfileObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PostgresqlProfileParameters

type PostgresqlProfileParameters struct {

	// Database for the PostgreSQL connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta1.Database
	// +kubebuilder:validation:Optional
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Reference to a Database in sql to populate database.
	// +kubebuilder:validation:Optional
	DatabaseRef *v1.Reference `json:"databaseRef,omitempty" tf:"-"`

	// Selector for a Database in sql to populate database.
	// +kubebuilder:validation:Optional
	DatabaseSelector *v1.Selector `json:"databaseSelector,omitempty" tf:"-"`

	// Hostname for the PostgreSQL connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta2.DatabaseInstance
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("public_ip_address",true)
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Reference to a DatabaseInstance in sql to populate hostname.
	// +kubebuilder:validation:Optional
	HostnameRef *v1.Reference `json:"hostnameRef,omitempty" tf:"-"`

	// Selector for a DatabaseInstance in sql to populate hostname.
	// +kubebuilder:validation:Optional
	HostnameSelector *v1.Selector `json:"hostnameSelector,omitempty" tf:"-"`

	// Password for the PostgreSQL connection.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Port for the PostgreSQL connection.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Username for the PostgreSQL connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta2.User
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`

	// Reference to a User in sql to populate username.
	// +kubebuilder:validation:Optional
	UsernameRef *v1.Reference `json:"usernameRef,omitempty" tf:"-"`

	// Selector for a User in sql to populate username.
	// +kubebuilder:validation:Optional
	UsernameSelector *v1.Selector `json:"usernameSelector,omitempty" tf:"-"`
}

func (*PostgresqlProfileParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresqlProfileParameters.

func (*PostgresqlProfileParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrivateConnection

type PrivateConnection struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.displayName) || (has(self.initProvider) && has(self.initProvider.displayName))",message="spec.forProvider.displayName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpcPeeringConfig) || (has(self.initProvider) && has(self.initProvider.vpcPeeringConfig))",message="spec.forProvider.vpcPeeringConfig is a required parameter"
	Spec   PrivateConnectionSpec   `json:"spec"`
	Status PrivateConnectionStatus `json:"status,omitempty"`
}

PrivateConnection is the Schema for the PrivateConnections API. The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*PrivateConnection) DeepCopy

func (in *PrivateConnection) DeepCopy() *PrivateConnection

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateConnection.

func (*PrivateConnection) DeepCopyInto

func (in *PrivateConnection) DeepCopyInto(out *PrivateConnection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PrivateConnection) DeepCopyObject

func (in *PrivateConnection) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PrivateConnection) GetCondition

func (mg *PrivateConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this PrivateConnection.

func (*PrivateConnection) GetConnectionDetailsMapping

func (tr *PrivateConnection) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this PrivateConnection

func (*PrivateConnection) GetDeletionPolicy

func (mg *PrivateConnection) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this PrivateConnection.

func (*PrivateConnection) GetID

func (tr *PrivateConnection) GetID() string

GetID returns ID of underlying Terraform resource of this PrivateConnection

func (*PrivateConnection) GetInitParameters

func (tr *PrivateConnection) GetInitParameters() (map[string]any, error)

GetInitParameters of this PrivateConnection

func (*PrivateConnection) GetManagementPolicies

func (mg *PrivateConnection) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this PrivateConnection.

func (*PrivateConnection) GetMergedParameters

func (tr *PrivateConnection) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this PrivateConnection

func (*PrivateConnection) GetObservation

func (tr *PrivateConnection) GetObservation() (map[string]any, error)

GetObservation of this PrivateConnection

func (*PrivateConnection) GetParameters

func (tr *PrivateConnection) GetParameters() (map[string]any, error)

GetParameters of this PrivateConnection

func (*PrivateConnection) GetProviderConfigReference

func (mg *PrivateConnection) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this PrivateConnection.

func (*PrivateConnection) GetPublishConnectionDetailsTo

func (mg *PrivateConnection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this PrivateConnection.

func (*PrivateConnection) GetTerraformResourceType

func (mg *PrivateConnection) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PrivateConnection

func (*PrivateConnection) GetTerraformSchemaVersion

func (tr *PrivateConnection) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PrivateConnection) GetWriteConnectionSecretToReference

func (mg *PrivateConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this PrivateConnection.

func (*PrivateConnection) Hub

func (tr *PrivateConnection) Hub()

Hub marks this type as a conversion hub.

func (*PrivateConnection) LateInitialize

func (tr *PrivateConnection) LateInitialize(attrs []byte) (bool, error)

LateInitialize this PrivateConnection using its observed tfState. returns True if there are any spec changes for the resource.

func (*PrivateConnection) ResolveReferences

func (mg *PrivateConnection) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this PrivateConnection.

func (*PrivateConnection) SetConditions

func (mg *PrivateConnection) SetConditions(c ...xpv1.Condition)

SetConditions of this PrivateConnection.

func (*PrivateConnection) SetDeletionPolicy

func (mg *PrivateConnection) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this PrivateConnection.

func (*PrivateConnection) SetManagementPolicies

func (mg *PrivateConnection) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this PrivateConnection.

func (*PrivateConnection) SetObservation

func (tr *PrivateConnection) SetObservation(obs map[string]any) error

SetObservation for this PrivateConnection

func (*PrivateConnection) SetParameters

func (tr *PrivateConnection) SetParameters(params map[string]any) error

SetParameters for this PrivateConnection

func (*PrivateConnection) SetProviderConfigReference

func (mg *PrivateConnection) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this PrivateConnection.

func (*PrivateConnection) SetPublishConnectionDetailsTo

func (mg *PrivateConnection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this PrivateConnection.

func (*PrivateConnection) SetWriteConnectionSecretToReference

func (mg *PrivateConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this PrivateConnection.

type PrivateConnectionInitParameters

type PrivateConnectionInitParameters struct {

	// If set to true, will skip validations.
	CreateWithoutValidation *bool `json:"createWithoutValidation,omitempty" tf:"create_without_validation,omitempty"`

	// Display name.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Labels.
	// Note: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field effective_labels for all of the labels present on the resource.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The VPC Peering configuration is used to create VPC peering
	// between Datastream and the consumer's VPC.
	// Structure is documented below.
	VPCPeeringConfig *VPCPeeringConfigInitParameters `json:"vpcPeeringConfig,omitempty" tf:"vpc_peering_config,omitempty"`
}

func (*PrivateConnectionInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateConnectionInitParameters.

func (*PrivateConnectionInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrivateConnectionList

type PrivateConnectionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PrivateConnection `json:"items"`
}

PrivateConnectionList contains a list of PrivateConnections

func (*PrivateConnectionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateConnectionList.

func (*PrivateConnectionList) DeepCopyInto

func (in *PrivateConnectionList) DeepCopyInto(out *PrivateConnectionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PrivateConnectionList) DeepCopyObject

func (in *PrivateConnectionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PrivateConnectionList) GetItems

func (l *PrivateConnectionList) GetItems() []resource.Managed

GetItems of this PrivateConnectionList.

type PrivateConnectionObservation

type PrivateConnectionObservation struct {

	// If set to true, will skip validations.
	CreateWithoutValidation *bool `json:"createWithoutValidation,omitempty" tf:"create_without_validation,omitempty"`

	// Display name.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// +mapType=granular
	EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"`

	// The PrivateConnection error in case of failure.
	// Structure is documented below.
	Error []ErrorObservation `json:"error,omitempty" tf:"error,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/privateConnections/{{private_connection_id}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels.
	// Note: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field effective_labels for all of the labels present on the resource.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the location this private connection is located in.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The resource's name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// State of the PrivateConnection.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	// +mapType=granular
	TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"`

	// The VPC Peering configuration is used to create VPC peering
	// between Datastream and the consumer's VPC.
	// Structure is documented below.
	VPCPeeringConfig *VPCPeeringConfigObservation `json:"vpcPeeringConfig,omitempty" tf:"vpc_peering_config,omitempty"`
}

func (*PrivateConnectionObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateConnectionObservation.

func (*PrivateConnectionObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrivateConnectionParameters

type PrivateConnectionParameters struct {

	// If set to true, will skip validations.
	// +kubebuilder:validation:Optional
	CreateWithoutValidation *bool `json:"createWithoutValidation,omitempty" tf:"create_without_validation,omitempty"`

	// Display name.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Labels.
	// Note: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field effective_labels for all of the labels present on the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the location this private connection is located in.
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The VPC Peering configuration is used to create VPC peering
	// between Datastream and the consumer's VPC.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	VPCPeeringConfig *VPCPeeringConfigParameters `json:"vpcPeeringConfig,omitempty" tf:"vpc_peering_config,omitempty"`
}

func (*PrivateConnectionParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateConnectionParameters.

func (*PrivateConnectionParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrivateConnectionSpec

type PrivateConnectionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PrivateConnectionParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider PrivateConnectionInitParameters `json:"initProvider,omitempty"`
}

PrivateConnectionSpec defines the desired state of PrivateConnection

func (*PrivateConnectionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateConnectionSpec.

func (*PrivateConnectionSpec) DeepCopyInto

func (in *PrivateConnectionSpec) DeepCopyInto(out *PrivateConnectionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrivateConnectionStatus

type PrivateConnectionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        PrivateConnectionObservation `json:"atProvider,omitempty"`
}

PrivateConnectionStatus defines the observed state of PrivateConnection.

func (*PrivateConnectionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateConnectionStatus.

func (*PrivateConnectionStatus) DeepCopyInto

func (in *PrivateConnectionStatus) DeepCopyInto(out *PrivateConnectionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrivateConnectivityInitParameters

type PrivateConnectivityInitParameters struct {

	// A reference to a private connection resource. Format: projects/{project}/locations/{location}/privateConnections/{name}
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/datastream/v1beta2.PrivateConnection
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	PrivateConnection *string `json:"privateConnection,omitempty" tf:"private_connection,omitempty"`

	// Reference to a PrivateConnection in datastream to populate privateConnection.
	// +kubebuilder:validation:Optional
	PrivateConnectionRef *v1.Reference `json:"privateConnectionRef,omitempty" tf:"-"`

	// Selector for a PrivateConnection in datastream to populate privateConnection.
	// +kubebuilder:validation:Optional
	PrivateConnectionSelector *v1.Selector `json:"privateConnectionSelector,omitempty" tf:"-"`
}

func (*PrivateConnectivityInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateConnectivityInitParameters.

func (*PrivateConnectivityInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrivateConnectivityObservation

type PrivateConnectivityObservation struct {

	// A reference to a private connection resource. Format: projects/{project}/locations/{location}/privateConnections/{name}
	PrivateConnection *string `json:"privateConnection,omitempty" tf:"private_connection,omitempty"`
}

func (*PrivateConnectivityObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateConnectivityObservation.

func (*PrivateConnectivityObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrivateConnectivityParameters

type PrivateConnectivityParameters struct {

	// A reference to a private connection resource. Format: projects/{project}/locations/{location}/privateConnections/{name}
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/datastream/v1beta2.PrivateConnection
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PrivateConnection *string `json:"privateConnection,omitempty" tf:"private_connection,omitempty"`

	// Reference to a PrivateConnection in datastream to populate privateConnection.
	// +kubebuilder:validation:Optional
	PrivateConnectionRef *v1.Reference `json:"privateConnectionRef,omitempty" tf:"-"`

	// Selector for a PrivateConnection in datastream to populate privateConnection.
	// +kubebuilder:validation:Optional
	PrivateConnectionSelector *v1.Selector `json:"privateConnectionSelector,omitempty" tf:"-"`
}

func (*PrivateConnectivityParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateConnectivityParameters.

func (*PrivateConnectivityParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SQLServerProfileInitParameters added in v1.7.0

type SQLServerProfileInitParameters struct {

	// Database for the SQL Server connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta1.Database
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Reference to a Database in sql to populate database.
	// +kubebuilder:validation:Optional
	DatabaseRef *v1.Reference `json:"databaseRef,omitempty" tf:"-"`

	// Selector for a Database in sql to populate database.
	// +kubebuilder:validation:Optional
	DatabaseSelector *v1.Selector `json:"databaseSelector,omitempty" tf:"-"`

	// Hostname for the SQL Server connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta2.DatabaseInstance
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("public_ip_address",true)
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Reference to a DatabaseInstance in sql to populate hostname.
	// +kubebuilder:validation:Optional
	HostnameRef *v1.Reference `json:"hostnameRef,omitempty" tf:"-"`

	// Selector for a DatabaseInstance in sql to populate hostname.
	// +kubebuilder:validation:Optional
	HostnameSelector *v1.Selector `json:"hostnameSelector,omitempty" tf:"-"`

	// Password for the SQL Server connection.
	// Note: This property is sensitive and will not be displayed in the plan.
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Port for the SQL Server connection.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Username for the SQL Server connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta2.User
	Username *string `json:"username,omitempty" tf:"username,omitempty"`

	// Reference to a User in sql to populate username.
	// +kubebuilder:validation:Optional
	UsernameRef *v1.Reference `json:"usernameRef,omitempty" tf:"-"`

	// Selector for a User in sql to populate username.
	// +kubebuilder:validation:Optional
	UsernameSelector *v1.Selector `json:"usernameSelector,omitempty" tf:"-"`
}

func (*SQLServerProfileInitParameters) DeepCopy added in v1.7.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerProfileInitParameters.

func (*SQLServerProfileInitParameters) DeepCopyInto added in v1.7.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SQLServerProfileObservation added in v1.7.0

type SQLServerProfileObservation struct {

	// Database for the SQL Server connection.
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Hostname for the SQL Server connection.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Port for the SQL Server connection.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Username for the SQL Server connection.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*SQLServerProfileObservation) DeepCopy added in v1.7.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerProfileObservation.

func (*SQLServerProfileObservation) DeepCopyInto added in v1.7.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SQLServerProfileParameters added in v1.7.0

type SQLServerProfileParameters struct {

	// Database for the SQL Server connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta1.Database
	// +kubebuilder:validation:Optional
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Reference to a Database in sql to populate database.
	// +kubebuilder:validation:Optional
	DatabaseRef *v1.Reference `json:"databaseRef,omitempty" tf:"-"`

	// Selector for a Database in sql to populate database.
	// +kubebuilder:validation:Optional
	DatabaseSelector *v1.Selector `json:"databaseSelector,omitempty" tf:"-"`

	// Hostname for the SQL Server connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta2.DatabaseInstance
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("public_ip_address",true)
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Reference to a DatabaseInstance in sql to populate hostname.
	// +kubebuilder:validation:Optional
	HostnameRef *v1.Reference `json:"hostnameRef,omitempty" tf:"-"`

	// Selector for a DatabaseInstance in sql to populate hostname.
	// +kubebuilder:validation:Optional
	HostnameSelector *v1.Selector `json:"hostnameSelector,omitempty" tf:"-"`

	// Password for the SQL Server connection.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Port for the SQL Server connection.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Username for the SQL Server connection.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta2.User
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`

	// Reference to a User in sql to populate username.
	// +kubebuilder:validation:Optional
	UsernameRef *v1.Reference `json:"usernameRef,omitempty" tf:"-"`

	// Selector for a User in sql to populate username.
	// +kubebuilder:validation:Optional
	UsernameSelector *v1.Selector `json:"usernameSelector,omitempty" tf:"-"`
}

func (*SQLServerProfileParameters) DeepCopy added in v1.7.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLServerProfileParameters.

func (*SQLServerProfileParameters) DeepCopyInto added in v1.7.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SSLConfigInitParameters

type SSLConfigInitParameters struct {

	// PEM-encoded certificate of the CA that signed the source database
	// server's certificate.
	// Note: This property is sensitive and will not be displayed in the plan.
	CACertificateSecretRef *v1.SecretKeySelector `json:"caCertificateSecretRef,omitempty" tf:"-"`

	// PEM-encoded certificate that will be used by the replica to
	// authenticate against the source database server. If this field
	// is used then the 'clientKey' and the 'caCertificate' fields are
	// mandatory.
	// Note: This property is sensitive and will not be displayed in the plan.
	ClientCertificateSecretRef *v1.SecretKeySelector `json:"clientCertificateSecretRef,omitempty" tf:"-"`

	// PEM-encoded private key associated with the Client Certificate.
	// If this field is used then the 'client_certificate' and the
	// 'ca_certificate' fields are mandatory.
	// Note: This property is sensitive and will not be displayed in the plan.
	ClientKeySecretRef *v1.SecretKeySelector `json:"clientKeySecretRef,omitempty" tf:"-"`
}

func (*SSLConfigInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLConfigInitParameters.

func (*SSLConfigInitParameters) DeepCopyInto

func (in *SSLConfigInitParameters) DeepCopyInto(out *SSLConfigInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SSLConfigObservation

type SSLConfigObservation struct {

	// (Output)
	// Indicates whether the clientKey field is set.
	CACertificateSet *bool `json:"caCertificateSet,omitempty" tf:"ca_certificate_set,omitempty"`

	// (Output)
	// Indicates whether the clientCertificate field is set.
	ClientCertificateSet *bool `json:"clientCertificateSet,omitempty" tf:"client_certificate_set,omitempty"`

	// (Output)
	// Indicates whether the clientKey field is set.
	ClientKeySet *bool `json:"clientKeySet,omitempty" tf:"client_key_set,omitempty"`
}

func (*SSLConfigObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLConfigObservation.

func (*SSLConfigObservation) DeepCopyInto

func (in *SSLConfigObservation) DeepCopyInto(out *SSLConfigObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SSLConfigParameters

type SSLConfigParameters struct {

	// PEM-encoded certificate of the CA that signed the source database
	// server's certificate.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	CACertificateSecretRef *v1.SecretKeySelector `json:"caCertificateSecretRef,omitempty" tf:"-"`

	// PEM-encoded certificate that will be used by the replica to
	// authenticate against the source database server. If this field
	// is used then the 'clientKey' and the 'caCertificate' fields are
	// mandatory.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	ClientCertificateSecretRef *v1.SecretKeySelector `json:"clientCertificateSecretRef,omitempty" tf:"-"`

	// PEM-encoded private key associated with the Client Certificate.
	// If this field is used then the 'client_certificate' and the
	// 'ca_certificate' fields are mandatory.
	// Note: This property is sensitive and will not be displayed in the plan.
	// +kubebuilder:validation:Optional
	ClientKeySecretRef *v1.SecretKeySelector `json:"clientKeySecretRef,omitempty" tf:"-"`
}

func (*SSLConfigParameters) DeepCopy

func (in *SSLConfigParameters) DeepCopy() *SSLConfigParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLConfigParameters.

func (*SSLConfigParameters) DeepCopyInto

func (in *SSLConfigParameters) DeepCopyInto(out *SSLConfigParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VPCPeeringConfigInitParameters

type VPCPeeringConfigInitParameters struct {

	// A free subnet for peering. (CIDR of /29)
	Subnet *string `json:"subnet,omitempty" tf:"subnet,omitempty"`

	// Fully qualified name of the VPC that Datastream will peer to.
	// Format: projects/{project}/global/{networks}/{name}
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	VPC *string `json:"vpc,omitempty" tf:"vpc,omitempty"`

	// Reference to a Network in compute to populate vpc.
	// +kubebuilder:validation:Optional
	VPCRef *v1.Reference `json:"vpcRef,omitempty" tf:"-"`

	// Selector for a Network in compute to populate vpc.
	// +kubebuilder:validation:Optional
	VPCSelector *v1.Selector `json:"vpcSelector,omitempty" tf:"-"`
}

func (*VPCPeeringConfigInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConfigInitParameters.

func (*VPCPeeringConfigInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VPCPeeringConfigObservation

type VPCPeeringConfigObservation struct {

	// A free subnet for peering. (CIDR of /29)
	Subnet *string `json:"subnet,omitempty" tf:"subnet,omitempty"`

	// Fully qualified name of the VPC that Datastream will peer to.
	// Format: projects/{project}/global/{networks}/{name}
	VPC *string `json:"vpc,omitempty" tf:"vpc,omitempty"`
}

func (*VPCPeeringConfigObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConfigObservation.

func (*VPCPeeringConfigObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VPCPeeringConfigParameters

type VPCPeeringConfigParameters struct {

	// A free subnet for peering. (CIDR of /29)
	// +kubebuilder:validation:Optional
	Subnet *string `json:"subnet" tf:"subnet,omitempty"`

	// Fully qualified name of the VPC that Datastream will peer to.
	// Format: projects/{project}/global/{networks}/{name}
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	VPC *string `json:"vpc,omitempty" tf:"vpc,omitempty"`

	// Reference to a Network in compute to populate vpc.
	// +kubebuilder:validation:Optional
	VPCRef *v1.Reference `json:"vpcRef,omitempty" tf:"-"`

	// Selector for a Network in compute to populate vpc.
	// +kubebuilder:validation:Optional
	VPCSelector *v1.Selector `json:"vpcSelector,omitempty" tf:"-"`
}

func (*VPCPeeringConfigParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCPeeringConfigParameters.

func (*VPCPeeringConfigParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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