diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimapis.json index 55d9ba040cd6..3478f92a96dc 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimapis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimapis.json @@ -3009,7 +3009,13 @@ ], "responses": { "202": { - "description": "Request to create or update Api schema was accepted." + "description": "Request to create or update Api schema was accepted.", + "headers": { + "location": { + "description": "Location header", + "type": "string" + } + } }, "201": { "description": "Api schema configuration was successfully created.", diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimconnectivitycheck.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimconnectivitycheck.json index 9624610e678f..1fa6d37a0b8c 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimconnectivitycheck.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimconnectivitycheck.json @@ -36,9 +36,6 @@ "paths": { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/connectivityCheck": { "post": { - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "tags": [ "PerformConnectivityCheck" ], @@ -77,7 +74,12 @@ ], "responses": { "202": { - "description": "Request was accepted and is currently running. Location header contains the URL where the status of the long running operation can be checked and the result eventually retrieved." + "description": "Request was accepted and is currently running. Location header contains the URL where the status of the long running operation can be checked and the result eventually retrieved.", + "headers": { + "location": { + "type": "string" + } + } }, "200": { "description": "Connectivity Check Request was completed.", @@ -92,7 +94,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } } } diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimdeployment.json index 97493291f327..4f01d509b3ce 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimdeployment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimdeployment.json @@ -233,7 +233,7 @@ "202": { "description": "Accepted: Location header contains the URL where the status of the long running operation can be checked.", "headers": { - "Location": { + "location": { "type": "string" } } @@ -383,7 +383,13 @@ } }, "202": { - "description": "The service update request was Accepted." + "description": "The service update request was Accepted.", + "headers": { + "location": { + "description": "Location header", + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -473,6 +479,12 @@ "description": "The service delete request was Accepted.", "schema": { "$ref": "#/definitions/ApiManagementServiceResource" + }, + "headers": { + "location": { + "description": "Location header", + "type": "string" + } } }, "204": { diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimnamedvalues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimnamedvalues.json index 9152821bcd66..dcc0c5cb47a6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimnamedvalues.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimnamedvalues.json @@ -247,7 +247,13 @@ ], "responses": { "202": { - "description": "Request to create or update named value was accepted." + "description": "Request to create or update named value was accepted.", + "headers": { + "location": { + "description": "Location header", + "type": "string" + } + } }, "201": { "description": "Named value was successfully created.", @@ -327,7 +333,13 @@ ], "responses": { "202": { - "description": "Request to create or update named value was accepted." + "description": "Request to create or update named value was accepted.", + "headers": { + "location": { + "description": "Location header", + "type": "string" + } + } }, "200": { "description": "Named value was successfully updated.", @@ -482,7 +494,13 @@ ], "responses": { "202": { - "description": "Request to refresh secret was accepted." + "description": "Request to refresh secret was accepted.", + "headers": { + "location": { + "description": "Location header", + "type": "string" + } + } }, "200": { "description": "Named value was successfully updated.", diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimportalrevisions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimportalrevisions.json index 781e25406ef7..cc10ab457656 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimportalrevisions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimportalrevisions.json @@ -226,7 +226,13 @@ ], "responses": { "202": { - "description": "Request to create a developer portal revision was accepted." + "description": "Request to create a developer portal revision was accepted.", + "headers": { + "location": { + "description": "Location header", + "type": "string" + } + } }, "201": { "description": "The developer portal revision was successfully created.", @@ -293,7 +299,13 @@ ], "responses": { "202": { - "description": "Request to update developer portal revision was accepted." + "description": "Request to update developer portal revision was accepted.", + "headers": { + "location": { + "description": "Location header", + "type": "string" + } + } }, "200": { "description": "Developer portal revision was successfully updated.", diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimprivatelink.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimprivatelink.json index bac82fc1dd12..6ce875b13c4a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimprivatelink.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimprivatelink.json @@ -169,7 +169,13 @@ ], "responses": { "202": { - "description": "Request to approve or reject private endpoint connection. Location header contains the URL where the status of the long running operation can be checked." + "description": "Request to approve or reject private endpoint connection. Location header contains the URL where the status of the long running operation can be checked.", + "headers": { + "location": { + "description": "Location header", + "type": "string" + } + } }, "200": { "description": "Private Endpoint Connection Request was completed.", @@ -223,7 +229,13 @@ "description": "The Private Endpoint Connection was successfully deleted." }, "202": { - "description": "Request to delete API was accepted. Location header contains the URL where the status of the long running operation can be checked." + "description": "Request to delete API was accepted. Location header contains the URL where the status of the long running operation can be checked.", + "headers": { + "location": { + "description": "Location header", + "type": "string" + } + } }, "204": { "description": "Private endpoint connection does not exist." diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimschema.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimschema.json index 496ec7d2c3c7..d6cca1c879c9 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimschema.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimschema.json @@ -264,7 +264,13 @@ } }, "202": { - "description": "Accepted the change when updating the service." + "description": "Accepted the change when updating the service.", + "headers": { + "location": { + "description": "Location header", + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimtenant.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimtenant.json index c8939d345224..af7a2d533725 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimtenant.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimtenant.json @@ -572,7 +572,12 @@ ], "responses": { "202": { - "description": "Accepted: Location header contains the URL where the status of the long running operation can be checked." + "description": "Accepted: Location header contains the URL where the status of the long running operation can be checked.", + "headers": { + "location": { + "type": "string" + } + } }, "200": { "description": "Result of applying changes from Git branch to database.", @@ -637,7 +642,12 @@ ], "responses": { "202": { - "description": "Accepted: Location header contains the URL where the status of the long running operation can be checked." + "description": "Accepted: Location header contains the URL where the status of the long running operation can be checked.", + "headers": { + "location": { + "type": "string" + } + } }, "200": { "description": "Result of creating a commit in the repository.", @@ -698,7 +708,12 @@ ], "responses": { "202": { - "description": "Accepted: Location header contains the URL where the status of the long running operation can be checked." + "description": "Accepted: Location header contains the URL where the status of the long running operation can be checked.", + "headers": { + "location": { + "type": "string" + } + } }, "200": { "description": "Result of validating the changes in the specified Git branch.", diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimworkspaces.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimworkspaces.json index 70ef0a4400f0..c037632f429a 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimworkspaces.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/apimworkspaces.json @@ -694,8 +694,26 @@ "name": "isKeyVaultRefreshFailed", "in": "query", "required": false, - "type": "boolean", - "description": "When set to true, the response contains only named value entities which failed refresh." + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "KeyVaultRefreshState", + "modelAsString": true, + "values": [ + { + "value": "true", + "description": "Entities for which KeyVault refresh failed." + }, + { + "value": "false", + "description": "Entities for which KeyVault refresh succeeded" + } + ] + }, + "description": "Query parameter to fetch named value entities based on refresh status." }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -879,7 +897,8 @@ "202": { "description": "Request to create or update named value was accepted.", "headers": { - "Location": { + "location": { + "description": "Location header", "type": "string" } } @@ -967,7 +986,7 @@ "202": { "description": "Request to create or update named value was accepted.", "headers": { - "Location": { + "location": { "type": "string" } } @@ -1136,7 +1155,8 @@ "202": { "description": "Request to refresh secret was accepted.", "headers": { - "Location": { + "location": { + "description": "Location header", "type": "string" } } @@ -1404,7 +1424,8 @@ "202": { "description": "Accepted the change when updating the service.", "headers": { - "Location": { + "location": { + "description": "Location header", "type": "string" } } @@ -2275,7 +2296,8 @@ "202": { "description": "Request to create or update the policy fragment was accepted. Location header contains the URL where the status of the long running operation can be checked.", "headers": { - "Location": { + "location": { + "description": "Location header", "type": "string" } } @@ -5878,7 +5900,8 @@ "202": { "description": "Request to create or update Api schema was accepted.", "headers": { - "Location": { + "location": { + "description": "Location header", "type": "string" } }