1. Packages
  2. Yandex
  3. API Docs
  4. DatatransferEndpoint
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.DatatransferEndpoint

Explore with Pulumi AI

Manages a Data Transfer endpoint. For more information, see the official documentation.

Example Usage

using Pulumi;
using Yandex = Pulumi.Yandex;

class MyStack : Stack
{
    public MyStack()
    {
        var pgSource = new Yandex.DatatransferEndpoint("pgSource", new Yandex.DatatransferEndpointArgs
        {
            Settings = new Yandex.Inputs.DatatransferEndpointSettingsArgs
            {
                PostgresSource = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourceArgs
                {
                    Connection = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourceConnectionArgs
                    {
                        OnPremise = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseArgs
                        {
                            Hosts = 
                            {
                                "example.org",
                            },
                            Port = 5432,
                        },
                    },
                    Database = "db1",
                    Password = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourcePasswordArgs
                    {
                        Raw = "123",
                    },
                    SlotGigabyteLagLimit = 100,
                    User = "user1",
                },
            },
        });
        var pgTarget = new Yandex.DatatransferEndpoint("pgTarget", new Yandex.DatatransferEndpointArgs
        {
            FolderId = "some_folder_id",
            Settings = new Yandex.Inputs.DatatransferEndpointSettingsArgs
            {
                PostgresTarget = new Yandex.Inputs.DatatransferEndpointSettingsPostgresTargetArgs
                {
                    Connection = new Yandex.Inputs.DatatransferEndpointSettingsPostgresTargetConnectionArgs
                    {
                        MdbClusterId = "some_cluster_id",
                    },
                    Database = "db2",
                    Password = new Yandex.Inputs.DatatransferEndpointSettingsPostgresTargetPasswordArgs
                    {
                        Raw = "321",
                    },
                    User = "user2",
                },
            },
        });
    }

}
Copy
package main

