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 @@ -518,7 +518,7 @@ com.azure.resourcemanager:azure-resourcemanager-azurestackhci-vm;1.0.0-beta.1;1.
com.azure.resourcemanager:azure-resourcemanager-workloadorchestration;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-disconnectedoperations;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-compute-recommender;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-computelimit;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-computelimit;1.0.0;1.1.0
com.azure.resourcemanager:azure-resourcemanager-containerregistry-tasks;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-virtualenclaves;1.0.0-beta.1;1.0.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-edgeactions;1.0.0-beta.1;1.0.0-beta.2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
# Release History

## 1.1.0-beta.1 (Unreleased)
## 1.1.0 (2026-05-26)

### Features Added
- Azure Resource Manager ComputeLimit client library for Java. This package contains Microsoft Azure SDK for ComputeLimit Management SDK. Microsoft Azure Compute Limit Resource Provider. Package api-version 2026-06-01. 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.Features` was modified

* `enable(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed

### Features Added

* `models.FeatureEnableRequest` was added

#### `models.Features` was modified

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

## 1.0.0 (2026-04-21)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager ComputeLimit client library for Java.

This package contains Microsoft Azure SDK for ComputeLimit Management SDK. Microsoft Azure Compute Limit Resource Provider. Package api-version 2026-04-30. 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 ComputeLimit Management SDK. Microsoft Azure Compute Limit Resource Provider. Package api-version 2026-06-01. 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-computelimit</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
39 changes: 22 additions & 17 deletions sdk/computelimit/azure-resourcemanager-computelimit/SAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*/
public final class FeaturesDisableSamples {
/*
* x-ms-original-file: 2026-04-30/Features_Disable.json
* x-ms-original-file: 2026-06-01/Features_Disable.json
*/
/**
* Sample code: Disable feature.
Expand All @@ -54,20 +54,25 @@ public final class FeaturesDisableSamples {
### Features_Enable

```java
import com.azure.resourcemanager.computelimit.models.FeatureEnableRequest;

/**
* Samples for Features Enable.
*/
public final class FeaturesEnableSamples {
/*
* x-ms-original-file: 2026-04-30/Features_Enable.json
* x-ms-original-file: 2026-06-01/Features_Enable.json
*/
/**
* Sample code: Enable feature.
*
* @param manager Entry point to ComputeLimitManager.
*/
public static void enableFeature(com.azure.resourcemanager.computelimit.ComputeLimitManager manager) {
manager.features().enable("eastus", "VmCategoryQuota", com.azure.core.util.Context.NONE);
manager.features()
.enable("eastus", "VmCategoryQuota",
new FeatureEnableRequest().withServiceTreeId("a1b2c3d4-5678-90ab-cdef-1234567890ab"),
com.azure.core.util.Context.NONE);
}
}
```
Expand All @@ -80,7 +85,7 @@ public final class FeaturesEnableSamples {
*/
public final class FeaturesGetSamples {
/*
* x-ms-original-file: 2026-04-30/Features_Get_SharedLimit.json
* x-ms-original-file: 2026-06-01/Features_Get_SharedLimit.json
*/
/**
* Sample code: Get SharedLimit feature.
Expand All @@ -92,7 +97,7 @@ public final class FeaturesGetSamples {
}

/*
* x-ms-original-file: 2026-04-30/Features_Get.json
* x-ms-original-file: 2026-06-01/Features_Get.json
*/
/**
* Sample code: Get feature.
Expand All @@ -113,7 +118,7 @@ public final class FeaturesGetSamples {
*/
public final class FeaturesListBySubscriptionLocationResourceSamples {
/*
* x-ms-original-file: 2026-04-30/Features_List.json
* x-ms-original-file: 2026-06-01/Features_List.json
*/
/**
* Sample code: List features.
Expand All @@ -136,7 +141,7 @@ import com.azure.resourcemanager.computelimit.models.GuestSubscriptionProperties
*/
public final class GuestSubscriptionsCreateSamples {
/*
* x-ms-original-file: 2026-04-30/GuestSubscriptions_Create.json
* x-ms-original-file: 2026-06-01/GuestSubscriptions_Create.json
*/
/**
* Sample code: Create a guest subscription.
Expand All @@ -161,7 +166,7 @@ public final class GuestSubscriptionsCreateSamples {
*/
public final class GuestSubscriptionsDeleteSamples {
/*
* x-ms-original-file: 2026-04-30/GuestSubscriptions_Delete.json
* x-ms-original-file: 2026-06-01/GuestSubscriptions_Delete.json
*/
/**
* Sample code: Delete a guest subscription.
Expand All @@ -184,7 +189,7 @@ public final class GuestSubscriptionsDeleteSamples {
*/
public final class GuestSubscriptionsGetSamples {
/*
* x-ms-original-file: 2026-04-30/GuestSubscriptions_Get.json
* x-ms-original-file: 2026-06-01/GuestSubscriptions_Get.json
*/
/**
* Sample code: Get a guest subscription.
Expand All @@ -206,7 +211,7 @@ public final class GuestSubscriptionsGetSamples {
*/
public final class GuestSubscriptionsListBySubscriptionLocationResourceSamples {
/*
* x-ms-original-file: 2026-04-30/GuestSubscriptions_List.json
* x-ms-original-file: 2026-06-01/GuestSubscriptions_List.json
*/
/**
* Sample code: List guest subscriptions for a scope.
Expand All @@ -228,7 +233,7 @@ public final class GuestSubscriptionsListBySubscriptionLocationResourceSamples {
*/
public final class OperationsListSamples {
/*
* x-ms-original-file: 2026-04-30/Operations_List.json
* x-ms-original-file: 2026-06-01/Operations_List.json
*/
/**
* Sample code: List operations.
Expand All @@ -251,7 +256,7 @@ import com.azure.resourcemanager.computelimit.models.SharedLimitProperties;
*/
public final class SharedLimitsCreateSamples {
/*
* x-ms-original-file: 2026-04-30/SharedLimits_Create.json
* x-ms-original-file: 2026-06-01/SharedLimits_Create.json
*/
/**
* Sample code: Create a shared limit.
Expand All @@ -276,7 +281,7 @@ public final class SharedLimitsCreateSamples {
*/
public final class SharedLimitsDeleteSamples {
/*
* x-ms-original-file: 2026-04-30/SharedLimits_Delete.json
* x-ms-original-file: 2026-06-01/SharedLimits_Delete.json
*/
/**
* Sample code: Delete a shared limit.
Expand All @@ -298,7 +303,7 @@ public final class SharedLimitsDeleteSamples {
*/
public final class SharedLimitsGetSamples {
/*
* x-ms-original-file: 2026-04-30/SharedLimits_Get.json
* x-ms-original-file: 2026-06-01/SharedLimits_Get.json
*/
/**
* Sample code: Get a shared limit.
Expand All @@ -319,7 +324,7 @@ public final class SharedLimitsGetSamples {
*/
public final class SharedLimitsListBySubscriptionLocationResourceSamples {
/*
* x-ms-original-file: 2026-04-30/SharedLimits_List.json
* x-ms-original-file: 2026-06-01/SharedLimits_List.json
*/
/**
* Sample code: List all shared limits for a scope.
Expand All @@ -341,7 +346,7 @@ public final class SharedLimitsListBySubscriptionLocationResourceSamples {
*/
public final class VmFamiliesGetSamples {
/*
* x-ms-original-file: 2026-04-30/VmFamilies_Get.json
* x-ms-original-file: 2026-06-01/VmFamilies_Get.json
*/
/**
* Sample code: Get a VM family.
Expand All @@ -362,7 +367,7 @@ public final class VmFamiliesGetSamples {
*/
public final class VmFamiliesListBySubscriptionLocationResourceSamples {
/*
* x-ms-original-file: 2026-04-30/VmFamilies_List.json
* x-ms-original-file: 2026-06-01/VmFamilies_List.json
*/
/**
* Sample code: List VM families.
Expand Down
4 changes: 2 additions & 2 deletions sdk/computelimit/azure-resourcemanager-computelimit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

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

<name>Microsoft Azure SDK for ComputeLimit Management</name>
<description>This package contains Microsoft Azure SDK for ComputeLimit Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft Azure Compute Limit Resource Provider. Package api-version 2026-04-30.</description>
<description>This package contains Microsoft Azure SDK for ComputeLimit Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft Azure Compute Limit Resource Provider. Package api-version 2026-06-01.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.computelimit.fluent.models.FeatureInner;
import com.azure.resourcemanager.computelimit.fluent.models.OperationStatusResultInner;
import com.azure.resourcemanager.computelimit.models.FeatureEnableRequest;

/**
* An instance of this class provides access to all the operations defined in FeaturesClient.
Expand Down Expand Up @@ -89,6 +90,7 @@ SyncPoller<PollResult<OperationStatusResultInner>, OperationStatusResultInner> b
*
* @param location The name of the Azure region.
* @param featureName The name of the Feature.
* @param body The content of the action request.
* @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 All @@ -97,7 +99,7 @@ SyncPoller<PollResult<OperationStatusResultInner>, OperationStatusResultInner> b
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<OperationStatusResultInner>, OperationStatusResultInner> beginEnable(String location,
String featureName, Context context);
String featureName, FeatureEnableRequest body, Context context);
Comment on lines 101 to +102

/**
* Enables a compute limit feature for the subscription at the specified location.
Expand All @@ -117,14 +119,15 @@ SyncPoller<PollResult<OperationStatusResultInner>, OperationStatusResultInner> b
*
* @param location The name of the Azure region.
* @param featureName The name of the Feature.
* @param body The content of the action request.
* @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.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the current status of an async operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
OperationStatusResultInner enable(String location, String featureName, Context context);
OperationStatusResultInner enable(String location, String featureName, FeatureEnableRequest body, Context context);
Comment on lines 129 to +130

/**
* Disables a compute limit feature for the subscription at the specified location.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public VmFamiliesClient getVmFamilies() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
this.apiVersion = "2026-04-30";
this.apiVersion = "2026-06-01";
this.operations = new OperationsClientImpl(this);
this.guestSubscriptions = new GuestSubscriptionsClientImpl(this);
this.sharedLimits = new SharedLimitsClientImpl(this);
Expand Down
Loading
Loading