Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,11 @@
"old" : "class com.azure.resourcemanager.eventhubs.models.UserAssignedIdentity",
"new" : "class com.azure.resourcemanager.eventhubs.models.UserAssignedIdentity",
"justification": "Class is now final."
},
{
"code" : "java.class.removed",
"old" : "class com.azure.resourcemanager.containerservice.models.OSOptionProperty",
"justification": "Removed non-functional API `getOsOptions` and related models `OSOptionProperty`"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/resourcemanager/api-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"dir": "azure-resourcemanager-containerservice",
"source": "specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md",
"package": "com.azure.resourcemanager.containerservice",
"args": "--tag=package-2024-02 --modelerfour.lenient-model-deduplication --preserve-model=ContainerServiceVMSizeTypes --rename-model=Ossku:OSSku"
"args": "--tag=package-2024-05 --modelerfour.lenient-model-deduplication --preserve-model=ContainerServiceVMSizeTypes --rename-model=Ossku:OSSku"
},
"containerservice-hybrid": {
"dir": "../resourcemanagerhybrid/azure-resourcemanager-containerservice",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

## 2.41.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Removed non-functional API `getOsOptions` and related models `OSOptionProperty`.

### Other Changes

#### Dependency Updates

- Updated `api-version` to `2024-05-01`.

## 2.40.0 (2024-06-24)

### Other Changes
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/resourcemanager/azure-resourcemanager-containerservice",
"Tag": "java/resourcemanager/azure-resourcemanager-containerservice_3d3e4d5564"
"Tag": "java/resourcemanager/azure-resourcemanager-containerservice_1d3c03c5f5"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.containerservice.models.AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
Expand Down Expand Up @@ -47,7 +48,7 @@ public AgentPoolAvailableVersionsInner() {

/**
* Get the id property: The ID of the agent pool version list.
*
*
* @return the id value.
*/
public String id() {
Expand All @@ -56,7 +57,7 @@ public String id() {

/**
* Get the name property: The name of the agent pool version list.
*
*
* @return the name value.
*/
public String name() {
Expand All @@ -65,7 +66,7 @@ public String name() {

/**
* Get the type property: Type of the agent pool version list.
*
*
* @return the type value.
*/
public String type() {
Expand All @@ -74,7 +75,7 @@ public String type() {

/**
* Get the innerProperties property: Properties of agent pool available versions.
*
*
* @return the innerProperties value.
*/
private AgentPoolAvailableVersionsProperties innerProperties() {
Expand All @@ -83,7 +84,7 @@ private AgentPoolAvailableVersionsProperties innerProperties() {

/**
* Get the agentPoolVersions property: List of versions available for agent pool.
*
*
* @return the agentPoolVersions value.
*/
public List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPoolVersions() {
Expand All @@ -92,7 +93,7 @@ public List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPool

/**
* Set the agentPoolVersions property: List of versions available for agent pool.
*
*
* @param agentPoolVersions the agentPoolVersions value to set.
* @return the AgentPoolAvailableVersionsInner object itself.
*/
Expand All @@ -107,13 +108,14 @@ public List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPool

/**
* Validates the instance.
*
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (innerProperties() == null) {
throw LOGGER.logExceptionAsError(new IllegalArgumentException(
"Missing required property innerProperties in model AgentPoolAvailableVersionsInner"));
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property innerProperties in model AgentPoolAvailableVersionsInner"));
} else {
innerProperties().validate();
}
Expand Down
Loading