Skip to content

Commit 1ad2714

Browse files
committed
Configurations: 'specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/tspconfig.yaml', API Version: 2025-07-15, SDK Release Type: stable, and CommitSHA: '1a3542f46375ced453982cf69f035d9a9a3924d5' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6094864 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
1 parent 85beb87 commit 1ad2714

1,390 files changed

Lines changed: 102845 additions & 49813 deletions

File tree

Some content is hidden

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

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ com.azure.resourcemanager:azure-resourcemanager-selfhelp;1.0.0;1.1.0-beta.7
445445
com.azure.resourcemanager:azure-resourcemanager-networkcloud;2.1.0;2.2.0-beta.1
446446
com.azure.resourcemanager:azure-resourcemanager-cosmosdbforpostgresql;1.0.0;1.1.0-beta.4
447447
com.azure.resourcemanager:azure-resourcemanager-managementgroups;1.0.0-beta.2;1.0.0-beta.3
448-
com.azure.resourcemanager:azure-resourcemanager-managednetworkfabric;1.1.0;1.2.0-beta.1
448+
com.azure.resourcemanager:azure-resourcemanager-managednetworkfabric;1.1.0;1.2.0
449449
com.azure.resourcemanager:azure-resourcemanager-iotfirmwaredefense;2.0.0;2.1.0-beta.1
450450
com.azure.resourcemanager:azure-resourcemanager-quantum;1.0.0-beta.3;1.0.0-beta.4
451451
com.azure.resourcemanager:azure-resourcemanager-chaos;1.3.0;1.4.0-beta.1

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

Lines changed: 2099 additions & 4 deletions
Large diffs are not rendered by default.

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager Managed Network Fabric client library for Java.
44

5-
This package contains Microsoft Azure SDK for Managed Network Fabric Management SDK. Self service experience for Azure Network Fabric API. Package tag package-2023-06-15. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
5+
This package contains Microsoft Azure SDK for Managed Network Fabric Management SDK. Self service experience for Azure Network Fabric API. Package api-version 2025-07-15. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-managednetworkfabric</artifactId>
35-
<version>1.2.0-beta.1</version>
35+
<version>1.2.0</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
5252
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5353

5454
```java
55-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
55+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5656
TokenCredential credential = new DefaultAzureCredentialBuilder()
5757
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
5858
.build();
5959
ManagedNetworkFabricManager manager = ManagedNetworkFabricManager
6060
.authenticate(credential, profile);
6161
```
6262

63-
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
63+
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
6464

6565
See [Authentication][authenticate] for more options.
6666

@@ -142,5 +142,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
142142
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
143143
[coc]: https://opensource.microsoft.com/codeofconduct/
144144
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
145-
146-

sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/SAMPLE.md

Lines changed: 2863 additions & 1351 deletions
Large diffs are not rendered by default.

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!--
22
~ Copyright (c) Microsoft Corporation. All rights reserved.
33
~ Licensed under the MIT License.
4-
~ Code generated by Microsoft (R) AutoRest Code Generator.
4+
~ Code generated by Microsoft (R) TypeSpec Code Generator.
55
-->
6-
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
77
<modelVersion>4.0.0</modelVersion>
88
<parent>
99
<groupId>com.azure</groupId>
@@ -14,11 +14,11 @@
1414

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

2020
<name>Microsoft Azure SDK for Managed Network Fabric Management</name>
21-
<description>This package contains Microsoft Azure SDK for Managed Network Fabric Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Self service experience for Azure Network Fabric API. Package tag package-2023-06-15.</description>
21+
<description>This package contains Microsoft Azure SDK for Managed Network Fabric Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Self service experience for Azure Network Fabric API. Package api-version 2025-07-15.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>
@@ -45,8 +45,6 @@
4545
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4646
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
4747
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
48-
<spotless.skip>false</spotless.skip>
49-
<revapi.skip>true</revapi.skip>
5048
</properties>
5149
<dependencies>
5250
<dependency>

sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/ManagedNetworkFabricManager.java

Lines changed: 94 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
3-
// Code generated by Microsoft (R) AutoRest Code Generator.
3+
// Code generated by Microsoft (R) TypeSpec Code Generator.
44

55
package com.azure.resourcemanager.managednetworkfabric;
66

@@ -22,10 +22,10 @@
2222
import com.azure.core.http.policy.UserAgentPolicy;
2323
import com.azure.core.management.profile.AzureProfile;
2424
import com.azure.core.util.Configuration;
25+
import com.azure.core.util.CoreUtils;
2526
import com.azure.core.util.logging.ClientLogger;
26-
import com.azure.resourcemanager.managednetworkfabric.fluent.AzureNetworkFabricManagementServiceApi;
27+
import com.azure.resourcemanager.managednetworkfabric.fluent.ManagedNetworkFabricManagementClient;
2728
import com.azure.resourcemanager.managednetworkfabric.implementation.AccessControlListsImpl;
28-
import com.azure.resourcemanager.managednetworkfabric.implementation.AzureNetworkFabricManagementServiceApiBuilder;
2929
import com.azure.resourcemanager.managednetworkfabric.implementation.ExternalNetworksImpl;
3030
import com.azure.resourcemanager.managednetworkfabric.implementation.InternalNetworksImpl;
3131
import com.azure.resourcemanager.managednetworkfabric.implementation.InternetGatewayRulesImpl;
@@ -35,13 +35,17 @@
3535
import com.azure.resourcemanager.managednetworkfabric.implementation.IpPrefixesImpl;
3636
import com.azure.resourcemanager.managednetworkfabric.implementation.L2IsolationDomainsImpl;
3737
import com.azure.resourcemanager.managednetworkfabric.implementation.L3IsolationDomainsImpl;
38+
import com.azure.resourcemanager.managednetworkfabric.implementation.ManagedNetworkFabricManagementClientBuilder;
3839
import com.azure.resourcemanager.managednetworkfabric.implementation.NeighborGroupsImpl;
40+
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkBootstrapDevicesImpl;
41+
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkBootstrapInterfacesImpl;
3942
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkDeviceSkusImpl;
4043
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkDevicesImpl;
4144
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricControllersImpl;
4245
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricSkusImpl;
4346
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricsImpl;
4447
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkInterfacesImpl;
48+
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkMonitorsImpl;
4549
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkPacketBrokersImpl;
4650
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkRacksImpl;
4751
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkTapRulesImpl;
@@ -60,12 +64,15 @@
6064
import com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomains;
6165
import com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomains;
6266
import com.azure.resourcemanager.managednetworkfabric.models.NeighborGroups;
67+
import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevices;
68+
import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapInterfaces;
6369
import com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceSkus;
6470
import com.azure.resourcemanager.managednetworkfabric.models.NetworkDevices;
6571
import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricControllers;
6672
import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricSkus;
6773
import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabrics;
6874
import com.azure.resourcemanager.managednetworkfabric.models.NetworkInterfaces;
75+
import com.azure.resourcemanager.managednetworkfabric.models.NetworkMonitors;
6976
import com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokers;
7077
import com.azure.resourcemanager.managednetworkfabric.models.NetworkRacks;
7178
import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRules;
@@ -77,6 +84,7 @@
7784
import java.time.temporal.ChronoUnit;
7885
import java.util.ArrayList;
7986
import java.util.List;
87+
import java.util.Map;
8088
import java.util.Objects;
8189
import java.util.stream.Collectors;
8290

