英文:
Linked services does not appear in Azure data factory
问题
Linked services will appear in an ADF with Git integration after executing the following command:
az datafactory linked-service create
英文:
I am executing the
az datafactory linked-service create
command, which creates a new linked service in my ADF. It is visible. However, after integrating ADF with Git, the same command returns information about the created Linked Service, but it is not visible in the GUI. This is strange to me because the
az datafactory linked-service list
command shows Linked Services from my branch, including the newly created one.
What am I doing wrong?
Expect:
Linked services will appear in an Adf with a Git integation after execute
az datafactory linked-service create
答案1
得分: 1
-
由于您在数据工厂中以实时模式创建了关联服务,但在GIT模式下尝试查找这些关联服务,因此您无法查看任何已链接的服务。
-
我已使用以下命令创建了一个关联服务:
az datafactory linked-service create --factory-name "df240523" --properties "{\"type\":\"AzureStorage\",\"typeProperties\":{\"connectionString\":{\"type\":\"SecureString\",\"value\":\"DefaultEndpointsProtocol=https;AccountName=blb240523;AccountKey=<account_key>\"}}}" --name "blob1" --resource-group "<resource_grp>"
- 当我列出它们时,我将能够看到上面创建的关联服务:
az datafactory linked-service list --factory-name "df240523" --resource-group "v-sarikontha-Mindtree"
-
但是,正如您所看到的,上面创建的关联服务在Git模式/分支中不可见。
-
但是,当我导航到Git配置 -> 导入资源,然后在Git模式下刷新工厂时,我能够在UI中查看更改和创建的关联服务。
-
以下是参考的UI图像:
英文:
-
You are not able to view any of the linked services is because you are creating the linked services in datafactory live more, listing the linked services in live mode but trying to find these linked services in GIT mode.
-
I have created a linked service using the below command:
az datafactory linked-service create --factory-name "df240523" --properties "{\"type\":\"AzureStorage\",\"typeProperties\":{\"connectionString\":{\"type\":\"SecureString\",\"value\":\"DefaultEndpointsProtocol=https;AccountName=blb240523;AccountKey=<account_key>\"}}}" --name "blob1" --resource-group "<resource_grp>"
- When I list these, I will be able to see the above create linked service:
az datafactory linked-service list --factory-name "df240523" --resource-group "v-sarikontha-Mindtree"
- But, as you can see, the above created linked service is not visible in the git mode/branch.
- But when I navigate to Git configuration -> import resources, and then refresh the factory in git mode, I am able to view the changes and the created linked service in UI as well.
- The following is the UI image for reference:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论