ChangeDataCaptureArgs

data class ChangeDataCaptureArgs(val allowVNetOverride: Output<Boolean>? = null, val changeDataCaptureName: Output<String>? = null, val description: Output<String>? = null, val factoryName: Output<String>? = null, val folder: Output<ChangeDataCaptureFolderArgs>? = null, val policy: Output<MapperPolicyArgs>? = null, val resourceGroupName: Output<String>? = null, val sourceConnectionsInfo: Output<List<MapperSourceConnectionsInfoArgs>>? = null, val status: Output<String>? = null, val targetConnectionsInfo: Output<List<MapperTargetConnectionsInfoArgs>>? = null) : ConvertibleToJava<ChangeDataCaptureArgs>

Change data capture resource type. Azure REST API version: 2018-06-01.

Example Usage

ChangeDataCapture_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var changeDataCapture = new AzureNative.DataFactory.ChangeDataCapture("changeDataCapture", new()
{
AllowVNetOverride = false,
ChangeDataCaptureName = "exampleChangeDataCapture",
Description = "Sample demo change data capture to transfer data from delimited (csv) to Azure SQL Database with automapped and non-automapped mappings.",
FactoryName = "exampleFactoryName",
ResourceGroupName = "exampleResourceGroup",
});
});
package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/datafactory/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datafactory.NewChangeDataCapture(ctx, "changeDataCapture", &datafactory.ChangeDataCaptureArgs{
AllowVNetOverride: pulumi.Bool(false),
ChangeDataCaptureName: pulumi.String("exampleChangeDataCapture"),
Description: pulumi.String("Sample demo change data capture to transfer data from delimited (csv) to Azure SQL Database with automapped and non-automapped mappings."),
FactoryName: pulumi.String("exampleFactoryName"),
ResourceGroupName: pulumi.String("exampleResourceGroup"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datafactory.ChangeDataCapture;
import com.pulumi.azurenative.datafactory.ChangeDataCaptureArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var changeDataCapture = new ChangeDataCapture("changeDataCapture", ChangeDataCaptureArgs.builder()
.allowVNetOverride(false)
.changeDataCaptureName("exampleChangeDataCapture")
.description("Sample demo change data capture to transfer data from delimited (csv) to Azure SQL Database with automapped and non-automapped mappings.")
.factoryName("exampleFactoryName")
.resourceGroupName("exampleResourceGroup")
.build());
}
}

ChangeDataCapture_Update

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var changeDataCapture = new AzureNative.DataFactory.ChangeDataCapture("changeDataCapture", new()
{
AllowVNetOverride = false,
ChangeDataCaptureName = "exampleChangeDataCapture",
Description = "Sample demo change data capture to transfer data from delimited (csv) to Azure SQL Database. Updating table mappings.",
FactoryName = "exampleFactoryName",
ResourceGroupName = "exampleResourceGroup",
Status = "Stopped",
});
});
package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/datafactory/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datafactory.NewChangeDataCapture(ctx, "changeDataCapture", &datafactory.ChangeDataCaptureArgs{
AllowVNetOverride: pulumi.Bool(false),
ChangeDataCaptureName: pulumi.String("exampleChangeDataCapture"),
Description: pulumi.String("Sample demo change data capture to transfer data from delimited (csv) to Azure SQL Database. Updating table mappings."),
FactoryName: pulumi.String("exampleFactoryName"),
ResourceGroupName: pulumi.String("exampleResourceGroup"),
Status: pulumi.String("Stopped"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datafactory.ChangeDataCapture;
import com.pulumi.azurenative.datafactory.ChangeDataCaptureArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var changeDataCapture = new ChangeDataCapture("changeDataCapture", ChangeDataCaptureArgs.builder()
.allowVNetOverride(false)
.changeDataCaptureName("exampleChangeDataCapture")
.description("Sample demo change data capture to transfer data from delimited (csv) to Azure SQL Database. Updating table mappings.")
.factoryName("exampleFactoryName")
.resourceGroupName("exampleResourceGroup")
.status("Stopped")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:datafactory:ChangeDataCapture exampleChangeDataCapture /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}

Constructors

Link copied to clipboard
fun ChangeDataCaptureArgs(allowVNetOverride: Output<Boolean>? = null, changeDataCaptureName: Output<String>? = null, description: Output<String>? = null, factoryName: Output<String>? = null, folder: Output<ChangeDataCaptureFolderArgs>? = null, policy: Output<MapperPolicyArgs>? = null, resourceGroupName: Output<String>? = null, sourceConnectionsInfo: Output<List<MapperSourceConnectionsInfoArgs>>? = null, status: Output<String>? = null, targetConnectionsInfo: Output<List<MapperTargetConnectionsInfoArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ChangeDataCaptureArgs

Properties

Link copied to clipboard
val allowVNetOverride: Output<Boolean>? = null

A boolean to determine if the vnet configuration needs to be overwritten.

Link copied to clipboard
val changeDataCaptureName: Output<String>? = null

The change data capture name.

Link copied to clipboard
val description: Output<String>? = null

The description of the change data capture.

Link copied to clipboard
val factoryName: Output<String>? = null

The factory name.

Link copied to clipboard
val folder: Output<ChangeDataCaptureFolderArgs>? = null

The folder that this CDC is in. If not specified, CDC will appear at the root level.

Link copied to clipboard
val policy: Output<MapperPolicyArgs>? = null

CDC policy

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The resource group name.

Link copied to clipboard

List of sources connections that can be used as sources in the CDC.

Link copied to clipboard
val status: Output<String>? = null

Status of the CDC as to if it is running or stopped.

Link copied to clipboard

List of target connections that can be used as sources in the CDC.