@@ -85,12 +93,14 @@
8593
* Self service experience for Azure Network Fabric API.
8694
*/
8795
public final class ManagedNetworkFabricManager {
88-
private AccessControlLists accessControlLists;
96+
private Operations operations;
8997

90-
private InternetGateways internetGateways;
98+
private AccessControlLists accessControlLists;
9199

92100
private InternetGatewayRules internetGatewayRules;
93101

102+
private InternetGateways internetGateways;
103+
94104
private IpCommunities ipCommunities;
95105

96106
private IpExtendedCommunities ipExtendedCommunities;
@@ -129,16 +139,20 @@ public final class ManagedNetworkFabricManager {
129139

130140
private NetworkTaps networkTaps;
131141

132-
private Operations operations;
133-
134142
private RoutePolicies routePolicies;
135143

136-
private final AzureNetworkFabricManagementServiceApi clientObject;
144+
private NetworkMonitors networkMonitors;
145+
146+
private NetworkBootstrapDevices networkBootstrapDevices;
147+
148+
private NetworkBootstrapInterfaces networkBootstrapInterfaces;
149+
150+
private final ManagedNetworkFabricManagementClient clientObject;
137151

138152
private ManagedNetworkFabricManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
139153
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
140154
Objects.requireNonNull(profile, "'profile' cannot be null.");
141-
this.clientObject = new AzureNetworkFabricManagementServiceApiBuilder().pipeline(httpPipeline)
155+
this.clientObject = new ManagedNetworkFabricManagementClientBuilder().pipeline(httpPipeline)
142156
.endpoint(profile.getEnvironment().getResourceManagerEndpoint())
143157
.subscriptionId(profile.getSubscriptionId())
144158
.defaultPollInterval(defaultPollInterval)
@@ -185,6 +199,9 @@ public static Configurable configure() {
185199
*/
186200
public static final class Configurable {
187201
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
202+
private static final String SDK_VERSION = "version";
203+
private static final Map<String, String> PROPERTIES
204+
= CoreUtils.getProperties("azure-resourcemanager-managednetworkfabric.properties");
188205

189206
private HttpClient httpClient;
190207
private HttpLogOptions httpLogOptions;
@@ -292,12 +309,14 @@ public ManagedNetworkFabricManager authenticate(TokenCredential credential, Azur
292309
Objects.requireNonNull(credential, "'credential' cannot be null.");
293310
Objects.requireNonNull(profile, "'profile' cannot be null.");
294311

312+
String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion");
313+
295314
StringBuilder userAgentBuilder = new StringBuilder();
296315
userAgentBuilder.append("azsdk-java")
297316
.append("-")
298317
.append("com.azure.resourcemanager.managednetworkfabric")
299318
.append("/")
300-
.append("1.1.0");
319+
.append(clientVersion);
301320
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
302321
userAgentBuilder.append(" (")
303322
.append(Configuration.getGlobalConfiguration().get("java.version"))
@@ -344,27 +363,27 @@ public ManagedNetworkFabricManager authenticate(TokenCredential credential, Azur
344363
}
345364

346365
/**
347-
* Gets the resource collection API of AccessControlLists. It manages AccessControlList.
366+
* Gets the resource collection API of Operations.
348367
*
349-
* @return Resource collection API of AccessControlLists.
368+
* @return Resource collection API of Operations.
350369
*/
351-
public AccessControlLists accessControlLists() {
352-
if (this.accessControlLists == null) {
353-
this.accessControlLists = new AccessControlListsImpl(clientObject.getAccessControlLists(), this);
370+
public Operations operations() {
371+
if (this.operations == null) {
372+
this.operations = new OperationsImpl(clientObject.getOperations(), this);
354373
}
355-
return accessControlLists;
374+
return operations;
356375
}
357376

358377
/**
359-
* Gets the resource collection API of InternetGateways. It manages InternetGateway.
378+
* Gets the resource collection API of AccessControlLists. It manages AccessControlList.
360379
*
361-
* @return Resource collection API of InternetGateways.
380+
* @return Resource collection API of AccessControlLists.
362381
*/
363-
public InternetGateways internetGateways() {
364-
if (this.internetGateways == null) {
365-
this.internetGateways = new InternetGatewaysImpl(clientObject.getInternetGateways(), this);
382+
public AccessControlLists accessControlLists() {
383+
if (this.accessControlLists == null) {
384+
this.accessControlLists = new AccessControlListsImpl(clientObject.getAccessControlLists(), this);
366385
}
367-
return internetGateways;
386+
return accessControlLists;
368387
}
369388

370389
/**
@@ -379,6 +398,18 @@ public InternetGatewayRules internetGatewayRules() {
379398
return internetGatewayRules;
380399
}
381400

401+
/**
402+
* Gets the resource collection API of InternetGateways. It manages InternetGateway.
403+
*
404+
* @return Resource collection API of InternetGateways.
405+
*/
406+
public InternetGateways internetGateways() {
407+
if (this.internetGateways == null) {
408+
this.internetGateways = new InternetGatewaysImpl(clientObject.getInternetGateways(), this);
409+
}
410+
return internetGateways;
411+
}
412+
382413
/**
383414
* Gets the resource collection API of IpCommunities. It manages IpCommunity.
384415
*
@@ -609,18 +640,6 @@ public NetworkTaps networkTaps() {
609640
return networkTaps;
610641
}
611642

612-
/**
613-
* Gets the resource collection API of Operations.
614-
*
615-
* @return Resource collection API of Operations.
616-
*/
617-
public Operations operations() {
618-
if (this.operations == null) {
619-
this.operations = new OperationsImpl(clientObject.getOperations(), this);
620-
}
621-
return operations;
622-
}
623-
624643
/**
625644
* Gets the resource collection API of RoutePolicies. It manages RoutePolicy.
626645
*
@@ -634,12 +653,50 @@ public RoutePolicies routePolicies() {
634653
}
635654

636655
/**
637-
* Gets wrapped service client AzureNetworkFabricManagementServiceApi providing direct access to the underlying
656+
* Gets the resource collection API of NetworkMonitors. It manages NetworkMonitor.
657+
*
658+
* @return Resource collection API of NetworkMonitors.
659+
*/
660+
public NetworkMonitors networkMonitors() {
661+
if (this.networkMonitors == null) {
662+
this.networkMonitors = new NetworkMonitorsImpl(clientObject.getNetworkMonitors(), this);
663+
}
664+
return networkMonitors;
665+
}
666+
667+
/**
668+
* Gets the resource collection API of NetworkBootstrapDevices. It manages NetworkBootstrapDevice.
669+
*
670+
* @return Resource collection API of NetworkBootstrapDevices.
671+
*/
672+
public NetworkBootstrapDevices networkBootstrapDevices() {
673+
if (this.networkBootstrapDevices == null) {
674+
this.networkBootstrapDevices
675+
= new NetworkBootstrapDevicesImpl(clientObject.getNetworkBootstrapDevices(), this);
676+
}
677+
return networkBootstrapDevices;
678+
}
679+
680+
/**
681+
* Gets the resource collection API of NetworkBootstrapInterfaces. It manages NetworkBootstrapInterface.
682+
*
683+
* @return Resource collection API of NetworkBootstrapInterfaces.
684+
*/
685+
public NetworkBootstrapInterfaces networkBootstrapInterfaces() {
686+
if (this.networkBootstrapInterfaces == null) {
687+
this.networkBootstrapInterfaces
688+
= new NetworkBootstrapInterfacesImpl(clientObject.getNetworkBootstrapInterfaces(), this);
689+
}
690+
return networkBootstrapInterfaces;
691+
}
692+
693+
/**
694+
* Gets wrapped service client ManagedNetworkFabricManagementClient providing direct access to the underlying
638695
* auto-generated API implementation, based on Azure REST API.
639696
*
640-
* @return Wrapped service client AzureNetworkFabricManagementServiceApi.
697+
* @return Wrapped service client ManagedNetworkFabricManagementClient.
641698
*/
642-
public AzureNetworkFabricManagementServiceApi serviceClient() {
699+
public ManagedNetworkFabricManagementClient serviceClient() {
643700
return this.clientObject;
644701
}
645702
}

0 commit comments

Comments
 (0)