Skip to content

Commit 80c227b

Browse files
author
SDKAuto
committed
CodeGen from PR 32748 in Azure/azure-rest-api-specs
Merge 5e1b54ba15100ee746024e4baeb397b3010f2f01 into b3db61ee9f4cc24306899715994f9afef9e5f317
1 parent 8b96068 commit 80c227b

File tree

100 files changed

+34328
-30631
lines changed

Some content is hidden

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

100 files changed

+34328
-30631
lines changed

sdk/compute/azure-mgmt-compute/CHANGELOG.md

+52
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
# Release History
22

3+
## 35.0.0 (2025-04-11)
4+
5+
### Features Added
6+
7+
- Model AvailabilitySet has a new parameter system_data
8+
- Model CapacityReservation has a new parameter system_data
9+
- Model CapacityReservationGroup has a new parameter system_data
10+
- Model DedicatedHost has a new parameter system_data
11+
- Model DedicatedHostGroup has a new parameter system_data
12+
- Model DedicatedHostSizeListResult has a new parameter next_link
13+
- Model Disk has a new parameter system_data
14+
- Model DiskAccess has a new parameter system_data
15+
- Model DiskEncryptionSet has a new parameter system_data
16+
- Model DiskRestorePoint has a new parameter system_data
17+
- Model Image has a new parameter system_data
18+
- Model PrivateEndpointConnection has a new parameter system_data
19+
- Model ProximityPlacementGroup has a new parameter system_data
20+
- Model ProxyResource has a new parameter system_data
21+
- Model RestorePoint has a new parameter system_data
22+
- Model RestorePointCollection has a new parameter system_data
23+
- Model RestorePointSourceVMStorageProfile has a new parameter data_disk_list
24+
- Model RollingUpgradeStatusInfo has a new parameter system_data
25+
- Model Snapshot has a new parameter system_data
26+
- Model SshPublicKeyResource has a new parameter system_data
27+
- Model SystemData has a new parameter created_by
28+
- Model SystemData has a new parameter created_by_type
29+
- Model SystemData has a new parameter last_modified_by
30+
- Model SystemData has a new parameter last_modified_by_type
31+
- Model VirtualMachine has a new parameter e_tag
32+
- Model VirtualMachine has a new parameter system_data
33+
- Model VirtualMachineExtension has a new parameter system_data
34+
- Model VirtualMachineExtensionImage has a new parameter system_data
35+
- Model VirtualMachineRunCommand has a new parameter system_data
36+
- Model VirtualMachineScaleSet has a new parameter e_tag
37+
- Model VirtualMachineScaleSet has a new parameter system_data
38+
- Model VirtualMachineScaleSetExtension has a new parameter vm_name
39+
- Model VirtualMachineScaleSetVM has a new parameter system_data
40+
- Model VirtualMachineScaleSetVMExtension has a new parameter vm_name
41+
- Model VirtualMachineSizeListResult has a new parameter next_link
42+
43+
### Breaking Changes
44+
45+
- Model RestorePointSourceVMOSDisk no longer has parameter write_accelerator_enabled
46+
- Model RestorePointSourceVMStorageProfile no longer has parameter data_disks
47+
- Model VirtualMachine no longer has parameter etag
48+
- Model VirtualMachineScaleSet no longer has parameter etag
49+
- Model VirtualMachineScaleSetExtension no longer has parameter name
50+
- Model VirtualMachineScaleSetVMExtension no longer has parameter name
51+
- Parameter location of model VirtualMachineExtension is now required
52+
- Parameter value of model PrivateEndpointConnectionListResult is now required
53+
- Parameter value of model RestorePointCollectionListResult is now required
54+
355
## 34.1.0 (2025-03-24)
456

557
### Features Added

sdk/compute/azure-mgmt-compute/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"commit": "85dbdf68f1c3e1693bd94eff5e8a869f1a07ed78",
2+
"commit": "dbad262d068b0fe1174eb18d102d43b48bf6b8ec",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/compute/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/compute/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/compute/resource-manager/readme.md",
1111
"package-2024-03-02-only": "2024-07-16 12:23:13 -0400 602fb5144a226577186e35845422c11db9067cf8 Microsoft.Compute/DiskRP/stable/2024-03-02/snapshot.json",
1212
"package-2024-03-01-only": "2024-06-05 15:03:47 -0700 491e00d17f24909ecf5e1030b3833bed51224e92 Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77

