简体   繁体   English

如何重命名自托管集成运行时节点

[英]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.

相关问题 集成运行时(自托管)节点未注册 - Integration runtime (self-hosted) node is not registered 无法初始化集成运行时(自托管)节点组件 - Failed to initialize Integration Runtime (Self-hosted) node components 如何将 Azure 自托管集成运行时连接到数据工厂专用端点? - How do I connect an Azure self-hosted Integration Runtime to a Data Factory private endpoint? 独立计算机上的 Azure 自承载集成运行时 - Azure self-hosted integration runtime on a standalone machine 通过 .NET SDK 创建链接的自托管集成运行时 - Create linked self-hosted integration runtime via .NET SDK 自托管集成运行时复制活动超时 - Self-Hosted Integration Runtime Copy Activity Timeout 自托管集成运行时无法连接到 Azure 数据工厂 - Self-Hosted Integration Runtime could not connect to Azure data factory Azure Purview & 自托管集成运行时 - Java 未找到错误 - Azure Purview & Self-hosted integration runtime - Java not found error 如何在自托管 Windows 代理上从 Azure DevOps 管道运行 Azure CLI 任务? - How to run Azure CLI tasks from an Azure DevOps Pipeline on a Self-Hosted Windows Agent? 数据工厂自托管集成运行时非活动节点 - Data Factory Self-Hosted IntegrationRuntime Inactive Node
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM