Skip to content

Commit 3c087d6

Browse files
azure-sdk-automation[bot]azure-sdkChenxiJiang333
authored
[AutoPR azure-mgmt-consumption]-generated-from-SDK Generation - Python-6585897 (#48148)
* Configurations: 'specification/consumption/resource-manager/Microsoft.Consumption/Consumption/tspconfig.yaml', API Version: 2024-08-01, SDK Release Type: stable, and CommitSHA: 'cf49df24bee763924bb4d9abceebe4fd1916a6ad' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6585897 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
1 parent 52137a2 commit 3c087d6

5 files changed

Lines changed: 16 additions & 15 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 11.0.0 (2026-07-14)
3+
## 11.0.0 (2026-07-20)
44

55
### Features Added
66

sdk/consumption/azure-mgmt-consumption/_metadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"apiVersions": {
44
"Microsoft.Consumption": "2024-08-01"
55
},
6-
"commit": "f518b20a475b455d615c8b986b45151bdb1e2584",
6+
"commit": "cf49df24bee763924bb4d9abceebe4fd1916a6ad",
77
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
88
"typespec_src": "specification/consumption/resource-manager/Microsoft.Consumption/Consumption",
9-
"emitterVersion": "0.63.2",
10-
"httpClientPythonVersion": "^0.34.1"
9+
"emitterVersion": "0.63.3",
10+
"httpClientPythonVersion": "^0.34.2"
1111
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,5 +172,5 @@
172172
"azure.mgmt.consumption.operations.LotsOperations.list_by_customer": "Microsoft.Consumption.LotsOperationGroup.listByCustomer",
173173
"azure.mgmt.consumption.aio.operations.LotsOperations.list_by_customer": "Microsoft.Consumption.LotsOperationGroup.listByCustomer"
174174
},
175-
"CrossLanguageVersion": "297352fbd5e7"
175+
"CrossLanguageVersion": "6d59b39f8eeb"
176176
}

sdk/consumption/azure-mgmt-consumption/azure/mgmt/consumption/_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:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
directory: specification/consumption/resource-manager/Microsoft.Consumption/Consumption
2-
commit: f518b20a475b455d615c8b986b45151bdb1e2584
2+
commit: cf49df24bee763924bb4d9abceebe4fd1916a6ad
33
repo: Azure/azure-rest-api-specs
44
additionalDirectories:

0 commit comments

Comments
 (0)