使用 Terraform 的 Azure Graph Batch API

问题描述 投票:0回答:0

有没有办法使用 terraform 来完成这个 http 请求?

POST https://graph.microsoft.com/v1.0/$batch  
Accept: application/json  
Content-Type: application/json  

{  
"requests": [  
    {  
        "id": "1",  
        "method": "GET",  
        "url": "/name?$filter=id in ('id1','id2'...'id20')"  
    },  
    {  
        "id": "2",  
        "method": "GET",  
        "url": "/name?$filter=id in ('id21'...)"  
    }  
  ]  
}  

Terraform 文档https://registry.terraform.io/providers/hashicorp/http/latest/docs/data-sources/http

azure terraform active-directory azure-ad-graph-api
© www.soinside.com 2019 - 2024. All rights reserved.