You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DevTestLab] azure.core.exceptions.HttpResponseError: (CannotSetProperty) Cannot set or update property sourceVmId. for DTL custom_images.begin_create_or_update()
#5133
Open
2 of 9 tasks
ggorge-etiqa opened this issue
Oct 31, 2024
· 1 comment
Traceback (most recent call last):
File "C:\tools\script\_common\create-dtl-custom-image-from-vm.py", line 103, in <module>
create_image(
File "C:\tools\script\_common\create-dtl-custom-image-from-vm.py", line 42, in create_image
response = client.custom_images.begin_create_or_update(
File "C:\Users\isac\AppData\Roaming\Python\Python39\site-packages\azure\mgmt\devtestlabs\operations\_custom_images_operations.py", line 311, in begin_create_or_update
raw_result = self._create_or_update_initial(
File "C:\Users\isac\AppData\Roaming\Python\Python39\site-packages\azure\mgmt\devtestlabs\operations\_custom_images_operations.py", line 260, in _create_or_update_initial
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
azure.core.exceptions.HttpResponseError: (CannotSetProperty) Cannot set or update property sourceVmId.
Code: CannotSetProperty
Message: Cannot set or update property sourceVmId.
Expected behavior
No response
Actual behavior
No response
Reproduction Steps
No response
Environment
Python 3.9.13
The text was updated successfully, but these errors were encountered:
ggorge-etiqa
changed the title
[Sample Issue] azure.core.exceptions.HttpResponseError: (CannotSetProperty) Cannot set or update property sourceVmId. for DTL custom_images.begin_create_or_update()
[DevTestLab] azure.core.exceptions.HttpResponseError: (CannotSetProperty) Cannot set or update property sourceVmId. for DTL custom_images.begin_create_or_update()
Oct 31, 2024
Link to sample
https://learn.microsoft.com/en-us/rest/api/dtl/custom-images/create-or-update?view=rest-dtl-2018-09-15&tabs=Python
Library name and version
azure-mgmt-devtestlabs 9.0.0
Language of the Sample
Sample Issue Type
Issue details
Expected behavior
No response
Actual behavior
No response
Reproduction Steps
No response
Environment
Python 3.9.13
The text was updated successfully, but these errors were encountered: