Skip to content

Commit bbfbf0c

Browse files
azure-sdk-automation[bot]azure-sdkChenxiJiang333msyyc
authored
[AutoPR azure-mgmt-computelimit]-generated-from-SDK Generation - Python-6578332 (#48102)
* Configurations: 'specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml', SDK Release Type: stable, and CommitSHA: '33edaba41251144ab48a9ba923a61697f81b1aa8' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6576355 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: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0aa8b94f-cac1-4ffa-be8e-3f89f3a686d0 * Configurations: 'specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml', SDK Release Type: stable, and CommitSHA: 'a2a5cf5a89a76c03890fec7ab64988d55c572b5c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6578332 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: Chenxi Jiang (WICRESOFT NORTH AMERICA LTD) <v-chenjiang@microsoft.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
1 parent b4edba7 commit bbfbf0c

51 files changed

Lines changed: 1715 additions & 131 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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Release History
22

3+
## 1.3.0 (2026-07-17)
4+
5+
### Features Added
6+
7+
- Client `ComputeLimitMgmtClient` added operation group `trusted_host_subscriptions`
8+
- Added model `TrustedHostSubscription`
9+
- Added operation group `TrustedHostSubscriptionsOperations`
10+
311
## 1.2.1 (2026-07-07)
412

513
### Other Changes
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"apiVersion": "2026-07-01",
2+
"apiVersion": "2026-07-31",
33
"apiVersions": {
4-
"Microsoft.ComputeLimit": "2026-07-01"
4+
"Microsoft.ComputeLimit": "2026-07-31"
55
},
6-
"commit": "723a657f70e944d62515f29a59a914ab911dc32c",
6+
"commit": "a2a5cf5a89a76c03890fec7ab64988d55c572b5c",
77
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
88
"typespec_src": "specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit",
9-
"emitterVersion": "0.63.2",
10-
"httpClientPythonVersion": "^0.34.1"
9+
"emitterVersion": "0.63.3",
10+
"httpClientPythonVersion": "^0.34.2"
1111
}

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

Lines changed: 178 additions & 22 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
apiMdSha256: d1b3b06ccae9f908925c5895d676a4a1516d1634b6823252a256a503f434b370
1+
apiMdSha256: e87832dc6ca9b9209e7cfefa3014c8c9a3a14542eb46ce77d958a0960d411dae
22
parserVersion: 0.3.28
33
pythonVersion: 3.13.14

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"azure.mgmt.computelimit.models.SharedLimitCapProperties": "Microsoft.ComputeLimit.SharedLimitCapProperties",
2626
"azure.mgmt.computelimit.models.SharedLimitProperties": "Microsoft.ComputeLimit.SharedLimitProperties",
2727
"azure.mgmt.computelimit.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
28+
"azure.mgmt.computelimit.models.TrustedHostSubscription": "Microsoft.ComputeLimit.TrustedHostSubscription",
2829
"azure.mgmt.computelimit.models.VmFamily": "Microsoft.ComputeLimit.VmFamily",
2930
"azure.mgmt.computelimit.models.VmFamilyProperties": "Microsoft.ComputeLimit.VmFamilyProperties",
3031
"azure.mgmt.computelimit.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
@@ -42,6 +43,14 @@
4243
"azure.mgmt.computelimit.aio.operations.GuestSubscriptionsOperations.delete": "Microsoft.ComputeLimit.GuestSubscriptions.delete",
4344
"azure.mgmt.computelimit.operations.GuestSubscriptionsOperations.list_by_subscription_location_resource": "Microsoft.ComputeLimit.GuestSubscriptions.listBySubscriptionLocationResource",
4445
"azure.mgmt.computelimit.aio.operations.GuestSubscriptionsOperations.list_by_subscription_location_resource": "Microsoft.ComputeLimit.GuestSubscriptions.listBySubscriptionLocationResource",
46+
"azure.mgmt.computelimit.operations.TrustedHostSubscriptionsOperations.create": "Microsoft.ComputeLimit.TrustedHostSubscriptions.create",
47+
"azure.mgmt.computelimit.aio.operations.TrustedHostSubscriptionsOperations.create": "Microsoft.ComputeLimit.TrustedHostSubscriptions.create",
48+
"azure.mgmt.computelimit.operations.TrustedHostSubscriptionsOperations.get": "Microsoft.ComputeLimit.TrustedHostSubscriptions.get",
49+
"azure.mgmt.computelimit.aio.operations.TrustedHostSubscriptionsOperations.get": "Microsoft.ComputeLimit.TrustedHostSubscriptions.get",
50+
"azure.mgmt.computelimit.operations.TrustedHostSubscriptionsOperations.delete": "Microsoft.ComputeLimit.TrustedHostSubscriptions.delete",
51+
"azure.mgmt.computelimit.aio.operations.TrustedHostSubscriptionsOperations.delete": "Microsoft.ComputeLimit.TrustedHostSubscriptions.delete",
52+
"azure.mgmt.computelimit.operations.TrustedHostSubscriptionsOperations.list_by_subscription_location_resource": "Microsoft.ComputeLimit.TrustedHostSubscriptions.listBySubscriptionLocationResource",
53+
"azure.mgmt.computelimit.aio.operations.TrustedHostSubscriptionsOperations.list_by_subscription_location_resource": "Microsoft.ComputeLimit.TrustedHostSubscriptions.listBySubscriptionLocationResource",
4554
"azure.mgmt.computelimit.operations.SharedLimitsOperations.get": "Microsoft.ComputeLimit.SharedLimits.get",
4655
"azure.mgmt.computelimit.aio.operations.SharedLimitsOperations.get": "Microsoft.ComputeLimit.SharedLimits.get",
4756
"azure.mgmt.computelimit.operations.SharedLimitsOperations.create": "Microsoft.ComputeLimit.SharedLimits.create",
@@ -81,5 +90,5 @@
8190
"azure.mgmt.computelimit.operations.MemberCapOverridesOperations.list_by_parent": "Microsoft.ComputeLimit.MemberCapOverrides.listByParent",
8291
"azure.mgmt.computelimit.aio.operations.MemberCapOverridesOperations.list_by_parent": "Microsoft.ComputeLimit.MemberCapOverrides.listByParent"
8392
},
84-
"CrossLanguageVersion": "b7b6a993f3b0"
93+
"CrossLanguageVersion": "62a2471f49fc"
8594
}

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
Operations,
2727
SharedLimitCapsOperations,
2828
SharedLimitsOperations,
29+
TrustedHostSubscriptionsOperations,
2930
VmFamiliesOperations,
3031
)
3132

@@ -46,6 +47,9 @@ class ComputeLimitMgmtClient: # pylint: disable=too-many-instance-attributes
4647
:vartype operations: azure.mgmt.computelimit.operations.Operations
4748
:ivar guest_subscriptions: GuestSubscriptionsOperations operations
4849
:vartype guest_subscriptions: azure.mgmt.computelimit.operations.GuestSubscriptionsOperations
50+
:ivar trusted_host_subscriptions: TrustedHostSubscriptionsOperations operations
51+
:vartype trusted_host_subscriptions:
52+
azure.mgmt.computelimit.operations.TrustedHostSubscriptionsOperations
4953
:ivar shared_limits: SharedLimitsOperations operations
5054
:vartype shared_limits: azure.mgmt.computelimit.operations.SharedLimitsOperations
5155
:ivar features: FeaturesOperations operations
@@ -65,7 +69,7 @@ class ComputeLimitMgmtClient: # pylint: disable=too-many-instance-attributes
6569
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
6670
None.
6771
:paramtype cloud_setting: ~azure.core.AzureClouds
68-
:keyword api_version: The API version to use for this operation. Known values are "2026-07-01"
72+
:keyword api_version: The API version to use for this operation. Known values are "2026-07-31"
6973
and None. Default value is None. If not set, the operation's default API version will be used.
7074
Note that overriding this default value may result in unsupported behavior.
7175
:paramtype api_version: str
@@ -124,6 +128,9 @@ def __init__(
124128
self.guest_subscriptions = GuestSubscriptionsOperations(
125129
self._client, self._config, self._serialize, self._deserialize
126130
)
131+
self.trusted_host_subscriptions = TrustedHostSubscriptionsOperations(
132+
self._client, self._config, self._serialize, self._deserialize
133+
)
127134
self.shared_limits = SharedLimitsOperations(self._client, self._config, self._serialize, self._deserialize)
128135
self.features = FeaturesOperations(self._client, self._config, self._serialize, self._deserialize)
129136
self.vm_families = VmFamiliesOperations(self._client, self._config, self._serialize, self._deserialize)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ 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-07-01"
36+
:keyword api_version: The API version to use for this operation. Known values are "2026-07-31"
3737
and None. Default value is None. If not set, the operation's default API version will be used.
3838
Note that overriding this default value may result in unsupported behavior.
3939
:paramtype api_version: str
@@ -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-07-01")
50+
api_version: str = kwargs.pop("api_version", "2026-07-31")
5151

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

sdk/computelimit/azure-mgmt-computelimit/azure/mgmt/computelimit/_utils/model_base.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -458,21 +458,21 @@ def __ne__(self, other: typing.Any) -> bool:
458458

459459
def keys(self) -> typing.KeysView[str]:
460460
"""
461-
:returns: a set-like object providing a view on D's keys
461+
:returns: a set-like object providing a view on the mapping's keys
462462
:rtype: ~typing.KeysView
463463
"""
464464
return self._data.keys()
465465

466466
def values(self) -> typing.ValuesView[typing.Any]:
467467
"""
468-
:returns: an object providing a view on D's values
468+
:returns: an object providing a view on the mapping's values
469469
:rtype: ~typing.ValuesView
470470
"""
471471
return self._data.values()
472472

473473
def items(self) -> typing.ItemsView[str, typing.Any]:
474474
"""
475-
:returns: set-like object providing a view on D's items
475+
:returns: a set-like object providing a view on the mapping's items
476476
:rtype: ~typing.ItemsView
477477
"""
478478
return self._data.items()
@@ -482,7 +482,7 @@ def get(self, key: str, default: typing.Any = None) -> typing.Any:
482482
Get the value for key if key is in the dictionary, else default.
483483
:param str key: The key to look up.
484484
:param any default: The value to return if key is not in the dictionary. Defaults to None
485-
:returns: D[k] if k in D, else d.
485+
:returns: The value for key if key is in the dictionary, else default.
486486
:rtype: any
487487
"""
488488
try:
@@ -517,19 +517,19 @@ def popitem(self) -> tuple[str, typing.Any]:
517517
Removes and returns some (key, value) pair
518518
:returns: The (key, value) pair.
519519
:rtype: tuple
520-
:raises KeyError: if D is empty.
520+
:raises KeyError: if the dictionary is empty.
521521
"""
522522
return self._data.popitem()
523523

524524
def clear(self) -> None:
525525
"""
526-
Remove all items from D.
526+
Remove all items from the dictionary.
527527
"""
528528
self._data.clear()
529529

530530
def update(self, *args: typing.Any, **kwargs: typing.Any) -> None: # pylint: disable=arguments-differ
531531
"""
532-
Updates D from mapping/iterable E and F.
532+
Update the dictionary from a mapping or an iterable of key-value pairs.
533533
:param any args: Either a mapping object or an iterable of key-value pairs.
534534
"""
535535
self._data.update(*args, **kwargs)
@@ -542,10 +542,11 @@ def setdefault(self, key: str, default: typing.Any) -> typing.Any: ... # pylint
542542

543543
def setdefault(self, key: str, default: typing.Any = _UNSET) -> typing.Any:
544544
"""
545-
Same as calling D.get(k, d), and setting D[k]=d if k not found
545+
Return the value for key if key is in the dictionary; otherwise set the key to
546+
default and return default.
546547
:param str key: The key to look up.
547548
:param any default: The value to set if key is not in the dictionary
548-
:returns: D[k] if k in D, else d.
549+
:returns: The value for key if key is in the dictionary, else default.
549550
:rtype: any
550551
"""
551552
if default is _UNSET:

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

Lines changed: 1 addition & 1 deletion
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 = "1.2.1"
9+
VERSION = "1.3.0"

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
Operations,
2727
SharedLimitCapsOperations,
2828
SharedLimitsOperations,
29+
TrustedHostSubscriptionsOperations,
2930
VmFamiliesOperations,
3031
)
3132

