Open
Description
Microsoft.Web/sites/host/functionKeys@2022-03-01
- violates RPC-Get-V1-04 - All Resources Must support GET - including nested and proxy types
This resource only supports PUT, it doesn't support GET.
PUT
PUT https://management.azure.com/subscriptions/{subscription_id}/resourceGroups/henglu320web/providers/Microsoft.Web/sites/henglu320web/host/default/functionKeys/tf_key?api-version=2022-03-01 HTTP/2.0
accept: application/json
content-type: application/json
user-agent: HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.8.0 terraform-provider-azapi/dev pid-222c6c49-1b0a-5959-a213-6608f9eb8820
x-ms-correlation-request-id: 63ec026e-818a-49b1-9492-a00e21b0ad4e
authorization: Bearer [secret]
content-length: 48
accept-encoding: gzip
{"properties":{"name":"tf_key","value":"safds"}}
HTTP/2.0 201
cache-control: no-cache
pragma: no-cache
content-length: 299
content-type: application/json
expires: -1
strict-transport-security: max-age=31536000; includeSubDomains
x-ms-request-id: b74fe659-1b15-4e4a-a791-49af0c733fce
x-ms-ratelimit-remaining-subscription-writes: 1199
server: Microsoft-IIS/10.0
x-aspnet-version: 4.0.30319
x-powered-by: ASP.NET
x-ms-correlation-request-id: 63ec026e-818a-49b1-9492-a00e21b0ad4e
x-ms-routing-request-id: SOUTHEASTASIA:20230817T073936Z:04d5b3b7-63c1-4ce6-85cc-b55f544ee24e
x-content-type-options: nosniff
date: Thu, 17 Aug 2023 07:39:35 GMT
{"id":"/subscriptions/{subscription_id}/resourceGroups/henglu320web/providers/Microsoft.Web/sites/henglu320web/host/default/functionKeys/tf_key","name":"tf_key","type":"Microsoft.Web/sites/host/functionKeys","location":"West Europe","properties":{"name":"tf_key","value":"safds"}}
GET
GET https://management.azure.com/subscriptions/{subscription_id}/resourceGroups/henglu320web/providers/Microsoft.Web/sites/henglu320web/host/default/functionKeys/tf_key?api-version=2022-03-01 HTTP/2.0
user-agent: HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.8.0 terraform-provider-azapi/dev pid-222c6c49-1b0a-5959-a213-6608f9eb8820
x-ms-correlation-request-id: 63ec026e-818a-49b1-9492-a00e21b0ad4e
authorization: Bearer [secret]
content-length: 0
HTTP/2.0 405
cache-control: no-cache
pragma: no-cache
allow: PUT,DELETE
content-length: 92
content-type: application/xml; charset=utf-8
expires: -1
strict-transport-security: max-age=31536000; includeSubDomains
x-ms-ratelimit-remaining-subscription-reads: 11998
server: Microsoft-IIS/10.0
x-aspnet-version: 4.0.30319
x-powered-by: ASP.NET
x-ms-request-id: 62c767a9-ee70-4230-95ac-e7f18628ed4a
x-ms-correlation-request-id: 63ec026e-818a-49b1-9492-a00e21b0ad4e
x-ms-routing-request-id: SOUTHEASTASIA:20230817T073937Z:62c767a9-ee70-4230-95ac-e7f18628ed4a
x-content-type-options: nosniff
date: Thu, 17 Aug 2023 07:39:36 GMT
<Error><Message>The requested resource does not support http method 'GET'.</Message></Error>