[英]How to Rename Self-hosted Integration Run Time Node
I have configured Self-hosted Integration Runtime Node
on my local dev machine to connect to data-factory
in Azure
. 我已经在本地开发计算机上配置了
Self-hosted Integration Runtime Node
,以连接到Azure
data-factory
。
I now want it to change to different name for example "DEV-01-Machine" but cannot see any option in Microsoft documentation. 我现在希望将其更改为其他名称,例如“ DEV-01-Machine”,但在Microsoft文档中看不到任何选项。 does anyone know how to rename
有谁知道如何重命名
It can't be updated so far,two evidences: 到目前为止,尚无法更新,有两个证据:
1.Azure Data Factory IR Node Update REST API . 1.Azure Data Factory IR节点更新REST API 。
It only supports below parameter. 它仅支持以下参数。
You need to provide specific node_name
to use this update
api. 您需要提供特定的
node_name
才能使用此update
api。
from azure.common.credentials import ServicePrincipalCredentials
from azure.mgmt.resource import ResourceManagementClient
from azure.mgmt.datafactory import DataFactoryManagementClient
from azure.mgmt.datafactory.models import *
# Azure subscription ID
subscription_id = '***'
# This program creates this resource group. If it's an existing resource group, comment out the code that creates the resource group
rg_name = '***'
# The data factory name. It must be globally unique.
df_name = '***'
# Specify your Active Directory client ID, client secret, and tenant ID
credentials = ServicePrincipalCredentials(client_id='***',
secret='***',
tenant='***')
resource_client = ResourceManagementClient(credentials, subscription_id)
adf_client = DataFactoryManagementClient(credentials, subscription_id)
resource_client.resource_groups.get(rg_name)
# Create a data factory
df_resource = Factory(location='eastus')
df = adf_client.factories.get(rg_name, df_name, df_resource)
print(df)
integration_runtime_name = "***";
node_name = "***";
irn = adf_client.integration_runtime_nodes.get(rg_name, df_name, integration_runtime_name, node_name)
print(irn)
2.ADF portal. 2.ADF门户。
No any options to update the name. 没有任何更新名称的选项。
BTW,based on my observation,the node name is identified by the local PC name automatically. 顺便说一句,根据我的观察,节点名称由本地PC名称自动标识。
You could try to update PC names to manage the name rule of nodes. 您可以尝试更新PC名称以管理节点的名称规则。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.