gpt4 book ai didi

azure - 使用二头肌创建 Azure ADF SHIR

转载 作者:行者123 更新时间:2023-12-02 06:54:34 25 4
gpt4 key购买 nike

我正在尝试使用二头肌创建 DataFactory SelfHosted Runtime

我正在努力关注 https://learn.microsoft.com/en-us/azure/templates/microsoft.datafactory/2018-06-01/factories/integrationruntimes?pivots=deployment-language-bicep创建 SHIR 所需的所有属性(property)并不明确。我需要基于 key 的授权。

因为要在虚拟机上部署 IR msi,我们需要通过上述操作生成的 Authkey

https://learn.microsoft.com/en-us/azure/data-factory/self-hosted-integration-runtime-automation-scripts

var parentName = 'someuniqueadfname'
resource SelfHostedIR 'Microsoft.DataFactory/factories/integrationRuntimes@2018-06-01' = {
name : '${parentName}/SelfHostedIR'
properties : {
description : 'My Desc'
type : 'SelfHosted'
typeProperties : {
linkedInfo : {
authorizationType : 'Key'
key : {
type : 'SecureString'
value : 'string'
}
}
}
}
}

最佳答案

您可以使用以下代码。这足以创建一个 IR,它将生成用于在 Azure VM 中安装 IR 代理的 key 。

resource SelfHostedIR 'Microsoft.DataFactory/factories/integrationRuntimes@2018-06-01' = {
name: '${parentName}/SelfHostedIR'
parent: someuniqueadfname
properties: {
description: 'string'
type: 'SelfHosted'
typeProperties: {}
}
}

关于azure - 使用二头肌创建 Azure ADF SHIR,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73971431/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com