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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions eng/lintingconfigs/revapi/track2/revapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,16 @@
"code" : "java.field.addedStaticField",
"new" : "field com.azure.resourcemanager.network.models.PublicIPSkuType.STANDARD_V2",
"justification" : "Not a break."
},
{
"code": "java.field.removed",
"old": "field com.azure.resourcemanager.network.models.ApplicationGatewayWafRuleSensitivityTypes.NONE",
"justification": "Remove NonSensitivity for DDoS ruleset."
},
{
"code": "java.field.removed",
"old": "field com.azure.resourcemanager.network.models.SensitivityType.NONE",
"justification": "Remove NonSensitivity for DDoS ruleset."
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ com.azure.resourcemanager:azure-resourcemanager-eventhubs;2.53.4;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-keyvault;2.54.0;2.55.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-monitor;2.53.4;2.54.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-msi;2.53.4;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-network;2.56.0;2.57.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-network;2.56.0;2.57.0
com.azure.resourcemanager:azure-resourcemanager-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-privatedns;2.53.4;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-resources;2.53.5;2.54.0-beta.1
Expand Down Expand Up @@ -551,6 +551,7 @@ unreleased_com.azure.v2:azure-core;2.0.0-beta.1
unreleased_com.azure.v2:azure-identity;2.0.0-beta.1
unreleased_com.azure.v2:azure-data-appconfiguration;2.0.0-beta.1
unreleased_io.clientcore:http-netty4;1.0.0-beta.1
unreleased_com.azure.resourcemanager:azure-resourcemanager-network;2.57.0

# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
# version and set the version to the released beta. Released beta dependencies are only valid
Expand Down
10 changes: 4 additions & 6 deletions sdk/network/azure-resourcemanager-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Release History

## 2.57.0-beta.1 (Unreleased)
## 2.57.0 (2025-11-19)

### Features Added

### Breaking Changes
### Other Changes

### Bugs Fixed
#### Dependency Updates

### Other Changes
- Updated `api-version` to `2025-03-01`.

## 2.56.0 (2025-11-12)

Expand Down
2 changes: 1 addition & 1 deletion sdk/network/azure-resourcemanager-network/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-network</artifactId>
<version>2.55.0</version>
<version>2.57.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/network/azure-resourcemanager-network/assets.json
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/network/azure-resourcemanager-network",
"Tag": "java/network/azure-resourcemanager-network_9360a60339"
"Tag": "java/network/azure-resourcemanager-network_95e9cb8046"
}
2 changes: 1 addition & 1 deletion sdk/network/azure-resourcemanager-network/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-network</artifactId>
<version>2.57.0-beta.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-network;current} -->
<version>2.57.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-network;current} -->
<packaging>jar</packaging>

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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

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

import com.azure.core.annotation.Fluent;
import com.azure.json.JsonReader;
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.network.models.ApplicationGatewayUnAuthorizedRequestAction;
import com.azure.resourcemanager.network.models.ProvisioningState;
import java.io.IOException;
import java.util.List;

/**
* Properties of entra jwt validation configuration of the application gateway.
*/
@Fluent
public final class ApplicationGatewayEntraJwtValidationConfigPropertiesFormat
implements JsonSerializable<ApplicationGatewayEntraJwtValidationConfigPropertiesFormat> {
/*
* Unauthorized request action.
*/
private ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction;

/*
* The Tenant ID of the Microsoft Entra ID application.
*/
private String tenantId;

/*
* The Client ID of the Microsoft Entra ID application.
*/
private String clientId;

/*
* List of acceptable audience claims that can be present in the token (aud claim). A maximum of 5 audiences are
* permitted.
*/
private List<String> audiences;

/*
* The provisioning state of the entra jwt validation configuration resource.
*/
private ProvisioningState provisioningState;

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

/**
* Get the unAuthorizedRequestAction property: Unauthorized request action.
*
* @return the unAuthorizedRequestAction value.
*/
public ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction() {
return this.unAuthorizedRequestAction;
}

/**
* Set the unAuthorizedRequestAction property: Unauthorized request action.
*
* @param unAuthorizedRequestAction the unAuthorizedRequestAction value to set.
* @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
*/
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat
withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction) {
this.unAuthorizedRequestAction = unAuthorizedRequestAction;
return this;
}

