英文:
Google cloud api for mapping custom domains to app
问题
有没有一种API可以自动将自定义域名映射到应用程序?在多租户系统中,应用程序域映射需要通过App Engine设置创建显式映射。
有没有办法以编程方式实现这一点?是否有适用于App Engine应用程序域映射的Cloud DNS API之类的东西?
英文:
Is there an sort of API to automatically map custom domains to app. In a multi tenant system, app domain mapping requires that an explicit mapping is created through App Engine settings.
Is there any way of doing this programmatically? Cloud DNS API of sort for App Engine app domain mapping.
答案1
得分: 1
与此同时,期望的功能已经在测试阶段中实现了,现在确实有一种通过编程的方式来实现这一点,您现在可以使用Admin API和gcloud命令行工具的新测试功能来管理您的自定义域和SSL证书。有关详细信息,请参阅"App Engine用户,现在您可以通过API或CLI配置自定义域"文档页面。
英文:
Meanwhile the desired feature has been implemented in beta stage, and there is now indeed a way of doing this programmatically, and you can now manage both your custom domains and SSL certificates using the new beta features of the Admin API and gcloud command-line tool. More detail can be gathered from the "App Engine users, now you can configure custom domains from the API or CLI" documentation page.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论