Skip to content

Commit

Permalink
add arm resource type and remove the 204 response for async operations
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwzho committed Dec 11, 2023
1 parent 63b1c91 commit a693dc6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -518,9 +518,6 @@
}
],
"responses": {
"204": {
"description": "Success."
},
"202": {
"description": "Accepted. The response indicates the Flush VNET DNS setting operation is performed in the background.",
"headers": {
Expand Down Expand Up @@ -13024,7 +13021,15 @@
"properties": {
"resourceId": {
"description": "Resource Id of the APM",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.AppPlatform/Spring/apms"
}
]
}
}
}
},
Expand All @@ -13047,7 +13052,15 @@
"properties": {
"resourceId": {
"description": "Resource Id of the certificate",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.AppPlatform/Spring/certificates"
}
]
}
}
}
},
Expand Down Expand Up @@ -14114,7 +14127,15 @@
"properties": {
"caCertResourceId": {
"description": "Resource Id of CA certificate for https URL of Git repository.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.AppPlatform/Spring/certificates"
}
]
}
}
},
"x-ms-discriminator-value": "Public"
Expand All @@ -14134,7 +14155,15 @@
"properties": {
"caCertResourceId": {
"description": "Resource Id of CA certificate for https URL of Git repository.",
"type": "string"
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.AppPlatform/Spring/certificates"
}
]
}
},
"username": {
"description": "Username of git repository basic auth.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"serviceName": "myservice"
},
"responses": {
"204": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-12-01",
Expand Down

0 comments on commit a693dc6

Please sign in to comment.