Google cloud storage Azure逻辑应用程序与谷歌云存储连接
建立与Google Drive的连接非常简单,因为在Logic App Designer中有相应的选项。但我找不到任何类似的连接到谷歌云存储的选项 我是否遗漏了一些东西,或者我必须使用Azure中的函数应用程序编写自己的代码来连接GCPGoogle cloud storage Azure逻辑应用程序与谷歌云存储连接,google-cloud-storage,azure-logic-apps,Google Cloud Storage,Azure Logic Apps,建立与Google Drive的连接非常简单,因为在Logic App Designer中有相应的选项。但我找不到任何类似的连接到谷歌云存储的选项 我是否遗漏了一些东西,或者我必须使用Azure中的函数应用程序编写自己的代码来连接GCP "actions": { "Create_file": { "type": "ApiConnection", "inputs": { "host": { "connection": { "nam
"actions": {
"Create_file": {
"type": "ApiConnection",
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['googledrive']['connectionId']"
}
},
"method": "post",
"body": "@body('Get_blob_content_using_path')",
"path": "/datasets/default/files",
"queries": {
"folderPath": "/GcpExportTest",
"name": "@triggerBody()?['Name']",
"queryParametersSingleEncoded": true
}
}
}
}
...
"parameters": {
"$connections": {
"value": {
"googledrive": {
"id": "[concat(subscription().id, '/providers/Microsoft.Web/locations/', parameters('logicAppLocation'), '/managedApis/', 'googledrive')]",
"connectionId": "[resourceId('Microsoft.Web/connections', parameters('googledrive_1_Connection_Name'))]",
"connectionName": "[parameters('googledrive_1_Connection_Name')]"
}
}
}
}
在撰写本文时,Logic Apps中还没有专门用于与Google云服务交互的内置连接器,但是,因为Logic Apps非常适合任何RESTful应用程序,并且有多种方法可以实现您想要的功能,而使用Azure函数无疑是其中之一
或者,如果您想要的工作流程很简单,并且您希望像使用Google Drive connector一样在LA designer视图中工作,您也可以在逻辑应用程序中使用HTTP连接器:您可以在请求中包含身份验证承载令牌,并调用针对bucket/object执行所需任务(get、list、delete等)的特定Google存储端点。在撰写本文时,在Logic Apps中还没有一个内置的连接器专门用于与Google云服务交互,但是,因为Logic Apps非常适合任何RESTful的应用,并且有多种方法可以实现您想要的功能,使用Azure功能肯定是其中之一
或者,如果您想要的工作流程很简单,并且您希望像使用Google Drive connector一样在LA designer视图中工作,您还可以在逻辑应用程序中使用HTTP连接器:您可以在请求中包含身份验证承载令牌,并调用针对bucket/object执行所需任务(get、list、delete等)的特定Google存储端点。谢谢!我使用了功能应用程序,效果非常好。谢谢!我使用了功能应用程序,结果非常好。