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

## 2.0.0 (2026-07-29)

### Features Added

- Added model `TrackedResource`

### Breaking Changes

- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
- Renamed enum `IdentityType` to `CreatedByType`
- Deleted or renamed client `PowerBIDedicated`
- Model `AutoScaleVCore` moved instance variable `capacity_limit`, `capacity_object_id` and `provisioning_state` under property `properties` whose type is `AutoScaleVCoreProperties`
- Model `AutoScaleVCoreUpdateParameters` moved instance variable `capacity_limit` under property `properties` whose type is `AutoScaleVCoreMutableProperties`
- Model `DedicatedCapacity` moved instance variable `administration`, `friendly_name`, `mode`, `provisioning_state`, `state` and `tenant_id` under property `properties` whose type is `DedicatedCapacityProperties`
- Model `DedicatedCapacityUpdateParameters` moved instance variable `administration`, `friendly_name`, `mode` and `tenant_id` under property `properties` whose type is `DedicatedCapacityMutableProperties`
- Model `Resource` deleted or renamed its instance variable `location`
- Model `Resource` deleted or renamed its instance variable `tags`

### Other Changes

- Deleted model `AutoScaleVCoreListResult`/`DedicatedCapacities`/`OperationListResult` which actually were not used by SDK users

## 1.1.0b2 (2026-07-06)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"apiVersions": {
"Microsoft.PowerBIDedicated": "2021-01-01"
},
"commit": "3d1de464b5576fa149aed429795f6030313e31bb",
"commit": "801a60cdad2669e8f824fedfbabbfe7f7093b940",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/PowerBIDedicated",
"emitterVersion": "0.63.2",
"httpClientPythonVersion": "^0.34.0"
"emitterVersion": "0.63.3",
"httpClientPythonVersion": "^0.34.2"
}
102 changes: 0 additions & 102 deletions sdk/powerbidedicated/azure-mgmt-powerbidedicated/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1242,15 +1242,6 @@ namespace azure.mgmt.powerbidedicated.types
type: str


class azure.mgmt.powerbidedicated.types.CheckCapacityNameAvailabilityResult(TypedDict, total=False):
key "message": str
key "nameAvailable": bool
key "reason": str
message: str
name_available: bool
reason: str


class azure.mgmt.powerbidedicated.types.DedicatedCapacity(TrackedResource):
key "id": str
key "location": Required[str]
Expand Down Expand Up @@ -1307,77 +1298,6 @@ namespace azure.mgmt.powerbidedicated.types
tags: dict[str, str]


class azure.mgmt.powerbidedicated.types.ErrorResponse(TypedDict, total=False):
key "error": ForwardRef('ErrorResponseError', module='types')
error: ErrorResponseError


class azure.mgmt.powerbidedicated.types.ErrorResponseError(TypedDict, total=False):
key "code": str
key "message": str
code: str
message: str


class azure.mgmt.powerbidedicated.types.LogSpecification(TypedDict, total=False):
key "blobDuration": str
key "displayName": str
key "name": str
blob_duration: str
display_name: str
name: str


class azure.mgmt.powerbidedicated.types.MetricSpecification(TypedDict, total=False):
key "aggregationType": str
key "displayDescription": str
key "displayName": str
key "metricFilterPattern": str
key "name": str
key "unit": str
aggregation_type: str
dimensions: list[MetricSpecificationDimensionsItem]
display_description: str
display_name: str
metric_filter_pattern: str
name: str
unit: str


class azure.mgmt.powerbidedicated.types.MetricSpecificationDimensionsItem(TypedDict, total=False):
key "displayName": str
key "name": str
display_name: str
name: str


class azure.mgmt.powerbidedicated.types.Operation(TypedDict, total=False):
key "display": ForwardRef('OperationDisplay', module='types')
key "name": str
key "origin": str
key "properties": ForwardRef('OperationProperties', module='types')
display: OperationDisplay
name: str
origin: str
properties: OperationProperties


class azure.mgmt.powerbidedicated.types.OperationDisplay(TypedDict, total=False):
key "description": str
key "operation": str
key "provider": str
key "resource": str
description: str
operation: str
provider: str
resource: str


class azure.mgmt.powerbidedicated.types.OperationProperties(TypedDict, total=False):
key "serviceSpecification": ForwardRef('ServiceSpecification', module='types')
service_specification: ServiceSpecification