/**
* Get the tenantId property: The Tenant ID of the Microsoft Entra ID application.
*
* @return the tenantId value.
*/
public String tenantId() {
return this.tenantId;
}

/**
* Set the tenantId property: The Tenant ID of the Microsoft Entra ID application.
*
* @param tenantId the tenantId value to set.
* @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
*/
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withTenantId(String tenantId) {
this.tenantId = tenantId;
return this;
}

/**
* Get the clientId property: The Client ID of the Microsoft Entra ID application.
*
* @return the clientId value.
*/
public String clientId() {
return this.clientId;
}

/**
* Set the clientId property: The Client ID of the Microsoft Entra ID application.
*
* @param clientId the clientId value to set.
* @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
*/
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withClientId(String clientId) {
this.clientId = clientId;
return this;
}

/**
* Get the audiences property: List of acceptable audience claims that can be present in the token (aud claim). A
* maximum of 5 audiences are permitted.
*
* @return the audiences value.
*/
public List<String> audiences() {
return this.audiences;
}

/**
* Set the audiences property: List of acceptable audience claims that can be present in the token (aud claim). A
* maximum of 5 audiences are permitted.
*
* @param audiences the audiences value to set.
* @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
*/
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withAudiences(List<String> audiences) {
this.audiences = audiences;
return this;
}

/**
* Get the provisioningState property: The provisioning state of the entra jwt validation configuration resource.
*
* @return the provisioningState value.
*/
public ProvisioningState provisioningState() {
return this.provisioningState;
}

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

/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeStringField("unAuthorizedRequestAction",
this.unAuthorizedRequestAction == null ? null : this.unAuthorizedRequestAction.toString());
jsonWriter.writeStringField("tenantId", this.tenantId);
jsonWriter.writeStringField("clientId", this.clientId);
jsonWriter.writeArrayField("audiences", this.audiences, (writer, element) -> writer.writeString(element));
return jsonWriter.writeEndObject();
}

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

if ("unAuthorizedRequestAction".equals(fieldName)) {
deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.unAuthorizedRequestAction
= ApplicationGatewayUnAuthorizedRequestAction.fromString(reader.getString());
} else if ("tenantId".equals(fieldName)) {
deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.tenantId
= reader.getString();
} else if ("clientId".equals(fieldName)) {
deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.clientId
= reader.getString();
} else if ("audiences".equals(fieldName)) {
List<String> audiences = reader.readArray(reader1 -> reader1.getString());
deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.audiences = audiences;
} else if ("provisioningState".equals(fieldName)) {
deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.provisioningState
= ProvisioningState.fromString(reader.getString());
} else {
reader.skipChildren();
}
}

return deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat;
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.azure.resourcemanager.network.models.ApplicationGatewayBackendHttpSettings;
import com.azure.resourcemanager.network.models.ApplicationGatewayBackendSettings;
import com.azure.resourcemanager.network.models.ApplicationGatewayCustomError;
import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJwtValidationConfig;
import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendIpConfiguration;
import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendPort;
import com.azure.resourcemanager.network.models.ApplicationGatewayGlobalConfiguration;
Expand Down Expand Up @@ -1000,6 +1001,34 @@ public List<ApplicationGatewayLoadDistributionPolicy> loadDistributionPolicies()
return this;
}

/**
* Get the entraJwtValidationConfigs property: Entra JWT validation configurations for the application gateway
* resource. For default limits, see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the entraJwtValidationConfigs value.
*/
public List<ApplicationGatewayEntraJwtValidationConfig> entraJwtValidationConfigs() {
return this.innerProperties() == null ? null : this.innerProperties().entraJwtValidationConfigs();
}

/**
* Set the entraJwtValidationConfigs property: Entra JWT validation configurations for the application gateway
* resource. For default limits, see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param entraJwtValidationConfigs the entraJwtValidationConfigs value to set.
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner
withEntraJwtValidationConfigs(List<ApplicationGatewayEntraJwtValidationConfig> entraJwtValidationConfigs) {
if (this.innerProperties() == null) {
this.innerProperties = new ApplicationGatewayPropertiesFormat();
}
this.innerProperties().withEntraJwtValidationConfigs(entraJwtValidationConfigs);
return this;
}

/**
* Get the globalConfiguration property: Global Configuration.
*
Expand Down
Loading
Loading