【问题标题】:Google cloud platform data fusion instance triggering谷歌云平台数据融合实例触发
【发布时间】:2020-03-16 05:44:37
【问题描述】:

我想用如下命令触发google数据融合实例

POST -H "Authorization: Bearer ${AUTH_TOKEN}" "${CDAP_ENDPOINT}/v3/namespaces/namespace-id/apps/pipeline-name/workflows/DataPipelineWorkflow/start"

但我无法弄清楚这将是什么CDAP_ENDPOINT,请告诉我从哪里可以找到cdap_endpoint

谢谢

【问题讨论】:

    标签: google-cloud-data-fusion


    【解决方案1】:

    这在 GCP documentation 中有很好的解释,因为您可以通过以下命令行获取数据融合 API 端点,并在云 shell 中调用它们:

    export INSTANCE_ID=your-Data fusion instance-id
    export CDAP_ENDPOINT=$(gcloud beta data-fusion instances describe \
    --location=us-central1 \
    --format="value(apiEndpoint)" \
    ${INSTANCE_ID})
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-10-14
      • 1970-01-01
      • 2018-06-26
      • 2020-06-02
      • 2018-01-10
      • 1970-01-01
      • 2019-04-24
      • 2019-01-07
      相关资源
      最近更新 更多