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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
90 changes: 90 additions & 0 deletions eng/lintingconfigs/revapi/track2/revapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,96 @@
"old" : "method java.lang.String com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile::nodeImageVersion()",
"justification": "Not a break, same method exists on its parent class."
},
{
"ignore": true,
"code": "java.method.visibilityReduced",
"old" : {
"matcher": "regex",
"match": "method void com\\.azure\\.resourcemanager\\.containerservice\\.models\\..*\\:\\:\\<init\\>\\(\\)"
},
"justification": "Output-only immutable models' constructors are now private."
},
{
"ignore": true,
"code": "java.method.visibilityReduced",
"old" : {
"matcher": "regex",
"match": "method .* com\\.azure\\.resourcemanager\\.containerservice\\.models\\..*\\:\\:with.*\\(.*\\).*"
},
"justification": "Output-only immutable models' setters are now package-private."
},
{
"ignore": true,
"code": "java.method.removed",
"old" : {
"matcher": "regex",
"match": "method .* com\\.azure\\.resourcemanager\\.containerservice\\.models\\..*\\:\\:with.*\\(.*\\).*"
},
"justification": "Output-only immutable models' setters are removed."
},
{
"ignore": true,
"code": "java.class.removed",
"old" : {
"matcher": "regex",
"match": "class com\\.azure\\.resourcemanager\\.containerservice\\.models\\..*(ListResult|List|Collection)"
},
"justification": "Pageable models moved to implementation package."
},
{
"ignore": true,
"code": "java.method.removed",
"old" : {
"matcher": "regex",
"match": "method .* com\\.azure\\.resourcemanager\\.containerservice\\.models\\..*\\:\\:.*\\(.*\\)"
},
"justification": "Read-only properties' getter removed in TypeSpec migration."
},
{
"ignore": true,
"code": "java.method.returnTypeChanged",
"new" : {
"matcher": "regex",
"match": "method .* com\\.azure\\.resourcemanager\\.containerservice\\.models\\.UserAssignedIdentity\\:\\:with.*\\(.*\\) @ com\\.azure\\.resourcemanager\\.containerservice\\.models\\.ManagedClusterAddonProfileIdentity"
},
"justification": "ManagedClusterAddonProfileIdentity covariant overrides removed, inherited methods return parent type."
},
{
"ignore": true,
"code": "java.method.visibilityReduced",
"old" : {
"matcher": "regex",
"match": "method .* com\\.azure\\.resourcemanager\\.containerservice\\.models\\..*\\:\\:with.*\\(.*\\).*"
},
"justification": "Output-only immutable models' setters are now package-private if it's being used by child class."
},
{
"ignore": true,
"code": "java.method.removed",
"old" : {
"matcher": "regex",
"match": "method .* com\\.azure\\.resourcemanager\\.containerservice\\.models\\..*\\:\\:with.*\\(.*\\).*"
},
"justification": "Output-only immutable models' setters are removed if no explicit usage."
},
{
"ignore": true,
"code": "java.class.removed",
"old" : {
"matcher": "regex",
"match": "class com\\.azure\\.resourcemanager\\.containerservice\\.models\\..*(ListResult|List|Collection)"
},
"justification": "Pageable models moved to implementation package. Unlikely used by user."
},
{
"ignore": true,
"code": "java.method.removed",
"old" : {
"matcher": "regex",
"match": "method .* com\\.azure\\.resourcemanager\\.containerservice\\.models\\..*\\:\\:.*\\(.*\\)"
},
"justification": "Read-only properties' getter/setter removed in TypeSpec migration."
},
{
"ignore": true,
"code": "java.method.visibilityReduced",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# Release History

## 2.58.0-beta.2 (Unreleased)

### Features Added
## 2.58.0-beta.2 (2026-03-20)

### Breaking Changes

### Bugs Fixed
- Moved `ContainerServiceManager.serviceClient().getOpenShiftManagedClusters()` to `ContainerServiceManager.openShiftClient().getOpenShiftManagedClusters()`.
- Moved `ContainerServiceManager.serviceClient().getContainerServices()` to `ContainerServiceManager.orchestratorClient().getContainerServices()`.

### Other Changes

#### Dependency Updates

- Updated `api-version` to `2026-01-01`.

## 2.57.1 (2026-01-29)

### Other Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-containerservice</artifactId>
<version>2.57.0</version>
<version>2.58.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/containerservice/azure-resourcemanager-containerservice",
"Tag": "java/containerservice/azure-resourcemanager-containerservice_a6036916c8"
"Tag": "java/containerservice/azure-resourcemanager-containerservice_9340dca8d8"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
import com.azure.core.credential.TokenCredential;
import com.azure.core.http.HttpPipeline;
import com.azure.resourcemanager.containerservice.fluent.ContainerServiceManagementClient;
import com.azure.resourcemanager.containerservice.fluent.OpenShiftManagementClient;
import com.azure.resourcemanager.containerservice.fluent.OrchestratorManagementClient;
import com.azure.resourcemanager.containerservice.implementation.ContainerServiceManagementClientBuilder;
import com.azure.resourcemanager.containerservice.implementation.KubernetesClustersImpl;
import com.azure.resourcemanager.containerservice.implementation.OpenShiftManagementClientBuilder;
import com.azure.resourcemanager.containerservice.implementation.OrchestratorManagementClientBuilder;
import com.azure.resourcemanager.containerservice.models.KubernetesClusters;
import com.azure.resourcemanager.resources.fluentcore.arm.AzureConfigurable;
import com.azure.resourcemanager.resources.fluentcore.arm.Manager;
Expand All @@ -21,6 +25,8 @@
public final class ContainerServiceManager extends Manager<ContainerServiceManagementClient> {
// The service managers
private KubernetesClustersImpl kubernetesClusters;
private final OrchestratorManagementClient orchestratorManagementClient;
private final OpenShiftManagementClient openShiftManagementClient;

/**
* Get a Configurable instance that can be used to create ContainerServiceManager with optional configuration.
Expand Down Expand Up @@ -85,6 +91,16 @@ private ContainerServiceManager(HttpPipeline httpPipeline, AzureProfile profile)
.pipeline(httpPipeline)
.subscriptionId(profile.getSubscriptionId())
.buildClient());
this.orchestratorManagementClient
= new OrchestratorManagementClientBuilder().endpoint(profile.getEnvironment().getResourceManagerEndpoint())
.pipeline(httpPipeline)
.subscriptionId(profile.getSubscriptionId())
.buildClient();
this.openShiftManagementClient
= new OpenShiftManagementClientBuilder().endpoint(profile.getEnvironment().getResourceManagerEndpoint())
.pipeline(httpPipeline)
.subscriptionId(profile.getSubscriptionId())
.buildClient();
}

/**
Expand All @@ -98,4 +114,22 @@ public KubernetesClusters kubernetesClusters() {
}
return this.kubernetesClusters;
}

/**
* Gets the OrchestratorManagementClient.
*
* @return the OrchestratorManagementClient
*/
public OrchestratorManagementClient orchestratorClient() {
return this.orchestratorManagementClient;
}

/**
* Gets the OpenShiftManagementClient.
*
* @return the OpenShiftManagementClient
*/
public OpenShiftManagementClient openShiftClient() {
return this.openShiftManagementClient;
}
}
Loading
Loading