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
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ com.azure.resourcemanager:azure-resourcemanager-samples;2.0.0-beta.1;2.0.0-beta.
com.azure.resourcemanager:azure-resourcemanager-search;2.54.7;2.55.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-servicebus;2.53.8;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-sql;2.53.8;2.54.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-storage;2.56.0;2.57.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-storage;2.56.0;2.57.0
com.azure.resourcemanager:azure-resourcemanager-trafficmanager;2.53.8;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-test;2.0.0-beta.2;2.0.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-mediaservices;2.4.0;2.5.0-beta.1
Expand Down
17 changes: 13 additions & 4 deletions sdk/storage/azure-resourcemanager-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
# Release History

## 2.57.0-beta.1 (Unreleased)
## 2.57.0 (2026-06-01)

### Features Added

### Breaking Changes
* `models.AdvancedPlatformMetricsFilterType` was added

### Bugs Fixed
* `models.AdvancedPlatformMetricsRuleConfig` was added

### Other Changes
* `models.MetricsEmitted` was added

* `models.AdvancedPlatformMetricsRuleType` was added

* `models.AdvancedPlatformMetricsRuleProperties` was added

#### `models.FileShareLimits` was modified

* `guardrailIOScalar()` was added
* `guardrailBandwidthScalar()` was added

## 2.56.0 (2026-05-07)

Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azure-resourcemanager-storage/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-storage</artifactId>
<version>2.56.0</version>
<version>2.57.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azure-resourcemanager-storage/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-storage</artifactId>
<version>2.57.0-beta.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-storage;current} -->
<version>2.57.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-storage;current} -->
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Storage Management</name>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,13 @@ public interface StorageManagementClient {
*/
DataSharesClient getDataShares();

/**
* Gets the AdvancedPlatformMetricsClient object to access its operations.
*
* @return the AdvancedPlatformMetricsClient object.
*/
AdvancedPlatformMetricsClient getAdvancedPlatformMetrics();

/**
* Gets the PrivateLinkResourcesClient object to access its operations.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package com.azure.resourcemanager.storage.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.storage.models.AdvancedPlatformMetricsRuleProperties;
import java.io.IOException;

/**
* The advanced platform metrics rule for the storage account.
*/
@Fluent
public final class AdvancedPlatformMetricsRuleInner extends ProxyResource {
/*
* Returns the advanced platform metrics rule.
*/
private AdvancedPlatformMetricsRuleProperties properties;

/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
private SystemData systemData;

/*
* The type of the resource.
*/
private String type;

/*
* The name of the resource.
*/
private String name;

/*
* Fully qualified resource Id for the resource.
*/
private String id;

/**
* Creates an instance of AdvancedPlatformMetricsRuleInner class.
*/
public AdvancedPlatformMetricsRuleInner() {
}

/**
* Get the properties property: Returns the advanced platform metrics rule.
*
* @return the properties value.
*/
public AdvancedPlatformMetricsRuleProperties properties() {
return this.properties;
}

/**
* Set the properties property: Returns the advanced platform metrics rule.
*
* @param properties the properties value to set.
* @return the AdvancedPlatformMetricsRuleInner object itself.
*/
public AdvancedPlatformMetricsRuleInner withProperties(AdvancedPlatformMetricsRuleProperties properties) {
this.properties = properties;
return this;
}

/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}

/**
* Get the type property: The type of the resource.
*
* @return the type value.
*/
@Override
public String type() {
return this.type;
}

/**
* Get the name property: The name of the resource.
*
* @return the name value.
*/
@Override
public String name() {
return this.name;
}

/**
* Get the id property: Fully qualified resource Id for the resource.
*
* @return the id value.
*/
@Override
public String id() {
return this.id;
}

/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (properties() != null) {
properties().validate();
}
}

/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}

/**
* Reads an instance of AdvancedPlatformMetricsRuleInner from the JsonReader.
*
* @param jsonReader The JsonReader being read.
* @return An instance of AdvancedPlatformMetricsRuleInner if the JsonReader was pointing to an instance of it, or
* null if it was pointing to JSON null.
* @throws IllegalStateException If the deserialized JSON object was missing any required properties.
* @throws IOException If an error occurs while reading the AdvancedPlatformMetricsRuleInner.
*/
public static AdvancedPlatformMetricsRuleInner fromJson(JsonReader jsonReader) throws IOException {
return jsonReader.readObject(reader -> {
AdvancedPlatformMetricsRuleInner deserializedAdvancedPlatformMetricsRuleInner
= new AdvancedPlatformMetricsRuleInner();
while (reader.nextToken() != JsonToken.END_OBJECT) {
String fieldName = reader.getFieldName();
reader.nextToken();

if ("id".equals(fieldName)) {
deserializedAdvancedPlatformMetricsRuleInner.id = reader.getString();
} else if ("name".equals(fieldName)) {
deserializedAdvancedPlatformMetricsRuleInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedAdvancedPlatformMetricsRuleInner.type = reader.getString();
} else if ("properties".equals(fieldName)) {
deserializedAdvancedPlatformMetricsRuleInner.properties
= AdvancedPlatformMetricsRuleProperties.fromJson(reader);
} else if ("systemData".equals(fieldName)) {
deserializedAdvancedPlatformMetricsRuleInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
}

return deserializedAdvancedPlatformMetricsRuleInner;
});
}
}
Loading