diff --git a/src/azure-cli/azure/cli/command_modules/apim/custom.py b/src/azure-cli/azure/cli/command_modules/apim/custom.py index a2ba4a3a557..16ccd7a39c6 100644 --- a/src/azure-cli/azure/cli/command_modules/apim/custom.py +++ b/src/azure-cli/azure/cli/command_modules/apim/custom.py @@ -208,8 +208,8 @@ def create_apim_api(client, resource_group_name, service_name, api_id, descripti description=description, authentication_settings=authentication_settings, subscription_key_parameter_names=get_subscription_key_parameter_names( - subscription_key_query_param_name, - subscription_key_header_name), + subscription_key_header_name, + subscription_key_query_param_name), display_name=display_name, service_url=service_url, protocols=protocols if protocols is not None else [ @@ -265,7 +265,7 @@ def update_apim_api(instance, description=None, subscription_key_header_name=Non if subscription_key_header_name is not None: instance.subscription_key_parameter_names = get_subscription_key_parameter_names( - subscription_key_query_param_name, subscription_key_header_name) + subscription_key_header_name, subscription_key_query_param_name) if display_name is not None: instance.display_name = display_name @@ -364,7 +364,7 @@ def import_apim_api( resource.description = description resource.subscription_required = subscription_required resource.subscription_key_parameter_names = get_subscription_key_parameter_names( - subscription_key_query_param_name, subscription_key_header_name) + subscription_key_header_name, subscription_key_query_param_name) resource.api_version = api_version resource.api_version_set_id = _get_vs_fullpath(api_version_set_id) diff --git a/src/azure-cli/azure/cli/command_modules/apim/tests/latest/recordings/test_apim_core_service.yaml b/src/azure-cli/azure/cli/command_modules/apim/tests/latest/recordings/test_apim_core_service.yaml index 3a524967306..90ccf6eecd5 100644 --- a/src/azure-cli/azure/cli/command_modules/apim/tests/latest/recordings/test_apim_core_service.yaml +++ b/src/azure-cli/azure/cli/command_modules/apim/tests/latest/recordings/test_apim_core_service.yaml @@ -4325,7 +4325,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4381,7 +4381,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4440,7 +4440,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4499,7 +4499,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4558,7 +4558,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4617,7 +4617,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4676,7 +4676,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4735,7 +4735,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4794,7 +4794,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4853,7 +4853,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4912,7 +4912,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -4971,7 +4971,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5030,7 +5030,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5089,7 +5089,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5148,7 +5148,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5207,7 +5207,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5266,7 +5266,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5325,7 +5325,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5384,7 +5384,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5443,7 +5443,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5502,7 +5502,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5561,7 +5561,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5620,7 +5620,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5679,7 +5679,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5738,7 +5738,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5797,7 +5797,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5856,7 +5856,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5915,7 +5915,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -5974,7 +5974,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6033,7 +6033,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6092,7 +6092,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6151,7 +6151,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6210,7 +6210,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6269,7 +6269,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6328,7 +6328,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6387,7 +6387,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6446,7 +6446,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6505,7 +6505,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6564,7 +6564,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6623,7 +6623,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6682,7 +6682,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6741,7 +6741,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6800,7 +6800,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6859,7 +6859,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6918,7 +6918,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -6977,7 +6977,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7036,7 +7036,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7095,7 +7095,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7154,7 +7154,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7213,7 +7213,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7272,7 +7272,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7331,7 +7331,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7390,7 +7390,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7449,7 +7449,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7508,7 +7508,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7567,7 +7567,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7626,7 +7626,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7685,7 +7685,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7744,7 +7744,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7803,7 +7803,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7862,7 +7862,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7921,7 +7921,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -7980,7 +7980,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8039,7 +8039,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8098,7 +8098,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8157,7 +8157,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8216,7 +8216,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8275,7 +8275,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8334,7 +8334,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8393,7 +8393,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8452,7 +8452,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8511,7 +8511,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8570,7 +8570,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8629,7 +8629,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8688,7 +8688,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8747,7 +8747,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8806,7 +8806,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8865,7 +8865,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8924,7 +8924,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -8983,7 +8983,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9042,7 +9042,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9101,7 +9101,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9160,7 +9160,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9219,7 +9219,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9278,7 +9278,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9337,7 +9337,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9396,7 +9396,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9455,7 +9455,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9514,7 +9514,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9573,7 +9573,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9632,7 +9632,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9691,7 +9691,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9750,7 +9750,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9809,7 +9809,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9868,7 +9868,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9927,7 +9927,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -9986,7 +9986,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10045,7 +10045,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10104,7 +10104,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10163,7 +10163,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10222,7 +10222,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10281,7 +10281,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10340,7 +10340,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10399,7 +10399,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10458,7 +10458,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10517,7 +10517,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10576,7 +10576,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10635,7 +10635,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10694,7 +10694,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10753,7 +10753,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10812,7 +10812,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10871,7 +10871,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10930,7 +10930,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -10989,7 +10989,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11048,7 +11048,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11107,7 +11107,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11166,7 +11166,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11225,7 +11225,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11284,7 +11284,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11343,7 +11343,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11402,7 +11402,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11461,7 +11461,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11573,8 +11573,8 @@ interactions: \ \"serviceUrl\": \"http://petstore.swagger.io/v1\",\r\n \"path\": \"test2\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": - \"subscription-key\"\r\n },\r\n \"isCurrent\": true,\r\n \"apiVersion\": + {\r\n \"header\": \"header\",\r\n \"query\": + \"query\"\r\n },\r\n \"isCurrent\": true,\r\n \"apiVersion\": \"v1\",\r\n \"apiVersionSetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_apim-000001/providers/Microsoft.ApiManagement/service/cli-test-apim-000003/apiVersionSets/MyVSId\"\r\n \ }\r\n}" headers: @@ -11630,7 +11630,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11689,7 +11689,7 @@ interactions: \ \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -11756,7 +11756,7 @@ interactions: false,\r\n \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -12795,7 +12795,7 @@ interactions: false,\r\n \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"isCurrent\": true\r\n }\r\n}" headers: cache-control: @@ -12861,7 +12861,7 @@ interactions: false,\r\n \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"apiRevisionDescription\": \"New API Revision\"\r\n }\r\n}" headers: cache-control: @@ -12916,7 +12916,7 @@ interactions: false,\r\n \"serviceUrl\": \"https://contoso.com\",\r\n \"path\": \"test\",\r\n \ \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": - {\r\n \"header\": \"query\",\r\n \"query\": \"header\"\r\n },\r\n + {\r\n \"header\": \"header\",\r\n \"query\": \"query\"\r\n },\r\n \ \"apiRevisionDescription\": \"New API Revision\"\r\n }\r\n}" headers: cache-control: diff --git a/src/azure-cli/azure/cli/command_modules/apim/tests/latest/test_apim_scenario.py b/src/azure-cli/azure/cli/command_modules/apim/tests/latest/test_apim_scenario.py index c02c6a47ed7..e551d8960fb 100644 --- a/src/azure-cli/azure/cli/command_modules/apim/tests/latest/test_apim_scenario.py +++ b/src/azure-cli/azure/cli/command_modules/apim/tests/latest/test_apim_scenario.py @@ -161,16 +161,20 @@ def test_apim_core_service(self, resource_group, resource_group_location, storag checks=[self.check('displayName', '{display_name}'), self.check('path', '{path}'), self.check('serviceUrl', '{service_url}'), - self.check('protocols[0]', '{protocol}')]) + self.check('protocols[0]', '{protocol}'), + self.check('subscriptionKeyParameterNames.header', '{subscription_key_header_name}'), + self.check('subscriptionKeyParameterNames.query', '{subscription_key_query_param_name}')]) # wait self.cmd('apim api wait -g "{rg}" -n "{service_name}" --api-id "{api_id}" --created', checks=[self.is_empty()]) # import api self.cmd( - 'apim api import -g "{rg}" --service-name "{service_name}" --path "{path2}" --api-id "{api_id2}" --specification-url "{specification_url}" --specification-format "{specification_format}" --api-version-set-id {vs_id} --api-version {api_version}', + 'apim api import -g "{rg}" --service-name "{service_name}" --path "{path2}" --api-id "{api_id2}" --specification-url "{specification_url}" --specification-format "{specification_format}" --api-version-set-id {vs_id} --api-version {api_version} --subscription-key-header-name "{subscription_key_header_name}" --subscription-key-query-param-name "{subscription_key_query_param_name}"', checks=[self.check('displayName', 'Swagger Petstore'), - self.check('path', '{path2}')]) + self.check('path', '{path2}'), + self.check('subscriptionKeyParameterNames.header', '{subscription_key_header_name}'), + self.check('subscriptionKeyParameterNames.query', '{subscription_key_query_param_name}')]) # get api self.cmd('apim api show -g {rg} --service-name {service_name} --api-id {api_id}', checks=[ @@ -180,9 +184,11 @@ def test_apim_core_service(self, resource_group, resource_group_location, storag # update api self.cmd( - 'apim api update -g "{rg}" --service-name "{service_name}" --api-id "{api_id}" --description "{description}" --protocols {protocol}', + 'apim api update -g "{rg}" --service-name "{service_name}" --api-id "{api_id}" --description "{description}" --protocols {protocol} --subscription-key-header-name "{subscription_key_header_name}" --subscription-key-query-param-name "{subscription_key_query_param_name}"', checks=[self.check('description', '{description}'), - self.check('protocols[0]', '{protocol}')]) + self.check('protocols[0]', '{protocol}'), + self.check('subscriptionKeyParameterNames.header', '{subscription_key_header_name}'), + self.check('subscriptionKeyParameterNames.query', '{subscription_key_query_param_name}')]) # list apis api_count = len(self.cmd('apim api list -g "{rg}" -n "{service_name}"').get_output_in_json())