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",
},
},
});
}
}
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
})
}
Coming soon!
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",
),
))
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",
},
},
});
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 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 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 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 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 String
- The unique name of the resource.
- args 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",
},
},
});
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: nil,
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: nil,
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: nil,
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: nil,
Enabled: &yandex.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabledArgs{
CaCertificate: pulumi.String("string"),
},
},
},
},
Database: pulumi.String("string"),
Password: &yandex.DatatransferEndpointSettingsPostgresTargetPasswordArgs{
Raw: pulumi.String("string"),
},
User: pulumi.String("string"),
},
},
})
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());
datatransfer_endpoint_resource = yandex.DatatransferEndpoint("datatransferEndpointResource",
description="string",
folder_id="string",
labels={
"string": "string",
},
name="string",
settings=yandex.DatatransferEndpointSettingsArgs(
mysql_source=yandex.DatatransferEndpointSettingsMysqlSourceArgs(
connection=yandex.DatatransferEndpointSettingsMysqlSourceConnectionArgs(
mdb_cluster_id="string",
on_premise=yandex.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseArgs(
ca_certificate="string",
hosts=["string"],
port=0,
subnet_id="string",
tls_mode=yandex.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeArgs(
disabled=yandex.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeDisabledArgs(),
enabled=yandex.DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeEnabledArgs(
ca_certificate="string",
),
),
),
),
database="string",
exclude_tables_regexes=["string"],
include_tables_regexes=["string"],
object_transfer_settings=yandex.DatatransferEndpointSettingsMysqlSourceObjectTransferSettingsArgs(
routine="string",
trigger="string",
view="string",
),
password=yandex.DatatransferEndpointSettingsMysqlSourcePasswordArgs(
raw="string",
),
timezone="string",
user="string",
),
mysql_target=yandex.DatatransferEndpointSettingsMysqlTargetArgs(
connection=yandex.DatatransferEndpointSettingsMysqlTargetConnectionArgs(
mdb_cluster_id="string",
on_premise=yandex.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseArgs(
ca_certificate="string",
hosts=["string"],
port=0,
subnet_id="string",
tls_mode=yandex.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeArgs(
disabled=yandex.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeDisabledArgs(),
enabled=yandex.DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeEnabledArgs(
ca_certificate="string",
),
),
),
),
database="string",
password=yandex.DatatransferEndpointSettingsMysqlTargetPasswordArgs(
raw="string",
),
service_schema="string",
skip_constraint_checks=False,
sql_mode="string",
timezone="string",
user="string",
),
postgres_source=yandex.DatatransferEndpointSettingsPostgresSourceArgs(
collapse_inherit_table=False,
connection=yandex.DatatransferEndpointSettingsPostgresSourceConnectionArgs(
mdb_cluster_id="string",
on_premise=yandex.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseArgs(
ca_certificate="string",
hosts=["string"],
port=0,
subnet_id="string",
tls_mode=yandex.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeArgs(
disabled=yandex.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeDisabledArgs(),
enabled=yandex.DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeEnabledArgs(
ca_certificate="string",
),
),
),
),
database="string",
exclude_tables=["string"],
include_tables=["string"],
object_transfer_settings=yandex.DatatransferEndpointSettingsPostgresSourceObjectTransferSettingsArgs(
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=yandex.DatatransferEndpointSettingsPostgresSourcePasswordArgs(
raw="string",
),
service_schema="string",
slot_gigabyte_lag_limit=0,
user="string",
),
postgres_target=yandex.DatatransferEndpointSettingsPostgresTargetArgs(
connection=yandex.DatatransferEndpointSettingsPostgresTargetConnectionArgs(
mdb_cluster_id="string",
on_premise=yandex.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseArgs(
ca_certificate="string",
hosts=["string"],
port=0,
subnet_id="string",
tls_mode=yandex.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeArgs(
disabled=yandex.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeDisabledArgs(),
enabled=yandex.DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeEnabledArgs(
ca_certificate="string",
),
),
),
),
database="string",
password=yandex.DatatransferEndpointSettingsPostgresTargetPasswordArgs(
raw="string",
),
user="string",
),
))
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",
},
},
});
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
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
The DatatransferEndpoint resource accepts the following input properties:
- Description string
- Arbitrary description text for the endpoint.
- Folder
Id 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
Datatransfer
Endpoint Settings - Settings for the endpoint. The structure is documented below.
- Description string
- Arbitrary description text for the endpoint.
- Folder
Id 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
Datatransfer
Endpoint Settings Args - Settings for the endpoint. The structure is documented below.
- description String
- Arbitrary description text for the endpoint.
- folder
Id 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
Datatransfer
Endpoint Settings - Settings for the endpoint. The structure is documented below.
- description string
- Arbitrary description text for the endpoint.
- folder
Id 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
Datatransfer
Endpoint Settings - 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
Datatransfer
Endpoint Settings Args - Settings for the endpoint. The structure is documented below.
- description String
- Arbitrary description text for the endpoint.
- folder
Id 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- string
- (Computed) Identifier of the IAM user account of the user who created the endpoint.
- Description string
- Arbitrary description text for the endpoint.
- Folder
Id 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
Datatransfer
Endpoint Settings - Settings for the endpoint. The structure is documented below.
- string
- (Computed) Identifier of the IAM user account of the user who created the endpoint.
- Description string
- Arbitrary description text for the endpoint.
- Folder
Id 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
Datatransfer
Endpoint Settings Args - Settings for the endpoint. The structure is documented below.
- String
- (Computed) Identifier of the IAM user account of the user who created the endpoint.
- description String
- Arbitrary description text for the endpoint.
- folder
Id 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
Datatransfer
Endpoint Settings - Settings for the endpoint. The structure is documented below.
- string
- (Computed) Identifier of the IAM user account of the user who created the endpoint.
- description string
- Arbitrary description text for the endpoint.
- folder
Id 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
Datatransfer
Endpoint Settings - Settings for the endpoint. The structure is documented below.
- 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
Datatransfer
Endpoint Settings Args - Settings for the endpoint. The structure is documented below.
- String
- (Computed) Identifier of the IAM user account of the user who created the endpoint.
- description String
- Arbitrary description text for the endpoint.
- folder
Id 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
- Mysql
Source DatatransferEndpoint Settings Mysql Source - Settings specific to the MySQL source endpoint.
- Mysql
Target DatatransferEndpoint Settings Mysql Target - Settings specific to the MySQL target endpoint.
- Postgres
Source DatatransferEndpoint Settings Postgres Source - Settings specific to the PostgreSQL source endpoint.
- Postgres
Target DatatransferEndpoint Settings Postgres Target - Settings specific to the PostgreSQL target endpoint.
- Mysql
Source DatatransferEndpoint Settings Mysql Source - Settings specific to the MySQL source endpoint.
- Mysql
Target DatatransferEndpoint Settings Mysql Target - Settings specific to the MySQL target endpoint.
- Postgres
Source DatatransferEndpoint Settings Postgres Source - Settings specific to the PostgreSQL source endpoint.
- Postgres
Target DatatransferEndpoint Settings Postgres Target - Settings specific to the PostgreSQL target endpoint.
- mysql
Source DatatransferEndpoint Settings Mysql Source - Settings specific to the MySQL source endpoint.
- mysql
Target DatatransferEndpoint Settings Mysql Target - Settings specific to the MySQL target endpoint.
- postgres
Source DatatransferEndpoint Settings Postgres Source - Settings specific to the PostgreSQL source endpoint.
- postgres
Target DatatransferEndpoint Settings Postgres Target - Settings specific to the PostgreSQL target endpoint.
- mysql
Source DatatransferEndpoint Settings Mysql Source - Settings specific to the MySQL source endpoint.
- mysql
Target DatatransferEndpoint Settings Mysql Target - Settings specific to the MySQL target endpoint.
- postgres
Source DatatransferEndpoint Settings Postgres Source - Settings specific to the PostgreSQL source endpoint.
- postgres
Target DatatransferEndpoint Settings Postgres Target - Settings specific to the PostgreSQL target endpoint.
- mysql_
source DatatransferEndpoint Settings Mysql Source - Settings specific to the MySQL source endpoint.
- mysql_
target DatatransferEndpoint Settings Mysql Target - Settings specific to the MySQL target endpoint.
- postgres_
source DatatransferEndpoint Settings Postgres Source - Settings specific to the PostgreSQL source endpoint.
- postgres_
target DatatransferEndpoint Settings Postgres Target - Settings specific to the PostgreSQL target endpoint.
- mysql
Source Property Map - Settings specific to the MySQL source endpoint.
- mysql
Target Property Map - Settings specific to the MySQL target endpoint.
- postgres
Source Property Map - Settings specific to the PostgreSQL source endpoint.
- postgres
Target Property Map - Settings specific to the PostgreSQL target endpoint.
DatatransferEndpointSettingsMysqlSource, DatatransferEndpointSettingsMysqlSourceArgs
- Connection
Datatransfer
Endpoint Settings Mysql Source Connection - Connection settings. The structure is documented below.
- Database string
- Name of the database to transfer.
- Exclude
Tables List<string>Regexes - Opposite of
include_table_regex
. The tables matching the specified regular expressions will not be transferred. - Include
Tables List<string>Regexes - 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 DatatransferSettings Endpoint Settings Mysql Source Object Transfer Settings - Defines which database schema objects should be transferred, e.g. views, functions, etc.
- Password
Datatransfer
Endpoint Settings Mysql Source Password - 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
Datatransfer
Endpoint Settings Mysql Source Connection - Connection settings. The structure is documented below.
- Database string
- Name of the database to transfer.
- Exclude
Tables []stringRegexes - Opposite of
include_table_regex
. The tables matching the specified regular expressions will not be transferred. - Include
Tables []stringRegexes - 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 DatatransferSettings Endpoint Settings Mysql Source Object Transfer Settings - Defines which database schema objects should be transferred, e.g. views, functions, etc.
- Password
Datatransfer
Endpoint Settings Mysql Source Password - 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
Datatransfer
Endpoint Settings Mysql Source Connection - Connection settings. The structure is documented below.
- database String
- Name of the database to transfer.
- exclude
Tables List<String>Regexes - Opposite of
include_table_regex
. The tables matching the specified regular expressions will not be transferred. - include
Tables List<String>Regexes - 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 DatatransferSettings Endpoint Settings Mysql Source Object Transfer Settings - Defines which database schema objects should be transferred, e.g. views, functions, etc.
- password
Datatransfer
Endpoint Settings Mysql Source Password - 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
Datatransfer
Endpoint Settings Mysql Source Connection - Connection settings. The structure is documented below.
- database string
- Name of the database to transfer.
- exclude
Tables string[]Regexes - Opposite of
include_table_regex
. The tables matching the specified regular expressions will not be transferred. - include
Tables string[]Regexes - 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 DatatransferSettings Endpoint Settings Mysql Source Object Transfer Settings - Defines which database schema objects should be transferred, e.g. views, functions, etc.
- password
Datatransfer
Endpoint Settings Mysql Source Password - 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
Datatransfer
Endpoint Settings Mysql Source Connection - Connection settings. The structure is documented below.
- database str
- Name of the database to transfer.
- exclude_
tables_ Sequence[str]regexes - Opposite of
include_table_regex
. The tables matching the specified regular expressions will not be transferred. - include_
tables_ Sequence[str]regexes - 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_ Datatransfersettings Endpoint Settings Mysql Source Object Transfer Settings - Defines which database schema objects should be transferred, e.g. views, functions, etc.
- password
Datatransfer
Endpoint Settings Mysql Source Password - 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.
- exclude
Tables List<String>Regexes - Opposite of
include_table_regex
. The tables matching the specified regular expressions will not be transferred. - include
Tables List<String>Regexes - 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 Property MapSettings - 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
- Mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- On
Premise DatatransferEndpoint Settings Mysql Source Connection On Premise - Connection settings of the on-premise MySQL server.
- Mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- On
Premise DatatransferEndpoint Settings Mysql Source Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster StringId - Identifier of the Managed MySQL cluster.
- on
Premise DatatransferEndpoint Settings Mysql Source Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- on
Premise DatatransferEndpoint Settings Mysql Source Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb_
cluster_ strid - Identifier of the Managed MySQL cluster.
- on_
premise DatatransferEndpoint Settings Mysql Source Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster StringId - Identifier of the Managed MySQL cluster.
- on
Premise Property Map - Connection settings of the on-premise MySQL server.
DatatransferEndpointSettingsMysqlSourceConnectionOnPremise, DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseArgs
- Ca
Certificate 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.
- Subnet
Id string - 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 DatatransferEndpoint Settings Mysql Source Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- Ca
Certificate 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.
- Subnet
Id string - 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 DatatransferEndpoint Settings Mysql Source Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id String - 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 DatatransferEndpoint Settings Mysql Source Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id string - 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 DatatransferEndpoint Settings Mysql Source Connection On Premise Tls Mode - 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 DatatransferEndpoint Settings Mysql Source Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id String - 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 Property Map - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsMode, DatatransferEndpointSettingsMysqlSourceConnectionOnPremiseTlsModeArgs
- Disabled
Datatransfer
Endpoint Settings Mysql Source Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- Enabled
Datatransfer
Endpoint Settings Mysql Source Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- Disabled
Datatransfer
Endpoint Settings Mysql Source Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- Enabled
Datatransfer
Endpoint Settings Mysql Source Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Mysql Source Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Mysql Source Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Mysql Source Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Mysql Source Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Mysql Source Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Mysql Source Connection On Premise Tls Mode Enabled - 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
- Ca
Certificate 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 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 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 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.
- ca
Certificate 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
DatatransferEndpointSettingsMysqlSourcePassword, DatatransferEndpointSettingsMysqlSourcePasswordArgs
- Raw string
- Raw string
- raw String
- raw string
- raw str
- raw String
DatatransferEndpointSettingsMysqlTarget, DatatransferEndpointSettingsMysqlTargetArgs
- Connection
Datatransfer
Endpoint Settings Mysql Target Connection - Connection settings. The structure is documented below.
- Database string
- Name of the database to transfer.
- Password
Datatransfer
Endpoint Settings Mysql Target Password - Password for the database access. This is a block with a single field named
raw
which should contain the password. - Service
Schema string - Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty
service_schema
implies schema "public". - Skip
Constraint boolChecks - When true, disables foreign key checks. See foreign_key_checks. False by default.
- Sql
Mode 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
Datatransfer
Endpoint Settings Mysql Target Connection - Connection settings. The structure is documented below.
- Database string
- Name of the database to transfer.
- Password
Datatransfer
Endpoint Settings Mysql Target Password - Password for the database access. This is a block with a single field named
raw
which should contain the password. - Service
Schema string - Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty
service_schema
implies schema "public". - Skip
Constraint boolChecks - When true, disables foreign key checks. See foreign_key_checks. False by default.
- Sql
Mode 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
Datatransfer
Endpoint Settings Mysql Target Connection - Connection settings. The structure is documented below.
- database String
- Name of the database to transfer.
- password
Datatransfer
Endpoint Settings Mysql Target Password - Password for the database access. This is a block with a single field named
raw
which should contain the password. - service
Schema String - Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty
service_schema
implies schema "public". - skip
Constraint BooleanChecks - When true, disables foreign key checks. See foreign_key_checks. False by default.
- sql
Mode 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
Datatransfer
Endpoint Settings Mysql Target Connection - Connection settings. The structure is documented below.
- database string
- Name of the database to transfer.
- password
Datatransfer
Endpoint Settings Mysql Target Password - Password for the database access. This is a block with a single field named
raw
which should contain the password. - service
Schema string - Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty
service_schema
implies schema "public". - skip
Constraint booleanChecks - When true, disables foreign key checks. See foreign_key_checks. False by default.
- sql
Mode 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
Datatransfer
Endpoint Settings Mysql Target Connection - Connection settings. The structure is documented below.
- database str
- Name of the database to transfer.
- password
Datatransfer
Endpoint Settings Mysql Target Password - 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_ boolchecks - 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. - service
Schema String - Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty
service_schema
implies schema "public". - skip
Constraint BooleanChecks - When true, disables foreign key checks. See foreign_key_checks. False by default.
- sql
Mode 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
- Mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- On
Premise DatatransferEndpoint Settings Mysql Target Connection On Premise - Connection settings of the on-premise MySQL server.
- Mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- On
Premise DatatransferEndpoint Settings Mysql Target Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster StringId - Identifier of the Managed MySQL cluster.
- on
Premise DatatransferEndpoint Settings Mysql Target Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- on
Premise DatatransferEndpoint Settings Mysql Target Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb_
cluster_ strid - Identifier of the Managed MySQL cluster.
- on_
premise DatatransferEndpoint Settings Mysql Target Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster StringId - Identifier of the Managed MySQL cluster.
- on
Premise Property Map - Connection settings of the on-premise MySQL server.
DatatransferEndpointSettingsMysqlTargetConnectionOnPremise, DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseArgs
- Ca
Certificate 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.
- Subnet
Id string - 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 DatatransferEndpoint Settings Mysql Target Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- Ca
Certificate 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.
- Subnet
Id string - 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 DatatransferEndpoint Settings Mysql Target Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id String - 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 DatatransferEndpoint Settings Mysql Target Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id string - 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 DatatransferEndpoint Settings Mysql Target Connection On Premise Tls Mode - 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 DatatransferEndpoint Settings Mysql Target Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id String - 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 Property Map - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsMode, DatatransferEndpointSettingsMysqlTargetConnectionOnPremiseTlsModeArgs
- Disabled
Datatransfer
Endpoint Settings Mysql Target Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- Enabled
Datatransfer
Endpoint Settings Mysql Target Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- Disabled
Datatransfer
Endpoint Settings Mysql Target Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- Enabled
Datatransfer
Endpoint Settings Mysql Target Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Mysql Target Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Mysql Target Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Mysql Target Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Mysql Target Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Mysql Target Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Mysql Target Connection On Premise Tls Mode Enabled - 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
- Ca
Certificate 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 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 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 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.
- ca
Certificate 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
- Collapse
Inherit boolTable - Connection
Datatransfer
Endpoint Settings Postgres Source Connection - Connection settings. The structure is documented below.
- Database string
- Name of the database to transfer.
- Exclude
Tables List<string> - List of tables which will not be transfered, formatted as
schemaname.tablename
. - Include
Tables List<string> - List of tables to transfer, formatted as
schemaname.tablename
. If omitted or an empty list is specified, all tables will be transferred. - Object
Transfer DatatransferSettings Endpoint Settings Postgres Source Object Transfer Settings - Defines which database schema objects should be transferred, e.g. views, functions, etc.
- Password
Datatransfer
Endpoint Settings Postgres Source Password - Password for the database access. This is a block with a single field named
raw
which should contain the password. - Service
Schema string - Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty
service_schema
implies schema "public". - Slot
Gigabyte intLag Limit - 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 boolTable - Connection
Datatransfer
Endpoint Settings Postgres Source Connection - Connection settings. The structure is documented below.
- Database string
- Name of the database to transfer.
- Exclude
Tables []string - List of tables which will not be transfered, formatted as
schemaname.tablename
. - Include
Tables []string - List of tables to transfer, formatted as
schemaname.tablename
. If omitted or an empty list is specified, all tables will be transferred. - Object
Transfer DatatransferSettings Endpoint Settings Postgres Source Object Transfer Settings - Defines which database schema objects should be transferred, e.g. views, functions, etc.
- Password
Datatransfer
Endpoint Settings Postgres Source Password - Password for the database access. This is a block with a single field named
raw
which should contain the password. - Service
Schema string - Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty
service_schema
implies schema "public". - Slot
Gigabyte intLag Limit - 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 BooleanTable - connection
Datatransfer
Endpoint Settings Postgres Source Connection - Connection settings. The structure is documented below.
- database String
- Name of the database to transfer.
- exclude
Tables List<String> - List of tables which will not be transfered, formatted as
schemaname.tablename
. - include
Tables List<String> - List of tables to transfer, formatted as
schemaname.tablename
. If omitted or an empty list is specified, all tables will be transferred. - object
Transfer DatatransferSettings Endpoint Settings Postgres Source Object Transfer Settings - Defines which database schema objects should be transferred, e.g. views, functions, etc.
- password
Datatransfer
Endpoint Settings Postgres Source Password - Password for the database access. This is a block with a single field named
raw
which should contain the password. - service
Schema String - Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty
service_schema
implies schema "public". - slot
Gigabyte IntegerLag Limit - 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 booleanTable - connection
Datatransfer
Endpoint Settings Postgres Source Connection - Connection settings. The structure is documented below.
- database string
- Name of the database to transfer.
- exclude
Tables string[] - List of tables which will not be transfered, formatted as
schemaname.tablename
. - include
Tables string[] - List of tables to transfer, formatted as
schemaname.tablename
. If omitted or an empty list is specified, all tables will be transferred. - object
Transfer DatatransferSettings Endpoint Settings Postgres Source Object Transfer Settings - Defines which database schema objects should be transferred, e.g. views, functions, etc.
- password
Datatransfer
Endpoint Settings Postgres Source Password - Password for the database access. This is a block with a single field named
raw
which should contain the password. - service
Schema string - Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty
service_schema
implies schema "public". - slot
Gigabyte numberLag Limit - 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_ booltable - connection
Datatransfer
Endpoint Settings Postgres Source Connection - 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_ Datatransfersettings Endpoint Settings Postgres Source Object Transfer Settings - Defines which database schema objects should be transferred, e.g. views, functions, etc.
- password
Datatransfer
Endpoint Settings Postgres Source Password - 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_ intlag_ limit - 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.
- collapse
Inherit BooleanTable - connection Property Map
- Connection settings. The structure is documented below.
- database String
- Name of the database to transfer.
- exclude
Tables List<String> - List of tables which will not be transfered, formatted as
schemaname.tablename
. - include
Tables List<String> - List of tables to transfer, formatted as
schemaname.tablename
. If omitted or an empty list is specified, all tables will be transferred. - object
Transfer Property MapSettings - 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. - service
Schema String - Name of the database schema in which auxiliary tables needed for the transfer will be created. Empty
service_schema
implies schema "public". - slot
Gigabyte NumberLag Limit - 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
- Mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- On
Premise DatatransferEndpoint Settings Postgres Source Connection On Premise - Connection settings of the on-premise MySQL server.
- Mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- On
Premise DatatransferEndpoint Settings Postgres Source Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster StringId - Identifier of the Managed MySQL cluster.
- on
Premise DatatransferEndpoint Settings Postgres Source Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- on
Premise DatatransferEndpoint Settings Postgres Source Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb_
cluster_ strid - Identifier of the Managed MySQL cluster.
- on_
premise DatatransferEndpoint Settings Postgres Source Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster StringId - Identifier of the Managed MySQL cluster.
- on
Premise Property Map - Connection settings of the on-premise MySQL server.
DatatransferEndpointSettingsPostgresSourceConnectionOnPremise, DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseArgs
- Ca
Certificate 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.
- Subnet
Id string - 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 DatatransferEndpoint Settings Postgres Source Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- Ca
Certificate 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.
- Subnet
Id string - 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 DatatransferEndpoint Settings Postgres Source Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id String - 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 DatatransferEndpoint Settings Postgres Source Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id string - 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 DatatransferEndpoint Settings Postgres Source Connection On Premise Tls Mode - 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 DatatransferEndpoint Settings Postgres Source Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id String - 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 Property Map - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsMode, DatatransferEndpointSettingsPostgresSourceConnectionOnPremiseTlsModeArgs
- Disabled
Datatransfer
Endpoint Settings Postgres Source Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- Enabled
Datatransfer
Endpoint Settings Postgres Source Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- Disabled
Datatransfer
Endpoint Settings Postgres Source Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- Enabled
Datatransfer
Endpoint Settings Postgres Source Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Postgres Source Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Postgres Source Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Postgres Source Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Postgres Source Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Postgres Source Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Postgres Source Connection On Premise Tls Mode Enabled - 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
- Ca
Certificate 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 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 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 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.
- ca
Certificate 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
- Default
Values string - Fk
Constraint string - Function string
- Index string
- Policy string
- Primary
Key string - Rule string
- Sequence string
- Sequence
Owned stringBy - Table string
- Trigger string
- Type string
- View string
- 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 stringBy - Table string
- Trigger string
- Type string
- View string
- 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 StringBy - table String
- trigger String
- type String
- view String
- 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 stringBy - table string
- trigger string
- type string
- view string
- cast str
- collation str
- constraint str
- default_
values str - fk_
constraint str - function str
- index str
- policy str
- primary_
key str - rule str
- sequence str
- sequence_
owned_ strby - table str
- trigger str
- type str
- view str
- 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 StringBy - 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
Datatransfer
Endpoint Settings Postgres Target Connection - Connection settings. The structure is documented below.
- Database string
- Name of the database to transfer.
- Password
Datatransfer
Endpoint Settings Postgres Target Password - 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
Datatransfer
Endpoint Settings Postgres Target Connection - Connection settings. The structure is documented below.
- Database string
- Name of the database to transfer.
- Password
Datatransfer
Endpoint Settings Postgres Target Password - 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
Datatransfer
Endpoint Settings Postgres Target Connection - Connection settings. The structure is documented below.
- database String
- Name of the database to transfer.
- password
Datatransfer
Endpoint Settings Postgres Target Password - 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
Datatransfer
Endpoint Settings Postgres Target Connection - Connection settings. The structure is documented below.
- database string
- Name of the database to transfer.
- password
Datatransfer
Endpoint Settings Postgres Target Password - 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
Datatransfer
Endpoint Settings Postgres Target Connection - Connection settings. The structure is documented below.
- database str
- Name of the database to transfer.
- password
Datatransfer
Endpoint Settings Postgres Target Password - 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
- Mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- On
Premise DatatransferEndpoint Settings Postgres Target Connection On Premise - Connection settings of the on-premise MySQL server.
- Mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- On
Premise DatatransferEndpoint Settings Postgres Target Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster StringId - Identifier of the Managed MySQL cluster.
- on
Premise DatatransferEndpoint Settings Postgres Target Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster stringId - Identifier of the Managed MySQL cluster.
- on
Premise DatatransferEndpoint Settings Postgres Target Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb_
cluster_ strid - Identifier of the Managed MySQL cluster.
- on_
premise DatatransferEndpoint Settings Postgres Target Connection On Premise - Connection settings of the on-premise MySQL server.
- mdb
Cluster StringId - Identifier of the Managed MySQL cluster.
- on
Premise Property Map - Connection settings of the on-premise MySQL server.
DatatransferEndpointSettingsPostgresTargetConnectionOnPremise, DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseArgs
- Ca
Certificate 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.
- Subnet
Id string - 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 DatatransferEndpoint Settings Postgres Target Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- Ca
Certificate 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.
- Subnet
Id string - 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 DatatransferEndpoint Settings Postgres Target Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id String - 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 DatatransferEndpoint Settings Postgres Target Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id string - 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 DatatransferEndpoint Settings Postgres Target Connection On Premise Tls Mode - 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 DatatransferEndpoint Settings Postgres Target Connection On Premise Tls Mode - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
- ca
Certificate 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.
- subnet
Id String - 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 Property Map - TLS settings for the server connection. Empty implies plaintext connection. The structure is documented below.
DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsMode, DatatransferEndpointSettingsPostgresTargetConnectionOnPremiseTlsModeArgs
- Disabled
Datatransfer
Endpoint Settings Postgres Target Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- Enabled
Datatransfer
Endpoint Settings Postgres Target Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- Disabled
Datatransfer
Endpoint Settings Postgres Target Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- Enabled
Datatransfer
Endpoint Settings Postgres Target Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Postgres Target Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Postgres Target Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Postgres Target Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Postgres Target Connection On Premise Tls Mode Enabled - If this attribute is not an empty block, then TLS is used for the server connection. The structure is documented below.
- disabled
Datatransfer
Endpoint Settings Postgres Target Connection On Premise Tls Mode Disabled - Empty block designating that the connection is not secured, i.e. plaintext connection.
- enabled
Datatransfer
Endpoint Settings Postgres Target Connection On Premise Tls Mode Enabled - 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
- Ca
Certificate 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 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 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 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.
- ca
Certificate 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
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.