@@ -47,6 +48,9 @@ class ComputeLimitMgmtClient: # pylint: disable=too-many-instance-attributes
4748
:ivar guest_subscriptions: GuestSubscriptionsOperations operations
4849
:vartype guest_subscriptions:
4950
azure.mgmt.computelimit.aio.operations.GuestSubscriptionsOperations
51+
:ivar trusted_host_subscriptions: TrustedHostSubscriptionsOperations operations
52+
:vartype trusted_host_subscriptions:
53+
azure.mgmt.computelimit.aio.operations.TrustedHostSubscriptionsOperations
5054
:ivar shared_limits: SharedLimitsOperations operations
5155
:vartype shared_limits: azure.mgmt.computelimit.aio.operations.SharedLimitsOperations
5256
:ivar features: FeaturesOperations operations
@@ -67,7 +71,7 @@ class ComputeLimitMgmtClient: # pylint: disable=too-many-instance-attributes
6771
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
6872
None.
6973
:paramtype cloud_setting: ~azure.core.AzureClouds
70-
:keyword api_version: The API version to use for this operation. Known values are "2026-07-01"
74+
:keyword api_version: The API version to use for this operation. Known values are "2026-07-31"
7175
and None. Default value is None. If not set, the operation's default API version will be used.
7276
Note that overriding this default value may result in unsupported behavior.
7377
:paramtype api_version: str
@@ -128,6 +132,9 @@ def __init__(
128132
self.guest_subscriptions = GuestSubscriptionsOperations(
129133
self._client, self._config, self._serialize, self._deserialize
130134
)
135+
self.trusted_host_subscriptions = TrustedHostSubscriptionsOperations(
136+
self._client, self._config, self._serialize, self._deserialize
137+
)
131138
self.shared_limits = SharedLimitsOperations(self._client, self._config, self._serialize, self._deserialize)
132139
self.features = FeaturesOperations(self._client, self._config, self._serialize, self._deserialize)
133140
self.vm_families = VmFamiliesOperations(self._client, self._config, self._serialize, self._deserialize)

0 commit comments

Comments
 (0)