import (
	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := yandex.NewDatatransferEndpoint(ctx, "pgSource", &yandex.DatatransferEndpointArgs{
			Settings: &DatatransferEndpointSettingsArgs{
				PostgresSource: &DatatransferEndpointSettingsPostgresSourceArgs{
					Connection: &DatatransferEndpointSettingsPostgresSourceConnectionArgs{
						OnPremise: &DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseArgs{
							Hosts: pulumi.StringArray{
								pulumi.String("example.org"),
							},
							Port: pulumi.Int(5432),
						},
					},
					Database: pulumi.String("db1"),
					Password: &DatatransferEndpointSettingsPostgresSourcePasswordArgs{
						Raw: pulumi.String("123"),
					},
					SlotGigabyteLagLimit: pulumi.Int(100),
					User:                 pulumi.String("user1"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = yandex.NewDatatransferEndpoint(ctx, "pgTarget", &yandex.DatatransferEndpointArgs{
			FolderId: pulumi.String("some_folder_id"),
			Settings: &DatatransferEndpointSettingsArgs{
				PostgresTarget: &DatatransferEndpointSettingsPostgresTargetArgs{
					Connection: &DatatransferEndpointSettingsPostgresTargetConnectionArgs{
						MdbClusterId: pulumi.String("some_cluster_id"),
					},
					Database: pulumi.String("db2"),
					Password: &DatatransferEndpointSettingsPostgresTargetPasswordArgs{
						Raw: pulumi.String("321"),
					},
					User: pulumi.String("user2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";

const pgSource = new yandex.DatatransferEndpoint("pg_source", {
    settings: {
        postgresSource: {
            connection: {
                onPremise: {
                    hosts: ["example.org"],
                    port: 5432,
                },
            },
            database: "db1",
            password: {
                raw: "123",
            },
            slotGigabyteLagLimit: 100,
            user: "user1",
        },
    },
});
const pgTarget = new yandex.DatatransferEndpoint("pg_target", {
    folderId: "some_folder_id",
    settings: {
        postgresTarget: {
            connection: {
                mdbClusterId: "some_cluster_id",
            },
            database: "db2",
            password: {
                raw: "321",
            },
            user: "user2",
        },
    },
});
Copy
import pulumi
import pulumi_yandex as yandex

pg_source = yandex.DatatransferEndpoint("pgSource", settings=yandex.DatatransferEndpointSettingsArgs(
    postgres_source=yandex.DatatransferEndpointSettingsPostgresSourceArgs(
        connection=yandex.DatatransferEndpointSettingsPostgresSourceConnectionArgs(
            on_premise=yandex.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseArgs(
                hosts=["example.org"],
                port=5432,
            ),
        ),
        database="db1",
        password=yandex.DatatransferEndpointSettingsPostgresSourcePasswordArgs(
            raw="123",
        ),
        slot_gigabyte_lag_limit=100,
        user="user1",
    ),
))
pg_target = yandex.DatatransferEndpoint("pgTarget",
    folder_id="some_folder_id",
    settings=yandex.DatatransferEndpointSettingsArgs(
        postgres_target=yandex.DatatransferEndpointSettingsPostgresTargetArgs(
            connection=yandex.DatatransferEndpointSettingsPostgresTargetConnectionArgs(
                mdb_cluster_id="some_cluster_id",
            ),
            database="db2",
            password=yandex.DatatransferEndpointSettingsPostgresTargetPasswordArgs(
                raw="321",
            ),
            user="user2",
        ),
    ))
Copy

Coming soon!

Create DatatransferEndpoint Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DatatransferEndpoint(name: string, args?: DatatransferEndpointArgs, opts?: CustomResourceOptions);
@overload
def DatatransferEndpoint(resource_name: str,
                         args: Optional[DatatransferEndpointArgs] = None,
                         opts: Optional[ResourceOptions] = None)

@overload
def DatatransferEndpoint(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         description: Optional[str] = None,
                         folder_id: Optional[str] = None,
                         labels: Optional[Mapping[str, str]] = None,
                         name: Optional[str] = None,
                         settings: Optional[DatatransferEndpointSettingsArgs] = None)
func NewDatatransferEndpoint(ctx *Context, name string, args *DatatransferEndpointArgs, opts ...ResourceOption) (*DatatransferEndpoint, error)
public DatatransferEndpoint(string name, DatatransferEndpointArgs? args = null, CustomResourceOptions? opts = null)
public DatatransferEndpoint(String name, DatatransferEndpointArgs args)
public DatatransferEndpoint(String name, DatatransferEndpointArgs args, CustomResourceOptions options)
type: yandex:DatatransferEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args DatatransferEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args DatatransferEndpointArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args DatatransferEndpointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args DatatransferEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DatatransferEndpointArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var datatransferEndpointResource = new Yandex.DatatransferEndpoint("datatransferEndpointResource", new()
{
    Description = "string",
    FolderId = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Name = "string",
    Settings = new Yandex.Inputs.DatatransferEndpointSettingsArgs
    {
        MysqlSource = new Yandex.Inputs.DatatransferEndpointSettingsMysqlSourceArgs
        {
            Connection = new Yandex.Inputs.DatatransferEndpointSettingsMysqlSourceConnectionArgs
            {
                MdbClusterId = "string",
                OnPremise = new Yandex.Inputs.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseArgs
                {
                    CaCertificate = "string",
                    Hosts = new[]
                    {
                        "string",
                    },
                    Port = 0,
                    SubnetId = "string",
                    TlsMode = new Yandex.Inputs.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeArgs
                    {
                        Disabled = null,
                        Enabled = new Yandex.Inputs.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabledArgs
                        {
                            CaCertificate = "string",
                        },
                    },
                },
            },
            Database = "string",
            ExcludeTablesRegexes = new[]
            {
                "string",
            },
            IncludeTablesRegexes = new[]
            {
                "string",
            },
            ObjectTransferSettings = new Yandex.Inputs.DatatransferEndpointSettingsMysqlSourceObjectTransferSettingsArgs
            {
                Routine = "string",
                Trigger = "string",
                View = "string",
            },
            Password = new Yandex.Inputs.DatatransferEndpointSettingsMysqlSourcePasswordArgs
            {
                Raw = "string",
            },
            Timezone = "string",
            User = "string",
        },
        MysqlTarget = new Yandex.Inputs.DatatransferEndpointSettingsMysqlTargetArgs
        {
            Connection = new Yandex.Inputs.DatatransferEndpointSettingsMysqlTargetConnectionArgs
            {
                MdbClusterId = "string",
                OnPremise = new Yandex.Inputs.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseArgs
                {
                    CaCertificate = "string",
                    Hosts = new[]
                    {
                        "string",
                    },
                    Port = 0,
                    SubnetId = "string",
                    TlsMode = new Yandex.Inputs.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeArgs
                    {
                        Disabled = null,
                        Enabled = new Yandex.Inputs.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabledArgs
                        {
                            CaCertificate = "string",
                        },
                    },
                },
            },
            Database = "string",
            Password = new Yandex.Inputs.DatatransferEndpointSettingsMysqlTargetPasswordArgs
            {
                Raw = "string",
            },
            ServiceSchema = "string",
            SkipConstraintChecks = false,
            SqlMode = "string",
            Timezone = "string",
            User = "string",
        },
        PostgresSource = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourceArgs
        {
            CollapseInheritTable = false,
            Connection = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourceConnectionArgs
            {
                MdbClusterId = "string",
                OnPremise = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseArgs
                {
                    CaCertificate = "string",
                    Hosts = new[]
                    {
                        "string",
                    },
                    Port = 0,
                    SubnetId = "string",
                    TlsMode = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeArgs
                    {
                        Disabled = null,
                        Enabled = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabledArgs
                        {
                            CaCertificate = "string",
                        },
                    },
                },
            },
            Database = "string",
            ExcludeTables = new[]
            {
                "string",
            },
            IncludeTables = new[]
            {
                "string",
            },
            ObjectTransferSettings = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourceObjectTransferSettingsArgs
            {
                Cast = "string",
                Collation = "string",
                Constraint = "string",
                DefaultValues = "string",
                FkConstraint = "string",
                Function = "string",
                Index = "string",
                Policy = "string",
                PrimaryKey = "string",
                Rule = "string",
                Sequence = "string",
                SequenceOwnedBy = "string",
                Table = "string",
                Trigger = "string",
                Type = "string",
                View = "string",
            },
            Password = new Yandex.Inputs.DatatransferEndpointSettingsPostgresSourcePasswordArgs
            {
                Raw = "string",
            },
            ServiceSchema = "string",
            SlotGigabyteLagLimit = 0,
            User = "string",
        },
        PostgresTarget = new Yandex.Inputs.DatatransferEndpointSettingsPostgresTargetArgs
        {
            Connection = new Yandex.Inputs.DatatransferEndpointSettingsPostgresTargetConnectionArgs
            {
                MdbClusterId = "string",
                OnPremise = new Yandex.Inputs.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseArgs
                {
                    CaCertificate = "string",
                    Hosts = new[]
                    {
                        "string",
                    },
                    Port = 0,
                    SubnetId = "string",
                    TlsMode = new Yandex.Inputs.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeArgs
                    {
                        Disabled = null,
                        Enabled = new Yandex.Inputs.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabledArgs
                        {
                            CaCertificate = "string",
                        },
                    },
                },
            },
            Database = "string",
            Password = new Yandex.Inputs.DatatransferEndpointSettingsPostgresTargetPasswordArgs
            {
                Raw = "string",
            },
            User = "string",
        },
    },
});
Copy
example, err := yandex.NewDatatransferEndpoint(ctx, "datatransferEndpointResource", &yandex.DatatransferEndpointArgs{
	Description: pulumi.String("string"),
	FolderId:    pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	Settings: &yandex.DatatransferEndpointSettingsArgs{
		MysqlSource: &yandex.DatatransferEndpointSettingsMysqlSourceArgs{
			Connection: &yandex.DatatransferEndpointSettingsMysqlSourceConnectionArgs{
				MdbClusterId: pulumi.String("string"),
				OnPremise: &yandex.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseArgs{
					CaCertificate: pulumi.String("string"),
					Hosts: pulumi.StringArray{
						pulumi.String("string"),
					},
					Port:     pulumi.Int(0),
					SubnetId: pulumi.String("string"),
					TlsMode: &yandex.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeArgs{
						Disabled: &yandex.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeDisabledArgs{},
						Enabled: &yandex.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabledArgs{
							CaCertificate: pulumi.String("string"),
						},
					},
				},
			},
			Database: pulumi.String("string"),
			ExcludeTablesRegexes: pulumi.StringArray{
				pulumi.String("string"),
			},
			IncludeTablesRegexes: pulumi.StringArray{
				pulumi.String("string"),
			},
			ObjectTransferSettings: &yandex.DatatransferEndpointSettingsMysqlSourceObjectTransferSettingsArgs{
				Routine: pulumi.String("string"),
				Trigger: pulumi.String("string"),
				View:    pulumi.String("string"),
			},
			Password: &yandex.DatatransferEndpointSettingsMysqlSourcePasswordArgs{
				Raw: pulumi.String("string"),
			},
			Timezone: pulumi.String("string"),
			User:     pulumi.String("string"),
		},
		MysqlTarget: &yandex.DatatransferEndpointSettingsMysqlTargetArgs{
			Connection: &yandex.DatatransferEndpointSettingsMysqlTargetConnectionArgs{
				MdbClusterId: pulumi.String("string"),
				OnPremise: &yandex.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseArgs{
					CaCertificate: pulumi.String("string"),
					Hosts: pulumi.StringArray{
						pulumi.String("string"),
					},
					Port:     pulumi.Int(0),
					SubnetId: pulumi.String("string"),
					TlsMode: &yandex.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeArgs{
						Disabled: &yandex.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeDisabledArgs{},
						Enabled: &yandex.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabledArgs{
							CaCertificate: pulumi.String("string"),
						},
					},
				},
			},
			Database: pulumi.String("string"),
			Password: &yandex.DatatransferEndpointSettingsMysqlTargetPasswordArgs{
				Raw: pulumi.String("string"),
			},
			ServiceSchema:        pulumi.String("string"),
			SkipConstraintChecks: pulumi.Bool(false),
			SqlMode:              pulumi.String("string"),
			Timezone:             pulumi.String("string"),
			User:                 pulumi.String("string"),
		},
		PostgresSource: &yandex.DatatransferEndpointSettingsPostgresSourceArgs{
			CollapseInheritTable: pulumi.Bool(false),
			Connection: &yandex.DatatransferEndpointSettingsPostgresSourceConnectionArgs{
				MdbClusterId: pulumi.String("string"),
				OnPremise: &yandex.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseArgs{
					CaCertificate: pulumi.String("string"),
					Hosts: pulumi.StringArray{
						pulumi.String("string"),
					},
					Port:     pulumi.Int(0),
					SubnetId: pulumi.String("string"),
					TlsMode: &yandex.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeArgs{
						Disabled: &yandex.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeDisabledArgs{},
						Enabled: &yandex.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabledArgs{
							CaCertificate: pulumi.String("string"),
						},
					},
				},
			},
			Database: pulumi.String("string"),
			ExcludeTables: pulumi.StringArray{
				pulumi.String("string"),
			},
			IncludeTables: pulumi.StringArray{
				pulumi.String("string"),
			},
			ObjectTransferSettings: &yandex.DatatransferEndpointSettingsPostgresSourceObjectTransferSettingsArgs{
				Cast:            pulumi.String("string"),
				Collation:       pulumi.String("string"),
				Constraint:      pulumi.String("string"),
				DefaultValues:   pulumi.String("string"),
				FkConstraint:    pulumi.String("string"),
				Function:        pulumi.String("string"),
				Index:           pulumi.String("string"),
				Policy:          pulumi.String("string"),
				PrimaryKey:      pulumi.String("string"),
				Rule:            pulumi.String("string"),
				Sequence:        pulumi.String("string"),
				SequenceOwnedBy: pulumi.String("string"),
				Table:           pulumi.String("string"),
				Trigger:         pulumi.String("string"),
				Type:            pulumi.String("string"),
				View:            pulumi.String("string"),
			},
			Password: &yandex.DatatransferEndpointSettingsPostgresSourcePasswordArgs{
				Raw: pulumi.String("string"),
			},
			ServiceSchema:        pulumi.String("string"),
			SlotGigabyteLagLimit: pulumi.Int(0),
			User:                 pulumi.String("string"),
		},
		PostgresTarget: &yandex.DatatransferEndpointSettingsPostgresTargetArgs{
			Connection: &yandex.DatatransferEndpointSettingsPostgresTargetConnectionArgs{
				MdbClusterId: pulumi.String("string"),
				OnPremise: &yandex.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseArgs{
					CaCertificate: pulumi.String("string"),
					Hosts: pulumi.StringArray{
						pulumi.String("string"),
					},
					Port:     pulumi.Int(0),
					SubnetId: pulumi.String("string"),
					TlsMode: &yandex.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeArgs{
						Disabled: &yandex.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeDisabledArgs{},
						Enabled: &yandex.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabledArgs{
							CaCertificate: pulumi.String("string"),
						},
					},
				},
			},
			Database: pulumi.String("string"),
			Password: &yandex.DatatransferEndpointSettingsPostgresTargetPasswordArgs{
				Raw: pulumi.String("string"),
			},
			User: pulumi.String("string"),
		},
	},
})
Copy
var datatransferEndpointResource = new DatatransferEndpoint("datatransferEndpointResource", DatatransferEndpointArgs.builder()
    .description("string")
    .folderId("string")
    .labels(Map.of("string", "string"))
    .name("string")
    .settings(DatatransferEndpointSettingsArgs.builder()
        .mysqlSource(DatatransferEndpointSettingsMysqlSourceArgs.builder()
            .connection(DatatransferEndpointSettingsMysqlSourceConnectionArgs.builder()
                .mdbClusterId("string")
                .onPremise(DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseArgs.builder()
                    .caCertificate("string")
                    .hosts("string")
                    .port(0)
                    .subnetId("string")
                    .tlsMode(DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeArgs.builder()
                        .disabled()
                        .enabled(DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabledArgs.builder()
                            .caCertificate("string")
                            .build())
                        .build())
                    .build())
                .build())
            .database("string")
            .excludeTablesRegexes("string")
            .includeTablesRegexes("string")
            .objectTransferSettings(DatatransferEndpointSettingsMysqlSourceObjectTransferSettingsArgs.builder()
                .routine("string")
                .trigger("string")
                .view("string")
                .build())
            .password(DatatransferEndpointSettingsMysqlSourcePasswordArgs.builder()
                .raw("string")
                .build())
            .timezone("string")
            .user("string")
            .build())
        .mysqlTarget(DatatransferEndpointSettingsMysqlTargetArgs.builder()
            .connection(DatatransferEndpointSettingsMysqlTargetConnectionArgs.builder()
                .mdbClusterId("string")
                .onPremise(DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseArgs.builder()
                    .caCertificate("string")
                    .hosts("string")
                    .port(0)
                    .subnetId("string")
                    .tlsMode(DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeArgs.builder()
                        .disabled()
                        .enabled(DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabledArgs.builder()
                            .caCertificate("string")
                            .build())
                        .build())
                    .build())
                .build())
            .database("string")
            .password(DatatransferEndpointSettingsMysqlTargetPasswordArgs.builder()
                .raw("string")
                .build())
            .serviceSchema("string")
            .skipConstraintChecks(false)
            .sqlMode("string")
            .timezone("string")
            .user("string")
            .build())
        .postgresSource(DatatransferEndpointSettingsPostgresSourceArgs.builder()
            .collapseInheritTable(false)
            .connection(DatatransferEndpointSettingsPostgresSourceConnectionArgs.builder()
                .mdbClusterId("string")
                .onPremise(DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseArgs.builder()
                    .caCertificate("string")
                    .hosts("string")
                    .port(0)
                    .subnetId("string")
                    .tlsMode(DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeArgs.builder()
                        .disabled()
                        .enabled(DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabledArgs.builder()
                            .caCertificate("string")
                            .build())
                        .build())
                    .build())
                .build())
            .database("string")
            .excludeTables("string")
            .includeTables("string")
            .objectTransferSettings(DatatransferEndpointSettingsPostgresSourceObjectTransferSettingsArgs.builder()
                .cast("string")
                .collation("string")
                .constraint("string")
                .defaultValues("string")
                .fkConstraint("string")
                .function("string")
                .index("string")
                .policy("string")
                .primaryKey("string")
                .rule("string")
                .sequence("string")
                .sequenceOwnedBy("string")
                .table("string")
                .trigger("string")
                .type("string")
                .view("string")
                .build())
            .password(DatatransferEndpointSettingsPostgresSourcePasswordArgs.builder()
                .raw("string")
                .build())
            .serviceSchema("string")
            .slotGigabyteLagLimit(0)
            .user("string")
            .build())
        .postgresTarget(DatatransferEndpointSettingsPostgresTargetArgs.builder()
            .connection(DatatransferEndpointSettingsPostgresTargetConnectionArgs.builder()
                .mdbClusterId("string")
                .onPremise(DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseArgs.builder()
                    .caCertificate("string")
                    .hosts("string")
                    .port(0)
                    .subnetId("string")
                    .tlsMode(DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeArgs.builder()
                        .disabled()
                        .enabled(DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabledArgs.builder()
                            .caCertificate("string")
                            .build())
                        .build())
                    .build())
                .build())
            .database("string")
            .password(DatatransferEndpointSettingsPostgresTargetPasswordArgs.builder()
                .raw("string")
                .build())
            .user("string")
            .build())
        .build())
    .build());
Copy
datatransfer_endpoint_resource = yandex.DatatransferEndpoint("datatransferEndpointResource",
    description="string",
    folder_id="string",
    labels={
        "string": "string",
    },
    name="string",
    settings={
        "mysql_source": {
            "connection": {
                "mdb_cluster_id": "string",
                "on_premise": {
                    "ca_certificate": "string",
                    "hosts": ["string"],
                    "port": 0,
                    "subnet_id": "string",
                    "tls_mode": {
                        "disabled": {},
                        "enabled": {
                            "ca_certificate": "string",
                        },
                    },
                },
            },
            "database": "string",
            "exclude_tables_regexes": ["string"],
            "include_tables_regexes": ["string"],
            "object_transfer_settings": {
                "routine": "string",
                "trigger": "string",
                "view": "string",
            },
            "password": {
                "raw": "string",
            },
            "timezone": "string",
            "user": "string",
        },
        "mysql_target": {
            "connection": {
                "mdb_cluster_id": "string",
                "on_premise": {
                    "ca_certificate": "string",
                    "hosts": ["string"],
                    "port": 0,
                    "subnet_id": "string",
                    "tls_mode": {
                        "disabled": {},
                        "enabled": {
                            "ca_certificate": "string",
                        },
                    },
                },
            },
            "database": "string",
            "password": {
                "raw": "string",
            },
            "service_schema": "string",
            "skip_constraint_checks": False,
            "sql_mode": "string",
            "timezone": "string",
            "user": "string",
        },
        "postgres_source": {
            "collapse_inherit_table": False,
            "connection": {
                "mdb_cluster_id": "string",
                "on_premise": {
                    "ca_certificate": "string",
                    "hosts": ["string"],
                    "port": 0,
                    "subnet_id": "string",
                    "tls_mode": {
                        "disabled": {},
                        "enabled": {
                            "ca_certificate": "string",
                        },
                    },
                },
            },
            "database": "string",
            "exclude_tables": ["string"],
            "include_tables": ["string"],
            "object_transfer_settings": {
                "cast": "string",
                "collation": "string",
                "constraint": "string",
                "default_values": "string",
                "fk_constraint": "string",
                "function": "string",
                "index": "string",
                "policy": "string",
                "primary_key": "string",
                "rule": "string",
                "sequence": "string",
                "sequence_owned_by": "string",
                "table": "string",
                "trigger": "string",
                "type": "string",
                "view": "string",
            },
            "password": {
                "raw": "string",
            },
            "service_schema": "string",
            "slot_gigabyte_lag_limit": 0,
            "user": "string",
        },
        "postgres_target": {
            "connection": {
                "mdb_cluster_id": "string",
                "on_premise": {
                    "ca_certificate": "string",
                    "hosts": ["string"],
                    "port": 0,
                    "subnet_id": "string",
                    "tls_mode": {
                        "disabled": {},
                        "enabled": {
                            "ca_certificate": "string",
                        },
                    },
                },
            },
            "database": "string",
            "password": {
                "raw": "string",
            },
            "user": "string",
        },
    })
Copy
const datatransferEndpointResource = new yandex.DatatransferEndpoint("datatransferEndpointResource", {
    description: "string",
    folderId: "string",
    labels: {
        string: "string",
    },
    name: "string",
    settings: {
        mysqlSource: {
            connection: {
                mdbClusterId: "string",
                onPremise: {
                    caCertificate: "string",
                    hosts: ["string"],
                    port: 0,
                    subnetId: "string",
                    tlsMode: {
                        disabled: {},
                        enabled: {
                            caCertificate: "string",
                        },
                    },
                },
            },
            database: "string",
            excludeTablesRegexes: ["string"],
            includeTablesRegexes: ["string"],
            objectTransferSettings: {
                routine: "string",
                trigger: "string",
                view: "string",
            },
            password: {
                raw: "string",
            },
            timezone: "string",
            user: "string",
        },
        mysqlTarget: {
            connection: {
                mdbClusterId: "string",
                onPremise: {
                    caCertificate: "string",
                    hosts: ["string"],
                    port: 0,
                    subnetId: "string",
                    tlsMode: {
                        disabled: {},
                        enabled: {
                            caCertificate: "string",
                        },
                    },
                },
            },
            database: "string",
            password: {
                raw: "string",
            },
            serviceSchema: "string",
            skipConstraintChecks: false,
            sqlMode: "string",
            timezone: "string",
            user: "string",
        },
        postgresSource: {
            collapseInheritTable: false,
            connection: {
                mdbClusterId: "string",
                onPremise: {
                    caCertificate: "string",
                    hosts: ["string"],
                    port: 0,
                    subnetId: "string",
                    tlsMode: {
                        disabled: {},
                        enabled: {
                            caCertificate: "string",
                        },
                    },
                },
            },
            database: "string",
            excludeTables: ["string"],
            includeTables: ["string"],
            objectTransferSettings: {
                cast: "string",
                collation: "string",
                constraint: "string",
                defaultValues: "string",
                fkConstraint: "string",
                "function": "string",
                index: "string",
                policy: "string",
                primaryKey: "string",
                rule: "string",
                sequence: "string",
                sequenceOwnedBy: "string",
                table: "string",
                trigger: "string",
                type: "string",
                view: "string",
            },
            password: {
                raw: "string",
            },
            serviceSchema: "string",
            slotGigabyteLagLimit: 0,
            user: "string",
        },
        postgresTarget: {
            connection: {
                mdbClusterId: "string",
                onPremise: {
                    caCertificate: "string",
                    hosts: ["string"],
                    port: 0,
                    subnetId: "string",
                    tlsMode: {
                        disabled: {},
                        enabled: {
                            caCertificate: "string",
                        },
                    },
                },
            },
            database: "string",
            password: {
                raw: "string",
            },
            user: "string",
        },
    },
});
Copy
type: yandex:DatatransferEndpoint
properties:
    description: string
    folderId: string
    labels:
        string: string
    name: string
    settings:
        mysqlSource:
            connection:
                mdbClusterId: string
                onPremise:
                    caCertificate: string
                    hosts:
                        - string
                    port: 0
                    subnetId: string
                    tlsMode:
                        disabled: {}
                        enabled:
                            caCertificate: string
            database: string
            excludeTablesRegexes:
                - string
            includeTablesRegexes:
                - string
            objectTransferSettings:
                routine: string
                trigger: string
                view: string
            password:
                raw: string
            timezone: string
            user: string
        mysqlTarget:
            connection:
                mdbClusterId: string
                onPremise:
                    caCertificate: string
                    hosts:
                        - string
                    port: 0
                    subnetId: string
                    tlsMode:
                        disabled: {}
                        enabled:
                            caCertificate: string
            database: string
            password:
                raw: string
            serviceSchema: string
            skipConstraintChecks: false
            sqlMode: string
            timezone: string
            user: string
        postgresSource:
            collapseInheritTable: false
            connection:
                mdbClusterId: string
                onPremise:
                    caCertificate: string
                    hosts:
                        - string
                    port: 0
                    subnetId: string
                    tlsMode:
                        disabled: {}
                        enabled:
                            caCertificate: string
            database: string
            excludeTables:
                - string
            includeTables:
                - string
            objectTransferSettings:
                cast: string
                collation: string
                constraint: string
                defaultValues: string
                fkConstraint: string
                function: string
                index: string
                policy: string
                primaryKey: string
                rule: string
                sequence: string
                sequenceOwnedBy: string
                table: string
                trigger: string
                type: string
                view: string
            password:
                raw: string
            serviceSchema: string
            slotGigabyteLagLimit: 0
            user: string
        postgresTarget:
            connection:
                mdbClusterId: string
                onPremise:
                    caCertificate: string
                    hosts:
                        - string
                    port: 0
                    subnetId: string
                    tlsMode:
                        disabled: {}
                        enabled:
                            caCertificate: string
            database: string
            password:
                raw: string
            user: string
Copy

DatatransferEndpoint Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DatatransferEndpoint resource accepts the following input properties:

Description string
Arbitrary description text for the endpoint.
FolderId string
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
Labels Dictionary<string, string>
A set of key/value label pairs to assign to the Data Transfer endpoint.
Name string
Name of the endpoint.
Settings DatatransferEndpointSettings
Settings for the endpoint. The structure is documented below.
Description string
Arbitrary description text for the endpoint.
FolderId string
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
Labels map[string]string
A set of key/value label pairs to assign to the Data Transfer endpoint.
Name string
Name of the endpoint.
Settings DatatransferEndpointSettingsArgs
Settings for the endpoint. The structure is documented below.
description String
Arbitrary description text for the endpoint.
folderId String
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
labels Map<String,String>
A set of key/value label pairs to assign to the Data Transfer endpoint.
name String
Name of the endpoint.
settings DatatransferEndpointSettings
Settings for the endpoint. The structure is documented below.
description string
Arbitrary description text for the endpoint.
folderId string
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
labels {[key: string]: string}
A set of key/value label pairs to assign to the Data Transfer endpoint.
name string
Name of the endpoint.
settings DatatransferEndpointSettings
Settings for the endpoint. The structure is documented below.
description str
Arbitrary description text for the endpoint.
folder_id str
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
labels Mapping[str, str]
A set of key/value label pairs to assign to the Data Transfer endpoint.
name str
Name of the endpoint.
settings DatatransferEndpointSettingsArgs
Settings for the endpoint. The structure is documented below.
description String
Arbitrary description text for the endpoint.
folderId String
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
labels Map<String>
A set of key/value label pairs to assign to the Data Transfer endpoint.
name String
Name of the endpoint.
settings Property Map
Settings for the endpoint. The structure is documented below.

Outputs

All input properties are implicitly available as output properties. Additionally, the DatatransferEndpoint resource produces the following output properties:

Author string
(Computed) Identifier of the IAM user account of the user who created the endpoint.
Id string
The provider-assigned unique ID for this managed resource.
Author string
(Computed) Identifier of the IAM user account of the user who created the endpoint.
Id string
The provider-assigned unique ID for this managed resource.
author String
(Computed) Identifier of the IAM user account of the user who created the endpoint.
id String
The provider-assigned unique ID for this managed resource.
author string
(Computed) Identifier of the IAM user account of the user who created the endpoint.
id string
The provider-assigned unique ID for this managed resource.
author str
(Computed) Identifier of the IAM user account of the user who created the endpoint.
id str
The provider-assigned unique ID for this managed resource.
author String
(Computed) Identifier of the IAM user account of the user who created the endpoint.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing DatatransferEndpoint Resource

Get an existing DatatransferEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DatatransferEndpointState, opts?: CustomResourceOptions): DatatransferEndpoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        author: Optional[str] = None,
        description: Optional[str] = None,
        folder_id: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        settings: Optional[DatatransferEndpointSettingsArgs] = None) -> DatatransferEndpoint
func GetDatatransferEndpoint(ctx *Context, name string, id IDInput, state *DatatransferEndpointState, opts ...ResourceOption) (*DatatransferEndpoint, error)
public static DatatransferEndpoint Get(string name, Input<string> id, DatatransferEndpointState? state, CustomResourceOptions? opts = null)
public static DatatransferEndpoint get(String name, Output<String> id, DatatransferEndpointState state, CustomResourceOptions options)
resources:  _:    type: yandex:DatatransferEndpoint    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Author string
(Computed) Identifier of the IAM user account of the user who created the endpoint.
Description string
Arbitrary description text for the endpoint.
FolderId string
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
Labels Dictionary<string, string>
A set of key/value label pairs to assign to the Data Transfer endpoint.
Name string
Name of the endpoint.
Settings DatatransferEndpointSettings
Settings for the endpoint. The structure is documented below.
Author string
(Computed) Identifier of the IAM user account of the user who created the endpoint.
Description string
Arbitrary description text for the endpoint.
FolderId string
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
Labels map[string]string
A set of key/value label pairs to assign to the Data Transfer endpoint.
Name string
Name of the endpoint.
Settings DatatransferEndpointSettingsArgs
Settings for the endpoint. The structure is documented below.
author String
(Computed) Identifier of the IAM user account of the user who created the endpoint.
description String
Arbitrary description text for the endpoint.
folderId String
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
labels Map<String,String>
A set of key/value label pairs to assign to the Data Transfer endpoint.
name String
Name of the endpoint.
settings DatatransferEndpointSettings
Settings for the endpoint. The structure is documented below.
author string
(Computed) Identifier of the IAM user account of the user who created the endpoint.
description string
Arbitrary description text for the endpoint.
folderId string
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
labels {[key: string]: string}
A set of key/value label pairs to assign to the Data Transfer endpoint.
name string
Name of the endpoint.
settings DatatransferEndpointSettings
Settings for the endpoint. The structure is documented below.
author str
(Computed) Identifier of the IAM user account of the user who created the endpoint.
description str
Arbitrary description text for the endpoint.
folder_id str
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
labels Mapping[str, str]
A set of key/value label pairs to assign to the Data Transfer endpoint.
name str
Name of the endpoint.
settings DatatransferEndpointSettingsArgs
Settings for the endpoint. The structure is documented below.
author String
(Computed) Identifier of the IAM user account of the user who created the endpoint.
description String
Arbitrary description text for the endpoint.
folderId String
ID of the folder to create the endpoint in. If it is not provided, the default provider folder is used.
labels Map<String>
A set of key/value label pairs to assign to the Data Transfer endpoint.
name String
Name of the endpoint.
settings Property Map
Settings for the endpoint. The structure is documented below.

Supporting Types

DatatransferEndpointSettings
, DatatransferEndpointSettingsArgs

MysqlSource DatatransferEndpointSettingsMysqlSource
Settings specific to the MySQL source endpoint.
MysqlTarget DatatransferEndpointSettingsMysqlTarget
Settings specific to the MySQL target endpoint.
PostgresSource DatatransferEndpointSettingsPostgresSource
Settings specific to the PostgreSQL source endpoint.
PostgresTarget DatatransferEndpointSettingsPostgresTarget
Settings specific to the PostgreSQL target endpoint.
MysqlSource DatatransferEndpointSettingsMysqlSource
Settings specific to the MySQL source endpoint.
MysqlTarget DatatransferEndpointSettingsMysqlTarget
Settings specific to the MySQL target endpoint.
PostgresSource DatatransferEndpointSettingsPostgresSource
Settings specific to the PostgreSQL source endpoint.
PostgresTarget DatatransferEndpointSettingsPostgresTarget
Settings specific to the PostgreSQL target endpoint.
mysqlSource DatatransferEndpointSettingsMysqlSource
Settings specific to the MySQL source endpoint.
mysqlTarget DatatransferEndpointSettingsMysqlTarget
Settings specific to the MySQL target endpoint.
postgresSource DatatransferEndpointSettingsPostgresSource
Settings specific to the PostgreSQL source endpoint.
postgresTarget DatatransferEndpointSettingsPostgresTarget
Settings specific to the PostgreSQL target endpoint.
mysqlSource DatatransferEndpointSettingsMysqlSource
Settings specific to the MySQL source endpoint.
mysqlTarget DatatransferEndpointSettingsMysqlTarget
Settings specific to the MySQL target endpoint.
postgresSource DatatransferEndpointSettingsPostgresSource
Settings specific to the PostgreSQL source endpoint.
postgresTarget DatatransferEndpointSettingsPostgresTarget
Settings specific to the PostgreSQL target endpoint.
mysql_source DatatransferEndpointSettingsMysqlSource
Settings specific to the MySQL source endpoint.
mysql_target DatatransferEndpointSettingsMysqlTarget
Settings specific to the MySQL target endpoint.
postgres_source DatatransferEndpointSettingsPostgresSource
Settings specific to the PostgreSQL source endpoint.
postgres_target DatatransferEndpointSettingsPostgresTarget
Settings specific to the PostgreSQL target endpoint.
mysqlSource Property Map
Settings specific to the MySQL source endpoint.
mysqlTarget Property Map
Settings specific to the MySQL target endpoint.
postgresSource Property Map
Settings specific to the PostgreSQL source endpoint.
postgresTarget Property Map
Settings specific to the PostgreSQL target endpoint.

DatatransferEndpointSettingsMysqlSource
, DatatransferEndpointSettingsMysqlSourceArgs

Connection DatatransferEndpointSettingsMysqlSourceConnection
Connection settings. The structure is documented below.
Database string
Name of the database to transfer.
ExcludeTablesRegexes List<string>
Opposite of include_table_regex. The tables matching the specified regular expressions will not be transferred.
IncludeTablesRegexes List<string>
List of regular expressions of table names which should be transferred. A table name is formatted as schemaname.tablename. For example, a single regular expression may look like ^mydb.employees$.
ObjectTransferSettings DatatransferEndpointSettingsMysqlSourceObjectTransferSettings
Defines which database schema objects should be transferred, e.g. views, functions, etc.
Password DatatransferEndpointSettingsMysqlSourcePassword
Password for the database access. This is a block with a single field named raw which should contain the password.
Timezone string
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
User string
User for the database access.
Connection DatatransferEndpointSettingsMysqlSourceConnection
Connection settings. The structure is documented below.
Database string
Name of the database to transfer.
ExcludeTablesRegexes []string
Opposite of include_table_regex. The tables matching the specified regular expressions will not be transferred.
IncludeTablesRegexes []string
List of regular expressions of table names which should be transferred. A table name is formatted as schemaname.tablename. For example, a single regular expression may look like ^mydb.employees$.
ObjectTransferSettings DatatransferEndpointSettingsMysqlSourceObjectTransferSettings
Defines which database schema objects should be transferred, e.g. views, functions, etc.
Password DatatransferEndpointSettingsMysqlSourcePassword
Password for the database access. This is a block with a single field named raw which should contain the password.
Timezone string
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
User string
User for the database access.
connection DatatransferEndpointSettingsMysqlSourceConnection
Connection settings. The structure is documented below.
database String
Name of the database to transfer.
excludeTablesRegexes List<String>
Opposite of include_table_regex. The tables matching the specified regular expressions will not be transferred.
includeTablesRegexes List<String>
List of regular expressions of table names which should be transferred. A table name is formatted as schemaname.tablename. For example, a single regular expression may look like ^mydb.employees$.
objectTransferSettings DatatransferEndpointSettingsMysqlSourceObjectTransferSettings
Defines which database schema objects should be transferred, e.g. views, functions, etc.
password DatatransferEndpointSettingsMysqlSourcePassword
Password for the database access. This is a block with a single field named raw which should contain the password.
timezone String
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
user String
User for the database access.
connection DatatransferEndpointSettingsMysqlSourceConnection
Connection settings. The structure is documented below.
database string
Name of the database to transfer.
excludeTablesRegexes string[]
Opposite of include_table_regex. The tables matching the specified regular expressions will not be transferred.
includeTablesRegexes string[]
List of regular expressions of table names which should be transferred. A table name is formatted as schemaname.tablename. For example, a single regular expression may look like ^mydb.employees$.
objectTransferSettings DatatransferEndpointSettingsMysqlSourceObjectTransferSettings
Defines which database schema objects should be transferred, e.g. views, functions, etc.
password DatatransferEndpointSettingsMysqlSourcePassword
Password for the database access. This is a block with a single field named raw which should contain the password.
timezone string
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
user string
User for the database access.
connection DatatransferEndpointSettingsMysqlSourceConnection
Connection settings. The structure is documented below.
database str
Name of the database to transfer.
exclude_tables_regexes Sequence[str]
Opposite of include_table_regex. The tables matching the specified regular expressions will not be transferred.
include_tables_regexes Sequence[str]
List of regular expressions of table names which should be transferred. A table name is formatted as schemaname.tablename. For example, a single regular expression may look like ^mydb.employees$.
object_transfer_settings DatatransferEndpointSettingsMysqlSourceObjectTransferSettings
Defines which database schema objects should be transferred, e.g. views, functions, etc.
password DatatransferEndpointSettingsMysqlSourcePassword
Password for the database access. This is a block with a single field named raw which should contain the password.
timezone str
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
user str
User for the database access.
connection Property Map
Connection settings. The structure is documented below.
database String
Name of the database to transfer.
excludeTablesRegexes List<String>
Opposite of include_table_regex. The tables matching the specified regular expressions will not be transferred.
includeTablesRegexes List<String>
List of regular expressions of table names which should be transferred. A table name is formatted as schemaname.tablename. For example, a single regular expression may look like ^mydb.employees$.
objectTransferSettings Property Map
Defines which database schema objects should be transferred, e.g. views, functions, etc.
password Property Map
Password for the database access. This is a block with a single field named raw which should contain the password.
timezone String
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
user String
User for the database access.

DatatransferEndpointSettingsMysqlSourceConnection
, DatatransferEndpointSettingsMysqlSourceConnectionArgs

MdbClusterId string
Identifier of the Managed MySQL cluster.
OnPremise DatatransferEndpointSettingsMysqlSourceConnectionOnPremise
Connection settings of the on-premise MySQL server.
MdbClusterId string
Identifier of the Managed MySQL cluster.
OnPremise DatatransferEndpointSettingsMysqlSourceConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId String
Identifier of the Managed MySQL cluster.
onPremise DatatransferEndpointSettingsMysqlSourceConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId string
Identifier of the Managed MySQL cluster.
onPremise DatatransferEndpointSettingsMysqlSourceConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdb_cluster_id str
Identifier of the Managed MySQL cluster.
on_premise DatatransferEndpointSettingsMysqlSourceConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId String
Identifier of the Managed MySQL cluster.
onPremise Property Map
Connection settings of the on-premise MySQL server.

DatatransferEndpointSettingsMysqlSourceConnectionOnPremise
, DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseArgs

CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
Hosts List<string>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
Port int
Port for the database connection.
SubnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
TlsMode DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
Hosts []string
List of host names of the PostgreSQL server. Exactly one host is expected currently.
Port int
Port for the database connection.
SubnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
TlsMode DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts List<String>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port Integer
Port for the database connection.
subnetId String
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts string[]
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port number
Port for the database connection.
subnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
ca_certificate str
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts Sequence[str]
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port int
Port for the database connection.
subnet_id str
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tls_mode DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts List<String>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port Number
Port for the database connection.
subnetId String
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode Property Map
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.

DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsMode
, DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeArgs

Disabled DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
Enabled DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
Disabled DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
Enabled DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled Property Map
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled Property Map
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.

DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabled
, DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabledArgs

CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
ca_certificate str
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.

DatatransferEndpointSettingsMysqlSourceObjectTransferSettings
, DatatransferEndpointSettingsMysqlSourceObjectTransferSettingsArgs

Routine string
Trigger string
View string
Routine string
Trigger string
View string
routine String
trigger String
view String
routine string
trigger string
view string
routine str
trigger str
view str
routine String
trigger String
view String

DatatransferEndpointSettingsMysqlSourcePassword
, DatatransferEndpointSettingsMysqlSourcePasswordArgs

Raw string
Raw string
raw String
raw string
raw str
raw String

DatatransferEndpointSettingsMysqlTarget
, DatatransferEndpointSettingsMysqlTargetArgs

Connection DatatransferEndpointSettingsMysqlTargetConnection
Connection settings. The structure is documented below.
Database string
Name of the database to transfer.
Password DatatransferEndpointSettingsMysqlTargetPassword
Password for the database access. This is a block with a single field named raw which should contain the password.
ServiceSchema string
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
SkipConstraintChecks bool
When true, disables foreign key checks. See foreign_key_checks. False by default.
SqlMode string
sql_mode to use when interacting with the server. Defaults to "NO_AUTO_VALUE_ON_ZERO,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION".
Timezone string
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
User string
User for the database access.
Connection DatatransferEndpointSettingsMysqlTargetConnection
Connection settings. The structure is documented below.
Database string
Name of the database to transfer.
Password DatatransferEndpointSettingsMysqlTargetPassword
Password for the database access. This is a block with a single field named raw which should contain the password.
ServiceSchema string
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
SkipConstraintChecks bool
When true, disables foreign key checks. See foreign_key_checks. False by default.
SqlMode string
sql_mode to use when interacting with the server. Defaults to "NO_AUTO_VALUE_ON_ZERO,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION".
Timezone string
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
User string
User for the database access.
connection DatatransferEndpointSettingsMysqlTargetConnection
Connection settings. The structure is documented below.
database String
Name of the database to transfer.
password DatatransferEndpointSettingsMysqlTargetPassword
Password for the database access. This is a block with a single field named raw which should contain the password.
serviceSchema String
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
skipConstraintChecks Boolean
When true, disables foreign key checks. See foreign_key_checks. False by default.
sqlMode String
sql_mode to use when interacting with the server. Defaults to "NO_AUTO_VALUE_ON_ZERO,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION".
timezone String
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
user String
User for the database access.
connection DatatransferEndpointSettingsMysqlTargetConnection
Connection settings. The structure is documented below.
database string
Name of the database to transfer.
password DatatransferEndpointSettingsMysqlTargetPassword
Password for the database access. This is a block with a single field named raw which should contain the password.
serviceSchema string
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
skipConstraintChecks boolean
When true, disables foreign key checks. See foreign_key_checks. False by default.
sqlMode string
sql_mode to use when interacting with the server. Defaults to "NO_AUTO_VALUE_ON_ZERO,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION".
timezone string
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
user string
User for the database access.
connection DatatransferEndpointSettingsMysqlTargetConnection
Connection settings. The structure is documented below.
database str
Name of the database to transfer.
password DatatransferEndpointSettingsMysqlTargetPassword
Password for the database access. This is a block with a single field named raw which should contain the password.
service_schema str
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
skip_constraint_checks bool
When true, disables foreign key checks. See foreign_key_checks. False by default.
sql_mode str
sql_mode to use when interacting with the server. Defaults to "NO_AUTO_VALUE_ON_ZERO,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION".
timezone str
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
user str
User for the database access.
connection Property Map
Connection settings. The structure is documented below.
database String
Name of the database to transfer.
password Property Map
Password for the database access. This is a block with a single field named raw which should contain the password.
serviceSchema String
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
skipConstraintChecks Boolean
When true, disables foreign key checks. See foreign_key_checks. False by default.
sqlMode String
sql_mode to use when interacting with the server. Defaults to "NO_AUTO_VALUE_ON_ZERO,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION".
timezone String
Timezone to use for parsing timestamps for saving source timezones. Accepts values from IANA timezone database. Default: local timezone.
user String
User for the database access.

DatatransferEndpointSettingsMysqlTargetConnection
, DatatransferEndpointSettingsMysqlTargetConnectionArgs

MdbClusterId string
Identifier of the Managed MySQL cluster.
OnPremise DatatransferEndpointSettingsMysqlTargetConnectionOnPremise
Connection settings of the on-premise MySQL server.
MdbClusterId string
Identifier of the Managed MySQL cluster.
OnPremise DatatransferEndpointSettingsMysqlTargetConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId String
Identifier of the Managed MySQL cluster.
onPremise DatatransferEndpointSettingsMysqlTargetConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId string
Identifier of the Managed MySQL cluster.
onPremise DatatransferEndpointSettingsMysqlTargetConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdb_cluster_id str
Identifier of the Managed MySQL cluster.
on_premise DatatransferEndpointSettingsMysqlTargetConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId String
Identifier of the Managed MySQL cluster.
onPremise Property Map
Connection settings of the on-premise MySQL server.

DatatransferEndpointSettingsMysqlTargetConnectionOnPremise
, DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseArgs

CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
Hosts List<string>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
Port int
Port for the database connection.
SubnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
TlsMode DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
Hosts []string
List of host names of the PostgreSQL server. Exactly one host is expected currently.
Port int
Port for the database connection.
SubnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
TlsMode DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts List<String>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port Integer
Port for the database connection.
subnetId String
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts string[]
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port number
Port for the database connection.
subnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
ca_certificate str
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts Sequence[str]
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port int
Port for the database connection.
subnet_id str
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tls_mode DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts List<String>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port Number
Port for the database connection.
subnetId String
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode Property Map
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.

DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsMode
, DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeArgs

Disabled DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
Enabled DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
Disabled DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
Enabled DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled Property Map
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled Property Map
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.

DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabled
, DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabledArgs

CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
ca_certificate str
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.

DatatransferEndpointSettingsMysqlTargetPassword
, DatatransferEndpointSettingsMysqlTargetPasswordArgs

Raw string
Raw string
raw String
raw string
raw str
raw String

DatatransferEndpointSettingsPostgresSource
, DatatransferEndpointSettingsPostgresSourceArgs

CollapseInheritTable bool
Connection DatatransferEndpointSettingsPostgresSourceConnection
Connection settings. The structure is documented below.
Database string
Name of the database to transfer.
ExcludeTables List<string>
List of tables which will not be transfered, formatted as schemaname.tablename.
IncludeTables List<string>
List of tables to transfer, formatted as schemaname.tablename. If omitted or an empty list is specified, all tables will be transferred.
ObjectTransferSettings DatatransferEndpointSettingsPostgresSourceObjectTransferSettings
Defines which database schema objects should be transferred, e.g. views, functions, etc.
Password DatatransferEndpointSettingsPostgresSourcePassword
Password for the database access. This is a block with a single field named raw which should contain the password.
ServiceSchema string
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
SlotGigabyteLagLimit int
Maximum WAL size held by the replication slot, in gigabytes. Exceeding this limit will result in a replication failure and deletion of the replication slot. Unlimited by default.
User string
User for the database access.
CollapseInheritTable bool
Connection DatatransferEndpointSettingsPostgresSourceConnection
Connection settings. The structure is documented below.
Database string
Name of the database to transfer.
ExcludeTables []string
List of tables which will not be transfered, formatted as schemaname.tablename.
IncludeTables []string
List of tables to transfer, formatted as schemaname.tablename. If omitted or an empty list is specified, all tables will be transferred.
ObjectTransferSettings DatatransferEndpointSettingsPostgresSourceObjectTransferSettings
Defines which database schema objects should be transferred, e.g. views, functions, etc.
Password DatatransferEndpointSettingsPostgresSourcePassword
Password for the database access. This is a block with a single field named raw which should contain the password.
ServiceSchema string
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
SlotGigabyteLagLimit int
Maximum WAL size held by the replication slot, in gigabytes. Exceeding this limit will result in a replication failure and deletion of the replication slot. Unlimited by default.
User string
User for the database access.
collapseInheritTable Boolean
connection DatatransferEndpointSettingsPostgresSourceConnection
Connection settings. The structure is documented below.
database String
Name of the database to transfer.
excludeTables List<String>
List of tables which will not be transfered, formatted as schemaname.tablename.
includeTables List<String>
List of tables to transfer, formatted as schemaname.tablename. If omitted or an empty list is specified, all tables will be transferred.
objectTransferSettings DatatransferEndpointSettingsPostgresSourceObjectTransferSettings
Defines which database schema objects should be transferred, e.g. views, functions, etc.
password DatatransferEndpointSettingsPostgresSourcePassword
Password for the database access. This is a block with a single field named raw which should contain the password.
serviceSchema String
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
slotGigabyteLagLimit Integer
Maximum WAL size held by the replication slot, in gigabytes. Exceeding this limit will result in a replication failure and deletion of the replication slot. Unlimited by default.
user String
User for the database access.
collapseInheritTable boolean
connection DatatransferEndpointSettingsPostgresSourceConnection
Connection settings. The structure is documented below.
database string
Name of the database to transfer.
excludeTables string[]
List of tables which will not be transfered, formatted as schemaname.tablename.
includeTables string[]
List of tables to transfer, formatted as schemaname.tablename. If omitted or an empty list is specified, all tables will be transferred.
objectTransferSettings DatatransferEndpointSettingsPostgresSourceObjectTransferSettings
Defines which database schema objects should be transferred, e.g. views, functions, etc.
password DatatransferEndpointSettingsPostgresSourcePassword
Password for the database access. This is a block with a single field named raw which should contain the password.
serviceSchema string
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
slotGigabyteLagLimit number
Maximum WAL size held by the replication slot, in gigabytes. Exceeding this limit will result in a replication failure and deletion of the replication slot. Unlimited by default.
user string
User for the database access.
collapse_inherit_table bool
connection DatatransferEndpointSettingsPostgresSourceConnection
Connection settings. The structure is documented below.
database str
Name of the database to transfer.
exclude_tables Sequence[str]
List of tables which will not be transfered, formatted as schemaname.tablename.
include_tables Sequence[str]
List of tables to transfer, formatted as schemaname.tablename. If omitted or an empty list is specified, all tables will be transferred.
object_transfer_settings DatatransferEndpointSettingsPostgresSourceObjectTransferSettings
Defines which database schema objects should be transferred, e.g. views, functions, etc.
password DatatransferEndpointSettingsPostgresSourcePassword
Password for the database access. This is a block with a single field named raw which should contain the password.
service_schema str
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
slot_gigabyte_lag_limit int
Maximum WAL size held by the replication slot, in gigabytes. Exceeding this limit will result in a replication failure and deletion of the replication slot. Unlimited by default.
user str
User for the database access.
collapseInheritTable Boolean
connection Property Map
Connection settings. The structure is documented below.
database String
Name of the database to transfer.
excludeTables List<String>
List of tables which will not be transfered, formatted as schemaname.tablename.
includeTables List<String>
List of tables to transfer, formatted as schemaname.tablename. If omitted or an empty list is specified, all tables will be transferred.
objectTransferSettings Property Map
Defines which database schema objects should be transferred, e.g. views, functions, etc.
password Property Map
Password for the database access. This is a block with a single field named raw which should contain the password.
serviceSchema String
Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty service_schema implies schema "public".
slotGigabyteLagLimit Number
Maximum WAL size held by the replication slot, in gigabytes. Exceeding this limit will result in a replication failure and deletion of the replication slot. Unlimited by default.
user String
User for the database access.

DatatransferEndpointSettingsPostgresSourceConnection
, DatatransferEndpointSettingsPostgresSourceConnectionArgs

MdbClusterId string
Identifier of the Managed MySQL cluster.
OnPremise DatatransferEndpointSettingsPostgresSourceConnectionOnPremise
Connection settings of the on-premise MySQL server.
MdbClusterId string
Identifier of the Managed MySQL cluster.
OnPremise DatatransferEndpointSettingsPostgresSourceConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId String
Identifier of the Managed MySQL cluster.
onPremise DatatransferEndpointSettingsPostgresSourceConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId string
Identifier of the Managed MySQL cluster.
onPremise DatatransferEndpointSettingsPostgresSourceConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdb_cluster_id str
Identifier of the Managed MySQL cluster.
on_premise DatatransferEndpointSettingsPostgresSourceConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId String
Identifier of the Managed MySQL cluster.
onPremise Property Map
Connection settings of the on-premise MySQL server.

DatatransferEndpointSettingsPostgresSourceConnectionOnPremise
, DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseArgs

CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
Hosts List<string>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
Port int
Port for the database connection.
SubnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
TlsMode DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
Hosts []string
List of host names of the PostgreSQL server. Exactly one host is expected currently.
Port int
Port for the database connection.
SubnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
TlsMode DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts List<String>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port Integer
Port for the database connection.
subnetId String
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts string[]
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port number
Port for the database connection.
subnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
ca_certificate str
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts Sequence[str]
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port int
Port for the database connection.
subnet_id str
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tls_mode DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts List<String>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port Number
Port for the database connection.
subnetId String
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode Property Map
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.

DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsMode
, DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeArgs

Disabled DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
Enabled DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
Disabled DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
Enabled DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled Property Map
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled Property Map
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.

DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabled
, DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabledArgs

CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
ca_certificate str
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.

DatatransferEndpointSettingsPostgresSourceObjectTransferSettings
, DatatransferEndpointSettingsPostgresSourceObjectTransferSettingsArgs

Cast string
Collation string
Constraint string
DefaultValues string
FkConstraint string
Function string
Index string
Policy string
PrimaryKey string
Rule string
Sequence string
SequenceOwnedBy string
Table string
Trigger string
Type string
View string
Cast string
Collation string
Constraint string
DefaultValues string
FkConstraint string
Function string
Index string
Policy string
PrimaryKey string
Rule string
Sequence string
SequenceOwnedBy string
Table string
Trigger string
Type string
View string
cast String
collation String
constraint String
defaultValues String
fkConstraint String
function String
index String
policy String
primaryKey String
rule String
sequence String
sequenceOwnedBy String
table String
trigger String
type String
view String
cast string
collation string
constraint string
defaultValues string
fkConstraint string
function string
index string
policy string
primaryKey string
rule string
sequence string
sequenceOwnedBy string
table string
trigger string
type string
view string
cast String
collation String
constraint String
defaultValues String
fkConstraint String
function String
index String
policy String
primaryKey String
rule String
sequence String
sequenceOwnedBy String
table String
trigger String
type String
view String

DatatransferEndpointSettingsPostgresSourcePassword
, DatatransferEndpointSettingsPostgresSourcePasswordArgs

Raw string
Raw string
raw String
raw string
raw str
raw String

DatatransferEndpointSettingsPostgresTarget
, DatatransferEndpointSettingsPostgresTargetArgs

Connection DatatransferEndpointSettingsPostgresTargetConnection
Connection settings. The structure is documented below.
Database string
Name of the database to transfer.
Password DatatransferEndpointSettingsPostgresTargetPassword
Password for the database access. This is a block with a single field named raw which should contain the password.
User string
User for the database access.
Connection DatatransferEndpointSettingsPostgresTargetConnection
Connection settings. The structure is documented below.
Database string
Name of the database to transfer.
Password DatatransferEndpointSettingsPostgresTargetPassword
Password for the database access. This is a block with a single field named raw which should contain the password.
User string
User for the database access.
connection DatatransferEndpointSettingsPostgresTargetConnection
Connection settings. The structure is documented below.
database String
Name of the database to transfer.
password DatatransferEndpointSettingsPostgresTargetPassword
Password for the database access. This is a block with a single field named raw which should contain the password.
user String
User for the database access.
connection DatatransferEndpointSettingsPostgresTargetConnection
Connection settings. The structure is documented below.
database string
Name of the database to transfer.
password DatatransferEndpointSettingsPostgresTargetPassword
Password for the database access. This is a block with a single field named raw which should contain the password.
user string
User for the database access.
connection DatatransferEndpointSettingsPostgresTargetConnection
Connection settings. The structure is documented below.
database str
Name of the database to transfer.
password DatatransferEndpointSettingsPostgresTargetPassword
Password for the database access. This is a block with a single field named raw which should contain the password.
user str
User for the database access.
connection Property Map
Connection settings. The structure is documented below.
database String
Name of the database to transfer.
password Property Map
Password for the database access. This is a block with a single field named raw which should contain the password.
user String
User for the database access.

DatatransferEndpointSettingsPostgresTargetConnection
, DatatransferEndpointSettingsPostgresTargetConnectionArgs

MdbClusterId string
Identifier of the Managed MySQL cluster.
OnPremise DatatransferEndpointSettingsPostgresTargetConnectionOnPremise
Connection settings of the on-premise MySQL server.
MdbClusterId string
Identifier of the Managed MySQL cluster.
OnPremise DatatransferEndpointSettingsPostgresTargetConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId String
Identifier of the Managed MySQL cluster.
onPremise DatatransferEndpointSettingsPostgresTargetConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId string
Identifier of the Managed MySQL cluster.
onPremise DatatransferEndpointSettingsPostgresTargetConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdb_cluster_id str
Identifier of the Managed MySQL cluster.
on_premise DatatransferEndpointSettingsPostgresTargetConnectionOnPremise
Connection settings of the on-premise MySQL server.
mdbClusterId String
Identifier of the Managed MySQL cluster.
onPremise Property Map
Connection settings of the on-premise MySQL server.

DatatransferEndpointSettingsPostgresTargetConnectionOnPremise
, DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseArgs

CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
Hosts List<string>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
Port int
Port for the database connection.
SubnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
TlsMode DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
Hosts []string
List of host names of the PostgreSQL server. Exactly one host is expected currently.
Port int
Port for the database connection.
SubnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
TlsMode DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts List<String>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port Integer
Port for the database connection.
subnetId String
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts string[]
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port number
Port for the database connection.
subnetId string
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
ca_certificate str
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts Sequence[str]
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port int
Port for the database connection.
subnet_id str
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tls_mode DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsMode
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
hosts List<String>
List of host names of the PostgreSQL server. Exactly one host is expected currently.
port Number
Port for the database connection.
subnetId String
Identifier of the Yandex Cloud VPC subnetwork to user for accessing the database. If omitted, the server has to be accessible via Internet.
tlsMode Property Map
TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.

DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsMode
, DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeArgs

Disabled DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
Enabled DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
Disabled DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
Enabled DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeDisabled
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabled
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
disabled Property Map
Empty block designating that the connection is not secured, i.e. plaintext connection.
enabled Property Map
If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.

DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabled
, DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabledArgs

CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
CaCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate string
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
ca_certificate str
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.
caCertificate String
X.509 certificate of the certificate authority which issued the server's certificate, in PEM format. If empty, the server's certificate must be signed by a well-known CA.

DatatransferEndpointSettingsPostgresTargetPassword
, DatatransferEndpointSettingsPostgresTargetPasswordArgs

Raw string
Raw string
raw String
raw string
raw str
raw String

Import

An endpoint can be imported using the id of the resource, e.g.

 $ pulumi import yandex:index/datatransferEndpoint:DatatransferEndpoint foo endpoint_id
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Yandex pulumi/pulumi-yandex
License
Apache-2.0
Notes
This Pulumi package is based on the yandex Terraform Provider.