Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions sdk/compute/azure-mgmt-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,61 @@
# Release History

## 35.0.0 (2025-04-12)

### Features Added

- Model AvailabilitySet has a new parameter system_data
- Model CapacityReservation has a new parameter system_data
- Model CapacityReservationGroup has a new parameter system_data
- Model DedicatedHost has a new parameter system_data
- Model DedicatedHostGroup has a new parameter system_data
- Model DedicatedHostSizeListResult has a new parameter next_link
- Model Disk has a new parameter system_data
- Model DiskAccess has a new parameter system_data
- Model DiskEncryptionSet has a new parameter system_data
- Model DiskRestorePoint has a new parameter system_data
- Model Image has a new parameter system_data
- Model PrivateEndpointConnection has a new parameter system_data
- Model ProximityPlacementGroup has a new parameter system_data
- Model ProxyResource has a new parameter system_data
- Model RestorePoint has a new parameter system_data
- Model RestorePointCollection has a new parameter system_data
- Model RestorePointSourceVMStorageProfile has a new parameter data_disk_list
- Model RollingUpgradeStatusInfo has a new parameter system_data
- Model Snapshot has a new parameter system_data
- Model SshPublicKeyResource has a new parameter system_data
- Model SystemData has a new parameter created_by
- Model SystemData has a new parameter created_by_type
- Model SystemData has a new parameter last_modified_by
- Model SystemData has a new parameter last_modified_by_type
- Model VirtualMachine has a new parameter e_tag
- Model VirtualMachine has a new parameter system_data
- Model VirtualMachineExtension has a new parameter system_data
- Model VirtualMachineExtensionImage has a new parameter system_data
- Model VirtualMachineRunCommand has a new parameter system_data
- Model VirtualMachineScaleSet has a new parameter e_tag
- Model VirtualMachineScaleSet has a new parameter system_data
- Model VirtualMachineScaleSetExtension has a new parameter vm_name
- Model VirtualMachineScaleSetExtension has a new parameter vm_type
- Model VirtualMachineScaleSetVM has a new parameter system_data
- Model VirtualMachineScaleSetVMExtension has a new parameter vm_name
- Model VirtualMachineScaleSetVMExtension has a new parameter vm_type
- Model VirtualMachineSizeListResult has a new parameter next_link

### Breaking Changes

- Model RestorePointSourceVMOSDisk no longer has parameter write_accelerator_enabled
- Model RestorePointSourceVMStorageProfile no longer has parameter data_disks
- Model VirtualMachine no longer has parameter etag
- Model VirtualMachineScaleSet no longer has parameter etag
- Model VirtualMachineScaleSetExtension no longer has parameter name
- Model VirtualMachineScaleSetExtension no longer has parameter type_properties_type
- Model VirtualMachineScaleSetVMExtension no longer has parameter name
- Model VirtualMachineScaleSetVMExtension no longer has parameter type_properties_type
- Parameter location of model VirtualMachineExtension is now required
- Parameter value of model PrivateEndpointConnectionListResult is now required
- Parameter value of model RestorePointCollectionListResult is now required

## 34.1.0 (2025-03-24)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/compute/azure-mgmt-compute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pip install azure-identity

### Authentication

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

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down
4 changes: 2 additions & 2 deletions sdk/compute/azure-mgmt-compute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"commit": "85dbdf68f1c3e1693bd94eff5e8a869f1a07ed78",
"commit": "7d74cb4d2be07eb752b609abefb874704815a5d4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"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",
"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",
"readme": "specification/compute/resource-manager/readme.md",
"package-2024-03-02-only": "2024-07-16 12:23:13 -0400 602fb5144a226577186e35845422c11db9067cf8 Microsoft.Compute/DiskRP/stable/2024-03-02/snapshot.json",
"package-2024-03-01-only": "2024-06-05 15:03:47 -0700 491e00d17f24909ecf5e1030b3833bed51224e92 Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -20140,7 +20140,8 @@ async def get_next(next_link=None):

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

