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

## 1.1.0b2 (2026-09-16)

### Breaking Changes

- `FabricCapacityProperties.overage` is now required.

## 1.1.0b1 (2026-08-07)

### Features Added
Expand Down
10 changes: 5 additions & 5 deletions sdk/fabric/azure-mgmt-fabric/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"apiVersion": "2026-08-01-preview",
"apiVersion": "2026-09-01-preview",
"apiVersions": {
"Microsoft.Fabric": "2026-08-01-preview"
"Microsoft.Fabric": "2026-09-01-preview"
},
"commit": "2c275e5b4f834495b2dc99c0ed162436f38686bd",
"commit": "a5f26c6c3fb4ee06fdfaf038cb10af909ace7551",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/fabric/resource-manager/Microsoft.Fabric/Fabric",
"emitterVersion": "0.63.3",
"httpClientPythonVersion": "^0.35.1"
"emitterVersion": "0.63.7",
"httpClientPythonVersion": "^0.37.2"
}
10 changes: 5 additions & 5 deletions sdk/fabric/azure-mgmt-fabric/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ namespace azure.mgmt.fabric.aio.operations
) -> AsyncItemPaged[RpSkuDetailsForExistingResource]: ...

@distributed_trace
@api_version_validation(method_added_on='2025-01-15-preview', params_added_on={'2025-01-15-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2025-01-15-preview', '2026-08-01-preview'])
@api_version_validation(method_added_on='2025-01-15-preview', params_added_on={'2025-01-15-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2025-01-15-preview', '2026-09-01-preview'])
def list_usages(
self,
location: str,
Expand Down Expand Up @@ -377,7 +377,7 @@ namespace azure.mgmt.fabric.models

class azure.mgmt.fabric.models.FabricCapacityProperties(_Model):
administration: CapacityAdministration
overage: Optional[CapacityOverageProperties]
overage: CapacityOverageProperties
provisioning_state: Optional[Union[str, ProvisioningState]]
state: Optional[Union[str, ResourceState]]

Expand All @@ -386,7 +386,7 @@ namespace azure.mgmt.fabric.models
self,
*,
administration: CapacityAdministration,
overage: Optional[CapacityOverageProperties] = ...
overage: CapacityOverageProperties
) -> None: ...

@overload
Expand Down Expand Up @@ -782,7 +782,7 @@ namespace azure.mgmt.fabric.operations
) -> ItemPaged[RpSkuDetailsForExistingResource]: ...

