简体   繁体   English

Azure Devops 中的通用服务连接

[英]Generic Service Connection in Azure Devops

I am pretty new to Devops and I am trying to make a connection with the GCP.我是 Devops 的新手,我正在尝试与 GCP 建立联系。 While creating the generic connection, what url do I have to provide?创建通用连接时,我必须提供什么 url? should it be the api endpoint?它应该是 api 端点吗? or the auth token url. I am trying to connect with Bigquery api, and I am also confused about how should I authenticate?或身份验证令牌 url。我正在尝试连接 Bigquery api,我也对如何进行身份验证感到困惑? Is there also any other way?还有其他办法吗? I could not find any single blog that helps to InvokeRestApi task to the GCP alongwith the authentication.我找不到任何有助于将 InvokeRestApi 任务连同身份验证一起发送到 GCP 的博客。

Thanks for helping:)感谢您的帮助:)

enter image description here在此处输入图像描述

I tried with the gcloud shell in Azure but I am not sure how can I get the api response back from gcloud script.我尝试在 Azure 中使用 gcloud shell,但我不确定如何从 gcloud 脚本返回 api 响应。

You can refer to Generic Service Connection and know about parameter and Description.您可以参考Generic Service Connection了解参数和说明。

The url is the url of your service(eg: https://gcr.io/PROJECT_ID ). url是您的服务的 url(例如: https://gcr.io/PROJECT_ID )。

The Token Key generated in the path of GCP: GCP路径下生成的Token Key

Service account->create service account->create key服务账户->创建服务账户->创建密钥

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何删除孤立的 DevOps 服务连接? - How to delete an orphaned Devops Service Connection? Azure 服务总线连接中止 - Azure service bus Connection aborted 如何使用应用程序 ID(服务主体)的令牌向 Azure Devops 进行身份验证? - How to authenticate to Azure Devops by using token of an Application ID(service principal)? 查询 azure 服务连接资源名称 - Querying an azure service connection for resource names InvokeRestAPI 与 Azure Devops - InvokeRestAPI with Azure Devops 你如何指示 Azure DevOps 将你的 output 放在目标应用服务上的特定位置? - How do you direct Azure DevOps to place your output in a specific location on the target App Service? Azure DevOps VNet 集成 - Azure DevOps VNet integration 创建带有描述的 Azure DevOps 任务 - Create Azure DevOps task with description 无法解决 Azure DevOps 中的冲突 - Not able to resolve conflict in Azure DevOps Azure DevOps React 部署:无法在 Kudu 服务上运行脚本。 错误:错误:由于超时无法获取脚本状态 - Azure DevOps React Deployment: Unable to run the script on Kudu Service. Error: Error: Unable to fetch script status due to timeout
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM