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
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ com.azure.resourcemanager:azure-resourcemanager-computefleet;1.0.0;1.1.0-beta.5
com.azure.resourcemanager:azure-resourcemanager-servicefabricmanagedclusters;1.1.0;1.2.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-healthdataaiservices;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-redhatopenshift;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-fabric;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-fabric;1.0.0;1.1.0
com.azure.resourcemanager:azure-resourcemanager-computeschedule;1.1.0;1.2.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-trustedsigning;1.0.0-beta.2;1.0.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-iotoperations;1.1.0;1.2.0
Expand Down
57 changes: 53 additions & 4 deletions sdk/fabric/azure-resourcemanager-fabric/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,63 @@
# Release History

## 1.1.0-beta.1 (Unreleased)
## 1.1.0 (2026-08-07)

### Features Added
- Azure Resource Manager Fabric client library for Java. This package contains Microsoft Azure SDK for Fabric Management SDK. Package api-version 2026-08-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Breaking Changes

### Bugs Fixed
#### `models.FabricCapacityUpdate` was modified

* `validate()` was removed

#### `models.FabricCapacityProperties` was modified

* `validate()` was removed

#### `models.CheckNameAvailabilityRequest` was modified

* `validate()` was removed

#### `models.RpSku` was modified

* `validate()` was removed

#### `models.OperationDisplay` was modified

* `validate()` was removed

#### `models.FabricCapacityUpdateProperties` was modified

* `validate()` was removed

#### `models.CapacityAdministration` was modified

* `validate()` was removed

### Features Added

* `models.QuotaName` was added

* `models.Quota` was added

* `models.CapacityOverageState` was added

* `models.CapacityOverageProperties` was added

#### `models.FabricCapacityProperties` was modified

* `withOverage(models.CapacityOverageProperties)` was added
* `overage()` was added

#### `models.FabricCapacityUpdateProperties` was modified

* `withOverage(models.CapacityOverageProperties)` was added
* `overage()` was added

#### `models.FabricCapacities` was modified

### Other Changes
* `listUsages(java.lang.String,com.azure.core.util.Context)` was added
* `listUsages(java.lang.String)` was added

## 1.0.0 (2024-10-17)

Expand Down
10 changes: 4 additions & 6 deletions sdk/fabric/azure-resourcemanager-fabric/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Fabric client library for Java.

This package contains Microsoft Azure SDK for Fabric Management SDK. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for Fabric Management SDK. Package api-version 2026-08-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-fabric</artifactId>
<version>1.1.0-beta.1</version>
<version>1.1.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand All @@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:

```java
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
Comment thread
weidongxu-microsoft marked this conversation as resolved.
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
FabricManager manager = FabricManager
.authenticate(credential, profile);
```

The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
Comment thread
weidongxu-microsoft marked this conversation as resolved.

See [Authentication][authenticate] for more options.

Expand Down Expand Up @@ -100,5 +100,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/