class azure.mgmt.powerbidedicated.types.Resource(TypedDict, total=False):
key "id": str
key "name": str
Expand All @@ -1389,28 +1309,6 @@ namespace azure.mgmt.powerbidedicated.types
type: str


class azure.mgmt.powerbidedicated.types.ServiceSpecification(TypedDict, total=False):
logSpecifications: list[LogSpecification]
log_specifications: list[LogSpecification]
metricSpecifications: list[MetricSpecification]
metric_specifications: list[MetricSpecification]


class azure.mgmt.powerbidedicated.types.SkuDetailsForExistingResource(TypedDict, total=False):
key "resourceType": str
key "sku": ForwardRef('CapacitySku', module='types')
resource_type: str
sku: CapacitySku


class azure.mgmt.powerbidedicated.types.SkuEnumerationForExistingResourceResult(TypedDict, total=False):
value: list[SkuDetailsForExistingResource]


class azure.mgmt.powerbidedicated.types.SkuEnumerationForNewResourceResult(TypedDict, total=False):
value: list[CapacitySku]


class azure.mgmt.powerbidedicated.types.SystemData(TypedDict, total=False):
key "createdAt": str
key "createdBy": str
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
apiMdSha256: f2938ae3a73837e011db46c89ff88aeef854d2eb35fae1f25c78ed33b87bb1c9
parserVersion: 0.3.28
pythonVersion: 3.13.13
apiMdSha256: 5e94e62b3c66c3823e70a5435ba469efde1ebcd85a0c3888e4d4fe7c85680246
parserVersion: 0.3.30
pythonVersion: 3.13.14
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@
"azure.mgmt.powerbidedicated.operations.AutoScaleVCoresOperations.list_by_subscription": "Microsoft.PowerBIDedicated.AutoScaleVCores.listBySubscription",
"azure.mgmt.powerbidedicated.aio.operations.AutoScaleVCoresOperations.list_by_subscription": "Microsoft.PowerBIDedicated.AutoScaleVCores.listBySubscription"
},
"CrossLanguageVersion": "b30688221632"
"CrossLanguageVersion": "b31965f7c3b6"
}
Original file line number Diff line number Diff line change
Expand Up @@ -458,21 +458,21 @@ def __ne__(self, other: typing.Any) -> bool:

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

def values(self) -> typing.ValuesView[typing.Any]:
"""
:returns: an object providing a view on D's values
:returns: an object providing a view on the mapping's values
:rtype: ~typing.ValuesView
"""
return self._data.values()

def items(self) -> typing.ItemsView[str, typing.Any]:
"""
:returns: set-like object providing a view on D's items
:returns: a set-like object providing a view on the mapping's items
:rtype: ~typing.ItemsView
"""
return self._data.items()
Expand All @@ -482,7 +482,7 @@ def get(self, key: str, default: typing.Any = None) -> typing.Any:
Get the value for key if key is in the dictionary, else default.
:param str key: The key to look up.
:param any default: The value to return if key is not in the dictionary. Defaults to None
:returns: D[k] if k in D, else d.
:returns: The value for key if key is in the dictionary, else default.
:rtype: any
"""
try:
Expand Down Expand Up @@ -517,19 +517,19 @@ def popitem(self) -> tuple[str, typing.Any]:
Removes and returns some (key, value) pair
:returns: The (key, value) pair.
:rtype: tuple
:raises KeyError: if D is empty.
:raises KeyError: if the dictionary is empty.
"""
return self._data.popitem()

def clear(self) -> None:
"""
Remove all items from D.
Remove all items from the dictionary.
"""
self._data.clear()

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

def setdefault(self, key: str, default: typing.Any = _UNSET) -> typing.Any:
"""
Same as calling D.get(k, d), and setting D[k]=d if k not found
Return the value for key if key is in the dictionary; otherwise set the key to
default and return default.
:param str key: The key to look up.
:param any default: The value to set if key is not in the dictionary
:returns: D[k] if k in D, else d.
:returns: The value for key if key is in the dictionary, else default.
:rtype: any
"""
if default is _UNSET:
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 = "1.1.0b2"
VERSION = "2.0.0"
Loading
Loading