Skip to content

Commit 896ec76

Browse files
authored
mgmt network, update api-version to 2025-03-01 (Azure#47331)
* feat(network): update api spec to package-2025-03-01 - Updated network resource manager API specification - Bumped package version from 2025-01-01 to 2025-03-01 - Maintained existing inner class configurations - Preserved sync stack disabled setting - Kept deprecation note for ApplicationGatewaySku * gulp codegen * release(network): update azure-resourcemanager-network to version 2.57.0 - Updated version in version_client.txt from 2.56.0 to 2.57.0 - Updated README.md to reflect new stable version 2.57.0 - Updated pom.xml to use stable version 2.57.0 instead of beta - Updated azure-resourcemanager dependency reference to 2.57.0 * chore(network): update api-version to 2025-03-01 - Updated `api-version` to `2025-03-01` in network changelog - Aligned resourcemanager dependency with latest api-version - Removed beta release notes and marked as stable release - Consolidated changelog entries under dependency updates section * chore(assets): update network manager asset tag - Updated asset tag from previous version to latest - Maintains consistency with azure resource manager network module - No functional changes, only metadata update * feat(versioning): add azure-resourcemanager-cosmos version entry - Added unreleased version entry for azure-resourcemanager-cosmos - Set version to 2.54.0 in version_client.txt - Maintained consistent formatting with other entries * chore(versioning): remove cosmos resource manager beta version entry - Removed unreleased Cosmos Resource Manager version entry - Cleaned up version client tracking file - Updated dependency version management list * chore(revapi): update revapi configuration to ignore removed fields - Ignore removal of ApplicationGatewayWafRuleSensitivityTypes.NONE - Ignore removal of SensitivityType.NONE - Mark removed fields as intentionally cleaned up in newer version * fix(revapi): remove unnecessary ignore flags for removed fields - Removed redundant 'ignore' flag for ApplicationGatewayWafRuleSensitivityTypes.NONE - Removed redundant 'ignore' flag for SensitivityType.NONE - Cleanup obsolete field removal justifications - Ensure proper detection of breaking changes in API evolution - Maintain accurate API compatibility checking configuration * fix(network): update justification for removed sensitivity fields - Update justification for ApplicationGatewayWafRuleSensitivityTypes.NONE removal - Update justification for SensitivityType.NONE removal - Both fields now specify removal due to DDoS ruleset changes instead of general cleanup
1 parent 86b3dc8 commit 896ec76

File tree

911 files changed

+5142
-2312
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

911 files changed

+5142
-2312
lines changed

eng/lintingconfigs/revapi/track2/revapi.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,16 @@
761761
"code" : "java.field.addedStaticField",
762762
"new" : "field com.azure.resourcemanager.network.models.PublicIPSkuType.STANDARD_V2",
763763
"justification" : "Not a break."
764+
},
765+
{
766+
"code": "java.field.removed",
767+
"old": "field com.azure.resourcemanager.network.models.ApplicationGatewayWafRuleSensitivityTypes.NONE",
768+
"justification": "Remove NonSensitivity for DDoS ruleset."
769+
},
770+
{
771+
"code": "java.field.removed",
772+
"old": "field com.azure.resourcemanager.network.models.SensitivityType.NONE",
773+
"justification": "Remove NonSensitivity for DDoS ruleset."
764774
}
765775
]
766776
}