44 changes: 27 additions & 17 deletions sdk/fabric/azure-resourcemanager-fabric/SAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import com.azure.resourcemanager.fabric.models.CheckNameAvailabilityRequest;
*/
public final class FabricCapacitiesCheckNameAvailabilitySamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_CheckNameAvailability.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_CheckNameAvailability.json
*/
/**
* Sample code: Check name availability of a capacity.
Expand All @@ -49,6 +49,8 @@ public final class FabricCapacitiesCheckNameAvailabilitySamples {

```java
import com.azure.resourcemanager.fabric.models.CapacityAdministration;
import com.azure.resourcemanager.fabric.models.CapacityOverageProperties;
import com.azure.resourcemanager.fabric.models.CapacityOverageState;
import com.azure.resourcemanager.fabric.models.FabricCapacityProperties;
import com.azure.resourcemanager.fabric.models.RpSku;
import com.azure.resourcemanager.fabric.models.RpSkuTier;
Expand All @@ -59,7 +61,7 @@ import java.util.Arrays;
*/
public final class FabricCapacitiesCreateOrUpdateSamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_CreateOrUpdate.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_CreateOrUpdate.json
*/
/**
* Sample code: Create or update a capacity.
Expand All @@ -71,8 +73,11 @@ public final class FabricCapacitiesCreateOrUpdateSamples {
.define("azsdktest")
.withRegion("westcentralus")
.withExistingResourceGroup("TestRG")
.withProperties(new FabricCapacityProperties().withAdministration(new CapacityAdministration()
.withMembers(Arrays.asList("azsdktest@microsoft.com", "azsdktest2@microsoft.com"))))
.withProperties(new FabricCapacityProperties()
.withOverage(new CapacityOverageProperties().withState(CapacityOverageState.ENABLED)
.withThresholdCapacityUnitHours(4))
.withAdministration(new CapacityAdministration()
.withMembers(Arrays.asList("azsdktest@microsoft.com", "azsdktest2@microsoft.com"))))
.withSku(new RpSku().withName("F2").withTier(RpSkuTier.FABRIC))
.create();
}
Expand All @@ -87,7 +92,7 @@ public final class FabricCapacitiesCreateOrUpdateSamples {
*/
public final class FabricCapacitiesDeleteSamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_Delete.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_Delete.json
*/
/**
* Sample code: Delete a capacity.
Expand All @@ -108,7 +113,7 @@ public final class FabricCapacitiesDeleteSamples {
*/
public final class FabricCapacitiesGetByResourceGroupSamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_Get.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_Get.json
*/
/**
* Sample code: Get a capacity.
Expand All @@ -130,7 +135,7 @@ public final class FabricCapacitiesGetByResourceGroupSamples {
*/
public final class FabricCapacitiesListSamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_ListBySubscription.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_ListBySubscription.json
*/
/**
* Sample code: List capacities by subscription.
Expand All @@ -151,7 +156,7 @@ public final class FabricCapacitiesListSamples {
*/
public final class FabricCapacitiesListByResourceGroupSamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_ListByResourceGroup.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_ListByResourceGroup.json
*/
/**
* Sample code: List capacities by resource group.
Expand All @@ -172,7 +177,7 @@ public final class FabricCapacitiesListByResourceGroupSamples {
*/
public final class FabricCapacitiesListSkusSamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_ListSkus.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_ListSkus.json
*/
/**
* Sample code: List eligible SKUs for a new capacity.
Expand All @@ -193,7 +198,7 @@ public final class FabricCapacitiesListSkusSamples {
*/
public final class FabricCapacitiesListSkusForCapacitySamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_ListSkusForCapacity.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_ListSkusForCapacity.json
*/
/**
* Sample code: List eligible SKUs for an existing capacity.
Expand All @@ -214,7 +219,7 @@ public final class FabricCapacitiesListSkusForCapacitySamples {
*/
public final class FabricCapacitiesListUsagesSamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_ListUsagesBySubscription.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_ListUsagesBySubscription.json
*/
/**
* Sample code: List quota usages for a subscription.
Expand All @@ -235,7 +240,7 @@ public final class FabricCapacitiesListUsagesSamples {
*/
public final class FabricCapacitiesResumeSamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_Resume.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_Resume.json
*/
/**
* Sample code: Resume capacity.
Expand All @@ -256,7 +261,7 @@ public final class FabricCapacitiesResumeSamples {
*/
public final class FabricCapacitiesSuspendSamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_Suspend.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_Suspend.json
*/
/**
* Sample code: Suspend capacity.
Expand All @@ -273,6 +278,8 @@ public final class FabricCapacitiesSuspendSamples {

```java
import com.azure.resourcemanager.fabric.models.CapacityAdministration;
import com.azure.resourcemanager.fabric.models.CapacityOverageProperties;
import com.azure.resourcemanager.fabric.models.CapacityOverageState;
import com.azure.resourcemanager.fabric.models.FabricCapacity;
import com.azure.resourcemanager.fabric.models.FabricCapacityUpdateProperties;
import com.azure.resourcemanager.fabric.models.RpSku;
Expand All @@ -286,7 +293,7 @@ import java.util.Map;
*/
public final class FabricCapacitiesUpdateSamples {
/*
* x-ms-original-file: 2025-01-15-preview/FabricCapacities_Update.json
* x-ms-original-file: 2026-08-01-preview/FabricCapacities_Update.json
*/
/**
* Sample code: Update capacity properties.
Expand All @@ -300,8 +307,11 @@ public final class FabricCapacitiesUpdateSamples {
resource.update()
.withTags(mapOf("testKey", "fakeTokenPlaceholder"))
.withSku(new RpSku().withName("F8").withTier(RpSkuTier.FABRIC))
.withProperties(new FabricCapacityUpdateProperties().withAdministration(
new CapacityAdministration().withMembers(Arrays.asList("azsdktest2@microsoft.com"))))
.withProperties(new FabricCapacityUpdateProperties()
.withOverage(new CapacityOverageProperties().withState(CapacityOverageState.ENABLED)
.withThresholdCapacityUnitHours(4))
.withAdministration(
new CapacityAdministration().withMembers(Arrays.asList("azsdktest2@microsoft.com"))))
.apply();
}

Expand All @@ -327,7 +337,7 @@ public final class FabricCapacitiesUpdateSamples {
*/
public final class OperationsListSamples {
/*
* x-ms-original-file: 2025-01-15-preview/Operations_List.json
* x-ms-original-file: 2026-08-01-preview/Operations_List.json
*/
/**
* Sample code: List operations.
Expand Down
8 changes: 4 additions & 4 deletions sdk/fabric/azure-resourcemanager-fabric/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.azure</groupId>
Expand All @@ -14,11 +14,11 @@

<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-fabric</artifactId>
<version>1.1.0-beta.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-fabric;current} -->
<version>1.1.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-fabric;current} -->
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Fabric Management</name>
<description>This package contains Microsoft Azure SDK for Fabric Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt.</description>
<description>This package contains Microsoft Azure SDK for Fabric Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package api-version 2026-08-01-preview.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,7 +45,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
<revapi.skip>false</revapi.skip>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ PagedIterable<RpSkuDetailsForExistingResourceInner> listSkusForCapacity(String r
/**
* List the current consumption and limit in this location for the provided subscription.
*
* @param location The location name.
* @param location The name of the Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
Expand All @@ -498,7 +498,7 @@ PagedIterable<RpSkuDetailsForExistingResourceInner> listSkusForCapacity(String r
/**
* List the current consumption and limit in this location for the provided subscription.
*
* @param location The location name.
* @param location The name of the Azure region.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1777,7 +1777,7 @@ public PagedIterable<RpSkuDetailsForNewResourceInner> listSkus(Context context)
/**
* List the current consumption and limit in this location for the provided subscription.
*
* @param location The location name.
* @param location The name of the Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
Expand All @@ -1798,7 +1798,7 @@ private Mono<PagedResponse<QuotaInner>> listUsagesSinglePageAsync(String locatio
/**
* List the current consumption and limit in this location for the provided subscription.
*
* @param location The location name.
* @param location The name of the Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
Expand All @@ -1813,7 +1813,7 @@ private PagedFlux<QuotaInner> listUsagesAsync(String location) {
/**
* List the current consumption and limit in this location for the provided subscription.
*
* @param location The location name.
* @param location The name of the Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
Expand All @@ -1831,7 +1831,7 @@ private PagedResponse<QuotaInner> listUsagesSinglePage(String location) {
/**
* List the current consumption and limit in this location for the provided subscription.
*
* @param location The location name.
* @param location The name of the Azure region.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
Expand All @@ -1850,7 +1850,7 @@ private PagedResponse<QuotaInner> listUsagesSinglePage(String location, Context
/**
* List the current consumption and limit in this location for the provided subscription.
*
* @param location The location name.
* @param location The name of the Azure region.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
Expand All @@ -1865,7 +1865,7 @@ public PagedIterable<QuotaInner> listUsages(String location) {
/**
* List the current consumption and limit in this location for the provided subscription.
*
* @param location The location name.
* @param location The name of the Azure region.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public OperationsClient getOperations() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
this.apiVersion = "2025-01-15-preview";
this.apiVersion = "2026-08-01-preview";
this.fabricCapacities = new FabricCapacitiesClientImpl(this);
this.operations = new OperationsClientImpl(this);
}
Expand Down
Loading
Loading