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
15 changes: 15 additions & 0 deletions eng/lintingconfigs/revapi/track2/revapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,21 @@
"old": ".*com.azure.resourcemanager.keyvault.models.Reason.*",
"justification": "\"Reason\" enum has changed from sealed to expandable."
},
{
"code": "java.class.removed",
"old": "class com.azure.resourcemanager.keyvault.models.ManagedHsmResource",
"justification": "TypeSpec fix for base resource class."
},
{
"code": "java.method.removed",
"old": "method java.lang.String com.azure.resourcemanager.keyvault.models.MhsmPrivateLinkResource::location()",
"justification": "Override was dropped because the method now comes from the com.azure.core.management.Resource base class; functionality is unchanged."
},
{
"code": "java.method.removed",
"old": "method java.util.Map<java.lang.String, java.lang.String> com.azure.resourcemanager.keyvault.models.MhsmPrivateLinkResource::tags()",
"justification": "Override was dropped because the method now comes from the com.azure.core.management.Resource base class; functionality is unchanged."
},
{
"code" : "java.field.addedStaticField",
"new" : "field com.azure.resourcemanager.network.models.PublicIPSkuType.STANDARD_V2",
Expand Down
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ com.azure.resourcemanager:azure-resourcemanager-containerservice;2.57.1;2.58.0-b
com.azure.resourcemanager:azure-resourcemanager-cosmos;2.54.1;2.55.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-dns;2.53.6;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-eventhubs;2.53.6;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-keyvault;2.54.2;2.55.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-keyvault;2.54.2;2.55.0
com.azure.resourcemanager:azure-resourcemanager-monitor;2.53.6;2.54.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-msi;2.53.6;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-network;2.58.0;2.59.0-beta.1
Expand Down
10 changes: 6 additions & 4 deletions sdk/keyvault/azure-resourcemanager-keyvault/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Release History

## 2.55.0-beta.1 (Unreleased)

### Features Added
## 2.55.0 (2026-03-17)

### Breaking Changes

### Bugs Fixed
#### `models.ManagedHsmResource` was removed

### Other Changes

#### Dependency Updates

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

## 2.54.2 (2026-01-29)

### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-resourcemanager-keyvault/README.md
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-keyvault</artifactId>
<version>2.54.0</version>
<version>2.55.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-resourcemanager-keyvault/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

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

<name>Microsoft Azure SDK for Key Vault Management</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ public final class ManagedHsmInner extends Resource {
private ManagedHsmProperties properties;

/*
* Resource tags.
* SKU details
*/
private Map<String, String> tags;
private ManagedHsmSku sku;

/*
* The geo-location where the resource lives
* Managed service identity
*/
private String location;
private ManagedServiceIdentity identity;

/*
* SKU details
* The geo-location where the resource lives
*/
private ManagedHsmSku sku;
private String location;

/*
* Managed service identity
* Resource tags.
*/
private ManagedServiceIdentity identity;
private Map<String, String> tags;

/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
Expand Down Expand Up @@ -93,82 +93,82 @@ public ManagedHsmInner withProperties(ManagedHsmProperties properties) {
}

/**
* Get the tags property: Resource tags.
* Get the sku property: SKU details.
*
* @return the tags value.
* @return the sku value.
*/
public Map<String, String> tags() {
return this.tags;
public ManagedHsmSku sku() {
return this.sku;
}

/**
* Set the tags property: Resource tags.
* Set the sku property: SKU details.
*
* @param tags the tags value to set.
* @param sku the sku value to set.
* @return the ManagedHsmInner object itself.
*/
public ManagedHsmInner withTags(Map<String, String> tags) {
this.tags = tags;
public ManagedHsmInner withSku(ManagedHsmSku sku) {
this.sku = sku;
return this;
}

/**
* Get the location property: The geo-location where the resource lives.
* Get the identity property: Managed service identity.
*
* @return the location value.
* @return the identity value.
*/
public String location() {
return this.location;
public ManagedServiceIdentity identity() {
return this.identity;
}

/**
* Set the location property: The geo-location where the resource lives.
* Set the identity property: Managed service identity.
*
* @param location the location value to set.
* @param identity the identity value to set.
* @return the ManagedHsmInner object itself.
*/
public ManagedHsmInner withLocation(String location) {
this.location = location;
public ManagedHsmInner withIdentity(ManagedServiceIdentity identity) {
this.identity = identity;
return this;
}

/**
* Get the sku property: SKU details.
* Get the location property: The geo-location where the resource lives.
*
* @return the sku value.
* @return the location value.
*/
public ManagedHsmSku sku() {
return this.sku;
public String location() {
return this.location;
}

/**
* Set the sku property: SKU details.
* Set the location property: The geo-location where the resource lives.
*
* @param sku the sku value to set.
* @param location the location value to set.
* @return the ManagedHsmInner object itself.
*/
public ManagedHsmInner withSku(ManagedHsmSku sku) {
this.sku = sku;
public ManagedHsmInner withLocation(String location) {
this.location = location;
return this;
}

/**
* Get the identity property: Managed service identity.
* Get the tags property: Resource tags.
*
* @return the identity value.
* @return the tags value.
*/
public ManagedServiceIdentity identity() {
return this.identity;
public Map<String, String> tags() {
return this.tags;
}

/**
* Set the identity property: Managed service identity.
* Set the tags property: Resource tags.
*
* @param identity the identity value to set.
* @param tags the tags value to set.
* @return the ManagedHsmInner object itself.
*/
public ManagedHsmInner withIdentity(ManagedServiceIdentity identity) {
this.identity = identity;
public ManagedHsmInner withTags(Map<String, String> tags) {
this.tags = tags;
return this;
}

Expand Down Expand Up @@ -235,10 +235,10 @@ public void validate() {
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeJsonField("properties", this.properties);
jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
jsonWriter.writeStringField("location", this.location);
jsonWriter.writeJsonField("sku", this.sku);
jsonWriter.writeJsonField("identity", this.identity);
jsonWriter.writeStringField("location", this.location);
jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
return jsonWriter.writeEndObject();
}

Expand All @@ -265,15 +265,15 @@ public static ManagedHsmInner fromJson(JsonReader jsonReader) throws IOException
deserializedManagedHsmInner.type = reader.getString();
} else if ("properties".equals(fieldName)) {
deserializedManagedHsmInner.properties = ManagedHsmProperties.fromJson(reader);
} else if ("tags".equals(fieldName)) {
Map<String, String> tags = reader.readMap(reader1 -> reader1.getString());
deserializedManagedHsmInner.tags = tags;
} else if ("location".equals(fieldName)) {
deserializedManagedHsmInner.location = reader.getString();
} else if ("sku".equals(fieldName)) {
deserializedManagedHsmInner.sku = ManagedHsmSku.fromJson(reader);
} else if ("identity".equals(fieldName)) {
deserializedManagedHsmInner.identity = ManagedServiceIdentity.fromJson(reader);
} else if ("location".equals(fieldName)) {
deserializedManagedHsmInner.location = reader.getString();
} else if ("tags".equals(fieldName)) {
Map<String, String> tags = reader.readMap(reader1 -> reader1.getString());
deserializedManagedHsmInner.tags = tags;
} else if ("systemData".equals(fieldName)) {
deserializedManagedHsmInner.systemData = SystemData.fromJson(reader);
} else {
Expand Down
Loading
Loading