Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 4 additions & 0 deletions sdk/compute/azure-mgmt-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 37.2.0 (2026-01-19)

change log generation was timeout!!! You need to write it manually!!!

## 37.1.0 (2025-11-17)

### Features Added
Expand Down
6 changes: 3 additions & 3 deletions sdk/compute/azure-mgmt-compute/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "a49631915059dad95cfa78cf100c1201e9760b43",
"commit": "9f3fa32698e2f50dbdfa8d3469ad65c0fe590013",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.42.0",
"@autorest/python@6.45.1",
"@autorest/modelerfour@4.27.0"
],
"autorest_command": "autorest specification/compute/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.42.0 --use=@autorest/modelerfour@4.27.0 --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 --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-2025-03-03 --use=@autorest/python@6.45.1 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/compute/resource-manager/readme.md"
}
35 changes: 35 additions & 0 deletions sdk/compute/azure-mgmt-compute/apiview-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,18 @@
"azure.mgmt.compute.models.GalleryInVMAccessControlProfileVersionUpdate": null,
"azure.mgmt.compute.models.GalleryList": null,
"azure.mgmt.compute.models.GalleryOSDiskImage": null,
"azure.mgmt.compute.models.GalleryScript": null,
"azure.mgmt.compute.models.GalleryScriptList": null,
"azure.mgmt.compute.models.GenericGalleryParameter": null,
"azure.mgmt.compute.models.GalleryScriptParameter": null,
"azure.mgmt.compute.models.GalleryScriptProperties": null,
"azure.mgmt.compute.models.GalleryScriptUpdate": null,
"azure.mgmt.compute.models.GalleryScriptVersion": null,
"azure.mgmt.compute.models.GalleryScriptVersionList": null,
"azure.mgmt.compute.models.GalleryScriptVersionProperties": null,
"azure.mgmt.compute.models.GalleryScriptVersionPublishingProfile": null,
"azure.mgmt.compute.models.GalleryScriptVersionSafetyProfile": null,
"azure.mgmt.compute.models.GalleryScriptVersionUpdate": null,
"azure.mgmt.compute.models.GallerySoftDeletedResource": null,
"azure.mgmt.compute.models.GallerySoftDeletedResourceList": null,
"azure.mgmt.compute.models.GalleryTargetExtendedLocation": null,
Expand Down Expand Up @@ -328,6 +340,7 @@
"azure.mgmt.compute.models.ScheduledEventsPolicy": null,
"azure.mgmt.compute.models.ScheduledEventsProfile": null,
"azure.mgmt.compute.models.ScheduleProfile": null,
"azure.mgmt.compute.models.ScriptSource": null,
"azure.mgmt.compute.models.SecurityPostureReference": null,
"azure.mgmt.compute.models.SecurityPostureReferenceUpdate": null,
"azure.mgmt.compute.models.SecurityProfile": null,
Expand Down Expand Up @@ -612,6 +625,7 @@
"azure.mgmt.compute.models.EdgeZoneStorageAccountType": null,
"azure.mgmt.compute.models.ReplicationState": null,
"azure.mgmt.compute.models.ReplicationMode": null,
"azure.mgmt.compute.models.StorageAccountStrategy": null,
"azure.mgmt.compute.models.GalleryApplicationScriptRebootBehavior": null,
"azure.mgmt.compute.models.AggregatedReplicationState": null,
"azure.mgmt.compute.models.HostCaching": null,
Expand All @@ -620,6 +634,7 @@
"azure.mgmt.compute.models.EndpointTypes": null,
"azure.mgmt.compute.models.AccessControlRulesMode": null,
"azure.mgmt.compute.models.EndpointAccess": null,
"azure.mgmt.compute.models.GalleryScriptParameterType": null,
"azure.mgmt.compute.models.SoftDeletedArtifactTypes": null,
"azure.mgmt.compute.models.CloudServiceUpgradeMode": null,
"azure.mgmt.compute.models.CloudServiceSlotType": null,
Expand Down Expand Up @@ -1192,6 +1207,26 @@
"azure.mgmt.compute.aio.operations.GalleryInVMAccessControlProfileVersionsOperations.begin_update": null,
"azure.mgmt.compute.operations.GalleryInVMAccessControlProfileVersionsOperations.begin_delete": null,
"azure.mgmt.compute.aio.operations.GalleryInVMAccessControlProfileVersionsOperations.begin_delete": null,
"azure.mgmt.compute.operations.GalleryScriptsOperations.list_by_gallery": null,
"azure.mgmt.compute.aio.operations.GalleryScriptsOperations.list_by_gallery": null,
"azure.mgmt.compute.operations.GalleryScriptsOperations.get": null,
"azure.mgmt.compute.aio.operations.GalleryScriptsOperations.get": null,
"azure.mgmt.compute.operations.GalleryScriptsOperations.begin_create_or_update": null,
"azure.mgmt.compute.aio.operations.GalleryScriptsOperations.begin_create_or_update": null,
"azure.mgmt.compute.operations.GalleryScriptsOperations.begin_update": null,
"azure.mgmt.compute.aio.operations.GalleryScriptsOperations.begin_update": null,
"azure.mgmt.compute.operations.GalleryScriptsOperations.begin_delete": null,
"azure.mgmt.compute.aio.operations.GalleryScriptsOperations.begin_delete": null,
"azure.mgmt.compute.operations.GalleryScriptVersionsOperations.list_by_gallery_script": null,
"azure.mgmt.compute.aio.operations.GalleryScriptVersionsOperations.list_by_gallery_script": null,
"azure.mgmt.compute.operations.GalleryScriptVersionsOperations.get": null,
"azure.mgmt.compute.aio.operations.GalleryScriptVersionsOperations.get": null,
"azure.mgmt.compute.operations.GalleryScriptVersionsOperations.begin_create_or_update": null,
"azure.mgmt.compute.aio.operations.GalleryScriptVersionsOperations.begin_create_or_update": null,
"azure.mgmt.compute.operations.GalleryScriptVersionsOperations.begin_update": null,
"azure.mgmt.compute.aio.operations.GalleryScriptVersionsOperations.begin_update": null,
"azure.mgmt.compute.operations.GalleryScriptVersionsOperations.begin_delete": null,
"azure.mgmt.compute.aio.operations.GalleryScriptVersionsOperations.begin_delete": null,
"azure.mgmt.compute.operations.GallerySharingProfileOperations.begin_update": null,
"azure.mgmt.compute.aio.operations.GallerySharingProfileOperations.begin_update": null,
"azure.mgmt.compute.operations.SoftDeletedResourceOperations.list_by_artifact_name": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
GalleryImagesOperations,
GalleryInVMAccessControlProfileVersionsOperations,
GalleryInVMAccessControlProfilesOperations,
GalleryScriptVersionsOperations,
GalleryScriptsOperations,
GallerySharingProfileOperations,
ImagesOperations,
LogAnalyticsOperations,
Expand Down Expand Up @@ -198,6 +200,10 @@ class ComputeManagementClient: # pylint: disable=client-accepts-api-version-key
GalleryInVMAccessControlProfileVersionsOperations operations
:vartype gallery_in_vm_access_control_profile_versions:
azure.mgmt.compute.operations.GalleryInVMAccessControlProfileVersionsOperations
:ivar gallery_scripts: GalleryScriptsOperations operations
:vartype gallery_scripts: azure.mgmt.compute.operations.GalleryScriptsOperations
:ivar gallery_script_versions: GalleryScriptVersionsOperations operations
:vartype gallery_script_versions: azure.mgmt.compute.operations.GalleryScriptVersionsOperations
:ivar gallery_sharing_profile: GallerySharingProfileOperations operations
:vartype gallery_sharing_profile: azure.mgmt.compute.operations.GallerySharingProfileOperations
:ivar soft_deleted_resource: SoftDeletedResourceOperations operations
Expand Down Expand Up @@ -383,6 +389,10 @@ def __init__(
self.gallery_in_vm_access_control_profile_versions = GalleryInVMAccessControlProfileVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.gallery_scripts = GalleryScriptsOperations(self._client, self._config, self._serialize, self._deserialize)
self.gallery_script_versions = GalleryScriptVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.gallery_sharing_profile = GallerySharingProfileOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -821,13 +821,20 @@ def serialize_basic(cls, data, data_type, **kwargs):
:param str data_type: Type of object in the iterable.
:rtype: str, int, float, bool
:return: serialized object
:raises TypeError: raise if data_type is not one of str, int, float, bool.
"""
custom_serializer = cls._get_custom_serializers(data_type, **kwargs)
if custom_serializer:
return custom_serializer(data)
if data_type == "str":
return cls.serialize_unicode(data)
return eval(data_type)(data) # nosec # pylint: disable=eval-used
if data_type == "int":
return int(data)
if data_type == "float":
return float(data)
if data_type == "bool":
return bool(data)
raise TypeError("Unknown basic data type: {}".format(data_type))

@classmethod
def serialize_unicode(cls, data):
Expand Down Expand Up @@ -1757,7 +1764,7 @@ def deserialize_basic(self, attr, data_type): # pylint: disable=too-many-return
:param str data_type: deserialization data type.
:return: Deserialized basic type.
:rtype: str, int, float or bool
:raises TypeError: if string format is not valid.
:raises TypeError: if string format is not valid or data_type is not one of str, int, float, bool.
"""
# If we're here, data is supposed to be a basic type.
# If it's still an XML node, take the text
Expand All @@ -1783,7 +1790,11 @@ def deserialize_basic(self, attr, data_type): # pylint: disable=too-many-return

if data_type == "str":
return self.deserialize_unicode(attr)
return eval(data_type)(attr) # nosec # pylint: disable=eval-used
if data_type == "int":
return int(attr)
if data_type == "float":
return float(attr)
raise TypeError("Unknown basic data type: {}".format(data_type))

@staticmethod
def deserialize_unicode(data):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "37.1.0"
VERSION = "37.2.0"
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
GalleryImagesOperations,
GalleryInVMAccessControlProfileVersionsOperations,
GalleryInVMAccessControlProfilesOperations,
GalleryScriptVersionsOperations,
GalleryScriptsOperations,
GallerySharingProfileOperations,
ImagesOperations,
LogAnalyticsOperations,
Expand Down Expand Up @@ -201,6 +203,11 @@ class ComputeManagementClient: # pylint: disable=client-accepts-api-version-key
GalleryInVMAccessControlProfileVersionsOperations operations
:vartype gallery_in_vm_access_control_profile_versions:
azure.mgmt.compute.aio.operations.GalleryInVMAccessControlProfileVersionsOperations
:ivar gallery_scripts: GalleryScriptsOperations operations
:vartype gallery_scripts: azure.mgmt.compute.aio.operations.GalleryScriptsOperations
:ivar gallery_script_versions: GalleryScriptVersionsOperations operations
:vartype gallery_script_versions:
azure.mgmt.compute.aio.operations.GalleryScriptVersionsOperations
:ivar gallery_sharing_profile: GallerySharingProfileOperations operations
:vartype gallery_sharing_profile:
azure.mgmt.compute.aio.operations.GallerySharingProfileOperations
Expand Down Expand Up @@ -389,6 +396,10 @@ def __init__(
self.gallery_in_vm_access_control_profile_versions = GalleryInVMAccessControlProfileVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.gallery_scripts = GalleryScriptsOperations(self._client, self._config, self._serialize, self._deserialize)
self.gallery_script_versions = GalleryScriptVersionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.gallery_sharing_profile = GallerySharingProfileOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
from ._gallery_image_versions_operations import GalleryImageVersionsOperations # type: ignore
from ._gallery_in_vm_access_control_profiles_operations import GalleryInVMAccessControlProfilesOperations # type: ignore
from ._gallery_in_vm_access_control_profile_versions_operations import GalleryInVMAccessControlProfileVersionsOperations # type: ignore
from ._gallery_scripts_operations import GalleryScriptsOperations # type: ignore
from ._gallery_script_versions_operations import GalleryScriptVersionsOperations # type: ignore
from ._gallery_sharing_profile_operations import GallerySharingProfileOperations # type: ignore
from ._soft_deleted_resource_operations import SoftDeletedResourceOperations # type: ignore
from ._cloud_service_role_instances_operations import CloudServiceRoleInstancesOperations # type: ignore
Expand Down Expand Up @@ -116,6 +118,8 @@
"GalleryImageVersionsOperations",
"GalleryInVMAccessControlProfilesOperations",
"GalleryInVMAccessControlProfileVersionsOperations",
"GalleryScriptsOperations",
"GalleryScriptVersionsOperations",
"GallerySharingProfileOperations",
"SoftDeletedResourceOperations",
"CloudServiceRoleInstancesOperations",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def get(self, location: str, public_gallery_name: str, **kwargs: Any) -> _
_headers = kwargs.pop("headers", {}) or {}
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-03-03"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2025-03-03"))
cls: ClsType[_models.CommunityGallery] = kwargs.pop("cls", None)

_request = build_get_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def list(
_headers = kwargs.pop("headers", {}) or {}
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-03-03"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2025-03-03"))
cls: ClsType[_models.CommunityGalleryImageVersionList] = kwargs.pop("cls", None)

error_map: MutableMapping = {
Expand Down Expand Up @@ -167,7 +167,7 @@ async def get(
_headers = kwargs.pop("headers", {}) or {}
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-03-03"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2025-03-03"))
cls: ClsType[_models.CommunityGalleryImageVersion] = kwargs.pop("cls", None)

_request = build_get_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def list(
_headers = kwargs.pop("headers", {}) or {}
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-03-03"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2025-03-03"))
cls: ClsType[_models.CommunityGalleryImageList] = kwargs.pop("cls", None)

error_map: MutableMapping = {
Expand Down Expand Up @@ -154,7 +154,7 @@ async def get(
_headers = kwargs.pop("headers", {}) or {}
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-03-03"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2025-03-03"))
cls: ClsType[_models.CommunityGalleryImage] = kwargs.pop("cls", None)

_request = build_get_request(
Expand Down
Loading
Loading