Bicep 资源定义
工厂/数据流资源类型可以使用目标操作进行部署:
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
若要创建 Microsoft.DataFactory/factories/dataflows 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.DataFactory/factories/dataflows@2018-06-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
annotations: [
any(Azure.Bicep.Types.Concrete.AnyType)
]
description: 'string'
folder: {
name: 'string'
}
type: 'string'
// For remaining properties, see DataFlow objects
}
}
DataFlow 对象
设置 类型 属性以指定对象的类型。
对于 Flowlet,请使用:
{
type: 'Flowlet'
typeProperties: {
script: 'string'
scriptLines: [
'string'
]
sinks: [
{
dataset: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
description: 'string'
flowlet: {
datasetParameters: any(Azure.Bicep.Types.Concrete.AnyType)
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
linkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
name: 'string'
rejectedDataLinkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
schemaLinkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
}
]
sources: [
{
dataset: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
description: 'string'
flowlet: {
datasetParameters: any(Azure.Bicep.Types.Concrete.AnyType)
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
linkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
name: 'string'
schemaLinkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
}
]
transformations: [
{
dataset: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
description: 'string'
flowlet: {
datasetParameters: any(Azure.Bicep.Types.Concrete.AnyType)
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
linkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
name: 'string'
}
]
}
}
对于 MappingDataFlow,请使用:
{
type: 'MappingDataFlow'
typeProperties: {
script: 'string'
scriptLines: [
'string'
]
sinks: [
{
dataset: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
description: 'string'
flowlet: {
datasetParameters: any(Azure.Bicep.Types.Concrete.AnyType)
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
linkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
name: 'string'
rejectedDataLinkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
schemaLinkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
}
]
sources: [
{
dataset: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
description: 'string'
flowlet: {
datasetParameters: any(Azure.Bicep.Types.Concrete.AnyType)
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
linkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
name: 'string'
schemaLinkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
}
]
transformations: [
{
dataset: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
description: 'string'
flowlet: {
datasetParameters: any(Azure.Bicep.Types.Concrete.AnyType)
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
linkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
name: 'string'
}
]
}
}
对于 WranglingDataFlow,请使用:
{
type: 'WranglingDataFlow'
typeProperties: {
documentLocale: 'string'
script: 'string'
sources: [
{
dataset: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
description: 'string'
flowlet: {
datasetParameters: any(Azure.Bicep.Types.Concrete.AnyType)
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
linkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
name: 'string'
schemaLinkedService: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
script: 'string'
}
]
}
}
属性值
数据流
名字 |
描述 |
价值 |
附注 |
可用于描述数据流的标记列表。 |
any[] |
描述 |
数据流的说明。 |
字符串 |
文件夹 |
此数据流所在的文件夹。 如果未指定,数据流将显示在根级别。 |
DataFlowFolder |
类型 |
对于 type Flowlet,设置为“Flowlet”。 对于 mappingDataFlow类型,设置为“MappingDataFlow”。 对于 WranglingDataFlow,请设置为“WranglingDataFlow”。 |
“Flowlet” “MappingDataFlow” “WranglingDataFlow”(必需) |
DataFlowFolder
名字 |
描述 |
价值 |
名字 |
此数据流所在的文件夹的名称。 |
字符串 |
DataFlowReference
名字 |
描述 |
价值 |
datasetParameters |
从数据集引用数据流参数。 |
任何 |
参数 |
数据流参数 |
ParameterValueSpecification |
referenceName |
引用数据流名称。 |
string (必需) |
类型 |
数据流引用类型。 |
“DataFlowReference”(必需) |
DataFlowSink
DataFlowSource
DatasetReference
Flowlet
FlowletTypeProperties
名字 |
描述 |
价值 |
脚本 |
Flowlet 脚本。 |
字符串 |
scriptLines |
Flowlet 脚本行。 |
string[] |
汇 |
Flowlet 中的接收器列表。 |
DataFlowSink[] |
来源 |
Flowlet 中的源列表。 |
DataFlowSource[] |
转换 |
Flowlet 中的转换列表。 |
转换[] |
LinkedServiceReference
名字 |
描述 |
价值 |
参数 |
LinkedService 的参数。 |
ParameterValueSpecification |
referenceName |
引用 LinkedService 名称。 |
string (必需) |
类型 |
链接服务引用类型。 |
“LinkedServiceReference”(必需) |
MappingDataFlow
MappingDataFlowTypeProperties
Microsoft.DataFactory/factories/数据流
名字 |
描述 |
价值 |
名字 |
资源名称 |
字符串
约束: 最小长度 = 1 最大长度 = 260 模式 = ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$ (必需) |
父母 |
在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。
有关详细信息,请参阅 父资源外部的子资源。 |
类型资源的符号名称:工厂 |
性能 |
数据流属性。 |
数据流(必需) |
ParameterValueSpecification
ParameterValueSpecification
ParameterValueSpecification
PowerQuerySource
PowerQueryTypeProperties
名字 |
描述 |
价值 |
documentLocale |
Power query 混合文档的区域设置。 |
字符串 |
脚本 |
Power query 混合脚本。 |
字符串 |
来源 |
Power Query 中的源列表。 |
PowerQuerySource[] |
WranglingDataFlow
ARM 模板资源定义
工厂/数据流资源类型可以使用目标操作进行部署:
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
若要创建 Microsoft.DataFactory/factories/dataflows 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.DataFactory/factories/dataflows",
"apiVersion": "2018-06-01",
"name": "string",
"properties": {
"annotations": [ {} ],
"description": "string",
"folder": {
"name": "string"
},
"type": "string"
// For remaining properties, see DataFlow objects
}
}
DataFlow 对象
设置 类型 属性以指定对象的类型。
对于 Flowlet,请使用:
{
"type": "Flowlet",
"typeProperties": {
"script": "string",
"scriptLines": [ "string" ],
"sinks": [
{
"dataset": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"description": "string",
"flowlet": {
"datasetParameters": {},
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"linkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"name": "string",
"rejectedDataLinkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"schemaLinkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
}
}
],
"sources": [
{
"dataset": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"description": "string",
"flowlet": {
"datasetParameters": {},
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"linkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"name": "string",
"schemaLinkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
}
}
],
"transformations": [
{
"dataset": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"description": "string",
"flowlet": {
"datasetParameters": {},
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"linkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"name": "string"
}
]
}
}
对于 MappingDataFlow,请使用:
{
"type": "MappingDataFlow",
"typeProperties": {
"script": "string",
"scriptLines": [ "string" ],
"sinks": [
{
"dataset": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"description": "string",
"flowlet": {
"datasetParameters": {},
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"linkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"name": "string",
"rejectedDataLinkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"schemaLinkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
}
}
],
"sources": [
{
"dataset": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"description": "string",
"flowlet": {
"datasetParameters": {},
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"linkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"name": "string",
"schemaLinkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
}
}
],
"transformations": [
{
"dataset": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"description": "string",
"flowlet": {
"datasetParameters": {},
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"linkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"name": "string"
}
]
}
}
对于 WranglingDataFlow,请使用:
{
"type": "WranglingDataFlow",
"typeProperties": {
"documentLocale": "string",
"script": "string",
"sources": [
{
"dataset": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"description": "string",
"flowlet": {
"datasetParameters": {},
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"linkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"name": "string",
"schemaLinkedService": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"script": "string"
}
]
}
}
属性值
数据流
名字 |
描述 |
价值 |
附注 |
可用于描述数据流的标记列表。 |
any[] |
描述 |
数据流的说明。 |
字符串 |
文件夹 |
此数据流所在的文件夹。 如果未指定,数据流将显示在根级别。 |
DataFlowFolder |
类型 |
对于 type Flowlet,设置为“Flowlet”。 对于 mappingDataFlow类型,设置为“MappingDataFlow”。 对于 WranglingDataFlow,请设置为“WranglingDataFlow”。 |
“Flowlet” “MappingDataFlow” “WranglingDataFlow”(必需) |
DataFlowFolder
名字 |
描述 |
价值 |
名字 |
此数据流所在的文件夹的名称。 |
字符串 |
DataFlowReference
名字 |
描述 |
价值 |
datasetParameters |
从数据集引用数据流参数。 |
任何 |
参数 |
数据流参数 |
ParameterValueSpecification |
referenceName |
引用数据流名称。 |
string (必需) |
类型 |
数据流引用类型。 |
“DataFlowReference”(必需) |
DataFlowSink
DataFlowSource
DatasetReference
Flowlet
FlowletTypeProperties
名字 |
描述 |
价值 |
脚本 |
Flowlet 脚本。 |
字符串 |
scriptLines |
Flowlet 脚本行。 |
string[] |
汇 |
Flowlet 中的接收器列表。 |
DataFlowSink[] |
来源 |
Flowlet 中的源列表。 |
DataFlowSource[] |
转换 |
Flowlet 中的转换列表。 |
转换[] |
LinkedServiceReference
名字 |
描述 |
价值 |
参数 |
LinkedService 的参数。 |
ParameterValueSpecification |
referenceName |
引用 LinkedService 名称。 |
string (必需) |
类型 |
链接服务引用类型。 |
“LinkedServiceReference”(必需) |
MappingDataFlow
MappingDataFlowTypeProperties
Microsoft.DataFactory/factories/数据流
名字 |
描述 |
价值 |
apiVersion |
API 版本 |
'2018-06-01' |
名字 |
资源名称 |
字符串
约束: 最小长度 = 1 最大长度 = 260 模式 = ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$ (必需) |
性能 |
数据流属性。 |
数据流(必需) |
类型 |
资源类型 |
“Microsoft.DataFactory/factories/dataflows” |
ParameterValueSpecification
ParameterValueSpecification
ParameterValueSpecification
PowerQuerySource
PowerQueryTypeProperties
名字 |
描述 |
价值 |
documentLocale |
Power query 混合文档的区域设置。 |
字符串 |
脚本 |
Power query 混合脚本。 |
字符串 |
来源 |
Power Query 中的源列表。 |
PowerQuerySource[] |
WranglingDataFlow
工厂/数据流资源类型可以使用目标操作进行部署:
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
若要创建 Microsoft.DataFactory/factories/dataflows 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DataFactory/factories/dataflows@2018-06-01"
name = "string"
body = jsonencode({
properties = {
annotations = [
?
]
description = "string"
folder = {
name = "string"
}
type = "string"
// For remaining properties, see DataFlow objects
}
})
}
DataFlow 对象
设置 类型 属性以指定对象的类型。
对于 Flowlet,请使用:
{
type = "Flowlet"
typeProperties = {
script = "string"
scriptLines = [
"string"
]
sinks = [
{
dataset = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
description = "string"
flowlet = {
datasetParameters = ?
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
linkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
name = "string"
rejectedDataLinkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
schemaLinkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
}
]
sources = [
{
dataset = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
description = "string"
flowlet = {
datasetParameters = ?
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
linkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
name = "string"
schemaLinkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
}
]
transformations = [
{
dataset = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
description = "string"
flowlet = {
datasetParameters = ?
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
linkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
name = "string"
}
]
}
}
对于 MappingDataFlow,请使用:
{
type = "MappingDataFlow"
typeProperties = {
script = "string"
scriptLines = [
"string"
]
sinks = [
{
dataset = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
description = "string"
flowlet = {
datasetParameters = ?
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
linkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
name = "string"
rejectedDataLinkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
schemaLinkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
}
]
sources = [
{
dataset = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
description = "string"
flowlet = {
datasetParameters = ?
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
linkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
name = "string"
schemaLinkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
}
]
transformations = [
{
dataset = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
description = "string"
flowlet = {
datasetParameters = ?
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
linkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
name = "string"
}
]
}
}
对于 WranglingDataFlow,请使用:
{
type = "WranglingDataFlow"
typeProperties = {
documentLocale = "string"
script = "string"
sources = [
{
dataset = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
description = "string"
flowlet = {
datasetParameters = ?
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
linkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
name = "string"
schemaLinkedService = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
script = "string"
}
]
}
}
属性值
数据流
名字 |
描述 |
价值 |
附注 |
可用于描述数据流的标记列表。 |
any[] |
描述 |
数据流的说明。 |
字符串 |
文件夹 |
此数据流所在的文件夹。 如果未指定,数据流将显示在根级别。 |
DataFlowFolder |
类型 |
对于 type Flowlet,设置为“Flowlet”。 对于 mappingDataFlow类型,设置为“MappingDataFlow”。 对于 WranglingDataFlow,请设置为“WranglingDataFlow”。 |
“Flowlet” “MappingDataFlow” “WranglingDataFlow”(必需) |
DataFlowFolder
名字 |
描述 |
价值 |
名字 |
此数据流所在的文件夹的名称。 |
字符串 |
DataFlowReference
名字 |
描述 |
价值 |
datasetParameters |
从数据集引用数据流参数。 |
任何 |
参数 |
数据流参数 |
ParameterValueSpecification |
referenceName |
引用数据流名称。 |
string (必需) |
类型 |
数据流引用类型。 |
“DataFlowReference”(必需) |
DataFlowSink
DataFlowSource
DatasetReference
Flowlet
FlowletTypeProperties
名字 |
描述 |
价值 |
脚本 |
Flowlet 脚本。 |
字符串 |
scriptLines |
Flowlet 脚本行。 |
string[] |
汇 |
Flowlet 中的接收器列表。 |
DataFlowSink[] |
来源 |
Flowlet 中的源列表。 |
DataFlowSource[] |
转换 |
Flowlet 中的转换列表。 |
转换[] |
LinkedServiceReference
名字 |
描述 |
价值 |
参数 |
LinkedService 的参数。 |
ParameterValueSpecification |
referenceName |
引用 LinkedService 名称。 |
string (必需) |
类型 |
链接服务引用类型。 |
“LinkedServiceReference”(必需) |
MappingDataFlow
MappingDataFlowTypeProperties
Microsoft.DataFactory/factories/数据流
名字 |
描述 |
价值 |
名字 |
资源名称 |
字符串
约束: 最小长度 = 1 最大长度 = 260 模式 = ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$ (必需) |
parent_id |
此资源的父资源的 ID。 |
类型资源的 ID:工厂 |
性能 |
数据流属性。 |
数据流(必需) |
类型 |
资源类型 |
“Microsoft.DataFactory/factories/dataflows@2018-06-01” |
ParameterValueSpecification
ParameterValueSpecification
ParameterValueSpecification
PowerQuerySource
PowerQueryTypeProperties
名字 |
描述 |
价值 |
documentLocale |
Power query 混合文档的区域设置。 |
字符串 |
脚本 |
Power query 混合脚本。 |
字符串 |
来源 |
Power Query 中的源列表。 |
PowerQuerySource[] |
WranglingDataFlow