简体   繁体   中英

GCP Deployment Manager third party resources

Just wanted to make sure my understanding is correct. Based on my research, Deployment Manager can integrate with third party APIs, although is a BETA feature at this moment.

So my question is, can Deployment Manager automate Google resources and also external resources(eg on premises resource using third party API)?

https://cloud.google.com/deployment-manager/docs/configuration/type-providers/creating-type-provider

https://cloud.google.com/deployment-manager/docs/configuration/type-providers/process-adding-api

Absolutely but after you successfully register the third party API as a type provider (not manage by Google).

Take into account:

  1. your API is map to http methods
get htttp://onpremises.com/api/yourresource
delete htttp://onpremises.com/api/yourresource
put htttp://onpremises.com/api/yourresource
post htttp://onpremises.com/api/yourresource
  1. API's descriptor document, something like this

  2. your config.yaml

resources:
- name: my-api
  type: project/your-api:yourresource
  properties:
  - name: Jane
    website: onpremises.com/api

This will cause a http post request to be made by the deployment-manager to your API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM