你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Bicep 资源定义
可以使用目标操作部署 accounts/shareSubscriptions/dataSetMappings 资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings@2019-11-01' = {
name: 'string'
kind: 'string'
// For remaining properties, see Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings objects
}
Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings 对象
设置 类型 属性以指定对象的类型。
对于 AdlsGen2File,请使用:
{
kind: 'AdlsGen2File'
properties: {
dataSetId: 'string'
filePath: 'string'
fileSystem: 'string'
outputType: 'string'
resourceGroup: 'string'
storageAccountName: 'string'
subscriptionId: 'string'
}
}
对于 AdlsGen2FileSystem,请使用:
{
kind: 'AdlsGen2FileSystem'
properties: {
dataSetId: 'string'
fileSystem: 'string'
resourceGroup: 'string'
storageAccountName: 'string'
subscriptionId: 'string'
}
}
对于 AdlsGen2Folder,请使用:
{
kind: 'AdlsGen2Folder'
properties: {
dataSetId: 'string'
fileSystem: 'string'
folderPath: 'string'
resourceGroup: 'string'
storageAccountName: 'string'
subscriptionId: 'string'
}
}
对于 Blob,请使用:
{
kind: 'Blob'
properties: {
containerName: 'string'
dataSetId: 'string'
filePath: 'string'
outputType: 'string'
resourceGroup: 'string'
storageAccountName: 'string'
subscriptionId: 'string'
}
}
对于 BlobFolder,请使用:
{
kind: 'BlobFolder'
properties: {
containerName: 'string'
dataSetId: 'string'
prefix: 'string'
resourceGroup: 'string'
storageAccountName: 'string'
subscriptionId: 'string'
}
}
对于 容器,请使用:
{
kind: 'Container'
properties: {
containerName: 'string'
dataSetId: 'string'
resourceGroup: 'string'
storageAccountName: 'string'
subscriptionId: 'string'
}
}
对于 KustoCluster,请使用:
{
kind: 'KustoCluster'
properties: {
dataSetId: 'string'
kustoClusterResourceId: 'string'
}
}
对于 kustoDatabase
{
kind: 'KustoDatabase'
properties: {
dataSetId: 'string'
kustoClusterResourceId: 'string'
}
}
对于 SqlDBTable,请使用:
{
kind: 'SqlDBTable'
properties: {
databaseName: 'string'
dataSetId: 'string'
schemaName: 'string'
sqlServerResourceId: 'string'
tableName: 'string'
}
}
对于 SqlDWTable,请使用:
{
kind: 'SqlDWTable'
properties: {
dataSetId: 'string'
dataWarehouseName: 'string'
schemaName: 'string'
sqlServerResourceId: 'string'
tableName: 'string'
}
}
属性值
Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 对于 AdlsGen2FileDataSetMapping,请设置为“AdlsGen2File”。 对于 AdlsGen2FileSystemDataSetMapping,请设置为“AdlsGen2FileSystem”。 对于 AdlsGen2FolderDataSetMapping,请设置为“AdlsGen2Folder”。 对于 BlobDataSetMapping,请设置为“Blob”。 对于 BlobFolderDataSetMapping,请设置为“BlobFolder”。 设置为 BlobContainerDataSetMapping类型的“容器”。 对于 KustoClusterDataSetMapping,请设置为“KustoCluster”。 对于 KustoDatabaseDataSetMapping,请设置为“KustoDatabase”。 对于 SqlDBTableDataSetMapping,请设置为“SqlDBTableTable”。 对于 SqlDWTableDataSetMapping,请设置为“SqlDWTable”。 | “AdlsGen2File” “AdlsGen2FileSystem” “AdlsGen2Folder” “Blob” “BlobFolder” “Container” “KustoCluster” “KustoDatabase” “SqlDBTable” “SqlDWTable”(必需) |
| 名字 | 资源名称 | string (必需) |
| 父级 | 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。 有关详细信息,请参阅 父资源外部的子资源。 |
类型资源的符号名称:accounts/shareSubscriptions |
AdlsGen2FileDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “AdlsGen2File”(必需) |
| 性能 | ADLS Gen2 文件数据集映射属性。 | AdlsGen2FileDataSetMappingProperties (必需) |
AdlsGen2FileDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件路径 | 文件系统中的文件路径。 | string (必需) |
| 文件系统 | 文件所属的文件系统。 | string (必需) |
| outputType (输出类型) | 输出文件的类型 | “Csv” “Parquet” |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
AdlsGen2FileSystemDataSet映射
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “AdlsGen2FileSystem”(必需) |
| 性能 | ADLS Gen2 文件系统数据集映射属性。 | AdlsGen2FileSystemDataSetMappingProperties(必需) |
AdlsGen2FileSystemDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件系统 | 文件系统名称。 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
AdlsGen2FolderDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “AdlsGen2Folder”(必需) |
| 性能 | ADLS Gen2 文件夹数据集映射属性。 | AdlsGen2FolderDataSetMappingProperties (必需) |
AdlsGen2FolderDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件系统 | 文件夹所属的文件系统。 | string (必需) |
| folderPath 文件夹路径 | 文件系统中的文件夹路径。 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
BlobContainerDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “Container”(必需) |
| 性能 | Blob 容器数据集映射属性。 | BlobContainerMappingProperties(必需) |
BlobContainerMapping属性
| 名字 | 描述 | 价值 |
|---|---|---|
| 容器名称 | BLOB 容器名称。 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
BlobDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “Blob”(必需) |
| 性能 | Blob 数据集映射属性。 | BlobMappingProperties (必需) |
BlobFolderDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “BlobFolder”(必需) |
| 性能 | Blob 文件夹数据集映射属性。 | BlobFolderMappingProperties(必需) |
BlobFolderMapping属性
| 名字 | 描述 | 价值 |
|---|---|---|
| 容器名称 | 具有文件路径的容器。 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 前缀 | Blob 文件夹的前缀 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
BlobMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 容器名称 | 具有文件路径的容器。 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件路径 | 源数据集中的文件路径 | string (必需) |
| outputType (输出类型) | 文件输出类型 | “Csv” “Parquet” |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
KustoClusterDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “KustoCluster”(必需) |
| 性能 | Kusto 群集数据集映射属性。 | KustoClusterDataSetMappingProperties (必需) |
KustoClusterDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| kustoClusterResourceId | 接收器 kusto 群集的资源 ID。 | string (必需) |
KustoDatabaseDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “KustoDatabase”(必需) |
| 性能 | Kusto 数据库数据集映射属性。 | KustoDatabaseDataSetMappingProperties(必需) |
KustoDatabaseDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| kustoClusterResourceId | 接收器 kusto 群集的资源 ID。 | string (必需) |
SqlDBTableDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “SqlDBTable”(必需) |
| 性能 | Sql DB 数据集映射属性。 | SqlDBTableDataSetMappingProperties(必需) |
SqlDBTableDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据库名称 | 接收器数据集的 DatabaseName 名称 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| schemaName | 表的架构。 默认值为 dbo。 | string (必需) |
| sqlServerResourceId | SQL Server 的资源 ID | string (必需) |
| 表名称 | SQL DB 表名称。 | string (必需) |
SqlDWTableDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “SqlDWTable”(必需) |
| 性能 | Sql DW 数据集映射属性。 | SqlDWTableDataSetMappingProperties(必需) |
SqlDWTableDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| dataWarehouseName (数据仓库名称) | 源数据集的 DataWarehouse 名称 | string (必需) |
| schemaName | 表的架构。 默认值为 dbo。 | string (必需) |
| sqlServerResourceId | SQL Server 的资源 ID | string (必需) |
| 表名称 | SQL DW 表名称。 | string (必需) |
ARM 模板资源定义
可以使用目标操作部署 accounts/shareSubscriptions/dataSetMappings 资源类型:
用法示例
资源格式
若要创建 Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings 资源,请将以下 JSON 添加到模板。
{
"name": "string",
"kind": "string"
// For remaining properties, see Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings objects
}
Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings 对象
设置 类型 属性以指定对象的类型。
对于 AdlsGen2File,请使用:
{
"kind": "AdlsGen2File",
"properties": {
"dataSetId": "string",
"filePath": "string",
"fileSystem": "string",
"outputType": "string",
"resourceGroup": "string",
"storageAccountName": "string",
"subscriptionId": "string"
}
}
对于 AdlsGen2FileSystem,请使用:
{
"kind": "AdlsGen2FileSystem",
"properties": {
"dataSetId": "string",
"fileSystem": "string",
"resourceGroup": "string",
"storageAccountName": "string",
"subscriptionId": "string"
}
}
对于 AdlsGen2Folder,请使用:
{
"kind": "AdlsGen2Folder",
"properties": {
"dataSetId": "string",
"fileSystem": "string",
"folderPath": "string",
"resourceGroup": "string",
"storageAccountName": "string",
"subscriptionId": "string"
}
}
对于 Blob,请使用:
{
"kind": "Blob",
"properties": {
"containerName": "string",
"dataSetId": "string",
"filePath": "string",
"outputType": "string",
"resourceGroup": "string",
"storageAccountName": "string",
"subscriptionId": "string"
}
}
对于 BlobFolder,请使用:
{
"kind": "BlobFolder",
"properties": {
"containerName": "string",
"dataSetId": "string",
"prefix": "string",
"resourceGroup": "string",
"storageAccountName": "string",
"subscriptionId": "string"
}
}
对于 容器,请使用:
{
"kind": "Container",
"properties": {
"containerName": "string",
"dataSetId": "string",
"resourceGroup": "string",
"storageAccountName": "string",
"subscriptionId": "string"
}
}
对于 KustoCluster,请使用:
{
"kind": "KustoCluster",
"properties": {
"dataSetId": "string",
"kustoClusterResourceId": "string"
}
}
对于 kustoDatabase
{
"kind": "KustoDatabase",
"properties": {
"dataSetId": "string",
"kustoClusterResourceId": "string"
}
}
对于 SqlDBTable,请使用:
{
"kind": "SqlDBTable",
"properties": {
"databaseName": "string",
"dataSetId": "string",
"schemaName": "string",
"sqlServerResourceId": "string",
"tableName": "string"
}
}
对于 SqlDWTable,请使用:
{
"kind": "SqlDWTable",
"properties": {
"dataSetId": "string",
"dataWarehouseName": "string",
"schemaName": "string",
"sqlServerResourceId": "string",
"tableName": "string"
}
}
属性值
Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings
| 名字 | 描述 | 价值 |
|---|---|---|
| apiVersion | API 版本 | '2019-11-01' |
| 类 | 对于 AdlsGen2FileDataSetMapping,请设置为“AdlsGen2File”。 对于 AdlsGen2FileSystemDataSetMapping,请设置为“AdlsGen2FileSystem”。 对于 AdlsGen2FolderDataSetMapping,请设置为“AdlsGen2Folder”。 对于 BlobDataSetMapping,请设置为“Blob”。 对于 BlobFolderDataSetMapping,请设置为“BlobFolder”。 设置为 BlobContainerDataSetMapping类型的“容器”。 对于 KustoClusterDataSetMapping,请设置为“KustoCluster”。 对于 KustoDatabaseDataSetMapping,请设置为“KustoDatabase”。 对于 SqlDBTableDataSetMapping,请设置为“SqlDBTableTable”。 对于 SqlDWTableDataSetMapping,请设置为“SqlDWTable”。 | “AdlsGen2File” “AdlsGen2FileSystem” “AdlsGen2Folder” “Blob” “BlobFolder” “Container” “KustoCluster” “KustoDatabase” “SqlDBTable” “SqlDWTable”(必需) |
| 名字 | 资源名称 | string (必需) |
| 类型 | 资源类型 | “Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings” |
AdlsGen2FileDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “AdlsGen2File”(必需) |
| 性能 | ADLS Gen2 文件数据集映射属性。 | AdlsGen2FileDataSetMappingProperties (必需) |
AdlsGen2FileDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件路径 | 文件系统中的文件路径。 | string (必需) |
| 文件系统 | 文件所属的文件系统。 | string (必需) |
| outputType (输出类型) | 输出文件的类型 | “Csv” “Parquet” |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
AdlsGen2FileSystemDataSet映射
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “AdlsGen2FileSystem”(必需) |
| 性能 | ADLS Gen2 文件系统数据集映射属性。 | AdlsGen2FileSystemDataSetMappingProperties(必需) |
AdlsGen2FileSystemDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件系统 | 文件系统名称。 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
AdlsGen2FolderDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “AdlsGen2Folder”(必需) |
| 性能 | ADLS Gen2 文件夹数据集映射属性。 | AdlsGen2FolderDataSetMappingProperties (必需) |
AdlsGen2FolderDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件系统 | 文件夹所属的文件系统。 | string (必需) |
| folderPath 文件夹路径 | 文件系统中的文件夹路径。 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
BlobContainerDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “Container”(必需) |
| 性能 | Blob 容器数据集映射属性。 | BlobContainerMappingProperties(必需) |
BlobContainerMapping属性
| 名字 | 描述 | 价值 |
|---|---|---|
| 容器名称 | BLOB 容器名称。 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
BlobDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “Blob”(必需) |
| 性能 | Blob 数据集映射属性。 | BlobMappingProperties (必需) |
BlobFolderDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “BlobFolder”(必需) |
| 性能 | Blob 文件夹数据集映射属性。 | BlobFolderMappingProperties(必需) |
BlobFolderMapping属性
| 名字 | 描述 | 价值 |
|---|---|---|
| 容器名称 | 具有文件路径的容器。 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 前缀 | Blob 文件夹的前缀 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
BlobMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 容器名称 | 具有文件路径的容器。 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件路径 | 源数据集中的文件路径 | string (必需) |
| outputType (输出类型) | 文件输出类型 | “Csv” “Parquet” |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
KustoClusterDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “KustoCluster”(必需) |
| 性能 | Kusto 群集数据集映射属性。 | KustoClusterDataSetMappingProperties (必需) |
KustoClusterDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| kustoClusterResourceId | 接收器 kusto 群集的资源 ID。 | string (必需) |
KustoDatabaseDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “KustoDatabase”(必需) |
| 性能 | Kusto 数据库数据集映射属性。 | KustoDatabaseDataSetMappingProperties(必需) |
KustoDatabaseDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| kustoClusterResourceId | 接收器 kusto 群集的资源 ID。 | string (必需) |
SqlDBTableDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “SqlDBTable”(必需) |
| 性能 | Sql DB 数据集映射属性。 | SqlDBTableDataSetMappingProperties(必需) |
SqlDBTableDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据库名称 | 接收器数据集的 DatabaseName 名称 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| schemaName | 表的架构。 默认值为 dbo。 | string (必需) |
| sqlServerResourceId | SQL Server 的资源 ID | string (必需) |
| 表名称 | SQL DB 表名称。 | string (必需) |
SqlDWTableDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “SqlDWTable”(必需) |
| 性能 | Sql DW 数据集映射属性。 | SqlDWTableDataSetMappingProperties(必需) |
SqlDWTableDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| dataWarehouseName (数据仓库名称) | 源数据集的 DataWarehouse 名称 | string (必需) |
| schemaName | 表的架构。 默认值为 dbo。 | string (必需) |
| sqlServerResourceId | SQL Server 的资源 ID | string (必需) |
| 表名称 | SQL DW 表名称。 | string (必需) |
Terraform (AzAPI 提供程序)资源定义
可以使用目标操作部署 accounts/shareSubscriptions/dataSetMappings 资源类型:
- 资源组 关于每个API版本中变更属性的列表,请参见 更改日志。
资源格式
若要创建 Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
name = "string"
kind = "string"
// For remaining properties, see Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings objects
}
Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings 对象
设置 类型 属性以指定对象的类型。
对于 AdlsGen2File,请使用:
{
kind = "AdlsGen2File"
properties = {
dataSetId = "string"
filePath = "string"
fileSystem = "string"
outputType = "string"
resourceGroup = "string"
storageAccountName = "string"
subscriptionId = "string"
}
}
对于 AdlsGen2FileSystem,请使用:
{
kind = "AdlsGen2FileSystem"
properties = {
dataSetId = "string"
fileSystem = "string"
resourceGroup = "string"
storageAccountName = "string"
subscriptionId = "string"
}
}
对于 AdlsGen2Folder,请使用:
{
kind = "AdlsGen2Folder"
properties = {
dataSetId = "string"
fileSystem = "string"
folderPath = "string"
resourceGroup = "string"
storageAccountName = "string"
subscriptionId = "string"
}
}
对于 Blob,请使用:
{
kind = "Blob"
properties = {
containerName = "string"
dataSetId = "string"
filePath = "string"
outputType = "string"
resourceGroup = "string"
storageAccountName = "string"
subscriptionId = "string"
}
}
对于 BlobFolder,请使用:
{
kind = "BlobFolder"
properties = {
containerName = "string"
dataSetId = "string"
prefix = "string"
resourceGroup = "string"
storageAccountName = "string"
subscriptionId = "string"
}
}
对于 容器,请使用:
{
kind = "Container"
properties = {
containerName = "string"
dataSetId = "string"
resourceGroup = "string"
storageAccountName = "string"
subscriptionId = "string"
}
}
对于 KustoCluster,请使用:
{
kind = "KustoCluster"
properties = {
dataSetId = "string"
kustoClusterResourceId = "string"
}
}
对于 kustoDatabase
{
kind = "KustoDatabase"
properties = {
dataSetId = "string"
kustoClusterResourceId = "string"
}
}
对于 SqlDBTable,请使用:
{
kind = "SqlDBTable"
properties = {
databaseName = "string"
dataSetId = "string"
schemaName = "string"
sqlServerResourceId = "string"
tableName = "string"
}
}
对于 SqlDWTable,请使用:
{
kind = "SqlDWTable"
properties = {
dataSetId = "string"
dataWarehouseName = "string"
schemaName = "string"
sqlServerResourceId = "string"
tableName = "string"
}
}
属性值
Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 对于 AdlsGen2FileDataSetMapping,请设置为“AdlsGen2File”。 对于 AdlsGen2FileSystemDataSetMapping,请设置为“AdlsGen2FileSystem”。 对于 AdlsGen2FolderDataSetMapping,请设置为“AdlsGen2Folder”。 对于 BlobDataSetMapping,请设置为“Blob”。 对于 BlobFolderDataSetMapping,请设置为“BlobFolder”。 设置为 BlobContainerDataSetMapping类型的“容器”。 对于 KustoClusterDataSetMapping,请设置为“KustoCluster”。 对于 KustoDatabaseDataSetMapping,请设置为“KustoDatabase”。 对于 SqlDBTableDataSetMapping,请设置为“SqlDBTableTable”。 对于 SqlDWTableDataSetMapping,请设置为“SqlDWTable”。 | “AdlsGen2File” “AdlsGen2FileSystem” “AdlsGen2Folder” “Blob” “BlobFolder” “Container” “KustoCluster” “KustoDatabase” “SqlDBTable” “SqlDWTable”(必需) |
| 名字 | 资源名称 | string (必需) |
| parent_id | 此资源的父资源的 ID。 | 类型资源的 ID:accounts/shareSubscriptions |
| 类型 | 资源类型 | “Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings@2019-11-01” |
AdlsGen2FileDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “AdlsGen2File”(必需) |
| 性能 | ADLS Gen2 文件数据集映射属性。 | AdlsGen2FileDataSetMappingProperties (必需) |
AdlsGen2FileDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件路径 | 文件系统中的文件路径。 | string (必需) |
| 文件系统 | 文件所属的文件系统。 | string (必需) |
| outputType (输出类型) | 输出文件的类型 | “Csv” “Parquet” |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
AdlsGen2FileSystemDataSet映射
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “AdlsGen2FileSystem”(必需) |
| 性能 | ADLS Gen2 文件系统数据集映射属性。 | AdlsGen2FileSystemDataSetMappingProperties(必需) |
AdlsGen2FileSystemDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件系统 | 文件系统名称。 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
AdlsGen2FolderDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “AdlsGen2Folder”(必需) |
| 性能 | ADLS Gen2 文件夹数据集映射属性。 | AdlsGen2FolderDataSetMappingProperties (必需) |
AdlsGen2FolderDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件系统 | 文件夹所属的文件系统。 | string (必需) |
| folderPath 文件夹路径 | 文件系统中的文件夹路径。 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
BlobContainerDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “Container”(必需) |
| 性能 | Blob 容器数据集映射属性。 | BlobContainerMappingProperties(必需) |
BlobContainerMapping属性
| 名字 | 描述 | 价值 |
|---|---|---|
| 容器名称 | BLOB 容器名称。 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
BlobDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “Blob”(必需) |
| 性能 | Blob 数据集映射属性。 | BlobMappingProperties (必需) |
BlobFolderDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “BlobFolder”(必需) |
| 性能 | Blob 文件夹数据集映射属性。 | BlobFolderMappingProperties(必需) |
BlobFolderMapping属性
| 名字 | 描述 | 价值 |
|---|---|---|
| 容器名称 | 具有文件路径的容器。 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 前缀 | Blob 文件夹的前缀 | string (必需) |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
BlobMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 容器名称 | 具有文件路径的容器。 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| 文件路径 | 源数据集中的文件路径 | string (必需) |
| outputType (输出类型) | 文件输出类型 | “Csv” “Parquet” |
| resourceGroup | 存储帐户的资源组。 | string (必需) |
| 存储账户名称 | 源数据集的存储帐户名称。 | string (必需) |
| 订阅编号 | 存储帐户的订阅 ID。 | string (必需) |
KustoClusterDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “KustoCluster”(必需) |
| 性能 | Kusto 群集数据集映射属性。 | KustoClusterDataSetMappingProperties (必需) |
KustoClusterDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| kustoClusterResourceId | 接收器 kusto 群集的资源 ID。 | string (必需) |
KustoDatabaseDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “KustoDatabase”(必需) |
| 性能 | Kusto 数据库数据集映射属性。 | KustoDatabaseDataSetMappingProperties(必需) |
KustoDatabaseDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| kustoClusterResourceId | 接收器 kusto 群集的资源 ID。 | string (必需) |
SqlDBTableDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “SqlDBTable”(必需) |
| 性能 | Sql DB 数据集映射属性。 | SqlDBTableDataSetMappingProperties(必需) |
SqlDBTableDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据库名称 | 接收器数据集的 DatabaseName 名称 | string (必需) |
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| schemaName | 表的架构。 默认值为 dbo。 | string (必需) |
| sqlServerResourceId | SQL Server 的资源 ID | string (必需) |
| 表名称 | SQL DB 表名称。 | string (必需) |
SqlDWTableDataSetMapping
| 名字 | 描述 | 价值 |
|---|---|---|
| 类 | 数据集映射的类型。 | “SqlDWTable”(必需) |
| 性能 | Sql DW 数据集映射属性。 | SqlDWTableDataSetMappingProperties(必需) |
SqlDWTableDataSetMappingProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 数据集 ID | 源数据集的 ID。 | string (必需) |
| dataWarehouseName (数据仓库名称) | 源数据集的 DataWarehouse 名称 | string (必需) |
| schemaName | 表的架构。 默认值为 dbo。 | string (必需) |
| sqlServerResourceId | SQL Server 的资源 ID | string (必需) |
| 表名称 | SQL DW 表名称。 | string (必需) |