Skip to content

Commit 235c3f3

Browse files
[AutoPR azure-mgmt-computelimit]-generated-from-SDK Generation - Python-6354273 (#47148)
* Configurations: 'specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml', API Version: 2026-06-01, SDK Release Type: stable, and CommitSHA: '5376576f4c7cd72c82446ddaab93642c9fad6b6e' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6354273 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update --------- Co-authored-by: Chenxi Jiang (WICRESOFT NORTH AMERICA LTD) <v-chenjiang@microsoft.com>
1 parent d6f1a72 commit 235c3f3

44 files changed

Lines changed: 1873 additions & 150 deletions

Some content is hidden

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

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Release History
22

3+
## 1.1.0 (2026-05-26)
4+
5+
### Features Added
6+
7+
- Client `ComputeLimitMgmtClient` added operation group `vm_families`
8+
- Added model `FeatureEnableRequest`
9+
- Added model `VmFamily`
10+
- Added model `VmFamilyProperties`
11+
- Operation group `FeaturesOperations` added method `begin_disable`
12+
- Added operation group `VmFamiliesOperations`
13+
314
## 1.0.0 (2026-04-17)
415

516
### Features Added

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Computelimit Management Client Library.
4-
This package has been tested with Python 3.9+.
4+
This package has been tested with Python 3.10+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.9+ is required to use this package.
15+
- Python 3.10+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"apiVersion": "2026-03-20",
2+
"apiVersion": "2026-06-01",
33
"apiVersions": {
4-
"Microsoft.ComputeLimit": "2026-03-20"
4+
"Microsoft.ComputeLimit": "2026-06-01"
55
},
6-
"commit": "0fa038c6da5afc7cde4bf7429ca10d0465a3cacd",
6+
"commit": "5376576f4c7cd72c82446ddaab93642c9fad6b6e",
77
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
88
"typespec_src": "specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit",
9-
"emitterVersion": "0.61.3"
9+
"emitterVersion": "0.62.1"
1010
}

sdk/computelimit/azure-mgmt-computelimit/apiview-properties.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"azure.mgmt.computelimit.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
88
"azure.mgmt.computelimit.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
99
"azure.mgmt.computelimit.models.Feature": "Microsoft.ComputeLimit.Feature",
10+
"azure.mgmt.computelimit.models.FeatureEnableRequest": "Microsoft.ComputeLimit.FeatureEnableRequest",
1011
"azure.mgmt.computelimit.models.FeatureProperties": "Microsoft.ComputeLimit.FeatureProperties",
1112
"azure.mgmt.computelimit.models.GuestSubscription": "Microsoft.ComputeLimit.GuestSubscription",
1213
"azure.mgmt.computelimit.models.GuestSubscriptionProperties": "Microsoft.ComputeLimit.GuestSubscriptionProperties",
@@ -17,6 +18,8 @@
1718
"azure.mgmt.computelimit.models.SharedLimit": "Microsoft.ComputeLimit.SharedLimit",
1819
"azure.mgmt.computelimit.models.SharedLimitProperties": "Microsoft.ComputeLimit.SharedLimitProperties",
1920
"azure.mgmt.computelimit.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
21+
"azure.mgmt.computelimit.models.VmFamily": "Microsoft.ComputeLimit.VmFamily",
22+
"azure.mgmt.computelimit.models.VmFamilyProperties": "Microsoft.ComputeLimit.VmFamilyProperties",
2023
"azure.mgmt.computelimit.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
2124
"azure.mgmt.computelimit.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
2225
"azure.mgmt.computelimit.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
@@ -45,6 +48,13 @@
4548
"azure.mgmt.computelimit.operations.FeaturesOperations.list_by_subscription_location_resource": "Microsoft.ComputeLimit.Features.listBySubscriptionLocationResource",
4649
"azure.mgmt.computelimit.aio.operations.FeaturesOperations.list_by_subscription_location_resource": "Microsoft.ComputeLimit.Features.listBySubscriptionLocationResource",
4750
"azure.mgmt.computelimit.operations.FeaturesOperations.begin_enable": "Microsoft.ComputeLimit.Features.enable",
48-
"azure.mgmt.computelimit.aio.operations.FeaturesOperations.begin_enable": "Microsoft.ComputeLimit.Features.enable"
49-
}
51+
"azure.mgmt.computelimit.aio.operations.FeaturesOperations.begin_enable": "Microsoft.ComputeLimit.Features.enable",
52+
"azure.mgmt.computelimit.operations.FeaturesOperations.begin_disable": "Microsoft.ComputeLimit.Features.disable",
53+
"azure.mgmt.computelimit.aio.operations.FeaturesOperations.begin_disable": "Microsoft.ComputeLimit.Features.disable",
54+
"azure.mgmt.computelimit.operations.VmFamiliesOperations.get": "Microsoft.ComputeLimit.VmFamilies.get",
55+
"azure.mgmt.computelimit.aio.operations.VmFamiliesOperations.get": "Microsoft.ComputeLimit.VmFamilies.get",
56+
"azure.mgmt.computelimit.operations.VmFamiliesOperations.list_by_subscription_location_resource": "Microsoft.ComputeLimit.VmFamilies.listBySubscriptionLocationResource",
57+
"azure.mgmt.computelimit.aio.operations.VmFamiliesOperations.list_by_subscription_location_resource": "Microsoft.ComputeLimit.VmFamilies.listBySubscriptionLocationResource"
58+
},
59+
"CrossLanguageVersion": "a2c5e8f9f115"
5060
}