8-
VERSION = "34.1.0"
8+
VERSION = "35.0.0"

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 = "34.1.0"
9+
VERSION = "35.0.0"

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 = "34.1.0"
9+
VERSION = "35.0.0"

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 = "34.1.0"
9+
VERSION = "35.0.0"

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 = "34.1.0"
9+
VERSION = "35.0.0"

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 = "34.1.0"
9+
VERSION = "35.0.0"

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 = "34.1.0"
9+
VERSION = "35.0.0"

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 = "34.1.0"
9+
VERSION = "35.0.0"

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 = "34.1.0"
9+
VERSION = "35.0.0"

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 = "34.1.0"
9+
VERSION = "35.0.0"

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 = "34.1.0"
9+
VERSION = "35.0.0"

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -20140,7 +20140,8 @@ async def get_next(next_link=None):
2014020140

2014120141
if response.status_code not in [200]:
2014220142
map_error(status_code=response.status_code, response=response, error_map=error_map)
20143-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
20143+
error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
20144+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
2014420145

2014520146
return pipeline_response
2014620147

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_07_01/models/__init__.py

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
DiskImageEncryption,
7070
DiskInstanceView,
7171
EncryptionImages,
72+
ErrorAdditionalInfo,
73+
ErrorDetail,
74+
ErrorResponse,
7275
ExtendedLocation,
7376
Gallery,
7477
GalleryApplication,
@@ -467,6 +470,9 @@
467470
"DiskImageEncryption",
468471
"DiskInstanceView",
469472
"EncryptionImages",
473+
"ErrorAdditionalInfo",
474+
"ErrorDetail",
475+
"ErrorResponse",
470476
"ExtendedLocation",
471477
"Gallery",
472478
"GalleryApplication",

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

