Skip to content

Commit 3c03bb2

Browse files
author
SDKAuto
committed
CodeGen from PR 18581 in Azure/azure-rest-api-specs
Merge 9214bd53b4d315a9e6be4f4e3aad291559c2f7dd into 50d1185cc9f4ac7f8fee0adfd5fac3e0ac8a2f3e
1 parent 451c63a commit 3c03bb2

File tree

59 files changed

+251
-126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+251
-126
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"@autorest/python@5.12.0",
55
"@autorest/modelerfour@4.19.3"
66
],
7-
"commit": "0105ac02e25089e55a7d4126f8fd303f9415b115",
7+
"commit": "58a268d1765ac49fdd99d69d465ed206f6e5f41b",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/compute/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
9+
"autorest_command": "autorest specification/compute/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
1010
"readme": "specification/compute/resource-manager/readme.md"
1111
}

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/models/_compute_management_client_enums.py

-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ class OrchestrationServiceNames(with_metaclass(CaseInsensitiveEnumMeta, str, Enu
203203
"""
204204

205205
AUTOMATIC_REPAIRS = "AutomaticRepairs"
206-
DUMMY_ORCHESTRATION_SERVICE_NAME = "DummyOrchestrationServiceName"
207206

208207
class OrchestrationServiceState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
209208
"""The current state of the service.

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/models/_models_py3.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -4963,7 +4963,7 @@ class OrchestrationServiceStateInput(msrest.serialization.Model):
49634963
All required parameters must be populated in order to send to Azure.
49644964

49654965
:ivar service_name: Required. The name of the service. Possible values include:
4966-
"AutomaticRepairs", "DummyOrchestrationServiceName".
4966+
"AutomaticRepairs".
49674967
:vartype service_name: str or ~azure.mgmt.compute.v2019_12_01.models.OrchestrationServiceNames
49684968
:ivar action: Required. The action to be performed. Possible values include: "Resume",
49694969
"Suspend".
@@ -4989,7 +4989,7 @@ def __init__(
49894989
):
49904990
"""
49914991
:keyword service_name: Required. The name of the service. Possible values include:
4992-
"AutomaticRepairs", "DummyOrchestrationServiceName".
4992+
"AutomaticRepairs".
49934993
:paramtype service_name: str or
49944994
~azure.mgmt.compute.v2019_12_01.models.OrchestrationServiceNames
49954995
:keyword action: Required. The action to be performed. Possible values include: "Resume",
@@ -5007,8 +5007,7 @@ class OrchestrationServiceSummary(msrest.serialization.Model):
50075007

50085008
Variables are only populated by the server, and will be ignored when sending a request.
50095009

5010-
:ivar service_name: The name of the service. Possible values include: "AutomaticRepairs",
5011-
"DummyOrchestrationServiceName".
5010+
:ivar service_name: The name of the service. Possible values include: "AutomaticRepairs".
50125011
:vartype service_name: str or ~azure.mgmt.compute.v2019_12_01.models.OrchestrationServiceNames
50135012
:ivar service_state: The current state of the service. Possible values include: "NotRunning",
50145013
"Running", "Suspended".

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_compute_management_client_enums.py

-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ class OrchestrationServiceNames(with_metaclass(CaseInsensitiveEnumMeta, str, Enu
163163
"""
164164

165165
AUTOMATIC_REPAIRS = "AutomaticRepairs"
166-
DUMMY_ORCHESTRATION_SERVICE_NAME = "DummyOrchestrationServiceName"
167166

168167
class OrchestrationServiceState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
169168
"""The current state of the service.

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models_py3.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -3373,7 +3373,7 @@ class OrchestrationServiceStateInput(msrest.serialization.Model):
33733373
All required parameters must be populated in order to send to Azure.
33743374

33753375
:ivar service_name: Required. The name of the service. Possible values include:
3376-
"AutomaticRepairs", "DummyOrchestrationServiceName".
3376+
"AutomaticRepairs".
33773377
:vartype service_name: str or ~azure.mgmt.compute.v2020_06_01.models.OrchestrationServiceNames
33783378
:ivar action: Required. The action to be performed. Possible values include: "Resume",
33793379
"Suspend".
@@ -3399,7 +3399,7 @@ def __init__(
33993399
):
34003400
"""
34013401
:keyword service_name: Required. The name of the service. Possible values include:
3402-
"AutomaticRepairs", "DummyOrchestrationServiceName".
3402+
"AutomaticRepairs".
34033403
:paramtype service_name: str or
34043404
~azure.mgmt.compute.v2020_06_01.models.OrchestrationServiceNames
34053405
:keyword action: Required. The action to be performed. Possible values include: "Resume",
@@ -3417,8 +3417,7 @@ class OrchestrationServiceSummary(msrest.serialization.Model):
34173417

34183418
Variables are only populated by the server, and will be ignored when sending a request.
34193419

3420-
:ivar service_name: The name of the service. Possible values include: "AutomaticRepairs",
3421-
"DummyOrchestrationServiceName".
3420+
:ivar service_name: The name of the service. Possible values include: "AutomaticRepairs".
34223421
:vartype service_name: str or ~azure.mgmt.compute.v2020_06_01.models.OrchestrationServiceNames
34233422
:ivar service_state: The current state of the service. Possible values include: "NotRunning",
34243423
"Running", "Suspended".

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_10_01_preview/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_12_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_12_01/models/_compute_management_client_enums.py

-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ class OrchestrationServiceNames(with_metaclass(CaseInsensitiveEnumMeta, str, Enu
313313
"""
314314

315315
AUTOMATIC_REPAIRS = "AutomaticRepairs"
316-
DUMMY_ORCHESTRATION_SERVICE_NAME = "DummyOrchestrationServiceName"
317316

318317
class OrchestrationServiceState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
319318
"""The current state of the service.

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_12_01/models/_models_py3.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -5140,7 +5140,7 @@ class OrchestrationServiceStateInput(msrest.serialization.Model):
51405140
All required parameters must be populated in order to send to Azure.
51415141

51425142
:ivar service_name: Required. The name of the service. Possible values include:
5143-
"AutomaticRepairs", "DummyOrchestrationServiceName".
5143+
"AutomaticRepairs".
51445144
:vartype service_name: str or ~azure.mgmt.compute.v2020_12_01.models.OrchestrationServiceNames
51455145
:ivar action: Required. The action to be performed. Possible values include: "Resume",
51465146
"Suspend".
@@ -5166,7 +5166,7 @@ def __init__(
51665166
):
51675167
"""
51685168
:keyword service_name: Required. The name of the service. Possible values include:
5169-
"AutomaticRepairs", "DummyOrchestrationServiceName".
5169+
"AutomaticRepairs".
51705170
:paramtype service_name: str or
51715171
~azure.mgmt.compute.v2020_12_01.models.OrchestrationServiceNames
51725172
:keyword action: Required. The action to be performed. Possible values include: "Resume",
@@ -5184,8 +5184,7 @@ class OrchestrationServiceSummary(msrest.serialization.Model):
51845184

51855185
Variables are only populated by the server, and will be ignored when sending a request.
51865186

5187-
:ivar service_name: The name of the service. Possible values include: "AutomaticRepairs",
5188-
"DummyOrchestrationServiceName".
5187+
:ivar service_name: The name of the service. Possible values include: "AutomaticRepairs".
51895188
:vartype service_name: str or ~azure.mgmt.compute.v2020_12_01.models.OrchestrationServiceNames
51905189
:ivar service_state: The current state of the service. Possible values include: "NotRunning",
51915190
"Running", "Suspended".

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_03_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_03_01/models/_compute_management_client_enums.py

-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ class OrchestrationServiceNames(with_metaclass(CaseInsensitiveEnumMeta, str, Enu
271271
"""
272272

273273
AUTOMATIC_REPAIRS = "AutomaticRepairs"
274-
DUMMY_ORCHESTRATION_SERVICE_NAME = "DummyOrchestrationServiceName"
275274

276275
class OrchestrationServiceState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
277276
"""The current state of the service.

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_03_01/models/_models_py3.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -4877,7 +4877,7 @@ class OrchestrationServiceStateInput(msrest.serialization.Model):
48774877
All required parameters must be populated in order to send to Azure.
48784878

48794879
:ivar service_name: Required. The name of the service. Possible values include:
4880-
"AutomaticRepairs", "DummyOrchestrationServiceName".
4880+
"AutomaticRepairs".
48814881
:vartype service_name: str or ~azure.mgmt.compute.v2021_03_01.models.OrchestrationServiceNames
48824882
:ivar action: Required. The action to be performed. Possible values include: "Resume",
48834883
"Suspend".
@@ -4903,7 +4903,7 @@ def __init__(
49034903
):
49044904
"""
49054905
:keyword service_name: Required. The name of the service. Possible values include:
4906-
"AutomaticRepairs", "DummyOrchestrationServiceName".
4906+
"AutomaticRepairs".
49074907
:paramtype service_name: str or
49084908
~azure.mgmt.compute.v2021_03_01.models.OrchestrationServiceNames
49094909
:keyword action: Required. The action to be performed. Possible values include: "Resume",
@@ -4921,8 +4921,7 @@ class OrchestrationServiceSummary(msrest.serialization.Model):
49214921

49224922
Variables are only populated by the server, and will be ignored when sending a request.
49234923

4924-
:ivar service_name: The name of the service. Possible values include: "AutomaticRepairs",
4925-
"DummyOrchestrationServiceName".
4924+
:ivar service_name: The name of the service. Possible values include: "AutomaticRepairs".
49264925
:vartype service_name: str or ~azure.mgmt.compute.v2021_03_01.models.OrchestrationServiceNames
49274926
:ivar service_state: The current state of the service. Possible values include: "NotRunning",
49284927
"Running", "Suspended".

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_04_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_04_01/models/_compute_management_client_enums.py

-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ class OrchestrationServiceNames(with_metaclass(CaseInsensitiveEnumMeta, str, Enu
404404
"""
405405

406406
AUTOMATIC_REPAIRS = "AutomaticRepairs"
407-
DUMMY_ORCHESTRATION_SERVICE_NAME = "DummyOrchestrationServiceName"
408407

409408
class OrchestrationServiceState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
410409
"""The current state of the service.

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_04_01/models/_models_py3.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -5880,7 +5880,7 @@ class OrchestrationServiceStateInput(msrest.serialization.Model):
58805880
All required parameters must be populated in order to send to Azure.
58815881

58825882
:ivar service_name: Required. The name of the service. Possible values include:
5883-
"AutomaticRepairs", "DummyOrchestrationServiceName".
5883+
"AutomaticRepairs".
58845884
:vartype service_name: str or ~azure.mgmt.compute.v2021_04_01.models.OrchestrationServiceNames
58855885
:ivar action: Required. The action to be performed. Possible values include: "Resume",
58865886
"Suspend".
@@ -5906,7 +5906,7 @@ def __init__(
59065906
):
59075907
"""
59085908
:keyword service_name: Required. The name of the service. Possible values include:
5909-
"AutomaticRepairs", "DummyOrchestrationServiceName".
5909+
"AutomaticRepairs".
59105910
:paramtype service_name: str or
59115911
~azure.mgmt.compute.v2021_04_01.models.OrchestrationServiceNames
59125912
:keyword action: Required. The action to be performed. Possible values include: "Resume",
@@ -5924,8 +5924,7 @@ class OrchestrationServiceSummary(msrest.serialization.Model):
59245924

59255925
Variables are only populated by the server, and will be ignored when sending a request.
59265926

5927-
:ivar service_name: The name of the service. Possible values include: "AutomaticRepairs",
5928-
"DummyOrchestrationServiceName".
5927+
:ivar service_name: The name of the service. Possible values include: "AutomaticRepairs".
59295928
:vartype service_name: str or ~azure.mgmt.compute.v2021_04_01.models.OrchestrationServiceNames
59305929
:ivar service_state: The current state of the service. Possible values include: "NotRunning",
59315930
"Running", "Suspended".

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_07_01/_version.py

+1-1
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 = "26.1.0"
9+
VERSION = "1.0.0b1"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_07_01/aio/operations/_community_galleries_operations.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ async def get(
8383

8484
if response.status_code not in [200]:
8585
map_error(status_code=response.status_code, response=response, error_map=error_map)
86-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
86+
error = self._deserialize.failsafe_deserialize(_models.CloudErrorAutoGenerated2, pipeline_response)
87+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
8788

8889
deserialized = self._deserialize('CommunityGallery', pipeline_response)
8990

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_07_01/aio/operations/_community_gallery_image_versions_operations.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ async def get(
9494

9595
if response.status_code not in [200]:
9696
map_error(status_code=response.status_code, response=response, error_map=error_map)
97-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
97+
error = self._deserialize.failsafe_deserialize(_models.CloudErrorAutoGenerated2, pipeline_response)
98+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
9899

99100
deserialized = self._deserialize('CommunityGalleryImageVersion', pipeline_response)
100101

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_07_01/aio/operations/_community_gallery_images_operations.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ async def get(
8787

8888
if response.status_code not in [200]:
8989
map_error(status_code=response.status_code, response=response, error_map=error_map)
90-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
90+
error = self._deserialize.failsafe_deserialize(_models.CloudErrorAutoGenerated2, pipeline_response)
91+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
9192

9293
deserialized = self._deserialize('CommunityGalleryImage', pipeline_response)
9394

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_07_01/aio/operations/_shared_galleries_operations.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ async def get_next(next_link=None):
111111

112112
if response.status_code not in [200]:
113113
map_error(status_code=response.status_code, response=response, error_map=error_map)
114-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
114+
error = self._deserialize.failsafe_deserialize(_models.CloudErrorAutoGenerated, pipeline_response)
115+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
115116

116117
return pipeline_response
117118

@@ -160,7 +161,8 @@ async def get(
160161

161162
if response.status_code not in [200]:
162163
map_error(status_code=response.status_code, response=response, error_map=error_map)
163-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
164+
error = self._deserialize.failsafe_deserialize(_models.CloudErrorAutoGenerated, pipeline_response)
165+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
164166

165167
deserialized = self._deserialize('SharedGallery', pipeline_response)
166168

0 commit comments

Comments
 (0)