-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
Network - CDNService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
When I create a cdn endpoint resource using following API request, the ID returned in response isn't the endpoint of my request. The difference is the g in resourceG(g)roup segment:
REQUEST
PUT https://management.azure.com/subscriptions/***/resourceGroups/xcdn-example-resources/providers/Microsoft.Cdn/profiles/example-cdn/endpoints/testep100?api-version=2019-04-15 HTTP/2.0
{
"location": "westeurope",
"properties": {
"contentTypesToCompress": [],
"deliveryPolicy": {
"description": "",
"rules": []
},
"geoFilters": [],
"isCompressionEnabled": false,
"isHttpAllowed": true,
"isHttpsAllowed": true,
"originHostHeader": "",
"origins": [
{
"name": "example",
"properties": {
"hostName": "www.contoso.com",
"httpPort": 80,
"httpsPort": 443
}
}
],
"queryStringCachingBehavior": "IgnoreQueryString"
},
"tags": {}
} RESPONSE
{
"id": "/subscriptions/***/resourcegroups/xcdn-example-resources/providers/Microsoft.Cdn/profiles/example-cdn/endpoints/testep100",
"location": "WestEurope",
"name": "testep100",
"properties": {
"contentTypesToCompress": [],
"customDomains": [],
"deliveryPolicy": {
"description": "",
"rules": []
},
"geoFilters": [],
"hostName": "testep100.azureedge.net",
"isCompressionEnabled": false,
"isHttpAllowed": true,
"isHttpsAllowed": true,
"optimizationType": null,
"originHostHeader": "",
"originPath": null,
"origins": [
{
"name": "example",
"properties": {
"hostName": "www.contoso.com",
"httpPort": 80,
"httpsPort": 443
}
}
],
"probePath": null,
"provisioningState": "Creating",
"queryStringCachingBehavior": "IgnoreQueryString",
"resourceState": "Creating"
},
"tags": {},
"type": "Microsoft.Cdn/profiles/endpoints"
} The expected behavior is that the id in response body should keep the case (i.e. .../resourceGroups/...) as specified in request endpoint URL.
dossy
Metadata
Metadata
Assignees
Labels
Network - CDNService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that