我要使用以下命令触发google数据融合实例
importHTML
但是我无法找出一件事,POST -H "Authorization: Bearer ${AUTH_TOKEN}" "${CDAP_ENDPOINT}/v3/namespaces/namespace-id/apps/pipeline-name/workflows/DataPipelineWorkflow/start"
会通过告诉我从哪里可以找到CDAP_ENDPOINT
谢谢
答案 0 :(得分:1)
在GCP documentation中对此进行了很好的解释,因为您可能能够通过以下命令行获取数据融合API端点,并在云外壳中调用它们:
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})