你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Bicep 资源定义
可以使用目标作部署连接/流资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.AzureDataTransfer/connections/flow 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.AzureDataTransfer/connections/flows@2026-02-06-preview' = {
parent: resourceSymbolicName
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
plan: {
name: 'string'
product: 'string'
promotionCode: 'string'
publisher: 'string'
version: 'string'
}
properties: {
apiFlowOptions: {
apiMode: 'string'
audienceOverride: 'string'
authentication: [
{
applicationIds: [
'string'
]
audience: 'string'
authority: 'string'
clientIdOverride: 'string'
identityTranslation: 'string'
instance: 'string'
tenantId: 'string'
type: 'string'
}
]
cname: 'string'
identityTranslation: 'string'
remoteCallingModeClientId: 'string'
remoteEndpoint: 'string'
remoteEndpointSettings: {
authentication: [
{
applicationIds: [
'string'
]
audience: 'string'
authority: 'string'
clientIdOverride: 'string'
identityTranslation: 'string'
instance: 'string'
tenantId: 'string'
type: 'string'
}
]
endpoint: 'string'
}
senderClientId: 'string'
}
connection: {
id: 'string'
location: 'string'
name: 'string'
subscriptionName: 'string'
}
consumerGroup: 'string'
customerManagedKeyVaultUri: 'string'
dataType: 'string'
destinationEndpointPorts: [
int
]
destinationEndpoints: [
'string'
]
eventHubId: 'string'
flowDataType: 'string'
flowProfile: {
description: 'string'
flowProfileId: 'string'
name: 'string'
pipeline: 'string'
replicationScenario: 'string'
status: 'string'
}
flowType: 'string'
keyVaultUri: 'string'
messagingOptions: {
billingTier: 'string'
performancePriority: 'string'
}
passphrase: 'string'
policies: [
'string'
]
schema: {
connectionId: 'string'
content: 'string'
direction: 'string'
id: 'string'
name: 'string'
schemaType: 'string'
schemaUri: 'string'
status: 'string'
}
serviceBusQueueId: 'string'
sourceAddresses: {
sourceAddresses: [
'string'
]
}
status: 'string'
storageAccountId: 'string'
storageAccountName: 'string'
storageContainerName: 'string'
storageTableName: 'string'
streamId: 'string'
streamLatency: int
streamProtocol: 'string'
}
tags: {
{customized property}: 'string'
}
}
属性值
Microsoft.AzureDataTransfer/connections/flows
| 名称 | Description | Value |
|---|---|---|
| 标识 | 分配给此资源的托管服务标识。 | ManagedServiceIdentity |
| 位置 | 资源所在的地理位置 | string (必需) |
| 名字 | 资源名称 | string 约束: 最小长度 = 3 最大长度 = 64 模式 = ^[a-zA-Z0-9-]{3,64}$ (必需) |
| 父级 | 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。 有关详细信息,请参阅 父资源外部的子资源。 |
类型为资源的符号名称: 连接 |
| 计划 | 资源计划的详细信息。 | Plan |
| 属性 | 流的属性 | FlowProperties |
| 标记 | 资源标记 | 标记名称和值的字典。 请参见模板中的标签 |
ApiFlowOptions (接口流选项)
| 名称 | Description | Value |
|---|---|---|
| apiMode | Azure 数据传输 API 流中的远程调用模式,介绍如何调用 API 流 | “端点” “SDK” |
| audienceOverride | 可选字段,用于覆盖远程端点的受众。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | 字符串 |
| 身份验证 | 可选且仅供高级使用。 访问 Azure 数据传输 API 流时要使用的身份验证方法列表。 如果未提供,则将应用使用 Entra(API 流托管标识)和 RBAC 的默认 S2S 身份验证。 | 认证[] |
| cname | 用于表示 Azure 数据传输 API 流实例的唯一 CNAME | 字符串 |
| identityTranslation | 确定要用于提取 Azure 数据传输 API 流的用户令牌的标识。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | “ServiceIdentity” “UserIdentity” |
| remoteCallingModeClientId | 远程存根应用注册客户端 ID。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | 字符串 |
| 远程端点 | 需要与之进行通信的远程主机。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 remoteEndpointSettings.endpoint 属性。 | 字符串 |
| 远程端点设置 | 定义 API 调用的目标远程端点。 | 远程端点设置 |
| senderClientId | 发件人的应用程序用户分配了管理身份客户端 ID。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | 字符串 |
Authentication
| 名称 | Description | Value |
|---|---|---|
| 应用程序ID | 允许授权此流的 applicationId 列表。 这用作 RBAC 授权检查的替代方法。 | string[] |
| 访问群体 | 远程终结点服务标识的受众。 默认情况下,如果未提供值,则将使用 remoteEndpointSettings.endpoint。 | 字符串 |
| 柄 | 用于获取令牌的完整 URL 端点,通常将实例和租户 ID 组合在一起以定位特定的身份验证上下文。 | 字符串 |
| clientIdOverride | Flow 可以使用 Flow 用户提供的 Entra 应用标识来获取令牌以调用远程终结点。 此字段指定用户提供的应用的 clientId。 | 字符串 |
| identityTranslation | 确定要用于提取 Azure 数据传输 API 流的用户令牌的标识。 | “ServiceIdentity” “UserIdentity” |
| 实例 | 标识提供者的令牌服务实例。 | 字符串 |
| tenantId | 表示标识提供者令牌服务的租户的唯一标识符。 | 字符串 |
| 类型 | 身份验证机制的类型。 默认情况下为 JWT。 | “JWT” “None” |
FlowProfile元数据
| 名称 | Description | Value |
|---|---|---|
| description | FlowProfile 及其规则集的说明。 描述应描述流配置文件的用途和应用的规则集。 | string (必需) |
| 流配置文件 Id | 一个 guid,表示为系统分配的 FlowProfile 资源的字符串。 | string (必需) |
| 名字 | FlowProfile 的名称。 | string (必需) |
| 管道 | 与此 FlowProfile 关联的父管道 Azure 资源的名称。 | string (必需) |
| 复制场景 | 此 FlowProfile 处理的数据复制方案。 请注意,创建后无法更新此值。 请参阅 FlowProfilePatchProperties 以查看可更新的属性。 | “API” “Complex” 'Files' “Messaging” “软件工件” “Stream”(必填) |
| 状态 | FlowProfile 的运行状态。 | “Disabled” “Enabled” “已过时”(必填) |
FlowProperties
| 名称 | Description | Value |
|---|---|---|
| apiFlow选项 | Azure 数据传输 API 流类型的 API 流配置选项。 | ApiFlowOptions (接口流选项) |
| 连接 | 与此流关联的连接 | SelectedResource (选定资源) |
| 消费者组 | 事件中心使用者组 | 字符串 |
| customerManagedKeyVaultUri | 此流的客户托管密钥的 URI | 字符串 |
| dataType | 要通过流传输的数据类型。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | “Blob” “Table” |
| destinationEndpointPorts | 流的目标终结点端口 | int[] |
| destinationEndpoints | 流的目标终结点 | string[] |
| 事件HubId | 事件中心 ID | 字符串 |
| flowDataType | 流的数据类。 | “ApiEndpoint” “ApiSDK” “Blob” 'EventHub' “ServiceBus” “Table” “视频” |
| 流配置文件 | 用于通过流传输的 FlowProfile 类型。 | FlowProfile元数据 |
| flowType | 此流的流类型。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | “API” “BasicFiles” “Complex” “Data” “DevSecOps” “DiskImages” “Messaging” “MicrosoftInternal” “Mission” “MissionOpaqueXML” “Opaque” 'Standard' “StreamingVideo” 'Unknown' |
| keyVaultUri | 指向包含 SAS 令牌的 密钥保管库 机密的 URI。 | 字符串 |
| messagingOptions | 此流的消息传送选项 | 消息选项 |
| 密码 | 用于 SRT 流的通行短语 | string 约束: 敏感值。 以安全参数的形式传入。 |
| 策略 | 此流的策略。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | string[] |
| 架构 | 为此流选择的架构。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | 架构 |
| serviceBusQueueId 服务 | 服务总线队列 ID | 字符串 |
| sourceAddresses | 流的源 IP 地址和 CIDR 范围 | StreamSourceAddresses 地址 |
| 状态 | 当前流的状态 | “Disabled” “Enabled” |
| storageAccountId | 存储帐户 ID | 字符串 |
| storageAccountName | 存储帐户 | 字符串 |
| storageContainerName (存储容器名称) | 存储容器名称 | 字符串 |
| storageTableName (存储表名) | 存储表名称 | 字符串 |
| streamId | 流流标识符 | 字符串 |
| streamLatency (流延迟) | 流的延迟(以毫秒为单位) | int |
| streamProtocol 协议 | 流的协议 | “RTP” “SRT” 'UDP' |
ManagedServiceIdentity
| 名称 | Description | Value |
|---|---|---|
| 类型 | 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 | “None” “SystemAssigned” “SystemAssigned,UserAssigned” “UserAssigned”(必需) |
| userAssignedIdentities | 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| 名称 | Description | Value |
|---|
消息选项
| 名称 | Description | Value |
|---|---|---|
| billingTier | 此消息流的计费层 | “BlobTransport” 'Premium' 'Standard' |
| 性能优先级 | 指示是否在流上启用保证交付的字段。 默认禁用选项选择速度而不是一致性。 启用后,消息的传递延迟最小,但不能保证在所有条件下都能传递 | “Disabled” “Enabled” |
Plan
| 名称 | Description | Value |
|---|---|---|
| 名字 | 正在采购的第三方项目的用户定义的名称。 | string (必需) |
| 产品 | 正在采购的第三方项目。 例如 NewRelic。 产品映射到在数据市场载入时为项目指定的 OfferID。 | string (必需) |
| 促销代码 | 发布者为上述产品/项目提供数据市场中预配的促销代码。 | 字符串 |
| 发布服务器 | 正在购买的第三方项目的发布者。 例如 NewRelic | string (必需) |
| 版本 | 所需产品/项目的版本。 | 字符串 |
远程端点设置
| 名称 | Description | Value |
|---|---|---|
| 身份验证 | 可选且仅供高级使用。 访问远程终结点时要使用的身份验证方法列表。 如果未提供,则将应用使用 Entra(API 流托管标识)和 RBAC 的默认 S2S 身份验证。 | 认证[] |
| 终结点 | 远程终结点 uri 所有 API 调用。 | string (必需) |
Schema
| 名称 | Description | Value |
|---|---|---|
| connectionId | 与此架构关联的连接 ID | 字符串 |
| 内容 | 架构的内容 | 字符串 |
| 方向 | 架构的方向。 | “Receive” 'Send' |
| id | 与此架构关联的 ID | 字符串 |
| 名字 | 架构的名称 | 字符串 |
| schemaType | 架构类型 | “Xsd” “Zip” |
| 架构 Uri | 包含压缩架构的 SAS 令牌的 URI | 字符串 |
| 状态 | 架构的状态 | 'Approved' 'New' |
SelectedResource (选定资源)
| 名称 | Description | Value |
|---|---|---|
| id | 连接的 ID | string (必需) |
| 位置 | 连接的位置 | 字符串 |
| 名字 | 连接的名称 | 字符串 |
| 订阅名称 | 具有连接的订阅的名称 | 字符串 |
StreamSourceAddresses 地址
| 名称 | Description | Value |
|---|---|---|
| sourceAddresses | 源 IP 地址或 CIDR 范围 | string[] |
TrackedResourceTags
| 名称 | Description | Value |
|---|
UserAssignedIdentity
| 名称 | Description | Value |
|---|
ARM 模板资源定义
可以使用目标作部署连接/流资源类型:
用法示例
资源格式
若要创建 Microsoft.AzureDataTransfer/connections/flow 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.AzureDataTransfer/connections/flows",
"apiVersion": "2026-02-06-preview",
"name": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"plan": {
"name": "string",
"product": "string",
"promotionCode": "string",
"publisher": "string",
"version": "string"
},
"properties": {
"apiFlowOptions": {
"apiMode": "string",
"audienceOverride": "string",
"authentication": [
{
"applicationIds": [ "string" ],
"audience": "string",
"authority": "string",
"clientIdOverride": "string",
"identityTranslation": "string",
"instance": "string",
"tenantId": "string",
"type": "string"
}
],
"cname": "string",
"identityTranslation": "string",
"remoteCallingModeClientId": "string",
"remoteEndpoint": "string",
"remoteEndpointSettings": {
"authentication": [
{
"applicationIds": [ "string" ],
"audience": "string",
"authority": "string",
"clientIdOverride": "string",
"identityTranslation": "string",
"instance": "string",
"tenantId": "string",
"type": "string"
}
],
"endpoint": "string"
},
"senderClientId": "string"
},
"connection": {
"id": "string",
"location": "string",
"name": "string",
"subscriptionName": "string"
},
"consumerGroup": "string",
"customerManagedKeyVaultUri": "string",
"dataType": "string",
"destinationEndpointPorts": [ "int" ],
"destinationEndpoints": [ "string" ],
"eventHubId": "string",
"flowDataType": "string",
"flowProfile": {
"description": "string",
"flowProfileId": "string",
"name": "string",
"pipeline": "string",
"replicationScenario": "string",
"status": "string"
},
"flowType": "string",
"keyVaultUri": "string",
"messagingOptions": {
"billingTier": "string",
"performancePriority": "string"
},
"passphrase": "string",
"policies": [ "string" ],
"schema": {
"connectionId": "string",
"content": "string",
"direction": "string",
"id": "string",
"name": "string",
"schemaType": "string",
"schemaUri": "string",
"status": "string"
},
"serviceBusQueueId": "string",
"sourceAddresses": {
"sourceAddresses": [ "string" ]
},
"status": "string",
"storageAccountId": "string",
"storageAccountName": "string",
"storageContainerName": "string",
"storageTableName": "string",
"streamId": "string",
"streamLatency": "int",
"streamProtocol": "string"
},
"tags": {
"{customized property}": "string"
}
}
属性值
Microsoft.AzureDataTransfer/connections/flows
| 名称 | Description | Value |
|---|---|---|
| apiVersion | API 版本 | '2026-02-06-预览' |
| 标识 | 分配给此资源的托管服务标识。 | ManagedServiceIdentity |
| 位置 | 资源所在的地理位置 | string (必需) |
| 名字 | 资源名称 | string 约束: 最小长度 = 3 最大长度 = 64 模式 = ^[a-zA-Z0-9-]{3,64}$ (必需) |
| 计划 | 资源计划的详细信息。 | Plan |
| 属性 | 流的属性 | FlowProperties |
| 标记 | 资源标记 | 标记名称和值的字典。 请参见模板中的标签 |
| 类型 | 资源类型 | “Microsoft.AzureDataTransfer/connections/flow” |
ApiFlowOptions (接口流选项)
| 名称 | Description | Value |
|---|---|---|
| apiMode | Azure 数据传输 API 流中的远程调用模式,介绍如何调用 API 流 | “端点” “SDK” |
| audienceOverride | 可选字段,用于覆盖远程端点的受众。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | 字符串 |
| 身份验证 | 可选且仅供高级使用。 访问 Azure 数据传输 API 流时要使用的身份验证方法列表。 如果未提供,则将应用使用 Entra(API 流托管标识)和 RBAC 的默认 S2S 身份验证。 | 认证[] |
| cname | 用于表示 Azure 数据传输 API 流实例的唯一 CNAME | 字符串 |
| identityTranslation | 确定要用于提取 Azure 数据传输 API 流的用户令牌的标识。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | “ServiceIdentity” “UserIdentity” |
| remoteCallingModeClientId | 远程存根应用注册客户端 ID。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | 字符串 |
| 远程端点 | 需要与之进行通信的远程主机。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 remoteEndpointSettings.endpoint 属性。 | 字符串 |
| 远程端点设置 | 定义 API 调用的目标远程端点。 | 远程端点设置 |
| senderClientId | 发件人的应用程序用户分配了管理身份客户端 ID。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | 字符串 |
Authentication
| 名称 | Description | Value |
|---|---|---|
| 应用程序ID | 允许授权此流的 applicationId 列表。 这用作 RBAC 授权检查的替代方法。 | string[] |
| 访问群体 | 远程终结点服务标识的受众。 默认情况下,如果未提供值,则将使用 remoteEndpointSettings.endpoint。 | 字符串 |
| 柄 | 用于获取令牌的完整 URL 端点,通常将实例和租户 ID 组合在一起以定位特定的身份验证上下文。 | 字符串 |
| clientIdOverride | Flow 可以使用 Flow 用户提供的 Entra 应用标识来获取令牌以调用远程终结点。 此字段指定用户提供的应用的 clientId。 | 字符串 |
| identityTranslation | 确定要用于提取 Azure 数据传输 API 流的用户令牌的标识。 | “ServiceIdentity” “UserIdentity” |
| 实例 | 标识提供者的令牌服务实例。 | 字符串 |
| tenantId | 表示标识提供者令牌服务的租户的唯一标识符。 | 字符串 |
| 类型 | 身份验证机制的类型。 默认情况下为 JWT。 | “JWT” “None” |
FlowProfile元数据
| 名称 | Description | Value |
|---|---|---|
| description | FlowProfile 及其规则集的说明。 描述应描述流配置文件的用途和应用的规则集。 | string (必需) |
| 流配置文件 Id | 一个 guid,表示为系统分配的 FlowProfile 资源的字符串。 | string (必需) |
| 名字 | FlowProfile 的名称。 | string (必需) |
| 管道 | 与此 FlowProfile 关联的父管道 Azure 资源的名称。 | string (必需) |
| 复制场景 | 此 FlowProfile 处理的数据复制方案。 请注意,创建后无法更新此值。 请参阅 FlowProfilePatchProperties 以查看可更新的属性。 | “API” “Complex” 'Files' “Messaging” “软件工件” “Stream”(必填) |
| 状态 | FlowProfile 的运行状态。 | “Disabled” “Enabled” “已过时”(必填) |
FlowProperties
| 名称 | Description | Value |
|---|---|---|
| apiFlow选项 | Azure 数据传输 API 流类型的 API 流配置选项。 | ApiFlowOptions (接口流选项) |
| 连接 | 与此流关联的连接 | SelectedResource (选定资源) |
| 消费者组 | 事件中心使用者组 | 字符串 |
| customerManagedKeyVaultUri | 此流的客户托管密钥的 URI | 字符串 |
| dataType | 要通过流传输的数据类型。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | “Blob” “Table” |
| destinationEndpointPorts | 流的目标终结点端口 | int[] |
| destinationEndpoints | 流的目标终结点 | string[] |
| 事件HubId | 事件中心 ID | 字符串 |
| flowDataType | 流的数据类。 | “ApiEndpoint” “ApiSDK” “Blob” 'EventHub' “ServiceBus” “Table” “视频” |
| 流配置文件 | 用于通过流传输的 FlowProfile 类型。 | FlowProfile元数据 |
| flowType | 此流的流类型。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | “API” “BasicFiles” “Complex” “Data” “DevSecOps” “DiskImages” “Messaging” “MicrosoftInternal” “Mission” “MissionOpaqueXML” “Opaque” 'Standard' “StreamingVideo” 'Unknown' |
| keyVaultUri | 指向包含 SAS 令牌的 密钥保管库 机密的 URI。 | 字符串 |
| messagingOptions | 此流的消息传送选项 | 消息选项 |
| 密码 | 用于 SRT 流的通行短语 | string 约束: 敏感值。 以安全参数的形式传入。 |
| 策略 | 此流的策略。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | string[] |
| 架构 | 为此流选择的架构。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | 架构 |
| serviceBusQueueId 服务 | 服务总线队列 ID | 字符串 |
| sourceAddresses | 流的源 IP 地址和 CIDR 范围 | StreamSourceAddresses 地址 |
| 状态 | 当前流的状态 | “Disabled” “Enabled” |
| storageAccountId | 存储帐户 ID | 字符串 |
| storageAccountName | 存储帐户 | 字符串 |
| storageContainerName (存储容器名称) | 存储容器名称 | 字符串 |
| storageTableName (存储表名) | 存储表名称 | 字符串 |
| streamId | 流流标识符 | 字符串 |
| streamLatency (流延迟) | 流的延迟(以毫秒为单位) | int |
| streamProtocol 协议 | 流的协议 | “RTP” “SRT” 'UDP' |
ManagedServiceIdentity
| 名称 | Description | Value |
|---|---|---|
| 类型 | 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 | “None” “SystemAssigned” “SystemAssigned,UserAssigned” “UserAssigned”(必需) |
| userAssignedIdentities | 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| 名称 | Description | Value |
|---|
消息选项
| 名称 | Description | Value |
|---|---|---|
| billingTier | 此消息流的计费层 | “BlobTransport” 'Premium' 'Standard' |
| 性能优先级 | 指示是否在流上启用保证交付的字段。 默认禁用选项选择速度而不是一致性。 启用后,消息的传递延迟最小,但不能保证在所有条件下都能传递 | “Disabled” “Enabled” |
Plan
| 名称 | Description | Value |
|---|---|---|
| 名字 | 正在采购的第三方项目的用户定义的名称。 | string (必需) |
| 产品 | 正在采购的第三方项目。 例如 NewRelic。 产品映射到在数据市场载入时为项目指定的 OfferID。 | string (必需) |
| 促销代码 | 发布者为上述产品/项目提供数据市场中预配的促销代码。 | 字符串 |
| 发布服务器 | 正在购买的第三方项目的发布者。 例如 NewRelic | string (必需) |
| 版本 | 所需产品/项目的版本。 | 字符串 |
远程端点设置
| 名称 | Description | Value |
|---|---|---|
| 身份验证 | 可选且仅供高级使用。 访问远程终结点时要使用的身份验证方法列表。 如果未提供,则将应用使用 Entra(API 流托管标识)和 RBAC 的默认 S2S 身份验证。 | 认证[] |
| 终结点 | 远程终结点 uri 所有 API 调用。 | string (必需) |
Schema
| 名称 | Description | Value |
|---|---|---|
| connectionId | 与此架构关联的连接 ID | 字符串 |
| 内容 | 架构的内容 | 字符串 |
| 方向 | 架构的方向。 | “Receive” 'Send' |
| id | 与此架构关联的 ID | 字符串 |
| 名字 | 架构的名称 | 字符串 |
| schemaType | 架构类型 | “Xsd” “Zip” |
| 架构 Uri | 包含压缩架构的 SAS 令牌的 URI | 字符串 |
| 状态 | 架构的状态 | 'Approved' 'New' |
SelectedResource (选定资源)
| 名称 | Description | Value |
|---|---|---|
| id | 连接的 ID | string (必需) |
| 位置 | 连接的位置 | 字符串 |
| 名字 | 连接的名称 | 字符串 |
| 订阅名称 | 具有连接的订阅的名称 | 字符串 |
StreamSourceAddresses 地址
| 名称 | Description | Value |
|---|---|---|
| sourceAddresses | 源 IP 地址或 CIDR 范围 | string[] |
TrackedResourceTags
| 名称 | Description | Value |
|---|
UserAssignedIdentity
| 名称 | Description | Value |
|---|
Terraform (AzAPI 提供程序)资源定义
可以使用目标作部署连接/流资源类型:
- 资源组 关于每个API版本中变更属性的列表,请参见 更改日志。
资源格式
若要创建 Microsoft.AzureDataTransfer/connections/flow 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.AzureDataTransfer/connections/flows@2026-02-06-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
plan = {
name = "string"
product = "string"
promotionCode = "string"
publisher = "string"
version = "string"
}
properties = {
apiFlowOptions = {
apiMode = "string"
audienceOverride = "string"
authentication = [
{
applicationIds = [
"string"
]
audience = "string"
authority = "string"
clientIdOverride = "string"
identityTranslation = "string"
instance = "string"
tenantId = "string"
type = "string"
}
]
cname = "string"
identityTranslation = "string"
remoteCallingModeClientId = "string"
remoteEndpoint = "string"
remoteEndpointSettings = {
authentication = [
{
applicationIds = [
"string"
]
audience = "string"
authority = "string"
clientIdOverride = "string"
identityTranslation = "string"
instance = "string"
tenantId = "string"
type = "string"
}
]
endpoint = "string"
}
senderClientId = "string"
}
connection = {
id = "string"
location = "string"
name = "string"
subscriptionName = "string"
}
consumerGroup = "string"
customerManagedKeyVaultUri = "string"
dataType = "string"
destinationEndpointPorts = [
int
]
destinationEndpoints = [
"string"
]
eventHubId = "string"
flowDataType = "string"
flowProfile = {
description = "string"
flowProfileId = "string"
name = "string"
pipeline = "string"
replicationScenario = "string"
status = "string"
}
flowType = "string"
keyVaultUri = "string"
messagingOptions = {
billingTier = "string"
performancePriority = "string"
}
passphrase = "string"
policies = [
"string"
]
schema = {
connectionId = "string"
content = "string"
direction = "string"
id = "string"
name = "string"
schemaType = "string"
schemaUri = "string"
status = "string"
}
serviceBusQueueId = "string"
sourceAddresses = {
sourceAddresses = [
"string"
]
}
status = "string"
storageAccountId = "string"
storageAccountName = "string"
storageContainerName = "string"
storageTableName = "string"
streamId = "string"
streamLatency = int
streamProtocol = "string"
}
}
}
属性值
Microsoft.AzureDataTransfer/connections/flows
| 名称 | Description | Value |
|---|---|---|
| 标识 | 分配给此资源的托管服务标识。 | ManagedServiceIdentity |
| 位置 | 资源所在的地理位置 | string (必需) |
| 名字 | 资源名称 | string 约束: 最小长度 = 3 最大长度 = 64 模式 = ^[a-zA-Z0-9-]{3,64}$ (必需) |
| parent_id | 此资源的父资源的 ID。 | 类型为资源的 ID: 连接 |
| 计划 | 资源计划的详细信息。 | Plan |
| 属性 | 流的属性 | FlowProperties |
| 标记 | 资源标记 | 标记名称和值的字典。 |
| 类型 | 资源类型 | “Microsoft.AzureDataTransfer/connections/flows@2026-02-06-preview” |
ApiFlowOptions (接口流选项)
| 名称 | Description | Value |
|---|---|---|
| apiMode | Azure 数据传输 API 流中的远程调用模式,介绍如何调用 API 流 | “端点” “SDK” |
| audienceOverride | 可选字段,用于覆盖远程端点的受众。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | 字符串 |
| 身份验证 | 可选且仅供高级使用。 访问 Azure 数据传输 API 流时要使用的身份验证方法列表。 如果未提供,则将应用使用 Entra(API 流托管标识)和 RBAC 的默认 S2S 身份验证。 | 认证[] |
| cname | 用于表示 Azure 数据传输 API 流实例的唯一 CNAME | 字符串 |
| identityTranslation | 确定要用于提取 Azure 数据传输 API 流的用户令牌的标识。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | “ServiceIdentity” “UserIdentity” |
| remoteCallingModeClientId | 远程存根应用注册客户端 ID。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | 字符串 |
| 远程端点 | 需要与之进行通信的远程主机。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 remoteEndpointSettings.endpoint 属性。 | 字符串 |
| 远程端点设置 | 定义 API 调用的目标远程端点。 | 远程端点设置 |
| senderClientId | 发件人的应用程序用户分配了管理身份客户端 ID。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 authentication 属性。 | 字符串 |
Authentication
| 名称 | Description | Value |
|---|---|---|
| 应用程序ID | 允许授权此流的 applicationId 列表。 这用作 RBAC 授权检查的替代方法。 | string[] |
| 访问群体 | 远程终结点服务标识的受众。 默认情况下,如果未提供值,则将使用 remoteEndpointSettings.endpoint。 | 字符串 |
| 柄 | 用于获取令牌的完整 URL 端点,通常将实例和租户 ID 组合在一起以定位特定的身份验证上下文。 | 字符串 |
| clientIdOverride | Flow 可以使用 Flow 用户提供的 Entra 应用标识来获取令牌以调用远程终结点。 此字段指定用户提供的应用的 clientId。 | 字符串 |
| identityTranslation | 确定要用于提取 Azure 数据传输 API 流的用户令牌的标识。 | “ServiceIdentity” “UserIdentity” |
| 实例 | 标识提供者的令牌服务实例。 | 字符串 |
| tenantId | 表示标识提供者令牌服务的租户的唯一标识符。 | 字符串 |
| 类型 | 身份验证机制的类型。 默认情况下为 JWT。 | “JWT” “None” |
FlowProfile元数据
| 名称 | Description | Value |
|---|---|---|
| description | FlowProfile 及其规则集的说明。 描述应描述流配置文件的用途和应用的规则集。 | string (必需) |
| 流配置文件 Id | 一个 guid,表示为系统分配的 FlowProfile 资源的字符串。 | string (必需) |
| 名字 | FlowProfile 的名称。 | string (必需) |
| 管道 | 与此 FlowProfile 关联的父管道 Azure 资源的名称。 | string (必需) |
| 复制场景 | 此 FlowProfile 处理的数据复制方案。 请注意,创建后无法更新此值。 请参阅 FlowProfilePatchProperties 以查看可更新的属性。 | “API” “Complex” 'Files' “Messaging” “软件工件” “Stream”(必填) |
| 状态 | FlowProfile 的运行状态。 | “Disabled” “Enabled” “已过时”(必填) |
FlowProperties
| 名称 | Description | Value |
|---|---|---|
| apiFlow选项 | Azure 数据传输 API 流类型的 API 流配置选项。 | ApiFlowOptions (接口流选项) |
| 连接 | 与此流关联的连接 | SelectedResource (选定资源) |
| 消费者组 | 事件中心使用者组 | 字符串 |
| customerManagedKeyVaultUri | 此流的客户托管密钥的 URI | 字符串 |
| dataType | 要通过流传输的数据类型。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | “Blob” “Table” |
| destinationEndpointPorts | 流的目标终结点端口 | int[] |
| destinationEndpoints | 流的目标终结点 | string[] |
| 事件HubId | 事件中心 ID | 字符串 |
| flowDataType | 流的数据类。 | “ApiEndpoint” “ApiSDK” “Blob” 'EventHub' “ServiceBus” “Table” “视频” |
| 流配置文件 | 用于通过流传输的 FlowProfile 类型。 | FlowProfile元数据 |
| flowType | 此流的流类型。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | “API” “BasicFiles” “Complex” “Data” “DevSecOps” “DiskImages” “Messaging” “MicrosoftInternal” “Mission” “MissionOpaqueXML” “Opaque” 'Standard' “StreamingVideo” 'Unknown' |
| keyVaultUri | 指向包含 SAS 令牌的 密钥保管库 机密的 URI。 | 字符串 |
| messagingOptions | 此流的消息传送选项 | 消息选项 |
| 密码 | 用于 SRT 流的通行短语 | string 约束: 敏感值。 以安全参数的形式传入。 |
| 策略 | 此流的策略。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | string[] |
| 架构 | 为此流选择的架构。 该属性已达到生命周期终止支持,从版本 2025-05-30-preview 开始。 请改为创建和使用 FlowProfile 资源。 | 架构 |
| serviceBusQueueId 服务 | 服务总线队列 ID | 字符串 |
| sourceAddresses | 流的源 IP 地址和 CIDR 范围 | StreamSourceAddresses 地址 |
| 状态 | 当前流的状态 | “Disabled” “Enabled” |
| storageAccountId | 存储帐户 ID | 字符串 |
| storageAccountName | 存储帐户 | 字符串 |
| storageContainerName (存储容器名称) | 存储容器名称 | 字符串 |
| storageTableName (存储表名) | 存储表名称 | 字符串 |
| streamId | 流流标识符 | 字符串 |
| streamLatency (流延迟) | 流的延迟(以毫秒为单位) | int |
| streamProtocol 协议 | 流的协议 | “RTP” “SRT” 'UDP' |
ManagedServiceIdentity
| 名称 | Description | Value |
|---|---|---|
| 类型 | 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 | “None” “SystemAssigned” “SystemAssigned,UserAssigned” “UserAssigned”(必需) |
| userAssignedIdentities | 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| 名称 | Description | Value |
|---|
消息选项
| 名称 | Description | Value |
|---|---|---|
| billingTier | 此消息流的计费层 | “BlobTransport” 'Premium' 'Standard' |
| 性能优先级 | 指示是否在流上启用保证交付的字段。 默认禁用选项选择速度而不是一致性。 启用后,消息的传递延迟最小,但不能保证在所有条件下都能传递 | “Disabled” “Enabled” |
Plan
| 名称 | Description | Value |
|---|---|---|
| 名字 | 正在采购的第三方项目的用户定义的名称。 | string (必需) |
| 产品 | 正在采购的第三方项目。 例如 NewRelic。 产品映射到在数据市场载入时为项目指定的 OfferID。 | string (必需) |
| 促销代码 | 发布者为上述产品/项目提供数据市场中预配的促销代码。 | 字符串 |
| 发布服务器 | 正在购买的第三方项目的发布者。 例如 NewRelic | string (必需) |
| 版本 | 所需产品/项目的版本。 | 字符串 |
远程端点设置
| 名称 | Description | Value |
|---|---|---|
| 身份验证 | 可选且仅供高级使用。 访问远程终结点时要使用的身份验证方法列表。 如果未提供,则将应用使用 Entra(API 流托管标识)和 RBAC 的默认 S2S 身份验证。 | 认证[] |
| 终结点 | 远程终结点 uri 所有 API 调用。 | string (必需) |
Schema
| 名称 | Description | Value |
|---|---|---|
| connectionId | 与此架构关联的连接 ID | 字符串 |
| 内容 | 架构的内容 | 字符串 |
| 方向 | 架构的方向。 | “Receive” 'Send' |
| id | 与此架构关联的 ID | 字符串 |
| 名字 | 架构的名称 | 字符串 |
| schemaType | 架构类型 | “Xsd” “Zip” |
| 架构 Uri | 包含压缩架构的 SAS 令牌的 URI | 字符串 |
| 状态 | 架构的状态 | 'Approved' 'New' |
SelectedResource (选定资源)
| 名称 | Description | Value |
|---|---|---|
| id | 连接的 ID | string (必需) |
| 位置 | 连接的位置 | 字符串 |
| 名字 | 连接的名称 | 字符串 |
| 订阅名称 | 具有连接的订阅的名称 | 字符串 |
StreamSourceAddresses 地址
| 名称 | Description | Value |
|---|---|---|
| sourceAddresses | 源 IP 地址或 CIDR 范围 | string[] |
TrackedResourceTags
| 名称 | Description | Value |
|---|
UserAssignedIdentity
| 名称 | Description | Value |
|---|