return pipeline_response

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
DiskImageEncryption,
DiskInstanceView,
EncryptionImages,
ErrorAdditionalInfo,
ErrorDetail,
ErrorResponse,
ExtendedLocation,
Gallery,
GalleryApplication,
Expand Down Expand Up @@ -467,6 +470,9 @@
"DiskImageEncryption",
"DiskInstanceView",
"EncryptionImages",
"ErrorAdditionalInfo",
"ErrorDetail",
"ErrorResponse",
"ExtendedLocation",
"Gallery",
"GalleryApplication",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2835,6 +2835,98 @@ def __init__(
self.data_disk_images = data_disk_images


class ErrorAdditionalInfo(_serialization.Model):
"""The resource management error additional info.

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

:ivar type: The additional info type.
:vartype type: str
:ivar info: The additional info.
:vartype info: JSON
"""

_validation = {
"type": {"readonly": True},
"info": {"readonly": True},
}

_attribute_map = {
"type": {"key": "type", "type": "str"},
"info": {"key": "info", "type": "object"},
}

def __init__(self, **kwargs: Any) -> None:
""" """
super().__init__(**kwargs)
self.type = None
self.info = None


class ErrorDetail(_serialization.Model):
"""The error detail.

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

:ivar code: The error code.
:vartype code: str
:ivar message: The error message.
:vartype message: str
:ivar target: The error target.
:vartype target: str
:ivar details: The error details.
:vartype details: list[~azure.mgmt.compute.v2021_07_01.models.ErrorDetail]
:ivar additional_info: The error additional info.
:vartype additional_info: list[~azure.mgmt.compute.v2021_07_01.models.ErrorAdditionalInfo]
"""

_validation = {
"code": {"readonly": True},
"message": {"readonly": True},
"target": {"readonly": True},
"details": {"readonly": True},
"additional_info": {"readonly": True},
}

_attribute_map = {
"code": {"key": "code", "type": "str"},
"message": {"key": "message", "type": "str"},
"target": {"key": "target", "type": "str"},
"details": {"key": "details", "type": "[ErrorDetail]"},
"additional_info": {"key": "additionalInfo", "type": "[ErrorAdditionalInfo]"},
}

def __init__(self, **kwargs: Any) -> None:
""" """
super().__init__(**kwargs)
self.code = None
self.message = None
self.target = None
self.details = None
self.additional_info = None


class ErrorResponse(_serialization.Model):
"""Common error response for all Azure Resource Manager APIs to return error details for failed
operations. (This also follows the OData error response format.).

:ivar error: The error object.
:vartype error: ~azure.mgmt.compute.v2021_07_01.models.ErrorDetail
"""

_attribute_map = {
"error": {"key": "error", "type": "ErrorDetail"},
}

def __init__(self, *, error: Optional["_models.ErrorDetail"] = None, **kwargs: Any) -> None:
"""
:keyword error: The error object.
:paramtype error: ~azure.mgmt.compute.v2021_07_01.models.ErrorDetail
"""
super().__init__(**kwargs)
self.error = error


class ExtendedLocation(_serialization.Model):
"""The complex type of the extended location.

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

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

:ivar value: The list of skus available for the subscription. Required.
:ivar value: The ResourceSku items on this page. Required.
:vartype value: list[~azure.mgmt.compute.v2021_07_01.models.ResourceSku]
:ivar next_link: The URI to fetch the next page of Resource Skus. Call ListNext() with this URI
to fetch the next page of Resource Skus.
:ivar next_link: The link to the next page of items.
:vartype next_link: str
"""

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

def __init__(self, *, value: List["_models.ResourceSku"], next_link: Optional[str] = None, **kwargs: Any) -> None:
"""
:keyword value: The list of skus available for the subscription. Required.
:keyword value: The ResourceSku items on this page. Required.
:paramtype value: list[~azure.mgmt.compute.v2021_07_01.models.ResourceSku]
:keyword next_link: The URI to fetch the next page of Resource Skus. Call ListNext() with this
URI to fetch the next page of Resource Skus.
:keyword next_link: The link to the next page of items.
:paramtype next_link: str
"""
super().__init__(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26782,7 +26782,8 @@ def get_next(next_link=None):

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

return pipeline_response

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "34.1.0"
VERSION = "35.0.0"
Loading