Skip to content

Commit 40d5b3e

Browse files
author
SDKAuto
committed
CodeGen from PR 17456 in Azure/azure-rest-api-specs
Merge 526f89007c28f4b5028197245601c58f3ecc4ae1 into f187094
1 parent b1a7ba5 commit 40d5b3e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sdk/apimanagement/azure-mgmt-apimanagement/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "0b70eafc6469141d5c4dc868c4a4438db6c32ead",
7+
"commit": "800f7d1bee959a77eddea1a7ab4d8eed71cd3b9b",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
99
"autorest_command": "autorest specification/apimanagement/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
1010
"readme": "specification/apimanagement/resource-manager/readme.md"

sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.0.0"
9+
VERSION = "1.0.0b1"

sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/aio/operations/_private_endpoint_connection_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ async def _create_or_update_initial(
213213
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
214214
response = pipeline_response.http_response
215215

216-
if response.status_code not in [200, 201]:
216+
if response.status_code not in [200, 202]:
217217
map_error(status_code=response.status_code, response=response, error_map=error_map)
218218
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
219219

sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_private_endpoint_connection_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def _create_or_update_initial(
442442
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
443443
response = pipeline_response.http_response
444444

445-
if response.status_code not in [200, 201]:
445+
if response.status_code not in [200, 202]:
446446
map_error(status_code=response.status_code, response=response, error_map=error_map)
447447
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
448448

0 commit comments

Comments
 (0)