Open ms-henglu opened 1 year ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.
Author: | ms-henglu |
---|---|
Assignees: | - |
Labels: | `Service Attention`, `Web Apps`, `needs-triage` |
Milestone: | - |
Microsoft.Web/sites/virtualNetworkConnections@2022-03-01 - Successfully created but failed to retrieve
Description
I successfully created this resource, but when call Get to retrieve it, it returns 404
Details
ARM Fully-Qualified Resource Type
API Version
Swagger issue type
OperationId
Swagger GitHub permalink
Error code
Request traces
{"properties":{"isSwift":true,"vnetResourceId":"/subscriptions/85b3dbca-5974-4067-9669-67a141095a76/resourceGroups/henglu919/providers/Microsoft.Network/virtualNetworks/henglu919"}}
HTTP/2.0 200 cache-control: no-cache pragma: no-cache content-type: application/json expires: -1 vary: Accept-Encoding strict-transport-security: max-age=31536000; includeSubDomains x-ms-request-id: b8982d6b-daf6-4721-a135-1d0781810aca x-ms-ratelimit-remaining-subscription-writes: 1198 server: Microsoft-IIS/10.0 x-aspnet-version: 4.0.30319 x-powered-by: ASP.NET x-ms-correlation-request-id: bf3ae69e-b7d1-873e-3c2e-c5ded418b675 x-ms-routing-request-id: JAPANEAST:20220919T075723Z:691604c5-9050-4354-9d6a-90cdfe9ed590 x-content-type-options: nosniff date: Mon, 19 Sep 2022 07:57:23 GMT content-length: 260
{"id":"/subscriptions/85b3dbca-5974-4067-9669-67a141095a76/resourceGroups/henglu919/providers/Microsoft.Web/sites/henglu919/virtualNetworkConnections/henglu919","name":"henglu919","type":"Microsoft.Web/sites/virtualNetworkConnections","location":"West Europe"}
GET https://management.azure.com/subscriptions/85b3dbca-5974-4067-9669-67a141095a76/resourceGroups/henglu919/providers/Microsoft.Web/sites/henglu919/virtualNetworkConnections/henglu919?api-version=2022-03-01 HTTP/2.0 accept: application/json user-agent: HashiCorp Terraform/1.2.8 (+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: bf3ae69e-b7d1-873e-3c2e-c5ded418b675 authorization: Bearer XXXXX accept-encoding: gzip content-length: 0
HTTP/2.0 404 cache-control: no-cache pragma: no-cache content-length: 379 content-type: application/json; charset=utf-8 expires: -1 strict-transport-security: max-age=31536000; includeSubDomains x-ms-ratelimit-remaining-subscription-reads: 11977 server: Microsoft-IIS/10.0 x-aspnet-version: 4.0.30319 x-powered-by: ASP.NET x-ms-request-id: 0e454ba7-068c-4ddb-9859-941c52638bae x-ms-correlation-request-id: bf3ae69e-b7d1-873e-3c2e-c5ded418b675 x-ms-routing-request-id: JAPANEAST:20220919T075725Z:0e454ba7-068c-4ddb-9859-941c52638bae x-content-type-options: nosniff date: Mon, 19 Sep 2022 07:57:25 GMT
{"Code":"NotFound","Message":"Cannot find VNET with name henglu919.","Target":null,"Details":[{"Message":"Cannot find VNET with name henglu919."},{"Code":"NotFound"},{"ErrorEntity":{"ExtendedCode":"51004","MessageTemplate":"Cannot find {0} with name {1}.","Parameters":["VNET","henglu919"],"Code":"NotFound","Message":"Cannot find VNET with name henglu919."}}],"Innererror":null}