ChangeDataCapture

class ChangeDataCapture : KotlinCustomResource

Change data capture resource type. Uses 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 (
datafactory "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 (
datafactory "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}

Properties

Link copied to clipboard

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

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

The description of the change data capture.

Link copied to clipboard
val etag: Output<String>

Etag identifies change in the resource.

Link copied to clipboard

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The resource name.

Link copied to clipboard

CDC policy

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
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>?

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.

Link copied to clipboard
val type: Output<String>

The resource type.

Link copied to clipboard
val urn: Output<String>