1. Packages
  2. Azure Native v2
  3. API Docs
  4. datashare
  5. SqlDBTableDataSetMapping
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.datashare.SqlDBTableDataSetMapping

Explore with Pulumi AI

A SQL DB Table data set mapping. Azure REST API version: 2021-08-01. Prior API version in Azure Native 1.x: 2020-09-01.

Example Usage

DataSetMappings_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var sqlDBTableDataSetMapping = new AzureNative.DataShare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", new()
    {
        AccountName = "Account1",
        DataSetMappingName = "DatasetMapping1",
        ResourceGroupName = "SampleResourceGroup",
        ShareSubscriptionName = "ShareSubscription1",
    });

});
Copy
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewSqlDBTableDataSetMapping(ctx, "sqlDBTableDataSetMapping", &datashare.SqlDBTableDataSetMappingArgs{
			AccountName:           pulumi.String("Account1"),
			DataSetMappingName:    pulumi.String("DatasetMapping1"),
			ResourceGroupName:     pulumi.String("SampleResourceGroup"),
			ShareSubscriptionName: pulumi.String("ShareSubscription1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datashare.SqlDBTableDataSetMapping;
import com.pulumi.azurenative.datashare.SqlDBTableDataSetMappingArgs;
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 sqlDBTableDataSetMapping = new SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", SqlDBTableDataSetMappingArgs.builder()
            .accountName("Account1")
            .dataSetMappingName("DatasetMapping1")
            .resourceGroupName("SampleResourceGroup")
            .shareSubscriptionName("ShareSubscription1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const sqlDBTableDataSetMapping = new azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", {
    accountName: "Account1",
    dataSetMappingName: "DatasetMapping1",
    resourceGroupName: "SampleResourceGroup",
    shareSubscriptionName: "ShareSubscription1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

sql_db_table_data_set_mapping = azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping",
    account_name="Account1",
    data_set_mapping_name="DatasetMapping1",
    resource_group_name="SampleResourceGroup",
    share_subscription_name="ShareSubscription1")
Copy
resources:
  sqlDBTableDataSetMapping:
    type: azure-native:datashare:SqlDBTableDataSetMapping
    properties:
      accountName: Account1
      dataSetMappingName: DatasetMapping1
      resourceGroupName: SampleResourceGroup
      shareSubscriptionName: ShareSubscription1
Copy

DataSetMappings_SqlDB_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var sqlDBTableDataSetMapping = new AzureNative.DataShare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", new()
    {
        AccountName = "Account1",
        DataSetId = "a08f184b-0567-4b11-ba22-a1199336d226",
        DataSetMappingName = "DatasetMapping1",
        DatabaseName = "Database1",
        Kind = "SqlDBTable",
        ResourceGroupName = "SampleResourceGroup",
        SchemaName = "dbo",
        ShareSubscriptionName = "ShareSubscription1",
        SqlServerResourceId = "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
        TableName = "Table1",
    });

});
Copy
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewSqlDBTableDataSetMapping(ctx, "sqlDBTableDataSetMapping", &datashare.SqlDBTableDataSetMappingArgs{
			AccountName:           pulumi.String("Account1"),
			DataSetId:             pulumi.String("a08f184b-0567-4b11-ba22-a1199336d226"),
			DataSetMappingName:    pulumi.String("DatasetMapping1"),
			DatabaseName:          pulumi.String("Database1"),
			Kind:                  pulumi.String("SqlDBTable"),
			ResourceGroupName:     pulumi.String("SampleResourceGroup"),
			SchemaName:            pulumi.String("dbo"),
			ShareSubscriptionName: pulumi.String("ShareSubscription1"),
			SqlServerResourceId:   pulumi.String("/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1"),
			TableName:             pulumi.String("Table1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datashare.SqlDBTableDataSetMapping;
import com.pulumi.azurenative.datashare.SqlDBTableDataSetMappingArgs;
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 sqlDBTableDataSetMapping = new SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", SqlDBTableDataSetMappingArgs.builder()
            .accountName("Account1")
            .dataSetId("a08f184b-0567-4b11-ba22-a1199336d226")
            .dataSetMappingName("DatasetMapping1")
            .databaseName("Database1")
            .kind("SqlDBTable")
            .resourceGroupName("SampleResourceGroup")
            .schemaName("dbo")
            .shareSubscriptionName("ShareSubscription1")
            .sqlServerResourceId("/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1")
            .tableName("Table1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const sqlDBTableDataSetMapping = new azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", {
    accountName: "Account1",
    dataSetId: "a08f184b-0567-4b11-ba22-a1199336d226",
    dataSetMappingName: "DatasetMapping1",
    databaseName: "Database1",
    kind: "SqlDBTable",
    resourceGroupName: "SampleResourceGroup",
    schemaName: "dbo",
    shareSubscriptionName: "ShareSubscription1",
    sqlServerResourceId: "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
    tableName: "Table1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

sql_db_table_data_set_mapping = azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping",
    account_name="Account1",
    data_set_id="a08f184b-0567-4b11-ba22-a1199336d226",
    data_set_mapping_name="DatasetMapping1",
    database_name="Database1",
    kind="SqlDBTable",
    resource_group_name="SampleResourceGroup",
    schema_name="dbo",
    share_subscription_name="ShareSubscription1",
    sql_server_resource_id="/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
    table_name="Table1")
Copy
resources:
  sqlDBTableDataSetMapping:
    type: azure-native:datashare:SqlDBTableDataSetMapping
    properties:
      accountName: Account1
      dataSetId: a08f184b-0567-4b11-ba22-a1199336d226
      dataSetMappingName: DatasetMapping1
      databaseName: Database1
      kind: SqlDBTable
      resourceGroupName: SampleResourceGroup
      schemaName: dbo
      shareSubscriptionName: ShareSubscription1
      sqlServerResourceId: /subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1
      tableName: Table1
Copy

DataSetMappings_SqlDWDataSetToAdlsGen2File_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var sqlDBTableDataSetMapping = new AzureNative.DataShare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", new()
    {
        AccountName = "Account1",
        DataSetMappingName = "DatasetMapping1",
        ResourceGroupName = "SampleResourceGroup",
        ShareSubscriptionName = "ShareSubscription1",
    });

});
Copy
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewSqlDBTableDataSetMapping(ctx, "sqlDBTableDataSetMapping", &datashare.SqlDBTableDataSetMappingArgs{
			AccountName:           pulumi.String("Account1"),
			DataSetMappingName:    pulumi.String("DatasetMapping1"),
			ResourceGroupName:     pulumi.String("SampleResourceGroup"),
			ShareSubscriptionName: pulumi.String("ShareSubscription1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datashare.SqlDBTableDataSetMapping;
import com.pulumi.azurenative.datashare.SqlDBTableDataSetMappingArgs;
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 sqlDBTableDataSetMapping = new SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", SqlDBTableDataSetMappingArgs.builder()
            .accountName("Account1")
            .dataSetMappingName("DatasetMapping1")
            .resourceGroupName("SampleResourceGroup")
            .shareSubscriptionName("ShareSubscription1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const sqlDBTableDataSetMapping = new azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", {
    accountName: "Account1",
    dataSetMappingName: "DatasetMapping1",
    resourceGroupName: "SampleResourceGroup",
    shareSubscriptionName: "ShareSubscription1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

sql_db_table_data_set_mapping = azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping",
    account_name="Account1",
    data_set_mapping_name="DatasetMapping1",
    resource_group_name="SampleResourceGroup",
    share_subscription_name="ShareSubscription1")
Copy
resources:
  sqlDBTableDataSetMapping:
    type: azure-native:datashare:SqlDBTableDataSetMapping
    properties:
      accountName: Account1
      dataSetMappingName: DatasetMapping1
      resourceGroupName: SampleResourceGroup
      shareSubscriptionName: ShareSubscription1
Copy

DataSetMappings_SqlDW_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var sqlDBTableDataSetMapping = new AzureNative.DataShare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", new()
    {
        AccountName = "Account1",
        DataSetMappingName = "DatasetMapping1",
        ResourceGroupName = "SampleResourceGroup",
        ShareSubscriptionName = "ShareSubscription1",
    });

});
Copy
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewSqlDBTableDataSetMapping(ctx, "sqlDBTableDataSetMapping", &datashare.SqlDBTableDataSetMappingArgs{
			AccountName:           pulumi.String("Account1"),
			DataSetMappingName:    pulumi.String("DatasetMapping1"),
			ResourceGroupName:     pulumi.String("SampleResourceGroup"),
			ShareSubscriptionName: pulumi.String("ShareSubscription1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datashare.SqlDBTableDataSetMapping;
import com.pulumi.azurenative.datashare.SqlDBTableDataSetMappingArgs;
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 sqlDBTableDataSetMapping = new SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", SqlDBTableDataSetMappingArgs.builder()
            .accountName("Account1")
            .dataSetMappingName("DatasetMapping1")
            .resourceGroupName("SampleResourceGroup")
            .shareSubscriptionName("ShareSubscription1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const sqlDBTableDataSetMapping = new azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", {
    accountName: "Account1",
    dataSetMappingName: "DatasetMapping1",
    resourceGroupName: "SampleResourceGroup",
    shareSubscriptionName: "ShareSubscription1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

sql_db_table_data_set_mapping = azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping",
    account_name="Account1",
    data_set_mapping_name="DatasetMapping1",
    resource_group_name="SampleResourceGroup",
    share_subscription_name="ShareSubscription1")
Copy
resources:
  sqlDBTableDataSetMapping:
    type: azure-native:datashare:SqlDBTableDataSetMapping
    properties:
      accountName: Account1
      dataSetMappingName: DatasetMapping1
      resourceGroupName: SampleResourceGroup
      shareSubscriptionName: ShareSubscription1
Copy

DataSetMappings_SynapseWorkspaceSqlPoolTable_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var sqlDBTableDataSetMapping = new AzureNative.DataShare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", new()
    {
        AccountName = "consumerAccount",
        DataSetMappingName = "datasetMappingName1",
        ResourceGroupName = "SampleResourceGroup",
        ShareSubscriptionName = "ShareSubscription1",
    });

});
Copy
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewSqlDBTableDataSetMapping(ctx, "sqlDBTableDataSetMapping", &datashare.SqlDBTableDataSetMappingArgs{
			AccountName:           pulumi.String("consumerAccount"),
			DataSetMappingName:    pulumi.String("datasetMappingName1"),
			ResourceGroupName:     pulumi.String("SampleResourceGroup"),
			ShareSubscriptionName: pulumi.String("ShareSubscription1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datashare.SqlDBTableDataSetMapping;
import com.pulumi.azurenative.datashare.SqlDBTableDataSetMappingArgs;
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 sqlDBTableDataSetMapping = new SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", SqlDBTableDataSetMappingArgs.builder()
            .accountName("consumerAccount")
            .dataSetMappingName("datasetMappingName1")
            .resourceGroupName("SampleResourceGroup")
            .shareSubscriptionName("ShareSubscription1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const sqlDBTableDataSetMapping = new azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping", {
    accountName: "consumerAccount",
    dataSetMappingName: "datasetMappingName1",
    resourceGroupName: "SampleResourceGroup",
    shareSubscriptionName: "ShareSubscription1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

sql_db_table_data_set_mapping = azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMapping",
    account_name="consumerAccount",
    data_set_mapping_name="datasetMappingName1",
    resource_group_name="SampleResourceGroup",
    share_subscription_name="ShareSubscription1")
Copy
resources:
  sqlDBTableDataSetMapping:
    type: azure-native:datashare:SqlDBTableDataSetMapping
    properties:
      accountName: consumerAccount
      dataSetMappingName: datasetMappingName1
      resourceGroupName: SampleResourceGroup
      shareSubscriptionName: ShareSubscription1
Copy

Create SqlDBTableDataSetMapping Resource

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

Constructor syntax

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

@overload
def SqlDBTableDataSetMapping(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             account_name: Optional[str] = None,
                             data_set_id: Optional[str] = None,
                             database_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             schema_name: Optional[str] = None,
                             share_subscription_name: Optional[str] = None,
                             sql_server_resource_id: Optional[str] = None,
                             table_name: Optional[str] = None,
                             data_set_mapping_name: Optional[str] = None)
func NewSqlDBTableDataSetMapping(ctx *Context, name string, args SqlDBTableDataSetMappingArgs, opts ...ResourceOption) (*SqlDBTableDataSetMapping, error)
public SqlDBTableDataSetMapping(string name, SqlDBTableDataSetMappingArgs args, CustomResourceOptions? opts = null)
public SqlDBTableDataSetMapping(String name, SqlDBTableDataSetMappingArgs args)
public SqlDBTableDataSetMapping(String name, SqlDBTableDataSetMappingArgs args, CustomResourceOptions options)
type: azure-native:datashare:SqlDBTableDataSetMapping
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SqlDBTableDataSetMappingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SqlDBTableDataSetMappingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SqlDBTableDataSetMappingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SqlDBTableDataSetMappingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SqlDBTableDataSetMappingArgs
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 sqlDBTableDataSetMappingResource = new AzureNative.Datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMappingResource", new()
{
    AccountName = "string",
    DataSetId = "string",
    DatabaseName = "string",
    Kind = "string",
    ResourceGroupName = "string",
    SchemaName = "string",
    ShareSubscriptionName = "string",
    SqlServerResourceId = "string",
    TableName = "string",
    DataSetMappingName = "string",
});
Copy
example, err := datashare.NewSqlDBTableDataSetMapping(ctx, "sqlDBTableDataSetMappingResource", &datashare.SqlDBTableDataSetMappingArgs{
	AccountName:           "string",
	DataSetId:             "string",
	DatabaseName:          "string",
	Kind:                  "string",
	ResourceGroupName:     "string",
	SchemaName:            "string",
	ShareSubscriptionName: "string",
	SqlServerResourceId:   "string",
	TableName:             "string",
	DataSetMappingName:    "string",
})
Copy
var sqlDBTableDataSetMappingResource = new SqlDBTableDataSetMapping("sqlDBTableDataSetMappingResource", SqlDBTableDataSetMappingArgs.builder()
    .accountName("string")
    .dataSetId("string")
    .databaseName("string")
    .kind("string")
    .resourceGroupName("string")
    .schemaName("string")
    .shareSubscriptionName("string")
    .sqlServerResourceId("string")
    .tableName("string")
    .dataSetMappingName("string")
    .build());
Copy
sql_db_table_data_set_mapping_resource = azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMappingResource",
    account_name=string,
    data_set_id=string,
    database_name=string,
    kind=string,
    resource_group_name=string,
    schema_name=string,
    share_subscription_name=string,
    sql_server_resource_id=string,
    table_name=string,
    data_set_mapping_name=string)
Copy
const sqlDBTableDataSetMappingResource = new azure_native.datashare.SqlDBTableDataSetMapping("sqlDBTableDataSetMappingResource", {
    accountName: "string",
    dataSetId: "string",
    databaseName: "string",
    kind: "string",
    resourceGroupName: "string",
    schemaName: "string",
    shareSubscriptionName: "string",
    sqlServerResourceId: "string",
    tableName: "string",
    dataSetMappingName: "string",
});
Copy
type: azure-native:datashare:SqlDBTableDataSetMapping
properties:
    accountName: string
    dataSetId: string
    dataSetMappingName: string
    databaseName: string
    kind: string
    resourceGroupName: string
    schemaName: string
    shareSubscriptionName: string
    sqlServerResourceId: string
    tableName: string
Copy

SqlDBTableDataSetMapping Resource Properties

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

Inputs

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

The SqlDBTableDataSetMapping resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
DataSetId This property is required. string
The id of the source data set.
DatabaseName This property is required. string
DatabaseName name of the sink data set
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
SchemaName This property is required. string
Schema of the table. Default value is dbo.
ShareSubscriptionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share subscription which will hold the data set sink.
SqlServerResourceId This property is required. string
Resource id of SQL server
TableName This property is required. string
SQL DB table name.
DataSetMappingName Changes to this property will trigger replacement. string
The name of the data set mapping to be created.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
DataSetId This property is required. string
The id of the source data set.
DatabaseName This property is required. string
DatabaseName name of the sink data set
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
SchemaName This property is required. string
Schema of the table. Default value is dbo.
ShareSubscriptionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share subscription which will hold the data set sink.
SqlServerResourceId This property is required. string
Resource id of SQL server
TableName This property is required. string
SQL DB table name.
DataSetMappingName Changes to this property will trigger replacement. string
The name of the data set mapping to be created.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share account.
dataSetId This property is required. String
The id of the source data set.
databaseName This property is required. String
DatabaseName name of the sink data set
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
schemaName This property is required. String
Schema of the table. Default value is dbo.
shareSubscriptionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share subscription which will hold the data set sink.
sqlServerResourceId This property is required. String
Resource id of SQL server
tableName This property is required. String
SQL DB table name.
dataSetMappingName Changes to this property will trigger replacement. String
The name of the data set mapping to be created.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
dataSetId This property is required. string
The id of the source data set.
databaseName This property is required. string
DatabaseName name of the sink data set
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
schemaName This property is required. string
Schema of the table. Default value is dbo.
shareSubscriptionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share subscription which will hold the data set sink.
sqlServerResourceId This property is required. string
Resource id of SQL server
tableName This property is required. string
SQL DB table name.
dataSetMappingName Changes to this property will trigger replacement. string
The name of the data set mapping to be created.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the share account.
data_set_id This property is required. str
The id of the source data set.
database_name This property is required. str
DatabaseName name of the sink data set
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name.
schema_name This property is required. str
Schema of the table. Default value is dbo.
share_subscription_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the share subscription which will hold the data set sink.
sql_server_resource_id This property is required. str
Resource id of SQL server
table_name This property is required. str
SQL DB table name.
data_set_mapping_name Changes to this property will trigger replacement. str
The name of the data set mapping to be created.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share account.
dataSetId This property is required. String
The id of the source data set.
databaseName This property is required. String
DatabaseName name of the sink data set
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
schemaName This property is required. String
Schema of the table. Default value is dbo.
shareSubscriptionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share subscription which will hold the data set sink.
sqlServerResourceId This property is required. String
Resource id of SQL server
tableName This property is required. String
SQL DB table name.
dataSetMappingName Changes to this property will trigger replacement. String
The name of the data set mapping to be created.

Outputs

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

DataSetMappingStatus string
Gets the status of the data set mapping.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the azure resource
ProvisioningState string
Provisioning state of the data set mapping.
SystemData Pulumi.AzureNative.DataShare.Outputs.SystemDataResponse
System Data of the Azure resource.
Type string
Type of the azure resource
DataSetMappingStatus string
Gets the status of the data set mapping.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the azure resource
ProvisioningState string
Provisioning state of the data set mapping.
SystemData SystemDataResponse
System Data of the Azure resource.
Type string
Type of the azure resource
dataSetMappingStatus String
Gets the status of the data set mapping.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the azure resource
provisioningState String
Provisioning state of the data set mapping.
systemData SystemDataResponse
System Data of the Azure resource.
type String
Type of the azure resource
dataSetMappingStatus string
Gets the status of the data set mapping.
id string
The provider-assigned unique ID for this managed resource.
name string
Name of the azure resource
provisioningState string
Provisioning state of the data set mapping.
systemData SystemDataResponse
System Data of the Azure resource.
type string
Type of the azure resource
data_set_mapping_status str
Gets the status of the data set mapping.
id str
The provider-assigned unique ID for this managed resource.
name str
Name of the azure resource
provisioning_state str
Provisioning state of the data set mapping.
system_data SystemDataResponse
System Data of the Azure resource.
type str
Type of the azure resource
dataSetMappingStatus String
Gets the status of the data set mapping.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the azure resource
provisioningState String
Provisioning state of the data set mapping.
systemData Property Map
System Data of the Azure resource.
type String
Type of the azure resource

Supporting Types

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The type of identity that last modified the resource.
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The type of identity that last modified the resource.
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The type of identity that last modified the resource.
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The type of identity that last modified the resource.
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

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

$ pulumi import azure-native:datashare:SqlDBTableDataSetMapping datasetMappingName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/dataSetMappings/{dataSetMappingName} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0