eng/versioning/version_client.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ com.azure.resourcemanager:azure-resourcemanager-eventhubs;2.53.4;2.54.0-beta.1
286286
com.azure.resourcemanager:azure-resourcemanager-keyvault;2.54.0;2.55.0-beta.1
287287
com.azure.resourcemanager:azure-resourcemanager-monitor;2.53.4;2.54.0-beta.2
288288
com.azure.resourcemanager:azure-resourcemanager-msi;2.53.4;2.54.0-beta.1
289-
com.azure.resourcemanager:azure-resourcemanager-network;2.56.0;2.57.0-beta.1
289+
com.azure.resourcemanager:azure-resourcemanager-network;2.56.0;2.57.0
290290
com.azure.resourcemanager:azure-resourcemanager-perf;1.0.0-beta.1;1.0.0-beta.1
291291
com.azure.resourcemanager:azure-resourcemanager-privatedns;2.53.4;2.54.0-beta.1
292292
com.azure.resourcemanager:azure-resourcemanager-resources;2.53.5;2.54.0-beta.1
@@ -551,6 +551,7 @@ unreleased_com.azure.v2:azure-core;2.0.0-beta.1
551551
unreleased_com.azure.v2:azure-identity;2.0.0-beta.1
552552
unreleased_com.azure.v2:azure-data-appconfiguration;2.0.0-beta.1
553553
unreleased_io.clientcore:http-netty4;1.0.0-beta.1
554+
unreleased_com.azure.resourcemanager:azure-resourcemanager-network;2.57.0
554555

555556
# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
556557
# version and set the version to the released beta. Released beta dependencies are only valid

sdk/network/azure-resourcemanager-network/CHANGELOG.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
# Release History
22

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

5-
### Features Added
6-
7-
### Breaking Changes
5+
### Other Changes
86

9-
### Bugs Fixed
7+
#### Dependency Updates
108

11-
### Other Changes
9+
- Updated `api-version` to `2025-03-01`.
1210

1311
## 2.56.0 (2025-11-12)
1412