sdk/computelimit/azure-mgmt-computelimit/azure/mgmt/computelimit/_client.py

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# --------------------------------------------------------------------------
88

99
from copy import deepcopy
10+
import sys
1011
from typing import Any, Optional, TYPE_CHECKING, cast
11-
from typing_extensions import Self
1212

1313
from azure.core.pipeline import policies
1414
from azure.core.rest import HttpRequest, HttpResponse
@@ -19,7 +19,18 @@
1919

2020
from ._configuration import ComputeLimitMgmtClientConfiguration
2121
from ._utils.serialization import Deserializer, Serializer
22-
from .operations import FeaturesOperations, GuestSubscriptionsOperations, Operations, SharedLimitsOperations
22+
from .operations import (
23+
FeaturesOperations,
24+
GuestSubscriptionsOperations,
25+
Operations,
26+
SharedLimitsOperations,
27+
VmFamiliesOperations,
28+
)
29+
30+
if sys.version_info >= (3, 11):
31+
from typing import Self
32+
else:
33+
from typing_extensions import Self # type: ignore
2334

2435
if TYPE_CHECKING:
2536
from azure.core import AzureClouds
@@ -37,6 +48,8 @@ class ComputeLimitMgmtClient:
3748
:vartype shared_limits: azure.mgmt.computelimit.operations.SharedLimitsOperations
3849
:ivar features: FeaturesOperations operations
3950
:vartype features: azure.mgmt.computelimit.operations.FeaturesOperations
51+
:ivar vm_families: VmFamiliesOperations operations
52+
:vartype vm_families: azure.mgmt.computelimit.operations.VmFamiliesOperations
4053
:param credential: Credential used to authenticate requests to the service. Required.
4154
:type credential: ~azure.core.credentials.TokenCredential
4255
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
@@ -46,9 +59,9 @@ class ComputeLimitMgmtClient:
4659
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
4760
None.
4861
:paramtype cloud_setting: ~azure.core.AzureClouds
49-
:keyword api_version: The API version to use for this operation. Known values are "2026-03-20".
50-
Default value is "2026-03-20". Note that overriding this default value may result in
51-
unsupported behavior.
62+
:keyword api_version: The API version to use for this operation. Known values are "2026-06-01"
63+
and None. Default value is None. If not set, the operation's default API version will be used.
64+
Note that overriding this default value may result in unsupported behavior.
5265
:paramtype api_version: str
5366
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
5467
Retry-After header is present.
@@ -107,6 +120,7 @@ def __init__(
107120
)
108121
self.shared_limits = SharedLimitsOperations(self._client, self._config, self._serialize, self._deserialize)
109122
self.features = FeaturesOperations(self._client, self._config, self._serialize, self._deserialize)
123+
self.vm_families = VmFamiliesOperations(self._client, self._config, self._serialize, self._deserialize)
110124

111125
def send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:
112126
"""Runs the network request through the client's chained policies.

sdk/computelimit/azure-mgmt-computelimit/azure/mgmt/computelimit/_configuration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ class ComputeLimitMgmtClientConfiguration: # pylint: disable=too-many-instance-
3333
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
3434
None.
3535
:type cloud_setting: ~azure.core.AzureClouds
36-
:keyword api_version: The API version to use for this operation. Known values are "2026-03-20".
37-
Default value is "2026-03-20". Note that overriding this default value may result in
38-
unsupported behavior.
36+
:keyword api_version: The API version to use for this operation. Known values are "2026-06-01"
37+
and None. Default value is None. If not set, the operation's default API version will be used.
38+
Note that overriding this default value may result in unsupported behavior.
3939
:paramtype api_version: str
4040
"""
4141

@@ -47,7 +47,7 @@ def __init__(
4747
cloud_setting: Optional["AzureClouds"] = None,
4848
**kwargs: Any
4949
) -> None:
50-
api_version: str = kwargs.pop("api_version", "2026-03-20")
50+
api_version: str = kwargs.pop("api_version", "2026-06-01")
5151

5252
if credential is None:
5353
raise ValueError("Parameter 'credential' must not be None.")

sdk/computelimit/azure-mgmt-computelimit/azure/mgmt/computelimit/_patch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
99
"""
1010

11-
1211
__all__: list[str] = [] # Add all objects you want publicly available to users at this package level
1312

1413

0 commit comments

Comments
 (0)