Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
export DATA_FUSION_API_NAME=datafusion.googleapis.com
export PROJECT=sample-project
export LOCATION=us-west1
export INSTANCE_ID=sample-instance
export INSTANCE_TYPE=BASIC
export VERSION=6.1.1

Use this API name for staging:

Code Block
export DATA_FUSION_API_NAME=staging-datafusion.sandbox.googleapis.com

Use this API name for autopush:

Code Block
export DATA_FUSION_API_NAME=autopush-datafusion.sandbox.googleapis.com

If you are unsure which versions are supported, you can use this command to get a list of the supported versions:

Code Block
curl -H "Authorization: Bearer $(gcloud auth print-access-token)" https://$DATA_FUSION_API_NAME/v1beta1/projects/$PROJECT/locations/$LOCATION/versions

Create the instance

Run this command to create the instance.:

Code Block
languagebash
curl -H "Authorization: Bearer $(gcloud auth print-access-token)" -H "Content-Type: application/json" https://$DATA_FUSION_API_NAME/v1beta1/projects/$PROJECT/locations/$LOCATION/instances?instanceId=$INSTANCE_ID -X POST -d "{'{"description"': "'CDF instance created through REST."', "'type"': "'$INSTANCE_TYPE"', "'version"':"'$VERSION'}"}'

Page Properties
hiddentrue

Related issues