+96-6
Original file line numberDiff line numberDiff line change
@@ -2835,6 +2835,98 @@ def __init__(
28352835
self.data_disk_images = data_disk_images
28362836

28372837

2838+
class ErrorAdditionalInfo(_serialization.Model):
2839+
"""The resource management error additional info.
2840+
2841+
Variables are only populated by the server, and will be ignored when sending a request.
2842+
2843+
:ivar type: The additional info type.
2844+
:vartype type: str
2845+
:ivar info: The additional info.
2846+
:vartype info: JSON
2847+
"""
2848+
2849+
_validation = {
2850+
"type": {"readonly": True},
2851+
"info": {"readonly": True},
2852+
}
2853+
2854+
_attribute_map = {
2855+
"type": {"key": "type", "type": "str"},
2856+
"info": {"key": "info", "type": "object"},
2857+
}
2858+
2859+
def __init__(self, **kwargs: Any) -> None:
2860+
""" """
2861+
super().__init__(**kwargs)
2862+
self.type = None
2863+
self.info = None
2864+
2865+
2866+
class ErrorDetail(_serialization.Model):
2867+
"""The error detail.
2868+
2869+
Variables are only populated by the server, and will be ignored when sending a request.
2870+
2871+
:ivar code: The error code.
2872+
:vartype code: str
2873+
:ivar message: The error message.
2874+
:vartype message: str
2875+
:ivar target: The error target.
2876+
:vartype target: str
2877+
:ivar details: The error details.
2878+
:vartype details: list[~azure.mgmt.compute.v2021_07_01.models.ErrorDetail]
2879+
:ivar additional_info: The error additional info.
2880+
:vartype additional_info: list[~azure.mgmt.compute.v2021_07_01.models.ErrorAdditionalInfo]
2881+
"""
2882+
2883+
_validation = {
2884+
"code": {"readonly": True},
2885+
"message": {"readonly": True},
2886+
"target": {"readonly": True},
2887+
"details": {"readonly": True},
2888+
"additional_info": {"readonly": True},
2889+
}
2890+
2891+
_attribute_map = {
2892+
"code": {"key": "code", "type": "str"},
2893+
"message": {"key": "message", "type": "str"},
2894+
"target": {"key": "target", "type": "str"},
2895+
"details": {"key": "details", "type": "[ErrorDetail]"},
2896+
"additional_info": {"key": "additionalInfo", "type": "[ErrorAdditionalInfo]"},
2897+
}
2898+
2899+
def __init__(self, **kwargs: Any) -> None:
2900+
""" """
2901+
super().__init__(**kwargs)
2902+
self.code = None
2903+
self.message = None
2904+
self.target = None
2905+
self.details = None
2906+
self.additional_info = None
2907+
2908+
2909+
class ErrorResponse(_serialization.Model):
2910+
"""Common error response for all Azure Resource Manager APIs to return error details for failed
2911+
operations. (This also follows the OData error response format.).
2912+
2913+
:ivar error: The error object.
2914+
:vartype error: ~azure.mgmt.compute.v2021_07_01.models.ErrorDetail
2915+
"""
2916+
2917+
_attribute_map = {
2918+
"error": {"key": "error", "type": "ErrorDetail"},
2919+
}
2920+
2921+
def __init__(self, *, error: Optional["_models.ErrorDetail"] = None, **kwargs: Any) -> None:
2922+
"""
2923+
:keyword error: The error object.
2924+
:paramtype error: ~azure.mgmt.compute.v2021_07_01.models.ErrorDetail
2925+
"""
2926+
super().__init__(**kwargs)
2927+
self.error = error
2928+
2929+
28382930
class ExtendedLocation(_serialization.Model):
28392931
"""The complex type of the extended location.
28402932

@@ -7725,10 +7817,9 @@ class ResourceSkusResult(_serialization.Model):
77257817

77267818
All required parameters must be populated in order to send to server.
77277819

7728-
:ivar value: The list of skus available for the subscription. Required.
7820+
:ivar value: The ResourceSku items on this page. Required.
77297821
:vartype value: list[~azure.mgmt.compute.v2021_07_01.models.ResourceSku]
7730-
:ivar next_link: The URI to fetch the next page of Resource Skus. Call ListNext() with this URI
7731-
to fetch the next page of Resource Skus.
7822+
:ivar next_link: The link to the next page of items.
77327823
:vartype next_link: str
77337824
"""
77347825

@@ -7743,10 +7834,9 @@ class ResourceSkusResult(_serialization.Model):
77437834

77447835
def __init__(self, *, value: List["_models.ResourceSku"], next_link: Optional[str] = None, **kwargs: Any) -> None:
77457836
"""
7746-
:keyword value: The list of skus available for the subscription. Required.
7837+
:keyword value: The ResourceSku items on this page. Required.
77477838
:paramtype value: list[~azure.mgmt.compute.v2021_07_01.models.ResourceSku]
7748-
:keyword next_link: The URI to fetch the next page of Resource Skus. Call ListNext() with this
7749-
URI to fetch the next page of Resource Skus.
7839+
:keyword next_link: The link to the next page of items.
77507840
:paramtype next_link: str
77517841
"""
77527842
super().__init__(**kwargs)

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_07_01/operations/_operations.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -26782,7 +26782,8 @@ def get_next(next_link=None):
2678226782

2678326783
if response.status_code not in [200]:
2678426784
map_error(status_code=response.status_code, response=response, error_map=error_map)
26785-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
26785+
error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
26786+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
2678626787

2678726788
return pipeline_response
2678826789

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_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 = "34.1.0"
9+
VERSION = "35.0.0"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_01_03/_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 = "34.1.0"
9+
VERSION = "35.0.0"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_03_02/_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 = "34.1.0"
9+
VERSION = "35.0.0"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2022_09_04/_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 = "34.1.0"
9+
VERSION = "35.0.0"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2023_04_02/_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 = "34.1.0"
9+
VERSION = "35.0.0"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2023_07_03/_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 = "34.1.0"
9+
VERSION = "35.0.0"

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2023_10_02/_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 = "34.1.0"
9+
VERSION = "35.0.0"

0 commit comments

Comments
 (0)