@distributed_trace
@api_version_validation(method_added_on='2025-01-15-preview', params_added_on={'2025-01-15-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2025-01-15-preview', '2026-08-01-preview'])
@api_version_validation(method_added_on='2025-01-15-preview', params_added_on={'2025-01-15-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2025-01-15-preview', '2026-09-01-preview'])
def list_usages(
self,
location: str,
Expand Down Expand Up @@ -843,7 +843,7 @@ namespace azure.mgmt.fabric.types

class azure.mgmt.fabric.types.FabricCapacityProperties(TypedDict, total=False):
key "administration": Required[CapacityAdministration]
key "overage": ForwardRef('CapacityOverageProperties', module='types')
key "overage": Required[CapacityOverageProperties]
key "provisioningState": Union[str, ProvisioningState]
key "state": Union[str, ResourceState]
administration: CapacityAdministration
Expand Down
5 changes: 3 additions & 2 deletions sdk/fabric/azure-mgmt-fabric/api.metadata.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
apiMdSha256: 2021a2478c67c545e0a55c0cf11de33f89352614be3c4c2a8935627ea6039951
apiMdSha256: 65e0e798c7a81fe996c8e661deb4d1a4165bda081ee9b49c566620ebaf1356b1
packageVersion: 1.1.0b2
parserVersion: 0.3.31
pythonVersion: 3.13.14
pythonVersion: 3.13.15
2 changes: 1 addition & 1 deletion sdk/fabric/azure-mgmt-fabric/apiview-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@
"azure.mgmt.fabric.operations.Operations.list": "Azure.ResourceManager.Operations.list",
"azure.mgmt.fabric.aio.operations.Operations.list": "Azure.ResourceManager.Operations.list"
},
"CrossLanguageVersion": "663845fadb51"
"CrossLanguageVersion": "d892c3a8be5e"
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class FabricMgmtClient: # pylint: disable=docstring-keyword-should-match-keywor
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are
"2026-08-01-preview" and None. Default value is None. If not set, the operation's default API
"2026-09-01-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class FabricMgmtClientConfiguration: # pylint: disable=too-many-instance-attrib
None.
:type cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are
"2026-08-01-preview" and None. Default value is None. If not set, the operation's default API
"2026-09-01-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
Expand All @@ -49,7 +49,7 @@ def __init__(
cloud_setting: Optional["AzureClouds"] = None,
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2026-08-01-preview")
api_version: str = kwargs.pop("api_version", "2026-09-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
1 change: 0 additions & 1 deletion sdk/fabric/azure-mgmt-fabric/azure/mgmt/fabric/_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
"""


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


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.0b1"
VERSION = "1.1.0b2"
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class FabricMgmtClient: # pylint: disable=docstring-keyword-should-match-keywor
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are
"2026-08-01-preview" and None. Default value is None. If not set, the operation's default API
"2026-09-01-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class FabricMgmtClientConfiguration: # pylint: disable=too-many-instance-attrib
None.
:type cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are
"2026-08-01-preview" and None. Default value is None. If not set, the operation's default API
"2026-09-01-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
Expand All @@ -49,7 +49,7 @@ def __init__(
cloud_setting: Optional["AzureClouds"] = None,
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2026-08-01-preview")
api_version: str = kwargs.pop("api_version", "2026-09-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
"""


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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,7 @@ async def get_next(next_link=None):
@api_version_validation(
method_added_on="2025-01-15-preview",
params_added_on={"2025-01-15-preview": ["api_version", "subscription_id", "location", "accept"]},
api_versions_list=["2025-01-15-preview", "2026-08-01-preview"],
api_versions_list=["2025-01-15-preview", "2026-09-01-preview"],
)
def list_usages(self, location: str, **kwargs: Any) -> AsyncItemPaged["_models.Quota"]:
"""List the current consumption and limit in this location for the provided subscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
"""


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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class FabricCapacityProperties(_Model): # pylint: disable=docstring-keyword-sho
"Updating", "Deleting", "Suspending", "Suspended", "Pausing", "Paused", "Resuming", "Scaling",
and "Preparing".
:vartype state: str or ~azure.mgmt.fabric.models.ResourceState
:ivar overage: The capacity overage properties of the Fabric capacity resource.
:ivar overage: The capacity overage properties of the Fabric capacity resource. Required.
:vartype overage: ~azure.mgmt.fabric.models.CapacityOverageProperties
:ivar administration: The capacity administration. Required.
:vartype administration: ~azure.mgmt.fabric.models.CapacityAdministration
Expand All @@ -388,10 +388,10 @@ class FabricCapacityProperties(_Model): # pylint: disable=docstring-keyword-sho
resource provisioning. Known values are: \"Active\", \"Provisioning\", \"Failed\",
\"Updating\", \"Deleting\", \"Suspending\", \"Suspended\", \"Pausing\", \"Paused\",
\"Resuming\", \"Scaling\", and \"Preparing\"."""
overage: Optional["_models.CapacityOverageProperties"] = rest_field(
overage: "_models.CapacityOverageProperties" = rest_field(
visibility=["read", "create", "update", "delete", "query"]
)
"""The capacity overage properties of the Fabric capacity resource."""
"""The capacity overage properties of the Fabric capacity resource. Required."""
administration: "_models.CapacityAdministration" = rest_field(
visibility=["read", "create", "update", "delete", "query"]
)
Expand All @@ -401,8 +401,8 @@ class FabricCapacityProperties(_Model): # pylint: disable=docstring-keyword-sho
def __init__(
self,
*,
overage: "_models.CapacityOverageProperties",
administration: "_models.CapacityAdministration",
overage: Optional["_models.CapacityOverageProperties"] = None,
) -> None: ...

@overload
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
"""


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


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

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -81,7 +81,7 @@ def build_fabric_capacities_create_or_update_request( # pylint: disable=name-to
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -112,7 +112,7 @@ def build_fabric_capacities_update_request(
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -141,7 +141,7 @@ def build_fabric_capacities_delete_request(
) -> HttpRequest:
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
# Construct URL
_url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}"
path_format_arguments = {
Expand All @@ -164,7 +164,7 @@ def build_fabric_capacities_list_by_resource_group_request( # pylint: disable=n
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand All @@ -191,7 +191,7 @@ def build_fabric_capacities_list_by_subscription_request( # pylint: disable=nam
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand All @@ -216,7 +216,7 @@ def build_fabric_capacities_resume_request(
) -> HttpRequest:
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
# Construct URL
_url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}/resume"
path_format_arguments = {
Expand All @@ -238,7 +238,7 @@ def build_fabric_capacities_suspend_request(
) -> HttpRequest:
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
# Construct URL
_url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}/suspend"
path_format_arguments = {
Expand All @@ -262,7 +262,7 @@ def build_fabric_capacities_check_name_availability_request( # pylint: disable=
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -291,7 +291,7 @@ def build_fabric_capacities_list_skus_for_capacity_request( # pylint: disable=n
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -319,7 +319,7 @@ def build_fabric_capacities_list_skus_request( # pylint: disable=name-too-long
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand All @@ -345,7 +345,7 @@ def build_fabric_capacities_list_usages_request( # pylint: disable=name-too-lon
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand All @@ -370,7 +370,7 @@ def build_operations_list_request(**kwargs: Any) -> HttpRequest:
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -1847,7 +1847,7 @@ def get_next(next_link=None):
@api_version_validation(
method_added_on="2025-01-15-preview",
params_added_on={"2025-01-15-preview": ["api_version", "subscription_id", "location", "accept"]},
api_versions_list=["2025-01-15-preview", "2026-08-01-preview"],
api_versions_list=["2025-01-15-preview", "2026-09-01-preview"],
)
def list_usages(self, location: str, **kwargs: Any) -> ItemPaged["_models.Quota"]:
"""List the current consumption and limit in this location for the provided subscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
"""


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


Expand Down
6 changes: 3 additions & 3 deletions sdk/fabric/azure-mgmt-fabric/azure/mgmt/fabric/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class FabricCapacityProperties(TypedDict, total=False):
"Updating", "Deleting", "Suspending", "Suspended", "Pausing", "Paused", "Resuming", "Scaling",
and "Preparing".
:vartype state: Union[str, "ResourceState"]
:ivar overage: The capacity overage properties of the Fabric capacity resource.
:ivar overage: The capacity overage properties of the Fabric capacity resource. Required.
:vartype overage: "CapacityOverageProperties"
:ivar administration: The capacity administration. Required.
:vartype administration: "CapacityAdministration"
Expand All @@ -170,8 +170,8 @@ class FabricCapacityProperties(TypedDict, total=False):
resource provisioning. Known values are: \"Active\", \"Provisioning\", \"Failed\",
\"Updating\", \"Deleting\", \"Suspending\", \"Suspended\", \"Pausing\", \"Paused\",
\"Resuming\", \"Scaling\", and \"Preparing\"."""
overage: "CapacityOverageProperties"
"""The capacity overage properties of the Fabric capacity resource."""
overage: Required["CapacityOverageProperties"]
"""The capacity overage properties of the Fabric capacity resource. Required."""
administration: Required["CapacityAdministration"]
"""The capacity administration. Required."""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(response)


# x-ms-original-file: 2026-08-01-preview/FabricCapacities_CheckNameAvailability.json
# x-ms-original-file: 2026-09-01-preview/FabricCapacities_CheckNameAvailability.json
if __name__ == "__main__":
main()
Loading