sdk/network/azure-resourcemanager-network/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
1818
<dependency>
1919
<groupId>com.azure.resourcemanager</groupId>
2020
<artifactId>azure-resourcemanager-network</artifactId>
21-
<version>2.55.0</version>
21+
<version>2.57.0</version>
2222
</dependency>
2323
```
2424
[//]: # ({x-version-update-end})

sdk/network/azure-resourcemanager-network/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "java",
44
"TagPrefix": "java/network/azure-resourcemanager-network",
5-
"Tag": "java/network/azure-resourcemanager-network_9360a60339"
5+
"Tag": "java/network/azure-resourcemanager-network_95e9cb8046"
66
}

sdk/network/azure-resourcemanager-network/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<groupId>com.azure.resourcemanager</groupId>
1616
<artifactId>azure-resourcemanager-network</artifactId>
17-
<version>2.57.0-beta.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-network;current} -->
17+
<version>2.57.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-network;current} -->
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for Network Management</name>

sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java

Lines changed: 247 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
5+
package com.azure.resourcemanager.network.fluent.models;
6+
7+
import com.azure.core.annotation.Fluent;
8+
import com.azure.json.JsonReader;
9+
import com.azure.json.JsonSerializable;
10+
import com.azure.json.JsonToken;
11+
import com.azure.json.JsonWriter;
12+
import com.azure.resourcemanager.network.models.ApplicationGatewayUnAuthorizedRequestAction;
13+
import com.azure.resourcemanager.network.models.ProvisioningState;
14+
import java.io.IOException;
15+
import java.util.List;
16+
17+
/**
18+
* Properties of entra jwt validation configuration of the application gateway.
19+
*/
20+
@Fluent
21+
public final class ApplicationGatewayEntraJwtValidationConfigPropertiesFormat
22+
implements JsonSerializable<ApplicationGatewayEntraJwtValidationConfigPropertiesFormat> {
23+
/*
24+
* Unauthorized request action.
25+
*/
26+
private ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction;
27+
28+
/*
29+
* The Tenant ID of the Microsoft Entra ID application.
30+
*/
31+
private String tenantId;
32+
33+
/*
34+
* The Client ID of the Microsoft Entra ID application.
35+
*/
36+
private String clientId;
37+
38+
/*
39+
* List of acceptable audience claims that can be present in the token (aud claim). A maximum of 5 audiences are
40+
* permitted.
41+
*/
42+
private List<String> audiences;
43+
44+
/*
45+
* The provisioning state of the entra jwt validation configuration resource.
46+
*/
47+
private ProvisioningState provisioningState;
48+
49+
/**
50+
* Creates an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat class.
51+
*/
52+
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat() {
53+
}
54+
55+
/**
56+
* Get the unAuthorizedRequestAction property: Unauthorized request action.
57+
*
58+
* @return the unAuthorizedRequestAction value.
59+
*/
60+
public ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction() {
61+
return this.unAuthorizedRequestAction;
62+
}
63+
64+
/**
65+
* Set the unAuthorizedRequestAction property: Unauthorized request action.
66+
*
67+
* @param unAuthorizedRequestAction the unAuthorizedRequestAction value to set.
68+
* @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
69+
*/
70+
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat
71+
withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction) {
72+
this.unAuthorizedRequestAction = unAuthorizedRequestAction;
73+
return this;
74+
}
75+
76+
/**
77+
* Get the tenantId property: The Tenant ID of the Microsoft Entra ID application.
78+
*
79+
* @return the tenantId value.
80+
*/
81+
public String tenantId() {
82+
return this.tenantId;
83+
}
84+
85+
/**
86+
* Set the tenantId property: The Tenant ID of the Microsoft Entra ID application.
87+
*
88+
* @param tenantId the tenantId value to set.
89+
* @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
90+
*/
91+
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withTenantId(String tenantId) {
92+
this.tenantId = tenantId;
93+
return this;
94+
}
95+
96+
/**
97+
* Get the clientId property: The Client ID of the Microsoft Entra ID application.
98+
*
99+
* @return the clientId value.
100+
*/
101+
public String clientId() {
102+
return this.clientId;
103+
}
104+
105+
/**
106+
* Set the clientId property: The Client ID of the Microsoft Entra ID application.
107+
*
108+
* @param clientId the clientId value to set.
109+
* @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
110+
*/
111+
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withClientId(String clientId) {
112+
this.clientId = clientId;
113+
return this;
114+
}
115+
116+
/**
117+
* Get the audiences property: List of acceptable audience claims that can be present in the token (aud claim). A
118+
* maximum of 5 audiences are permitted.
119+
*
120+
* @return the audiences value.
121+
*/
122+
public List<String> audiences() {
123+
return this.audiences;
124+
}
125+
126+
/**
127+
* Set the audiences property: List of acceptable audience claims that can be present in the token (aud claim). A
128+
* maximum of 5 audiences are permitted.
129+
*
130+
* @param audiences the audiences value to set.
131+
* @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
132+
*/
133+
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withAudiences(List<String> audiences) {
134+
this.audiences = audiences;
135+
return this;
136+
}
137+
138+
/**
139+
* Get the provisioningState property: The provisioning state of the entra jwt validation configuration resource.
140+
*
141+
* @return the provisioningState value.
142+
*/
143+
public ProvisioningState provisioningState() {
144+
return this.provisioningState;
145+
}
146+
147+
/**
148+
* Validates the instance.
149+
*
150+
* @throws IllegalArgumentException thrown if the instance is not valid.
151+
*/
152+
public void validate() {
153+
}
154+
155+
/**
156+
* {@inheritDoc}
157+
*/
158+
@Override
159+
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
160+
jsonWriter.writeStartObject();
161+
jsonWriter.writeStringField("unAuthorizedRequestAction",
162+
this.unAuthorizedRequestAction == null ? null : this.unAuthorizedRequestAction.toString());
163+
jsonWriter.writeStringField("tenantId", this.tenantId);
164+
jsonWriter.writeStringField("clientId", this.clientId);
165+
jsonWriter.writeArrayField("audiences", this.audiences, (writer, element) -> writer.writeString(element));
166+
return jsonWriter.writeEndObject();
167+
}
168+
169+
/**
170+
* Reads an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat from the JsonReader.
171+
*
172+
* @param jsonReader The JsonReader being read.
173+
* @return An instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat if the JsonReader was pointing
174+
* to an instance of it, or null if it was pointing to JSON null.
175+
* @throws IOException If an error occurs while reading the
176+
* ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.
177+
*/
178+
public static ApplicationGatewayEntraJwtValidationConfigPropertiesFormat fromJson(JsonReader jsonReader)
179+
throws IOException {
180+
return jsonReader.readObject(reader -> {
181+
ApplicationGatewayEntraJwtValidationConfigPropertiesFormat deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat
182+
= new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat();
183+
while (reader.nextToken() != JsonToken.END_OBJECT) {
184+
String fieldName = reader.getFieldName();
185+
reader.nextToken();
186+
187+
if ("unAuthorizedRequestAction".equals(fieldName)) {
188+
deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.unAuthorizedRequestAction
189+
= ApplicationGatewayUnAuthorizedRequestAction.fromString(reader.getString());
190+
} else if ("tenantId".equals(fieldName)) {
191+
deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.tenantId
192+
= reader.getString();
193+
} else if ("clientId".equals(fieldName)) {
194+
deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.clientId
195+
= reader.getString();
196+
} else if ("audiences".equals(fieldName)) {
197+
List<String> audiences = reader.readArray(reader1 -> reader1.getString());
198+
deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.audiences = audiences;
199+
} else if ("provisioningState".equals(fieldName)) {
200+
deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.provisioningState
201+
= ProvisioningState.fromString(reader.getString());
202+
} else {
203+
reader.skipChildren();
204+
}
205+
}
206+
207+
return deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat;
208+
});
209+
}
210+
}

sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import com.azure.resourcemanager.network.models.ApplicationGatewayBackendHttpSettings;
1616
import com.azure.resourcemanager.network.models.ApplicationGatewayBackendSettings;
1717
import com.azure.resourcemanager.network.models.ApplicationGatewayCustomError;
18+
import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJwtValidationConfig;
1819
import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendIpConfiguration;
1920
import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendPort;
2021
import com.azure.resourcemanager.network.models.ApplicationGatewayGlobalConfiguration;
@@ -1000,6 +1001,34 @@ public List<ApplicationGatewayLoadDistributionPolicy> loadDistributionPolicies()
10001001
return this;
10011002
}
10021003

1004+
/**
1005+
* Get the entraJwtValidationConfigs property: Entra JWT validation configurations for the application gateway
1006+
* resource. For default limits, see [Application Gateway
1007+
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
1008+
*
1009+
* @return the entraJwtValidationConfigs value.
1010+
*/
1011+
public List<ApplicationGatewayEntraJwtValidationConfig> entraJwtValidationConfigs() {
1012+
return this.innerProperties() == null ? null : this.innerProperties().entraJwtValidationConfigs();
1013+
}
1014+
1015+
/**
1016+
* Set the entraJwtValidationConfigs property: Entra JWT validation configurations for the application gateway
1017+
* resource. For default limits, see [Application Gateway
1018+
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
1019+
*
1020+
* @param entraJwtValidationConfigs the entraJwtValidationConfigs value to set.
1021+
* @return the ApplicationGatewayInner object itself.
1022+
*/
1023+
public ApplicationGatewayInner
1024+
withEntraJwtValidationConfigs(List<ApplicationGatewayEntraJwtValidationConfig> entraJwtValidationConfigs) {
1025+
if (this.innerProperties() == null) {
1026+
this.innerProperties = new ApplicationGatewayPropertiesFormat();
1027+
}
1028+
this.innerProperties().withEntraJwtValidationConfigs(entraJwtValidationConfigs);
1029+
return this;
1030+
}
1031+
10031032
/**
10041033
* Get the globalConfiguration property: Global Configuration.
10051034
*

0 commit comments

Comments
 (0)