diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index a25a118e4a64..fd54de568d2c 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -445,7 +445,7 @@ com.azure.resourcemanager:azure-resourcemanager-selfhelp;1.0.0;1.1.0-beta.7
com.azure.resourcemanager:azure-resourcemanager-networkcloud;2.1.0;2.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-cosmosdbforpostgresql;1.0.0;1.1.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-managementgroups;1.0.0-beta.2;1.0.0-beta.3
-com.azure.resourcemanager:azure-resourcemanager-managednetworkfabric;1.1.0;1.2.0-beta.1
+com.azure.resourcemanager:azure-resourcemanager-managednetworkfabric;1.1.0;1.2.0
com.azure.resourcemanager:azure-resourcemanager-iotfirmwaredefense;2.0.0;2.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-quantum;1.0.0-beta.3;1.0.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-chaos;1.3.0;1.4.0-beta.1
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md
index ce73ef06293f..c09aa7c44de5 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/CHANGELOG.md
@@ -1,14 +1,2109 @@
# Release History
-## 1.2.0-beta.1 (Unreleased)
+## 1.2.0 (2026-04-01)
-### Features Added
+- Azure Resource Manager Managed Network Fabric client library for Java. 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).
### Breaking Changes
-### Bugs Fixed
+#### `models.NetworkPacketBrokersListResult` was removed
+
+#### `models.InternalNetworkPatchableProperties` was removed
+
+#### `models.IpCommunityAddOperationProperties` was removed
+
+#### `models.NetworkDevicesListResult` was removed
+
+#### `models.OptionAProperties` was removed
+
+#### `models.L3OptionAProperties` was removed
+
+#### `models.VpnConfigurationPatchablePropertiesOptionAProperties` was removed
+
+#### `models.ExternalNetworksList` was removed
+
+#### `models.IpCommunityDeleteOperationProperties` was removed
+
+#### `models.OperationListResult` was removed
+
+#### `models.ExtensionEnumProperty` was removed
+
+#### `models.NetworkTapPropertiesDestinationsItem` was removed
+
+#### `models.IpExtendedCommunitySetOperationProperties` was removed
+
+#### `models.NeighborGroupsListResult` was removed
+
+#### `models.NetworkTapRulePatchableProperties` was removed
+
+#### `models.NetworkDeviceSkusListResult` was removed
+
+#### `models.NetworkTapRulesListResult` was removed
+
+#### `models.L3IsolationDomainPatchableProperties` was removed
+
+#### `models.L3IsolationDomainsListResult` was removed
+
+#### `models.InternalNetworkPropertiesBgpConfiguration` was removed
+
+#### `models.OptionBProperties` was removed
+
+#### `models.IpPrefixesListResult` was removed
+
+#### `models.TerminalServerPatchableProperties` was removed
+
+#### `models.NetworkFabricPatchableProperties` was removed
+
+#### `models.InternalNetworkPropertiesStaticRouteConfiguration` was removed
+
+#### `models.IpExtendedCommunityListResult` was removed
+
+#### `models.NetworkTapPatchableParametersDestinationsItem` was removed
+
+#### `models.ExternalNetworkPatchableProperties` was removed
+
+#### `models.IpCommunitiesListResult` was removed
+
+#### `models.IpExtendedCommunityPatchableProperties` was removed
+
+#### `models.AccessControlListPatchableProperties` was removed
+
+#### `models.NetworkRacksListResult` was removed
+
+#### `models.NetworkFabricsListResult` was removed
+
+#### `models.NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration` was removed
+
+#### `models.NeighborGroupPatchableProperties` was removed
+
+#### `models.VpnConfigurationPropertiesOptionAProperties` was removed
+
+#### `models.NetworkFabricPatchablePropertiesTerminalServerConfiguration` was removed
+
+#### `models.PollingIntervalInSeconds` was removed
+
+#### `models.InternetGatewayRulesListResult` was removed
+
+#### `models.ManagementNetworkConfigurationPatchableProperties` was removed
+
+#### `models.NetworkFabricSkusListResult` was removed
+
+#### `models.NetworkToNetworkInterconnectsList` was removed
+
+#### `models.RoutePoliciesListResult` was removed
+
+#### `models.L2IsolationDomainsListResult` was removed
+
+#### `models.IpPrefixPatchableProperties` was removed
+
+#### `models.InternetGatewaysListResult` was removed
+
+#### `models.IpCommunitySetOperationProperties` was removed
+
+#### `models.NetworkInterfacesList` was removed
+
+#### `models.AccessControlListsListResult` was removed
+
+#### `models.IpExtendedCommunityDeleteOperationProperties` was removed
+
+#### `models.InternalNetworksList` was removed
+
+#### `models.NetworkFabricControllersListResult` was removed
+
+#### `models.NetworkDevicePatchableProperties` was removed
+
+#### `models.NetworkTapsListResult` was removed
+
+#### `models.IpExtendedCommunityAddOperationProperties` was removed
+
+#### `models.NetworkDevice$DefinitionStages` was modified
+
+* Required stage 3 was added
+
+#### `models.IpCommunity$DefinitionStages` was modified
+
+* Required stage 3 was added
+
+#### `models.NetworkTapRule$DefinitionStages` was modified
+
+* Required stage 3 was added
+
+#### `models.NeighborGroup$DefinitionStages` was modified
+
+* Required stage 3 was added
+
+#### `models.RoutePolicy$DefinitionStages` was modified
+
+* Required stage 4 was added
+* `withNetworkFabricId(java.lang.String)` was removed in stage 3
+
+#### `models.IpPrefix$DefinitionStages` was modified
+
+* Required stage 3 was added
+
+#### `models.AccessControlList$DefinitionStages` was modified
+
+* Required stage 3 was added
+
+#### `models.InternetGateway$DefinitionStages` was modified
+
+* `withTypePropertiesType(models.GatewayType)` was removed in stage 3
+
+#### `models.InternalNetwork$Definition` was modified
+
+* `withStaticRouteConfiguration(models.InternalNetworkPropertiesStaticRouteConfiguration)` was removed
+* `withExportRoutePolicyId(java.lang.String)` was removed
+* `withImportRoutePolicyId(java.lang.String)` was removed
+* `withBgpConfiguration(models.InternalNetworkPropertiesBgpConfiguration)` was removed
+
+#### `models.ImportRoutePolicyInformation` was modified
+
+* `validate()` was removed
+
+#### `models.L2IsolationDomains` was modified
+
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.L3IsolationDomainPatch` was modified
+
+* `withAggregateRouteConfiguration(models.AggregateRouteConfiguration)` was removed
+* `validate()` was removed
+* `withConnectedSubnetRoutePolicy(models.ConnectedSubnetRoutePolicy)` was removed
+* `models.AggregateRouteConfiguration aggregateRouteConfiguration()` -> `models.AggregateRoutePatchConfiguration aggregateRouteConfiguration()`
+* `models.ConnectedSubnetRoutePolicy connectedSubnetRoutePolicy()` -> `models.ConnectedSubnetRoutePolicyPatch connectedSubnetRoutePolicy()`
+
+#### `models.ExportRoutePolicyInformation` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkTapRules` was modified
+
+* `models.CommonPostActionResponseForStateUpdate resync(java.lang.String,java.lang.String)` -> `models.NetworkTapRuleResyncResponse resync(java.lang.String,java.lang.String)`
+* `models.CommonPostActionResponseForStateUpdate resync(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.NetworkTapRuleResyncResponse resync(java.lang.String,java.lang.String,com.azure.core.util.Context)`
+
+#### `models.NetworkTapRuleAction` was modified
+
+* `validate()` was removed
+
+#### `models.IpGroupProperties` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkInterfacePatch` was modified
+
+* `validate()` was removed
+
+#### `models.DestinationProperties` was modified
+
+* `validate()` was removed
+
+#### `models.TerminalServerConfiguration` was modified
+
+* `withPassword(java.lang.String)` was removed
+* `validate()` was removed
+* `withSerialNumber(java.lang.String)` was removed
+* `withUsername(java.lang.String)` was removed
+
+#### `models.NetworkTapRuleMatchCondition` was modified
+
+* `validate()` was removed
+
+#### `models.RebootProperties` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkDevice$Update` was modified
+
+* `withHostname(java.lang.String)` was removed
+
+#### `models.VpnConfigurationPatchableProperties` was modified
+
+* `models.VpnConfigurationPatchablePropertiesOptionAProperties optionAProperties()` -> `models.VpnOptionAPatchProperties optionAProperties()`
+* `models.OptionBProperties optionBProperties()` -> `models.VpnOptionBPatchProperties optionBProperties()`
+* `validate()` was removed
+* `withOptionAProperties(models.VpnConfigurationPatchablePropertiesOptionAProperties)` was removed
+* `withOptionBProperties(models.OptionBProperties)` was removed
+
+#### `models.ExternalNetworkPatch` was modified
+
+* `models.ImportRoutePolicy importRoutePolicy()` -> `models.ImportRoutePolicyPatch importRoutePolicy()`
+* `models.ExportRoutePolicy exportRoutePolicy()` -> `models.ExportRoutePolicyPatch exportRoutePolicy()`
+* `models.L3OptionBProperties optionBProperties()` -> `models.L3OptionBPatchProperties optionBProperties()`
+* `importRoutePolicyId()` was removed
+* `withExportRoutePolicy(models.ExportRoutePolicy)` was removed
+* `withExportRoutePolicyId(java.lang.String)` was removed
+* `withImportRoutePolicyId(java.lang.String)` was removed
+* `validate()` was removed
+* `withImportRoutePolicy(models.ImportRoutePolicy)` was removed
+* `withOptionBProperties(models.L3OptionBProperties)` was removed
+* `exportRoutePolicyId()` was removed
+
+#### `models.SupportedVersionProperties` was modified
+
+* `SupportedVersionProperties()` was changed to private access
+* `withVersion(java.lang.String)` was removed
+* `withIsDefault(models.BooleanEnumProperty)` was removed
+* `withVendorOsVersion(java.lang.String)` was removed
+* `withVendorFirmwareVersion(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.ActionIpCommunityProperties` was modified
+
+* `withAdd(models.IpCommunityIdList)` was removed
+* `validate()` was removed
+
+#### `models.IpPrefixPatch` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkInterface` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState)`
+
+#### `models.InternetGatewayRulePatch` was modified
+
+* `withTags(java.util.Map)` was removed
+* `validate()` was removed
+
+#### `ManagedNetworkFabricManager` was modified
+
+* `fluent.AzureNetworkFabricManagementServiceApi serviceClient()` -> `fluent.ManagedNetworkFabricManagementClient serviceClient()`
+
+#### `models.ExternalNetworks` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+
+#### `models.ExternalNetwork$Update` was modified
+
+* `withExportRoutePolicyId(java.lang.String)` was removed
+* `withImportRoutePolicyId(java.lang.String)` was removed
+* `withOptionBProperties(models.L3OptionBProperties)` was removed
+* `withImportRoutePolicy(models.ImportRoutePolicy)` was removed
+* `withExportRoutePolicy(models.ExportRoutePolicy)` was removed
+
+#### `models.NetworkTaps` was modified
+
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate resync(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.NetworkTapResyncResponse resync(java.lang.String,java.lang.String,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate resync(java.lang.String,java.lang.String)` -> `models.NetworkTapResyncResponse resync(java.lang.String,java.lang.String)`
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.PortGroupProperties` was modified
+
+* `validate()` was removed
+
+#### `models.L3IsolationDomain` was modified
+
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.VlanMatchCondition` was modified
+
+* `validate()` was removed
+
+#### `models.NeighborAddress` was modified
+
+* `validate()` was removed
+
+#### `models.AccessControlList$Update` was modified
+
+* `withDynamicMatchConfigurations(java.util.List)` was removed
+* `withMatchConfigurations(java.util.List)` was removed
+
+#### `models.InternalNetworks` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `updateBgpAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` was removed
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `updateBgpAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)` was removed
+
+#### `models.ExternalNetworkPropertiesOptionAProperties` was modified
+
+* `withPeerAsn(java.lang.Long)` was removed
+* `withPrimaryIpv6Prefix(java.lang.String)` was removed
+* `withVlanId(java.lang.Integer)` was removed
+* `java.lang.Long peerAsn()` -> `long peerAsn()`
+* `withSecondaryIpv6Prefix(java.lang.String)` was removed
+* `validate()` was removed
+* `java.lang.Integer vlanId()` -> `int vlanId()`
+* `withSecondaryIpv4Prefix(java.lang.String)` was removed
+* `withPrimaryIpv4Prefix(java.lang.String)` was removed
+
+#### `models.AccessControlListMatchCondition` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedResourceGroupConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.InternalNetwork$Update` was modified
+
+* `withStaticRouteConfiguration(models.StaticRouteConfiguration)` was removed
+* `withExportRoutePolicyId(java.lang.String)` was removed
+* `withImportRoutePolicyId(java.lang.String)` was removed
+* `withConnectedIPv4Subnets(java.util.List)` was removed
+* `withConnectedIPv6Subnets(java.util.List)` was removed
+* `withBgpConfiguration(models.BgpConfiguration)` was removed
+
+#### `models.NetworkDevices` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateDeviceAdministrativeState,com.azure.core.util.Context)` -> `models.NetworkDeviceUpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateDeviceAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate refreshConfiguration(java.lang.String,java.lang.String)` -> `models.NetworkDeviceRefreshConfigurationResponse refreshConfiguration(java.lang.String,java.lang.String)`
+* `models.CommonPostActionResponseForStateUpdate refreshConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.NetworkDeviceRefreshConfigurationResponse refreshConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)`
+* `upgrade(java.lang.String,java.lang.String,models.UpdateVersion,com.azure.core.util.Context)` was removed
+* `models.CommonPostActionResponseForStateUpdate reboot(java.lang.String,java.lang.String,models.RebootProperties)` -> `models.OperationStatusResult reboot(java.lang.String,java.lang.String,models.RebootProperties)`
+* `upgrade(java.lang.String,java.lang.String,models.UpdateVersion)` was removed
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateDeviceAdministrativeState)` -> `models.NetworkDeviceUpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateDeviceAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate reboot(java.lang.String,java.lang.String,models.RebootProperties,com.azure.core.util.Context)` -> `models.OperationStatusResult reboot(java.lang.String,java.lang.String,models.RebootProperties,com.azure.core.util.Context)`
+
+#### `models.NetworkTapRule$Definition` was modified
+
+* `withPollingIntervalInSeconds(models.PollingIntervalInSeconds)` was removed
+
+#### `models.L3OptionBProperties` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkTapRule$Update` was modified
+
+* `withMatchConfigurations(java.util.List)` was removed
+* `withDynamicMatchConfigurations(java.util.List)` was removed
+
+#### `models.UpgradeNetworkFabricProperties` was modified
+
+* `validate()` was removed
+
+#### `models.L3ExportRoutePolicy` was modified
+
+* `validate()` was removed
+
+#### `models.AnnotationResource` was modified
+
+* `validate()` was removed
+
+#### `models.RuleProperties` was modified
+
+* `validate()` was removed
+
+#### `models.InternalNetworkPatch` was modified
+
+* `importRoutePolicyId()` was removed
+* `withExportRoutePolicyId(java.lang.String)` was removed
+* `exportRoutePolicyId()` was removed
+* `withStaticRouteConfiguration(models.StaticRouteConfiguration)` was removed
+* `withImportRoutePolicyId(java.lang.String)` was removed
+* `models.StaticRouteConfiguration staticRouteConfiguration()` -> `models.StaticRoutePatchConfiguration staticRouteConfiguration()`
+* `withBgpConfiguration(models.BgpConfiguration)` was removed
+* `models.BgpConfiguration bgpConfiguration()` -> `models.BgpPatchConfiguration bgpConfiguration()`
+* `validate()` was removed
+
+#### `models.RoutePolicyPatch` was modified
+
+* `validate()` was removed
+
+#### `models.AccessControlListPatch` was modified
+
+* `validate()` was removed
+
+#### `models.AccessControlListMatchConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.InternalNetwork` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState)`
+* `updateBgpAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` was removed
+* `updateBgpAdministrativeState(models.UpdateAdministrativeState)` was removed
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState)`
+* `models.InternalNetworkPropertiesBgpConfiguration bgpConfiguration()` -> `models.BgpConfiguration bgpConfiguration()`
+* `models.InternalNetworkPropertiesStaticRouteConfiguration staticRouteConfiguration()` -> `models.StaticRouteConfiguration staticRouteConfiguration()`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `importRoutePolicyId()` was removed
+* `exportRoutePolicyId()` was removed
+* `models.CommonPostActionResponseForStateUpdate updateStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.IpCommunityIdList` was modified
+
+* `validate()` was removed
+
+#### `models.CommonDynamicMatchConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkDevice$Definition` was modified
+
+* `withHostname(java.lang.String)` was removed
+
+#### `models.NeighborGroupDestination` was modified
+
+* `validate()` was removed
+
+#### `models.ValidateConfigurationProperties` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkFabrics` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateInfraManagementBfdConfiguration(java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateInfraManagementBfdConfiguration(java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateInfraManagementBfdConfiguration(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateInfraManagementBfdConfiguration(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateWorkloadManagementBfdConfiguration(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateWorkloadManagementBfdConfiguration(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForDeviceUpdate provision(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.OperationStatusResult provision(java.lang.String,java.lang.String,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate upgrade(java.lang.String,java.lang.String,models.UpgradeNetworkFabricProperties)` -> `models.OperationStatusResult upgrade(java.lang.String,java.lang.String,models.UpgradeNetworkFabricProperties)`
+* `models.CommonPostActionResponseForStateUpdate refreshConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.OperationStatusResult refreshConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)`
+* `commitConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+* `models.CommonPostActionResponseForDeviceUpdate provision(java.lang.String,java.lang.String)` -> `models.OperationStatusResult provision(java.lang.String,java.lang.String)`
+* `models.CommonPostActionResponseForStateUpdate updateWorkloadManagementBfdConfiguration(java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateWorkloadManagementBfdConfiguration(java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.ValidateConfigurationResponse getTopology(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.GetTopologyResponse getTopology(java.lang.String,java.lang.String,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForDeviceUpdate deprovision(java.lang.String,java.lang.String,com.azure.core.util.Context)` -> `models.OperationStatusResult deprovision(java.lang.String,java.lang.String,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate refreshConfiguration(java.lang.String,java.lang.String)` -> `models.OperationStatusResult refreshConfiguration(java.lang.String,java.lang.String)`
+* `models.CommonPostActionResponseForDeviceUpdate deprovision(java.lang.String,java.lang.String)` -> `models.OperationStatusResult deprovision(java.lang.String,java.lang.String)`
+* `models.CommonPostActionResponseForStateUpdate commitConfiguration(java.lang.String,java.lang.String)` -> `models.CommitConfigurationResponse commitConfiguration(java.lang.String,java.lang.String)`
+* `models.CommonPostActionResponseForStateUpdate upgrade(java.lang.String,java.lang.String,models.UpgradeNetworkFabricProperties,com.azure.core.util.Context)` -> `models.OperationStatusResult upgrade(java.lang.String,java.lang.String,models.UpgradeNetworkFabricProperties,com.azure.core.util.Context)`
+* `models.ValidateConfigurationResponse getTopology(java.lang.String,java.lang.String)` -> `models.GetTopologyResponse getTopology(java.lang.String,java.lang.String)`
+
+#### `models.NetworkDevice` was modified
+
+* `upgrade(models.UpdateVersion,com.azure.core.util.Context)` was removed
+* `upgrade(models.UpdateVersion)` was removed
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateDeviceAdministrativeState,com.azure.core.util.Context)` -> `models.NetworkDeviceUpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateDeviceAdministrativeState,com.azure.core.util.Context)`
+* `hostname()` was removed
+* `models.CommonPostActionResponseForStateUpdate reboot(models.RebootProperties,com.azure.core.util.Context)` -> `models.OperationStatusResult reboot(models.RebootProperties,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate refreshConfiguration(com.azure.core.util.Context)` -> `models.NetworkDeviceRefreshConfigurationResponse refreshConfiguration(com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateDeviceAdministrativeState)` -> `models.NetworkDeviceUpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateDeviceAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate reboot(models.RebootProperties)` -> `models.OperationStatusResult reboot(models.RebootProperties)`
+* `models.CommonPostActionResponseForStateUpdate refreshConfiguration()` -> `models.NetworkDeviceRefreshConfigurationResponse refreshConfiguration()`
+
+#### `models.NetworkFabricController` was modified
+
+* `workloadManagementNetwork()` was removed
+
+#### `models.ActionIpExtendedCommunityProperties` was modified
+
+* `validate()` was removed
+* `withAdd(models.IpExtendedCommunityIdList)` was removed
+
+#### `models.NetworkPacketBrokerPatch` was modified
+
+* `validate()` was removed
+
+#### `models.IpCommunityPatch` was modified
+
+* `validate()` was removed
+
+#### `models.UpdateAdministrativeState` was modified
+
+* `validate()` was removed
+
+#### `models.EnableDisableOnResources` was modified
+
+* `validate()` was removed
+
+#### `models.VpnConfigurationProperties` was modified
+
+* `validate()` was removed
+* `models.OptionBProperties optionBProperties()` -> `models.VpnOptionBProperties optionBProperties()`
+* `models.VpnConfigurationPropertiesOptionAProperties optionAProperties()` -> `models.VpnOptionAProperties optionAProperties()`
+* `withOptionBProperties(models.OptionBProperties)` was removed
+* `withOptionAProperties(models.VpnConfigurationPropertiesOptionAProperties)` was removed
+
+#### `models.UpdateDeviceAdministrativeState` was modified
+
+* `validate()` was removed
+
+#### `models.AccessControlList` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.DeviceInterfaceProperties` was modified
+
+* `DeviceInterfaceProperties()` was changed to private access
+* `withIdentifier(java.lang.String)` was removed
+* `validate()` was removed
+* `withSupportedConnectorTypes(java.util.List)` was removed
+* `withInterfaceType(java.lang.String)` was removed
+
+#### `models.ConnectedSubnet` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkFabricControllerPatch` was modified
+
+* `validate()` was removed
+
+#### `models.StaticRouteConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.RoutePolicyStatementProperties` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkToNetworkInterconnect` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateNpbStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateNpbStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateNpbStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateNpbStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration optionBLayer3Configuration()` -> `models.OptionBLayer3Configuration optionBLayer3Configuration()`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState)`
+
+#### `models.NetworkTapRule` was modified
+
+* `models.CommonPostActionResponseForStateUpdate resync()` -> `models.NetworkTapRuleResyncResponse resync()`
+* `models.PollingIntervalInSeconds pollingIntervalInSeconds()` -> `java.lang.Integer pollingIntervalInSeconds()`
+* `models.CommonPostActionResponseForStateUpdate resync(com.azure.core.util.Context)` -> `models.NetworkTapRuleResyncResponse resync(com.azure.core.util.Context)`
+
+#### `models.NetworkToNetworkInterconnectPatch` was modified
+
+* `name()` was removed
+* `withLayer2Configuration(models.Layer2Configuration)` was removed
+* `withImportRoutePolicy(models.ImportRoutePolicyInformation)` was removed
+* `models.NpbStaticRouteConfiguration npbStaticRouteConfiguration()` -> `models.NpbStaticRouteConfigurationPatch npbStaticRouteConfiguration()`
+* `withExportRoutePolicy(models.ExportRoutePolicyInformation)` was removed
+* `models.OptionBLayer3Configuration optionBLayer3Configuration()` -> `models.OptionBLayer3ConfigurationPatchProperties optionBLayer3Configuration()`
+* `withOptionBLayer3Configuration(models.OptionBLayer3Configuration)` was removed
+* `models.ImportRoutePolicyInformation importRoutePolicy()` -> `models.ImportRoutePolicyInformationPatch importRoutePolicy()`
+* `models.Layer2Configuration layer2Configuration()` -> `models.Layer2ConfigurationPatch layer2Configuration()`
+* `models.ExportRoutePolicyInformation exportRoutePolicy()` -> `models.ExportRoutePolicyInformationPatch exportRoutePolicy()`
+* `validate()` was removed
+* `withNpbStaticRouteConfiguration(models.NpbStaticRouteConfiguration)` was removed
+
+#### `models.NpbStaticRouteConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.L3IsolationDomain$Update` was modified
+
+* `withAggregateRouteConfiguration(models.AggregateRouteConfiguration)` was removed
+* `withConnectedSubnetRoutePolicy(models.ConnectedSubnetRoutePolicy)` was removed
+
+#### `models.ConnectedSubnetRoutePolicy` was modified
+
+* `validate()` was removed
+* `withExportRoutePolicyId(java.lang.String)` was removed
+* `exportRoutePolicyId()` was removed
+
+#### `models.StaticRouteProperties` was modified
+
+* `validate()` was removed
+
+#### `models.IpExtendedCommunityPatch` was modified
+
+* `validate()` was removed
+
+#### `models.RoutePolicy` was modified
+
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.NetworkToNetworkInterconnect$Definition` was modified
+
+* `withOptionBLayer3Configuration(models.NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration)` was removed
+
+#### `models.VlanGroupProperties` was modified
+
+* `validate()` was removed
+
+#### `models.TagsUpdate` was modified
+
+* `validate()` was removed
+
+#### `models.BgpConfiguration` was modified
+
+* `java.lang.Long peerAsn()` -> `long peerAsn()`
+* `validate()` was removed
+* `withPeerAsn(java.lang.Long)` was removed
+
+#### `models.NetworkFabricPatch` was modified
+
+* `validate()` was removed
+* `withTerminalServerConfiguration(models.NetworkFabricPatchablePropertiesTerminalServerConfiguration)` was removed
+* `withManagementNetworkConfiguration(models.ManagementNetworkConfigurationPatchableProperties)` was removed
+* `models.NetworkFabricPatchablePropertiesTerminalServerConfiguration terminalServerConfiguration()` -> `models.TerminalServerPatchConfiguration terminalServerConfiguration()`
+* `models.ManagementNetworkConfigurationPatchableProperties managementNetworkConfiguration()` -> `models.ManagementNetworkPatchConfiguration managementNetworkConfiguration()`
+
+#### `models.AccessControlListPortCondition` was modified
+
+* `validate()` was removed
+
+#### `models.IpPrefixRule` was modified
+
+* `validate()` was removed
+
+#### `models.RoutePolicies` was modified
+
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.NeighborGroup$Update` was modified
+
+* `withDestination(models.NeighborGroupDestination)` was removed
+
+#### `models.AggregateRouteConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.IsolationDomainProperties` was modified
+
+* `validate()` was removed
+
+#### `models.StatementActionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.PortCondition` was modified
+
+* `validate()` was removed
+
+#### `models.ControllerServices` was modified
+
+* `ControllerServices()` was changed to private access
+* `validate()` was removed
+* `withIpv6AddressSpaces(java.util.List)` was removed
+* `withIpv4AddressSpaces(java.util.List)` was removed
+
+#### `models.NetworkTapRuleMatchConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.L2IsolationDomain` was modified
+
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState)`
+
+#### `models.AccessControlLists` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+
+#### `models.NetworkFabric` was modified
+
+* `models.ValidateConfigurationResponse getTopology()` -> `models.GetTopologyResponse getTopology()`
+* `models.ValidateConfigurationResponse getTopology(com.azure.core.util.Context)` -> `models.GetTopologyResponse getTopology(com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForDeviceUpdate deprovision()` -> `models.OperationStatusResult deprovision()`
+* `models.CommonPostActionResponseForStateUpdate refreshConfiguration()` -> `models.OperationStatusResult refreshConfiguration()`
+* `commitConfiguration(com.azure.core.util.Context)` was removed
+* `models.CommonPostActionResponseForStateUpdate refreshConfiguration(com.azure.core.util.Context)` -> `models.OperationStatusResult refreshConfiguration(com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateInfraManagementBfdConfiguration(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateInfraManagementBfdConfiguration(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate commitConfiguration()` -> `models.CommitConfigurationResponse commitConfiguration()`
+* `models.CommonPostActionResponseForStateUpdate updateWorkloadManagementBfdConfiguration(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateWorkloadManagementBfdConfiguration(models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateWorkloadManagementBfdConfiguration(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateWorkloadManagementBfdConfiguration(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateInfraManagementBfdConfiguration(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateInfraManagementBfdConfiguration(models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForDeviceUpdate provision()` -> `models.OperationStatusResult provision()`
+* `models.CommonPostActionResponseForStateUpdate upgrade(models.UpgradeNetworkFabricProperties)` -> `models.OperationStatusResult upgrade(models.UpgradeNetworkFabricProperties)`
+* `models.CommonPostActionResponseForDeviceUpdate provision(com.azure.core.util.Context)` -> `models.OperationStatusResult provision(com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate upgrade(models.UpgradeNetworkFabricProperties,com.azure.core.util.Context)` -> `models.OperationStatusResult upgrade(models.UpgradeNetworkFabricProperties,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForDeviceUpdate deprovision(com.azure.core.util.Context)` -> `models.OperationStatusResult deprovision(com.azure.core.util.Context)`
+
+#### `models.IpCommunityRule` was modified
+
+* `validate()` was removed
+
+#### `models.CommonMatchConditions` was modified
+
+* `validate()` was removed
+
+#### `models.ExternalNetwork` was modified
+
+* `importRoutePolicyId()` was removed
+* `models.CommonPostActionResponseForStateUpdate updateStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState)`
+* `exportRoutePolicyId()` was removed
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateStaticRouteBfdAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.UpdateVersion` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkFabric$Update` was modified
+
+* `withManagementNetworkConfiguration(models.ManagementNetworkConfigurationPatchableProperties)` was removed
+* `withTerminalServerConfiguration(models.NetworkFabricPatchablePropertiesTerminalServerConfiguration)` was removed
+
+#### `models.NetworkToNetworkInterconnect$Update` was modified
+
+* `withImportRoutePolicy(models.ImportRoutePolicyInformation)` was removed
+* `withExportRoutePolicy(models.ExportRoutePolicyInformation)` was removed
+* `withNpbStaticRouteConfiguration(models.NpbStaticRouteConfiguration)` was removed
+* `withOptionBLayer3Configuration(models.OptionBLayer3Configuration)` was removed
+* `withLayer2Configuration(models.Layer2Configuration)` was removed
+
+#### `models.NetworkDevicePatchParameters` was modified
+
+* `validate()` was removed
+* `withHostname(java.lang.String)` was removed
+* `hostname()` was removed
+
+#### `models.ManagementNetworkConfigurationProperties` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkTap` was modified
+
+* `models.CommonPostActionResponseForStateUpdate resync(com.azure.core.util.Context)` -> `models.NetworkTapResyncResponse resync(com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate resync()` -> `models.NetworkTapResyncResponse resync()`
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.ExportRoutePolicy` was modified
+
+* `validate()` was removed
+
+#### `models.L3IsolationDomains` was modified
+
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForDeviceUpdate updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.NetworkToNetworkInterconnects` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+* `models.CommonPostActionResponseForStateUpdate updateNpbStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateNpbStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateNpbStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateNpbStaticRouteBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.RoutePolicy$Update` was modified
+
+* `withStatements(java.util.List)` was removed
+
+#### `models.OperationDisplay` was modified
+
+* `OperationDisplay()` was changed to private access
+* `validate()` was removed
+
+#### `models.IpExtendedCommunityIdList` was modified
+
+* `validate()` was removed
+
+#### `models.ExternalNetwork$Definition` was modified
+
+* `withExportRoutePolicyId(java.lang.String)` was removed
+* `withImportRoutePolicyId(java.lang.String)` was removed
+
+#### `models.NeighborGroupPatch` was modified
+
+* `models.NeighborGroupDestination destination()` -> `models.NeighborGroupDestinationPatch destination()`
+* `validate()` was removed
+* `withDestination(models.NeighborGroupDestination)` was removed
+
+#### `models.Layer2Configuration` was modified
+
+* `validate()` was removed
+
+#### `models.Layer3IpPrefixProperties` was modified
+
+* `validate()` was removed
+
+#### `models.L2IsolationDomainPatch` was modified
+
+* `validate()` was removed
+
+#### `models.RouteTargetInformation` was modified
+
+* `validate()` was removed
+
+#### `models.ExpressRouteConnectionInformation` was modified
+
+* `validate()` was removed
+
+#### `models.BfdConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.ImportRoutePolicy` was modified
+
+* `validate()` was removed
+
+#### `models.IpExtendedCommunityRule` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkInterfaces` was modified
+
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState)`
+* `models.CommonPostActionResponseForStateUpdate updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)` -> `models.UpdateAdministrativeStateResponse updateAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.UpdateAdministrativeState,com.azure.core.util.Context)`
+
+#### `models.ExternalNetworkPatchPropertiesOptionAProperties` was modified
+
+* `models.BfdConfiguration bfdConfiguration()` -> `models.BfdPatchConfiguration bfdConfiguration()`
+* `withBfdConfiguration(models.BfdConfiguration)` was removed
+* `withSecondaryIpv6Prefix(java.lang.String)` was removed
+* `withPrimaryIpv4Prefix(java.lang.String)` was removed
+* `withSecondaryIpv4Prefix(java.lang.String)` was removed
+* `validate()` was removed
+* `withPrimaryIpv6Prefix(java.lang.String)` was removed
+
+#### `models.AccessControlListAction` was modified
+
+* `validate()` was removed
+
+#### `models.SupportedConnectorProperties` was modified
+
+* `SupportedConnectorProperties()` was changed to private access
+* `withMaxSpeedInMbps(java.lang.Integer)` was removed
+* `withConnectorType(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.NetworkTapRulePatch` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkTapPatch` was modified
+
+* `validate()` was removed
+
+#### `models.AggregateRoute` was modified
+
+* `validate()` was removed
+
+#### `models.StatementConditionProperties` was modified
+
+* `validate()` was removed
+* `withIpCommunityIds(java.util.List)` was removed
+
+#### `models.InternetGatewayPatch` was modified
+
+* `validate()` was removed
+
+#### `models.OptionBLayer3Configuration` was modified
+
+* `withPeerAsn(java.lang.Long)` was removed
+* `java.lang.Integer vlanId()` -> `int vlanId()`
+* `validate()` was removed
+* `withVlanId(java.lang.Integer)` was removed
+* `java.lang.Long peerAsn()` -> `long peerAsn()`
+
+#### `models.IpMatchCondition` was modified
+
+* `validate()` was removed
+
+### Features Added
+
+* `models.HeaderAddressProperties` was added
+
+* `models.RouteType` was added
+
+* `models.VpnOptionBProperties` was added
+
+* `models.InternalNetworkBmpProperties` was added
+
+* `models.NetworkMonitor$Definition` was added
+
+* `models.ExternalNetworkBmpProperties` was added
+
+* `models.L3OptionBPatchProperties` was added
+
+* `models.NeighborGroupDestinationPatch` was added
+
+* `models.VlanGroupPatchProperties` was added
+
+* `models.NetworkFabricRotateCertificatesResponse` was added
+
+* `models.CertificateArchiveReference` was added
+
+* `models.BgpAdministrativeState` was added
+
+* `models.ExternalNetworkUpdateBfdAdministrativeStateRequest` was added
+
+* `models.GetTopologyResponseProperties` was added
+
+* `models.NetworkBootstrapDeviceUpgradeResponse` was added
+
+* `models.NetworkBootstrapDevices` was added
+
+* `models.StatementActionPatchProperties` was added
+
+* `models.ManagedServiceIdentity` was added
+
+* `models.NetworkBootstrapInterface$UpdateStages` was added
+
+* `models.IcmpConfigurationPatchProperties` was added
+
+* `models.ControlPlaneAclPortMatchType` was added
+
+* `models.VlanMatchConditionPatch` was added
+
+* `models.BfdPatchConfiguration` was added
+
+* `models.StaticRouteRoutePolicy` was added
+
+* `models.UpdateAdministrativeStateResponseProperties` was added
+
+* `models.ArmConfigurationDiffResponseProperties` was added
+
+* `models.InternalNetworkUpdateBfdAdministrativeStateResponse` was added
+
+* `models.IcmpConfigurationProperties` was added
+
+* `models.DiscardCommitBatchResponseProperties` was added
+
+* `models.NetworkBootstrapInterface` was added
+
+* `models.NniStaticRouteConfiguration` was added
+
+* `models.NetworkBootstrapDevice$Definition` was added
+
+* `models.VpnOptionBPatchProperties` was added
+
+* `models.CommonMatchConditionsPatch` was added
+
+* `models.ExternalNetworkStaticRouteConfiguration` was added
+
+* `models.AuthorizedTransceiverProperties` was added
+
+* `models.ImportRoutePolicyInformationPatch` was added
+
+* `models.QosPatchProperties` was added
+
+* `models.AuthorizedTransceiverPatchProperties` was added
+
+* `models.NetworkFabricLockAction` was added
+
+* `models.GlobalNetworkTapRuleActionPatchProperties` was added
+
+* `models.UniqueRouteDistinguisherPatchProperties` was added
+
+* `models.ExternalNetworkBmpPatchProperties` was added
+
+* `models.ConditionalDefaultRouteProperties` was added
+
+* `models.NniUpdateBfdAdministrativeStateResponse` was added
+
+* `models.ControlPlaneAclPortMatchCondition` was added
+
+* `models.ViewDeviceConfigurationOperationResponse` was added
+
+* `models.BmpConfigurationPatchProperties` was added
+
+* `models.ManagedServiceIdentityPatch` was added
+
+* `models.Layer2ConfigurationPatch` was added
+
+* `models.NetworkFabricLockRequest` was added
+
+* `models.BitRateUnit` was added
+
+* `models.CommitBatchStatusResponseProperties` was added
+
+* `models.ControlPlaneAclProperties` was added
+
+* `models.NeighborGroupResyncResponse` was added
+
+* `models.ControlPlaneAclTtlMatchType` was added
+
+* `models.BurstSizeUnit` was added
+
+* `models.BmpExportPolicyProperties` was added
+
+* `models.DestinationPatchProperties` was added
+
+* `models.SynchronizationStatus` was added
+
+* `models.ExternalNetworkStaticRoutePatchConfiguration` was added
+
+* `models.NetworkTapRuleActionPatch` was added
+
+* `models.StorageAccountConfiguration` was added
+
+* `models.ControlPlaneAclActionType` was added
+
+* `models.NetworkBootstrapDeviceUpdateAdministrativeStateResponse` was added
+
+* `models.CommitBatchStatusOperationResponse` was added
+
+* `models.NetworkFabricLockType` was added
+
+* `models.NetworkBootstrapInterfacePatch` was added
+
+* `models.NetworkRackPatch` was added
+
+* `models.NetworkDeviceResyncPasswordsResponse` was added
+
+* `models.StaticRoutePatchConfiguration` was added
+
+* `models.BmpMonitoredAddressFamily` was added
+
+* `models.ArmConfigurationDiffOperationResponse` was added
+
+* `models.CommonErrorResponse` was added
+
+* `models.NetworkBootstrapDevicePatch` was added
+
+* `models.UpdateAdministrativeStateResponse` was added
+
+* `models.NativeIpv6PrefixLimitPatchProperties` was added
+
+* `models.CommitStage` was added
+
+* `models.NetworkBootstrapDevice$Update` was added
+
+* `models.OptionBLayer3PrefixLimitProperties` was added
+
+* `models.ControlPlaneAclAction` was added
+
+* `models.InternalNetworkUpdateBfdAdministrativeStateResponseProperties` was added
+
+* `models.StorageAccountPatchConfiguration` was added
+
+* `models.NetworkMonitor` was added
+
+* `models.InternalNetworkRouteType` was added
+
+* `models.NetworkBootstrapDeviceRefreshConfigurationResponse` was added
+
+* `models.GetTopologyResponse` was added
+
+* `models.ControlPlaneAclTtlMatchCondition` was added
+
+* `models.ProxyResourceBase` was added
+
+* `models.StationConnectionMode` was added
+
+* `models.NetworkDeviceUpdateAdministrativeStateResponse` was added
+
+* `models.StationConfigurationState` was added
+
+* `models.SecretArchiveReference` was added
+
+* `models.CommonPostActionResponseForDeviceROCommands` was added
+
+* `models.L3UniqueRouteDistinguisherProperties` was added
+
+* `models.DeviceRole` was added
+
+* `models.NetworkFabricResyncPasswordsResponse` was added
+
+* `models.NetworkDeviceUpgradeResponse` was added
+
+* `models.NetworkBootstrapInterface$Update` was added
+
+* `models.V4OverV6BgpSessionState` was added
+
+* `models.RoutePrefixLimitPatchProperties` was added
+
+* `models.BgpPatchConfiguration` was added
+
+* `models.PrefixLimitProperties` was added
+
+* `models.NetworkDeviceRefreshConfigurationResponse` was added
+
+* `models.GlobalAccessControlListActionPatchProperties` was added
+
+* `models.ExternalNetworkRouteType` was added
+
+* `models.BurstSize` was added
+
+* `models.NetworkFabricRotatePasswordsResponse` was added
+
+* `models.GlobalAccessControlListActionProperties` was added
+
+* `models.NetworkDeviceRunRwCommandResponse` was added
+
+* `models.ViewDeviceConfigurationResponseProperties` was added
+
+* `models.InternalNetworkUpdateBgpAdministrativeStateResponseProperties` was added
+
+* `models.BmpConfigurationState` was added
+
+* `models.ControlPlaneAclMatchConditionPatch` was added
+
+* `models.NativeIpv4PrefixLimitProperties` was added
+
+* `models.NetworkMonitors` was added
+
+* `models.NetworkFabricResyncCertificatesResponse` was added
+
+* `models.ControlPlaneAclTtlMatchConditionPatch` was added
+
+* `models.ControlPlaneAclMatchConfigurationProperties` was added
+
+* `models.StationConnectionProperties` was added
+
+* `models.NetworkDeviceUpgradeRequest` was added
+
+* `models.NetworkBootstrapDevice$UpdateStages` was added
+
+* `models.IdentitySelectorPatch` was added
+
+* `models.ControlPlaneAclActionPatch` was added
+
+* `models.NetworkBootstrapDeviceResyncPasswordsResponse` was added
+
+* `models.CommitBatchState` was added
+
+* `models.AccessControlListMatchConfigurationPatch` was added
+
+* `models.BmpExportPolicyPatchProperties` was added
+
+* `models.ManagementNetworkPatchConfiguration` was added
+
+* `models.IsolationDomainPatchProperties` was added
+
+* `models.InternalNetworkBmpPatchProperties` was added
+
+* `models.ControlPlaneAclMatchCondition` was added
+
+* `models.PrefixLimitPatchProperties` was added
+
+* `models.ControlPlaneAclPortMatchConditionPatch` was added
+
+* `models.AccessControlListPortConditionPatch` was added
+
+* `models.ExtendedVlan` was added
+
+* `models.ExportRoutePolicyPatch` was added
+
+* `models.RuleCondition` was added
+
+* `models.BmpConfigurationProperties` was added
+
+* `models.ExternalNetworkUpdateBfdAdministrativeStateResponseProperties` was added
+
+* `models.CommonDynamicMatchConfigurationPatch` was added
+
+* `models.NniStaticRoutePatchConfiguration` was added
+
+* `models.ImportRoutePolicyPatch` was added
+
+* `models.QosProperties` was added
+
+* `models.CertificateRotationStatus` was added
+
+* `models.OptionBLayer3PrefixLimitPatchProperties` was added
+
+* `models.NetworkTapRuleMatchConditionPatch` was added
+
+* `models.StaticRoutePatchProperties` was added
+
+* `models.NetworkTapResyncResponse` was added
+
+* `models.OptionBLayer3ConfigurationPatchProperties` was added
+
+* `models.NniBmpPatchProperties` was added
+
+* `models.PortConditionPatch` was added
+
+* `models.RouteTargetPatchInformation` was added
+
+* `models.StationConnectionPatchProperties` was added
+
+* `models.IpGroupPatchProperties` was added
+
+* `models.QosConfigurationState` was added
+
+* `models.NetworkBootstrapInterfaces` was added
+
+* `models.IpMatchConditionPatch` was added
+
+* `models.CommitConfigurationResponse` was added
+
+* `models.FabricLockProperties` was added
+
+* `models.CommitConfigurationRequest` was added
+
+* `models.DiscardCommitBatchRequest` was added
+
+* `models.NetworkMonitorPatch` was added
+
+* `models.VpnOptionAProperties` was added
+
+* `models.NativeIpv6PrefixLimitProperties` was added
+
+* `models.RoutePolicyStatementPatchProperties` was added
+
+* `models.ConnectedSubnetRoutePolicyPatch` was added
+
+* `models.NeighborAddressBgpAdministrativeStatus` was added
+
+* `models.NetworkDeviceRwCommandResponseProperties` was added
+
+* `models.BitRate` was added
+
+* `models.StaticRouteRoutePolicyPatch` was added
+
+* `models.StatementConditionPatchProperties` was added
+
+* `models.NpbStaticRouteConfigurationPatch` was added
+
+* `models.BmpExportPolicy` was added
+
+* `models.CommonPostActionResponseForDeviceROCommandsOperationStatusResult` was added
+
+* `models.NetworkBootstrapDevice` was added
+
+* `models.AccessControlListMatchConditionPatch` was added
+
+* `models.AccessControlListActionPatch` was added
+
+* `models.SecretRotationStatus` was added
+
+* `models.SecretRotationSummary` was added
+
+* `models.UniqueRouteDistinguisherProperties` was added
+
+* `models.ControlPlaneAclIpMatchConditionPatch` was added
+
+* `models.UniqueRouteDistinguisherConfigurationState` was added
+
+* `models.ControlPlaneAclMatchConfigurationPatchProperties` was added
+
+* `models.NetworkTapRuleResyncResponse` was added
+
+* `models.NNIDerivedUniqueRouteDistinguisherConfigurationState` was added
+
+* `models.InternalNetworkUpdateBfdAdministrativeStateRequest` was added
+
+* `models.ControlPlaneAclPatchProperties` was added
+
+* `models.NetworkMonitor$DefinitionStages` was added
+
+* `models.NniUpdateBfdAdministrativeStateRequest` was added
+
+* `models.VpnOptionAPatchProperties` was added
+
+* `models.PortGroupPatchProperties` was added
+
+* `models.LastOperationProperties` was added
+
+* `models.CommitBatchStatusRequest` was added
+
+* `models.InternalNetworkUpdateBgpAdministrativeStateResponse` was added
+
+* `models.ManagedServiceIdentityType` was added
+
+* `models.LockConfigurationState` was added
+
+* `models.DeviceRwCommand` was added
+
+* `models.DeviceRoCommand` was added
+
+* `models.V6OverV4BgpSessionState` was added
+
+* `models.ActionIpExtendedCommunityPatchProperties` was added
+
+* `models.MicroBfdState` was added
+
+* `models.UserAssignedIdentity` was added
+
+* `models.AclType` was added
+
+* `models.OperationStatusResult` was added
+
+* `models.DiscardCommitBatchOperationResponse` was added
+
+* `models.NniUpdateBfdAdministrativeStateResponseProperties` was added
+
+* `models.RoutePrefixLimitProperties` was added
+
+* `models.NativeIpv4PrefixLimitPatchProperties` was added
+
+* `models.ActionIpCommunityPatchProperties` was added
+
+* `models.L3ExportRoutePolicyPatch` was added
+
+* `models.AggregateRoutePatchConfiguration` was added
+
+* `models.PoliceRateConfigurationProperties` was added
+
+* `models.NetworkBootstrapInterface$Definition` was added
+
+* `models.NetworkMonitor$Update` was added
+
+* `models.NeighborAddressBfdAdministrativeStatus` was added
+
+* `models.TerminalServerPatchConfiguration` was added
+
+* `models.ControlPlanAclIpMatchCondition` was added
+
+* `models.FeatureFlagProperties` was added
+
+* `models.NniBmpProperties` was added
+
+* `models.NetworkBootstrapDevice$DefinitionStages` was added
+
+* `models.ExportRoutePolicyInformationPatch` was added
+
+* `models.NetworkBootstrapInterface$DefinitionStages` was added
+
+* `models.InternalNetworkUpdateBgpAdministrativeStateRequest` was added
+
+* `models.ExternalNetworkUpdateBfdAdministrativeStateResponse` was added
+
+* `models.ManagedServiceIdentitySelectorType` was added
+
+* `models.GlobalNetworkTapRuleActionProperties` was added
+
+* `models.NetworkBootstrapDeviceRebootResponse` was added
+
+* `models.NeighborAddressPatch` was added
+
+* `models.CommitConfigurationPolicy` was added
+
+* `models.ControlPlaneAclPortCondition` was added
+
+* `models.IdentitySelector` was added
+
+* `models.Layer3IpPrefixPatchProperties` was added
+
+* `models.NetworkTapRuleMatchConfigurationPatch` was added
+
+* `models.NetworkMonitor$UpdateStages` was added
+
+* `models.CommitBatchDetails` was added
+
+* `models.ConnectedSubnetPatch` was added
+
+#### `models.InternalNetwork$Definition` was modified
+
+* `withNativeIpv4PrefixLimit(models.NativeIpv4PrefixLimitProperties)` was added
+* `withBgpConfiguration(models.BgpConfiguration)` was added
+* `withStaticRouteConfiguration(models.StaticRouteConfiguration)` was added
+* `withNativeIpv6PrefixLimit(models.NativeIpv6PrefixLimitProperties)` was added
+
+#### `models.L3IsolationDomainPatch` was modified
+
+* `withStaticRouteRoutePolicy(models.StaticRouteRoutePolicyPatch)` was added
+* `v6routePrefixLimit()` was added
+* `staticRouteRoutePolicy()` was added
+* `withV4routePrefixLimit(models.RoutePrefixLimitPatchProperties)` was added
+* `exportPolicyConfiguration()` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `withV6routePrefixLimit(models.RoutePrefixLimitPatchProperties)` was added
+* `identity()` was added
+* `withExportPolicyConfiguration(models.BmpExportPolicyPatchProperties)` was added
+* `v4routePrefixLimit()` was added
+* `withAggregateRouteConfiguration(models.AggregateRoutePatchConfiguration)` was added
+* `withConnectedSubnetRoutePolicy(models.ConnectedSubnetRoutePolicyPatch)` was added
+
+#### `models.NeighborGroups` was modified
+
+* `resync(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `resync(java.lang.String,java.lang.String)` was added
+
+#### `models.NetworkInterfacePatch` was modified
+
+* `withAdditionalDescription(java.lang.String)` was added
+* `identity()` was added
+* `additionalDescription()` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+
+#### `models.NetworkPacketBroker$Definition` was modified
+
+* `withIdentity(models.ManagedServiceIdentity)` was added
+
+#### `models.TerminalServerConfiguration` was modified
+
+* `secretRotationStatus()` was added
+* `username()` was added
+* `password()` was added
+* `serialNumber()` was added
+
+#### `models.NetworkDevice$Update` was modified
+
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `withHostName(java.lang.String)` was added
+* `withIdentitySelector(models.IdentitySelectorPatch)` was added
+
+#### `models.VpnConfigurationPatchableProperties` was modified
+
+* `withOptionBProperties(models.VpnOptionBPatchProperties)` was added
+* `withOptionAProperties(models.VpnOptionAPatchProperties)` was added
+
+#### `models.ExternalNetworkPatch` was modified
+
+* `withStaticRouteConfiguration(models.ExternalNetworkStaticRoutePatchConfiguration)` was added
+* `withImportRoutePolicy(models.ImportRoutePolicyPatch)` was added
+* `withOptionBProperties(models.L3OptionBPatchProperties)` was added
+* `staticRouteConfiguration()` was added
+* `withExportRoutePolicy(models.ExportRoutePolicyPatch)` was added
+
+#### `models.ActionIpCommunityProperties` was modified
+
+* `add()` was added
+
+#### `models.IpExtendedCommunity` was modified
+
+* `lastOperation()` was added
+* `networkFabricId()` was added
+
+#### `models.NetworkInterface` was modified
+
+* `lastOperation()` was added
+* `configurationState()` was added
+* `networkFabricId()` was added
+* `additionalDescription()` was added
+* `identity()` was added
+* `description()` was added
+
+#### `models.NetworkInterface$Update` was modified
+
+* `withAdditionalDescription(java.lang.String)` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+
+#### `models.InternetGatewayRulePatch` was modified
+
+* `tags()` was added
+
+#### `ManagedNetworkFabricManager` was modified
+
+* `networkMonitors()` was added
+* `networkBootstrapInterfaces()` was added
+* `networkBootstrapDevices()` was added
+
+#### `models.ExternalNetworks` was modified
+
+* `updateBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.ExternalNetworkUpdateBfdAdministrativeStateRequest)` was added
+* `updateBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.ExternalNetworkUpdateBfdAdministrativeStateRequest,com.azure.core.util.Context)` was added
+
+#### `models.ExternalNetwork$Update` was modified
+
+* `withImportRoutePolicy(models.ImportRoutePolicyPatch)` was added
+* `withStaticRouteConfiguration(models.ExternalNetworkStaticRoutePatchConfiguration)` was added
+* `withOptionBProperties(models.L3OptionBPatchProperties)` was added
+* `withExportRoutePolicy(models.ExportRoutePolicyPatch)` was added
+
+#### `models.L3IsolationDomain` was modified
+
+* `uniqueRdConfiguration()` was added
+* `v6routePrefixLimit()` was added
+* `staticRouteRoutePolicy()` was added
+* `v4routePrefixLimit()` was added
+* `lastOperation()` was added
+* `identity()` was added
+* `exportPolicyConfiguration()` was added
+
+#### `models.Layer4Protocol` was modified
+
+* `SCTP` was added
+
+#### `models.NetworkFabricController$Update` was modified
+
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+
+#### `models.NeighborGroup$Definition` was modified
+
+* `withIdentity(models.ManagedServiceIdentity)` was added
+
+#### `models.NeighborAddress` was modified
+
+* `bgpAdministrativeState()` was added
+* `bfdAdministrativeState()` was added
+
+#### `models.AccessControlList$Update` was modified
+
+* `withDeviceRole(models.DeviceRole)` was added
+* `withGlobalAccessControlListActions(models.GlobalAccessControlListActionPatchProperties)` was added
+* `withControlPlaneAclConfigurationForUpdate(java.util.List)` was added
+* `withMatchConfigurationsForUpdate(java.util.List)` was added
+* `withDynamicMatchConfigurationsForUpdate(java.util.List)` was added
+* `withAclType(models.AclType)` was added
+
+#### `models.InternalNetworks` was modified
+
+* `updateBgpAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.InternalNetworkUpdateBgpAdministrativeStateRequest)` was added
+* `updateBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.InternalNetworkUpdateBfdAdministrativeStateRequest,com.azure.core.util.Context)` was added
+* `updateBgpAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.InternalNetworkUpdateBgpAdministrativeStateRequest,com.azure.core.util.Context)` was added
+* `updateBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.InternalNetworkUpdateBfdAdministrativeStateRequest)` was added
+
+#### `models.ExternalNetworkPropertiesOptionAProperties` was modified
+
+* `secondaryIpv6Prefix()` was added
+* `withPeerAsn(long)` was added
+* `secondaryIpv4Prefix()` was added
+* `v4OverV6BgpSession()` was added
+* `withBmpConfiguration(models.ExternalNetworkBmpProperties)` was added
+* `withNativeIpv4PrefixLimit(models.NativeIpv4PrefixLimitProperties)` was added
+* `nativeIpv6PrefixLimit()` was added
+* `v6OverV4BgpSession()` was added
+* `withVlanId(int)` was added
+* `bmpConfiguration()` was added
+* `withV4OverV6BgpSession(models.V4OverV6BgpSessionState)` was added
+* `withV6OverV4BgpSession(models.V6OverV4BgpSessionState)` was added
+* `nativeIpv4PrefixLimit()` was added
+* `primaryIpv4Prefix()` was added
+* `withNativeIpv6PrefixLimit(models.NativeIpv6PrefixLimitProperties)` was added
+* `primaryIpv6Prefix()` was added
+
+#### `models.AccessControlListMatchCondition` was modified
+
+* `withProtocolNeighbors(java.util.List)` was added
+* `withIcmpConfiguration(models.IcmpConfigurationProperties)` was added
+* `protocolNeighbors()` was added
+* `icmpConfiguration()` was added
+
+#### `models.InternalNetwork$Update` was modified
+
+* `withNativeIpv4PrefixLimit(models.NativeIpv4PrefixLimitPatchProperties)` was added
+* `withNativeIpv6PrefixLimit(models.NativeIpv6PrefixLimitPatchProperties)` was added
+* `withStaticRouteConfiguration(models.StaticRoutePatchConfiguration)` was added
+* `withConnectedIPv4SubnetsForUpdate(java.util.List)` was added
+* `withConnectedIPv6SubnetsForUpdate(java.util.List)` was added
+* `withBgpConfiguration(models.BgpPatchConfiguration)` was added
+
+#### `models.NetworkDevices` was modified
+
+* `upgrade(java.lang.String,java.lang.String,models.NetworkDeviceUpgradeRequest)` was added
+* `runRoCommand(java.lang.String,java.lang.String,models.DeviceRoCommand)` was added
+* `runRoCommand(java.lang.String,java.lang.String,models.DeviceRoCommand,com.azure.core.util.Context)` was added
+* `resyncPasswords(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `resyncCertificates(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `upgrade(java.lang.String,java.lang.String,models.NetworkDeviceUpgradeRequest,com.azure.core.util.Context)` was added
+* `runRwCommand(java.lang.String,java.lang.String,models.DeviceRwCommand,com.azure.core.util.Context)` was added
+* `resyncCertificates(java.lang.String,java.lang.String)` was added
+* `runRwCommand(java.lang.String,java.lang.String,models.DeviceRwCommand)` was added
+* `resyncPasswords(java.lang.String,java.lang.String)` was added
+
+#### `models.NetworkTapRule$Definition` was modified
+
+* `withIdentity(models.ManagedServiceIdentity)` was added
+* `withPollingIntervalInSeconds(java.lang.Integer)` was added
+* `withIdentitySelector(models.IdentitySelector)` was added
+* `withGlobalNetworkTapRuleActions(models.GlobalNetworkTapRuleActionProperties)` was added
+
+#### `models.AdministrativeState` was modified
+
+* `UNDER_MAINTENANCE` was added
+* `ENABLED_DEGRADED` was added
+
+#### `models.NetworkTapRule$Update` was modified
+
+* `withDynamicMatchConfigurationsForUpdate(java.util.List)` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `withIdentitySelector(models.IdentitySelectorPatch)` was added
+* `withGlobalNetworkTapRuleActions(models.GlobalNetworkTapRuleActionPatchProperties)` was added
+* `withMatchConfigurationsForUpdate(java.util.List)` was added
+
+#### `models.L2IsolationDomain$Definition` was modified
+
+* `withIdentity(models.ManagedServiceIdentity)` was added
+* `withExtendedVlan(models.ExtendedVlan)` was added
+* `withNetworkToNetworkInterconnectId(java.lang.String)` was added
+
+#### `models.ConfigurationState` was modified
+
+* `PENDING_ADMINISTRATIVE_UPDATE` was added
+
+#### `models.InternetGateway$Definition` was modified
+
+* `withInternetGatewayType(models.GatewayType)` was added
+
+#### `models.RuleProperties` was modified
+
+* `condition()` was added
+* `withCondition(models.RuleCondition)` was added
+* `withDestinationAddressList(java.util.List)` was added
+* `headerAddressList()` was added
+* `withSourceAddressList(java.util.List)` was added
+* `sourceAddressList()` was added
+* `destinationAddressList()` was added
+* `withHeaderAddressList(java.util.List)` was added
+
+#### `models.DeviceAdministrativeState` was modified
+
+* `DISABLE` was added
+* `UNDER_MAINTENANCE` was added
+* `UNGRACEFUL_RMA` was added
+* `UNGRACEFUL_QUARANTINE` was added
+* `ENABLE` was added
+
+#### `models.InternalNetworkPatch` was modified
+
+* `withNativeIpv4PrefixLimit(models.NativeIpv4PrefixLimitPatchProperties)` was added
+* `withStaticRouteConfiguration(models.StaticRoutePatchConfiguration)` was added
+* `withBgpConfiguration(models.BgpPatchConfiguration)` was added
+* `nativeIpv4PrefixLimit()` was added
+* `withNativeIpv6PrefixLimit(models.NativeIpv6PrefixLimitPatchProperties)` was added
+* `nativeIpv6PrefixLimit()` was added
+
+#### `models.AccessControlListPatch` was modified
+
+* `controlPlaneAclConfiguration()` was added
+* `withDeviceRole(models.DeviceRole)` was added
+* `aclType()` was added
+* `globalAccessControlListActions()` was added
+* `withAclType(models.AclType)` was added
+* `deviceRole()` was added
+* `withGlobalAccessControlListActions(models.GlobalAccessControlListActionPatchProperties)` was added
+* `withControlPlaneAclConfiguration(java.util.List)` was added
+
+#### `models.IpPrefix` was modified
+
+* `lastOperation()` was added
+* `networkFabricId()` was added
+
+#### `models.InternetGateway` was modified
+
+* `lastOperation()` was added
+* `internetGatewayType()` was added
+
+#### `models.NetworkFabricController$Definition` was modified
+
+* `withIdentity(models.ManagedServiceIdentity)` was added
+
+#### `models.AclActionType` was modified
+
+* `POLICE_RATE` was added
+* `REMARK` was added
+
+#### `models.InternalNetwork` was modified
+
+* `nativeIpv4PrefixLimit()` was added
+* `nativeIpv6PrefixLimit()` was added
+* `updateBfdAdministrativeState(models.InternalNetworkUpdateBfdAdministrativeStateRequest,com.azure.core.util.Context)` was added
+* `updateBgpAdministrativeState(models.InternalNetworkUpdateBgpAdministrativeStateRequest)` was added
+* `networkFabricId()` was added
+* `updateBfdAdministrativeState(models.InternalNetworkUpdateBfdAdministrativeStateRequest)` was added
+* `lastOperation()` was added
+* `updateBgpAdministrativeState(models.InternalNetworkUpdateBgpAdministrativeStateRequest,com.azure.core.util.Context)` was added
+
+#### `models.NetworkRack` was modified
+
+* `configurationState()` was added
+* `lastOperation()` was added
+
+#### `models.NetworkDevice$Definition` was modified
+
+* `withIdentitySelector(models.IdentitySelector)` was added
+* `withHostName(java.lang.String)` was added
+* `withIdentity(models.ManagedServiceIdentity)` was added
+
+#### `models.NetworkFabric$Definition` was modified
+
+* `withTrustedIpPrefixes(java.util.List)` was added
+* `withQosConfiguration(models.QosProperties)` was added
+* `withIdentity(models.ManagedServiceIdentity)` was added
+* `withFeatureFlags(java.util.List)` was added
+* `withControlPlaneAcls(java.util.List)` was added
+* `withAuthorizedTransceiver(models.AuthorizedTransceiverProperties)` was added
+* `withStorageAccountConfiguration(models.StorageAccountConfiguration)` was added
+* `withHardwareAlertThreshold(java.lang.Integer)` was added
+* `withStorageArrayCount(java.lang.Integer)` was added
+* `withUniqueRdConfiguration(models.UniqueRouteDistinguisherProperties)` was added
+
+#### `models.NetworkFabrics` was modified
+
+* `rotateCertificates(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `rotatePasswords(java.lang.String,java.lang.String)` was added
+* `resyncPasswords(java.lang.String,java.lang.String)` was added
+* `armConfigurationDiff(java.lang.String,java.lang.String)` was added
+* `commitBatchStatus(java.lang.String,java.lang.String,models.CommitBatchStatusRequest,com.azure.core.util.Context)` was added
+* `lockFabric(java.lang.String,java.lang.String,models.NetworkFabricLockRequest)` was added
+* `rotateCertificates(java.lang.String,java.lang.String)` was added
+* `discardCommitBatch(java.lang.String,java.lang.String,models.DiscardCommitBatchRequest)` was added
+* `resyncCertificates(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `commitBatchStatus(java.lang.String,java.lang.String,models.CommitBatchStatusRequest)` was added
+* `lockFabric(java.lang.String,java.lang.String,models.NetworkFabricLockRequest,com.azure.core.util.Context)` was added
+* `armConfigurationDiff(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `rotatePasswords(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `viewDeviceConfiguration(java.lang.String,java.lang.String)` was added
+* `resyncPasswords(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `viewDeviceConfiguration(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `resyncCertificates(java.lang.String,java.lang.String)` was added
+* `commitConfiguration(java.lang.String,java.lang.String,models.CommitConfigurationRequest,com.azure.core.util.Context)` was added
+* `discardCommitBatch(java.lang.String,java.lang.String,models.DiscardCommitBatchRequest,com.azure.core.util.Context)` was added
+
+#### `models.NetworkDevice` was modified
+
+* `identitySelector()` was added
+* `upgrade(models.NetworkDeviceUpgradeRequest,com.azure.core.util.Context)` was added
+* `resyncPasswords()` was added
+* `rwDeviceConfig()` was added
+* `resyncCertificates()` was added
+* `resyncCertificates(com.azure.core.util.Context)` was added
+* `lastOperation()` was added
+* `secretRotationStatus()` was added
+* `runRoCommand(models.DeviceRoCommand)` was added
+* `identity()` was added
+* `certificateRotationStatus()` was added
+* `upgrade(models.NetworkDeviceUpgradeRequest)` was added
+* `resyncPasswords(com.azure.core.util.Context)` was added
+* `runRwCommand(models.DeviceRwCommand)` was added
+* `networkFabricId()` was added
+* `hostName()` was added
+* `runRwCommand(models.DeviceRwCommand,com.azure.core.util.Context)` was added
+* `runRoCommand(models.DeviceRoCommand,com.azure.core.util.Context)` was added
+
+#### `models.NetworkFabricController` was modified
+
+* `lastOperation()` was added
+* `identity()` was added
+
+#### `models.ActionIpExtendedCommunityProperties` was modified
+
+* `add()` was added
+
+#### `models.NetworkPacketBrokerPatch` was modified
+
+* `identity()` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+
+#### `models.NetworkInterface$Definition` was modified
+
+* `withAdditionalDescription(java.lang.String)` was added
+* `withIdentity(models.ManagedServiceIdentity)` was added
+
+#### `models.NetworkPacketBroker$Update` was modified
+
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+
+#### `models.VpnConfigurationProperties` was modified
+
+* `withOptionBProperties(models.VpnOptionBProperties)` was added
+* `withOptionAProperties(models.VpnOptionAProperties)` was added
+
+#### `models.AccessControlList` was modified
+
+* `controlPlaneAclConfiguration()` was added
+* `aclType()` was added
+* `globalAccessControlListActions()` was added
+* `lastOperation()` was added
+* `deviceRole()` was added
+* `networkFabricIds()` was added
+
+#### `models.NetworkFabricControllerPatch` was modified
+
+* `identity()` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+
+#### `models.StaticRouteConfiguration` was modified
+
+* `extension()` was added
+* `withExtension(models.Extension)` was added
+
+#### `models.NetworkTap$Update` was modified
+
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+
+#### `models.NetworkToNetworkInterconnect` was modified
+
+* `microBfdState()` was added
+* `lastOperation()` was added
+* `conditionalDefaultRouteConfiguration()` was added
+* `updateBfdAdministrativeState(models.NniUpdateBfdAdministrativeStateRequest)` was added
+* `staticRouteConfiguration()` was added
+* `updateBfdAdministrativeState(models.NniUpdateBfdAdministrativeStateRequest,com.azure.core.util.Context)` was added
+
+#### `models.NetworkTapRule` was modified
+
+* `networkFabricIds()` was added
+* `identitySelector()` was added
+* `identity()` was added
+* `networkTapIds()` was added
+* `lastOperation()` was added
+* `globalNetworkTapRuleActions()` was added
+
+#### `models.NetworkToNetworkInterconnectPatch` was modified
+
+* `withStaticRouteConfiguration(models.NniStaticRoutePatchConfiguration)` was added
+* `withExportRoutePolicy(models.ExportRoutePolicyInformationPatch)` was added
+* `withNpbStaticRouteConfiguration(models.NpbStaticRouteConfigurationPatch)` was added
+* `withImportRoutePolicy(models.ImportRoutePolicyInformationPatch)` was added
+* `withLayer2Configuration(models.Layer2ConfigurationPatch)` was added
+* `staticRouteConfiguration()` was added
+* `withMicroBfdState(models.MicroBfdState)` was added
+* `microBfdState()` was added
+* `withOptionBLayer3Configuration(models.OptionBLayer3ConfigurationPatchProperties)` was added
+
+#### `models.L3IsolationDomain$Update` was modified
+
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `withExportPolicyConfiguration(models.BmpExportPolicyPatchProperties)` was added
+* `withV4routePrefixLimit(models.RoutePrefixLimitPatchProperties)` was added
+* `withStaticRouteRoutePolicy(models.StaticRouteRoutePolicyPatch)` was added
+* `withConnectedSubnetRoutePolicy(models.ConnectedSubnetRoutePolicyPatch)` was added
+* `withV6routePrefixLimit(models.RoutePrefixLimitPatchProperties)` was added
+* `withAggregateRouteConfiguration(models.AggregateRoutePatchConfiguration)` was added
+
+#### `models.IpCommunity` was modified
+
+* `lastOperation()` was added
+* `networkFabricId()` was added
+
+#### `models.RoutePolicy` was modified
+
+* `lastOperation()` was added
+
+#### `models.NetworkToNetworkInterconnect$Definition` was modified
+
+* `withMicroBfdState(models.MicroBfdState)` was added
+* `withOptionBLayer3Configuration(models.OptionBLayer3Configuration)` was added
+* `withConditionalDefaultRouteConfiguration(models.ConditionalDefaultRouteProperties)` was added
+* `withStaticRouteConfiguration(models.NniStaticRouteConfiguration)` was added
+
+#### `models.NetworkTap$Definition` was modified
+
+* `withIdentity(models.ManagedServiceIdentity)` was added
+
+#### `models.BgpConfiguration` was modified
+
+* `v4OverV6BgpSession()` was added
+* `withPeerAsn(long)` was added
+* `withV4OverV6BgpSession(models.V4OverV6BgpSessionState)` was added
+* `withV6OverV4BgpSession(models.V6OverV4BgpSessionState)` was added
+* `bmpConfiguration()` was added
+* `v6OverV4BgpSession()` was added
+* `withBmpConfiguration(models.InternalNetworkBmpProperties)` was added
+
+#### `models.NetworkFabricPatch` was modified
+
+* `featureFlags()` was added
+* `hardwareAlertThreshold()` was added
+* `withHardwareAlertThreshold(java.lang.Integer)` was added
+* `withAuthorizedTransceiver(models.AuthorizedTransceiverPatchProperties)` was added
+* `identity()` was added
+* `storageAccountConfiguration()` was added
+* `withTerminalServerConfiguration(models.TerminalServerPatchConfiguration)` was added
+* `withUniqueRdConfiguration(models.UniqueRouteDistinguisherPatchProperties)` was added
+* `trustedIpPrefixes()` was added
+* `authorizedTransceiver()` was added
+* `withQosConfiguration(models.QosPatchProperties)` was added
+* `uniqueRdConfiguration()` was added
+* `withManagementNetworkConfiguration(models.ManagementNetworkPatchConfiguration)` was added
+* `withControlPlaneAcls(java.util.List)` was added
+* `qosConfiguration()` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `withStorageAccountConfiguration(models.StorageAccountPatchConfiguration)` was added
+* `controlPlaneAcls()` was added
+* `withTrustedIpPrefixes(java.util.List)` was added
+* `withFeatureFlags(java.util.List)` was added
+
+#### `models.NeighborGroup$Update` was modified
+
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `withDestination(models.NeighborGroupDestinationPatch)` was added
+
+#### `models.AccessControlList$Definition` was modified
+
+* `withAclType(models.AclType)` was added
+* `withControlPlaneAclConfiguration(java.util.List)` was added
+* `withGlobalAccessControlListActions(models.GlobalAccessControlListActionProperties)` was added
+* `withDeviceRole(models.DeviceRole)` was added
+
+#### `models.L3IsolationDomain$Definition` was modified
+
+* `withUniqueRdConfiguration(models.L3UniqueRouteDistinguisherProperties)` was added
+* `withIdentity(models.ManagedServiceIdentity)` was added
+* `withV6routePrefixLimit(models.RoutePrefixLimitProperties)` was added
+* `withExportPolicyConfiguration(models.BmpExportPolicyProperties)` was added
+* `withV4routePrefixLimit(models.RoutePrefixLimitProperties)` was added
+* `withStaticRouteRoutePolicy(models.StaticRouteRoutePolicy)` was added
+
+#### `models.L2IsolationDomain$Update` was modified
+
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `withExtendedVlan(models.ExtendedVlan)` was added
+* `withNetworkToNetworkInterconnectId(java.lang.String)` was added
+
+#### `models.L2IsolationDomain` was modified
+
+* `identity()` was added
+* `extendedVlan()` was added
+* `lastOperation()` was added
+* `networkToNetworkInterconnectId()` was added
+
+#### `models.NetworkFabric` was modified
+
+* `commitConfiguration(models.CommitConfigurationRequest,com.azure.core.util.Context)` was added
+* `lockFabric(models.NetworkFabricLockRequest,com.azure.core.util.Context)` was added
+* `qosConfiguration()` was added
+* `storageAccountConfiguration()` was added
+* `viewDeviceConfiguration()` was added
+* `featureFlags()` was added
+* `identity()` was added
+* `trustedIpPrefixes()` was added
+* `lockFabric(models.NetworkFabricLockRequest)` was added
+* `uniqueRdConfiguration()` was added
+* `discardCommitBatch(models.DiscardCommitBatchRequest,com.azure.core.util.Context)` was added
+* `rotatePasswords(com.azure.core.util.Context)` was added
+* `armConfigurationDiff(com.azure.core.util.Context)` was added
+* `activeCommitBatches()` was added
+* `fabricLocks()` was added
+* `resyncPasswords(com.azure.core.util.Context)` was added
+* `rotateCertificates()` was added
+* `authorizedTransceiver()` was added
+* `rotatePasswords()` was added
+* `viewDeviceConfiguration(com.azure.core.util.Context)` was added
+* `hardwareAlertThreshold()` was added
+* `resyncPasswords()` was added
+* `storageArrayCount()` was added
+* `discardCommitBatch(models.DiscardCommitBatchRequest)` was added
+* `resyncCertificates(com.azure.core.util.Context)` was added
+* `rotateCertificates(com.azure.core.util.Context)` was added
+* `resyncCertificates()` was added
+* `secretRotationSummary()` was added
+* `commitBatchStatus(models.CommitBatchStatusRequest,com.azure.core.util.Context)` was added
+* `commitBatchStatus(models.CommitBatchStatusRequest)` was added
+* `armConfigurationDiff()` was added
+* `lastOperation()` was added
+* `controlPlaneAcls()` was added
+
+#### `models.SourceDestinationType` was modified
+
+* `BIDIRECTIONAL` was added
+
+#### `models.ExternalNetwork` was modified
+
+* `networkFabricId()` was added
+* `updateBfdAdministrativeState(models.ExternalNetworkUpdateBfdAdministrativeStateRequest)` was added
+* `staticRouteConfiguration()` was added
+* `lastOperation()` was added
+* `updateBfdAdministrativeState(models.ExternalNetworkUpdateBfdAdministrativeStateRequest,com.azure.core.util.Context)` was added
+
+#### `models.NetworkFabric$Update` was modified
+
+* `withTerminalServerConfiguration(models.TerminalServerPatchConfiguration)` was added
+* `withQosConfiguration(models.QosPatchProperties)` was added
+* `withStorageAccountConfiguration(models.StorageAccountPatchConfiguration)` was added
+* `withTrustedIpPrefixes(java.util.List)` was added
+* `withHardwareAlertThreshold(java.lang.Integer)` was added
+* `withUniqueRdConfiguration(models.UniqueRouteDistinguisherPatchProperties)` was added
+* `withFeatureFlags(java.util.List)` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `withControlPlaneAcls(java.util.List)` was added
+* `withAuthorizedTransceiver(models.AuthorizedTransceiverPatchProperties)` was added
+* `withManagementNetworkConfiguration(models.ManagementNetworkPatchConfiguration)` was added
+
+#### `models.NetworkToNetworkInterconnect$Update` was modified
+
+* `withOptionBLayer3Configuration(models.OptionBLayer3ConfigurationPatchProperties)` was added
+* `withStaticRouteConfiguration(models.NniStaticRoutePatchConfiguration)` was added
+* `withExportRoutePolicy(models.ExportRoutePolicyInformationPatch)` was added
+* `withNpbStaticRouteConfiguration(models.NpbStaticRouteConfigurationPatch)` was added
+* `withMicroBfdState(models.MicroBfdState)` was added
+* `withImportRoutePolicy(models.ImportRoutePolicyInformationPatch)` was added
+* `withLayer2Configuration(models.Layer2ConfigurationPatch)` was added
+
+#### `models.NetworkDevicePatchParameters` was modified
+
+* `withIdentitySelector(models.IdentitySelectorPatch)` was added
+* `withHostName(java.lang.String)` was added
+* `hostName()` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `identity()` was added
+* `identitySelector()` was added
+
+#### `models.NetworkTap` was modified
+
+* `networkFabricIds()` was added
+* `identity()` was added
+* `lastOperation()` was added
+
+#### `models.NetworkToNetworkInterconnects` was modified
+
+* `updateBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.NniUpdateBfdAdministrativeStateRequest)` was added
+* `updateBfdAdministrativeState(java.lang.String,java.lang.String,java.lang.String,models.NniUpdateBfdAdministrativeStateRequest,com.azure.core.util.Context)` was added
+
+#### `models.NeighborGroup` was modified
+
+* `resync(com.azure.core.util.Context)` was added
+* `identity()` was added
+* `networkFabricIds()` was added
+* `configurationState()` was added
+* `lastOperation()` was added
+* `resync()` was added
+
+#### `models.RoutePolicy$Update` was modified
+
+* `withStatementsForUpdate(java.util.List)` was added
+
+#### `models.ExternalNetwork$Definition` was modified
+
+* `withStaticRouteConfiguration(models.ExternalNetworkStaticRouteConfiguration)` was added
+
+#### `models.EnableDisableState` was modified
+
+* `UNDER_MAINTENANCE` was added
+
+#### `models.NeighborGroupPatch` was modified
+
+* `identity()` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `withDestination(models.NeighborGroupDestinationPatch)` was added
+
+#### `models.L2IsolationDomainPatch` was modified
+
+* `networkToNetworkInterconnectId()` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `extendedVlan()` was added
+* `identity()` was added
+* `withNetworkToNetworkInterconnectId(java.lang.String)` was added
+* `withExtendedVlan(models.ExtendedVlan)` was added
+
+#### `models.InternetGatewayRule` was modified
+
+* `lastOperation()` was added
+
+#### `models.NetworkPacketBroker` was modified
+
+* `identity()` was added
+* `configurationState()` was added
+* `lastOperation()` was added
+
+#### `models.ExternalNetworkPatchPropertiesOptionAProperties` was modified
+
+* `bmpConfiguration()` was added
+* `v6OverV4BgpSession()` was added
+* `secondaryIpv6Prefix()` was added
+* `withBmpConfiguration(models.ExternalNetworkBmpPatchProperties)` was added
+* `primaryIpv4Prefix()` was added
+* `nativeIpv6PrefixLimit()` was added
+* `primaryIpv6Prefix()` was added
+* `secondaryIpv4Prefix()` was added
+* `withNativeIpv6PrefixLimit(models.NativeIpv6PrefixLimitPatchProperties)` was added
+* `withV6OverV4BgpSession(models.V6OverV4BgpSessionState)` was added
+* `v4OverV6BgpSession()` was added
+* `withNativeIpv4PrefixLimit(models.NativeIpv4PrefixLimitPatchProperties)` was added
+* `withV4OverV6BgpSession(models.V4OverV6BgpSessionState)` was added
+* `nativeIpv4PrefixLimit()` was added
+* `withBfdConfiguration(models.BfdPatchConfiguration)` was added
+
+#### `models.AccessControlListAction` was modified
+
+* `remarkComment()` was added
+* `withRemarkComment(java.lang.String)` was added
+* `withPoliceRateConfiguration(models.PoliceRateConfigurationProperties)` was added
+* `policeRateConfiguration()` was added
+
+#### `models.NetworkTapRulePatch` was modified
+
+* `globalNetworkTapRuleActions()` was added
+* `withGlobalNetworkTapRuleActions(models.GlobalNetworkTapRuleActionPatchProperties)` was added
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `withIdentitySelector(models.IdentitySelectorPatch)` was added
+* `identity()` was added
+* `identitySelector()` was added
+
+#### `models.NetworkTapPatch` was modified
+
+* `withIdentity(models.ManagedServiceIdentityPatch)` was added
+* `identity()` was added
+
+#### `models.StatementConditionProperties` was modified
+
+* `ipCommunityIds()` was added
+
+#### `models.PortType` was modified
+
+* `BIDIRECTIONAL` was added
+
+#### `models.OptionBLayer3Configuration` was modified
-### Other Changes
+* `peLoopbackIpAddress()` was added
+* `bmpConfiguration()` was added
+* `withPeLoopbackIpAddress(java.util.List)` was added
+* `withPrefixLimits(java.util.List)` was added
+* `prefixLimits()` was added
+* `withVlanId(int)` was added
+* `withPeerAsn(long)` was added
+* `withBmpConfiguration(models.NniBmpProperties)` was added
## 1.1.0 (2024-12-11)
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/README.md b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/README.md
index d08de63fef32..a4cd6ea902b2 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/README.md
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager Managed Network Fabric client library for Java.
-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).
+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).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-managednetworkfabric
- 1.2.0-beta.1
+ 1.2.0
```
[//]: # ({x-version-update-end})
@@ -52,7 +52,7 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
```java
-AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
+AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
@@ -60,7 +60,7 @@ ManagedNetworkFabricManager manager = ManagedNetworkFabricManager
.authenticate(credential, profile);
```
-The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
+The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
See [Authentication][authenticate] for more options.
@@ -142,5 +142,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
-
-
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/SAMPLE.md b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/SAMPLE.md
index a19f857fd4f8..e9c843fa7c8b 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/SAMPLE.md
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/SAMPLE.md
@@ -21,6 +21,7 @@
- [ListByL3IsolationDomain](#externalnetworks_listbyl3isolationdomain)
- [Update](#externalnetworks_update)
- [UpdateAdministrativeState](#externalnetworks_updateadministrativestate)
+- [UpdateBfdAdministrativeState](#externalnetworks_updatebfdadministrativestate)
- [UpdateStaticRouteBfdAdministrativeState](#externalnetworks_updatestaticroutebfdadministrativestate)
## InternalNetworks
@@ -31,6 +32,7 @@
- [ListByL3IsolationDomain](#internalnetworks_listbyl3isolationdomain)
- [Update](#internalnetworks_update)
- [UpdateAdministrativeState](#internalnetworks_updateadministrativestate)
+- [UpdateBfdAdministrativeState](#internalnetworks_updatebfdadministrativestate)
- [UpdateBgpAdministrativeState](#internalnetworks_updatebgpadministrativestate)
- [UpdateStaticRouteBfdAdministrativeState](#internalnetworks_updatestaticroutebfdadministrativestate)
@@ -110,8 +112,32 @@
- [GetByResourceGroup](#neighborgroups_getbyresourcegroup)
- [List](#neighborgroups_list)
- [ListByResourceGroup](#neighborgroups_listbyresourcegroup)
+- [Resync](#neighborgroups_resync)
- [Update](#neighborgroups_update)
+## NetworkBootstrapDevices
+
+- [Create](#networkbootstrapdevices_create)
+- [Delete](#networkbootstrapdevices_delete)
+- [GetByResourceGroup](#networkbootstrapdevices_getbyresourcegroup)
+- [List](#networkbootstrapdevices_list)
+- [ListByResourceGroup](#networkbootstrapdevices_listbyresourcegroup)
+- [Reboot](#networkbootstrapdevices_reboot)
+- [RefreshConfiguration](#networkbootstrapdevices_refreshconfiguration)
+- [ResyncPasswords](#networkbootstrapdevices_resyncpasswords)
+- [Update](#networkbootstrapdevices_update)
+- [UpdateAdministrativeState](#networkbootstrapdevices_updateadministrativestate)
+- [Upgrade](#networkbootstrapdevices_upgrade)
+
+## NetworkBootstrapInterfaces
+
+- [Create](#networkbootstrapinterfaces_create)
+- [Delete](#networkbootstrapinterfaces_delete)
+- [Get](#networkbootstrapinterfaces_get)
+- [ListByNetworkBootstrapDevice](#networkbootstrapinterfaces_listbynetworkbootstrapdevice)
+- [Update](#networkbootstrapinterfaces_update)
+- [UpdateAdministrativeState](#networkbootstrapinterfaces_updateadministrativestate)
+
## NetworkDeviceSkus
- [Get](#networkdeviceskus_get)
@@ -126,6 +152,10 @@
- [ListByResourceGroup](#networkdevices_listbyresourcegroup)
- [Reboot](#networkdevices_reboot)
- [RefreshConfiguration](#networkdevices_refreshconfiguration)
+- [ResyncCertificates](#networkdevices_resynccertificates)
+- [ResyncPasswords](#networkdevices_resyncpasswords)
+- [RunRoCommand](#networkdevices_runrocommand)
+- [RunRwCommand](#networkdevices_runrwcommand)
- [Update](#networkdevices_update)
- [UpdateAdministrativeState](#networkdevices_updateadministrativestate)
- [Upgrade](#networkdevices_upgrade)
@@ -146,21 +176,30 @@
## NetworkFabrics
+- [ArmConfigurationDiff](#networkfabrics_armconfigurationdiff)
+- [CommitBatchStatus](#networkfabrics_commitbatchstatus)
- [CommitConfiguration](#networkfabrics_commitconfiguration)
- [Create](#networkfabrics_create)
- [Delete](#networkfabrics_delete)
- [Deprovision](#networkfabrics_deprovision)
+- [DiscardCommitBatch](#networkfabrics_discardcommitbatch)
- [GetByResourceGroup](#networkfabrics_getbyresourcegroup)
- [GetTopology](#networkfabrics_gettopology)
- [List](#networkfabrics_list)
- [ListByResourceGroup](#networkfabrics_listbyresourcegroup)
+- [LockFabric](#networkfabrics_lockfabric)
- [Provision](#networkfabrics_provision)
- [RefreshConfiguration](#networkfabrics_refreshconfiguration)
+- [ResyncCertificates](#networkfabrics_resynccertificates)
+- [ResyncPasswords](#networkfabrics_resyncpasswords)
+- [RotateCertificates](#networkfabrics_rotatecertificates)
+- [RotatePasswords](#networkfabrics_rotatepasswords)
- [Update](#networkfabrics_update)
- [UpdateInfraManagementBfdConfiguration](#networkfabrics_updateinframanagementbfdconfiguration)
- [UpdateWorkloadManagementBfdConfiguration](#networkfabrics_updateworkloadmanagementbfdconfiguration)
- [Upgrade](#networkfabrics_upgrade)
- [ValidateConfiguration](#networkfabrics_validateconfiguration)
+- [ViewDeviceConfiguration](#networkfabrics_viewdeviceconfiguration)
## NetworkInterfaces
@@ -171,6 +210,16 @@
- [Update](#networkinterfaces_update)
- [UpdateAdministrativeState](#networkinterfaces_updateadministrativestate)
+## NetworkMonitors
+
+- [Create](#networkmonitors_create)
+- [Delete](#networkmonitors_delete)
+- [GetByResourceGroup](#networkmonitors_getbyresourcegroup)
+- [List](#networkmonitors_list)
+- [ListByResourceGroup](#networkmonitors_listbyresourcegroup)
+- [Update](#networkmonitors_update)
+- [UpdateAdministrativeState](#networkmonitors_updateadministrativestate)
+
## NetworkPacketBrokers
- [Create](#networkpacketbrokers_create)
@@ -220,6 +269,7 @@
- [ListByNetworkFabric](#networktonetworkinterconnects_listbynetworkfabric)
- [Update](#networktonetworkinterconnects_update)
- [UpdateAdministrativeState](#networktonetworkinterconnects_updateadministrativestate)
+- [UpdateBfdAdministrativeState](#networktonetworkinterconnects_updatebfdadministrativestate)
- [UpdateNpbStaticRouteBfdAdministrativeState](#networktonetworkinterconnects_updatenpbstaticroutebfdadministrativestate)
## Operations
@@ -245,13 +295,34 @@ import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMa
import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfiguration;
import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortCondition;
import com.azure.resourcemanager.managednetworkfabric.models.AclActionType;
+import com.azure.resourcemanager.managednetworkfabric.models.AclType;
+import com.azure.resourcemanager.managednetworkfabric.models.BitRate;
+import com.azure.resourcemanager.managednetworkfabric.models.BitRateUnit;
+import com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty;
+import com.azure.resourcemanager.managednetworkfabric.models.BurstSize;
+import com.azure.resourcemanager.managednetworkfabric.models.BurstSizeUnit;
import com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfiguration;
import com.azure.resourcemanager.managednetworkfabric.models.CommunityActionTypes;
import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationType;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlanAclIpMatchCondition;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclAction;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclActionType;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchCondition;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclMatchConfigurationProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortCondition;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchCondition;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclPortMatchType;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchCondition;
+import com.azure.resourcemanager.managednetworkfabric.models.ControlPlaneAclTtlMatchType;
+import com.azure.resourcemanager.managednetworkfabric.models.DeviceRole;
+import com.azure.resourcemanager.managednetworkfabric.models.GlobalAccessControlListActionProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.IcmpConfigurationProperties;
import com.azure.resourcemanager.managednetworkfabric.models.IpAddressType;
import com.azure.resourcemanager.managednetworkfabric.models.IpGroupProperties;
import com.azure.resourcemanager.managednetworkfabric.models.IpMatchCondition;
import com.azure.resourcemanager.managednetworkfabric.models.Layer4Protocol;
+import com.azure.resourcemanager.managednetworkfabric.models.PoliceRateConfigurationProperties;
import com.azure.resourcemanager.managednetworkfabric.models.PortGroupProperties;
import com.azure.resourcemanager.managednetworkfabric.models.PortType;
import com.azure.resourcemanager.managednetworkfabric.models.PrefixType;
@@ -267,9 +338,7 @@ import java.util.Map;
*/
public final class AccessControlListsCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * AccessControlLists_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/AccessControlLists_Create.json
*/
/**
* Sample code: AccessControlLists_Create_MaximumSet_Gen.
@@ -282,36 +351,42 @@ public final class AccessControlListsCreateSamples {
.define("example-acl")
.withRegion("eastUs")
.withExistingResourceGroup("example-rg")
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
.withConfigurationType(ConfigurationType.FILE)
+ .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
+ .withAnnotation("annotation")
.withAclsUrl("https://ACL-Storage-URL")
.withDefaultAction(CommunityActionTypes.PERMIT)
.withMatchConfigurations(
- Arrays
- .asList(new AccessControlListMatchConfiguration().withMatchConfigurationName("example-match")
- .withSequenceNumber(123L)
- .withIpAddressType(IpAddressType.IPV4)
- .withMatchConditions(Arrays.asList(new AccessControlListMatchCondition()
- .withProtocolTypes(Arrays.asList("TCP"))
- .withVlanMatchCondition(new VlanMatchCondition().withVlans(Arrays.asList("20-30"))
- .withInnerVlans(Arrays.asList("30"))
- .withVlanGroupNames(Arrays.asList("example-vlanGroup")))
- .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.SOURCE_IP)
- .withPrefixType(PrefixType.PREFIX)
- .withIpPrefixValues(Arrays.asList("10.20.20.20/12"))
- .withIpGroupNames(Arrays.asList("example-ipGroup")))
- .withEtherTypes(Arrays.asList("0x1"))
- .withFragments(Arrays.asList("0xff00-0xffff"))
- .withIpLengths(Arrays.asList("4094-9214"))
- .withTtlValues(Arrays.asList("23"))
- .withDscpMarkings(Arrays.asList("32"))
- .withPortCondition(new AccessControlListPortCondition().withPortType(PortType.SOURCE_PORT)
- .withLayer4Protocol(Layer4Protocol.TCP)
- .withPorts(Arrays.asList("1-20"))
- .withPortGroupNames(Arrays.asList("example-portGroup"))
- .withFlags(Arrays.asList("established")))))
- .withActions(Arrays.asList(new AccessControlListAction().withType(AclActionType.COUNT)
- .withCounterName("example-counter")))))
+ Arrays.asList(new AccessControlListMatchConfiguration().withMatchConfigurationName("example-match")
+ .withSequenceNumber(123L)
+ .withIpAddressType(IpAddressType.IPV4)
+ .withMatchConditions(Arrays.asList(new AccessControlListMatchCondition()
+ .withProtocolTypes(Arrays.asList("TCP"))
+ .withVlanMatchCondition(new VlanMatchCondition().withVlans(Arrays.asList("20-30"))
+ .withInnerVlans(Arrays.asList("30"))
+ .withVlanGroupNames(Arrays.asList("example-vlanGroup")))
+ .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.SOURCE_IP)
+ .withPrefixType(PrefixType.PREFIX)
+ .withIpPrefixValues(Arrays.asList("10.20.20.20/12"))
+ .withIpGroupNames(Arrays.asList("example-ipGroup")))
+ .withEtherTypes(Arrays.asList("0x1"))
+ .withFragments(Arrays.asList("0xff00-0xffff"))
+ .withIpLengths(Arrays.asList("4094-9214"))
+ .withTtlValues(Arrays.asList("23"))
+ .withDscpMarkings(Arrays.asList("32"))
+ .withProtocolNeighbors(Arrays.asList("example-neighbor"))
+ .withPortCondition(new AccessControlListPortCondition().withPortType(PortType.SOURCE_PORT)
+ .withLayer4Protocol(Layer4Protocol.TCP)
+ .withPorts(Arrays.asList("1-20"))
+ .withPortGroupNames(Arrays.asList("example-portGroup"))
+ .withFlags(Arrays.asList("established")))
+ .withIcmpConfiguration(new IcmpConfigurationProperties().withIcmpTypes(Arrays.asList("echo")))))
+ .withActions(Arrays.asList(new AccessControlListAction().withType(AclActionType.COUNT)
+ .withCounterName("example-counter")
+ .withRemarkComment("example-remark")
+ .withPoliceRateConfiguration(new PoliceRateConfigurationProperties()
+ .withBitRate(new BitRate().withRate(15L).withUnit(BitRateUnit.BPS))
+ .withBurstSize(new BurstSize().withSize(2L).withUnit(BurstSizeUnit.BYTES)))))))
.withDynamicMatchConfigurations(Arrays.asList(new CommonDynamicMatchConfiguration()
.withIpGroups(Arrays.asList(new IpGroupProperties().withName("example-ipGroup")
.withIpAddressType(IpAddressType.IPV4)
@@ -320,7 +395,54 @@ public final class AccessControlListsCreateSamples {
.asList(new VlanGroupProperties().withName("example-vlanGroup").withVlans(Arrays.asList("20-30"))))
.withPortGroups(Arrays.asList(
new PortGroupProperties().withName("example-portGroup").withPorts(Arrays.asList("100-200"))))))
+ .withAclType(AclType.CP)
+ .withDeviceRole(DeviceRole.CE)
+ .withGlobalAccessControlListActions(
+ new GlobalAccessControlListActionProperties().withEnableCount(BooleanEnumProperty.TRUE))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/AccessControlLists_Create_ControlPlaneAcl.json
+ */
+ /**
+ * Sample code: AccessControlLists_Create_MaximumSet_Gen - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void accessControlListsCreateMaximumSetGenGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.accessControlLists()
+ .define("example-acl")
+ .withRegion("eastus")
+ .withExistingResourceGroup("example-resource-group")
+ .withConfigurationType(ConfigurationType.INLINE)
+ .withTags(mapOf("key5032", "fakeTokenPlaceholder"))
.withAnnotation("annotation")
+ .withAclsUrl("https://microsoft.com/a")
+ .withDefaultAction(CommunityActionTypes.PERMIT)
+ .withAclType(AclType.CP)
+ .withDeviceRole(DeviceRole.CE)
+ .withControlPlaneAclConfiguration(
+ Arrays.asList(new ControlPlaneAclProperties().withIpAddressType(IpAddressType.IPV4)
+ .withMatchConfigurations(Arrays.asList(new ControlPlaneAclMatchConfigurationProperties()
+ .withMatchConfigurationName("example-match-config")
+ .withSequenceNumber(3779271459L)
+ .withMatchCondition(new ControlPlaneAclMatchCondition().withProtocolTypes("tcp")
+ .withIpCondition(new ControlPlanAclIpMatchCondition().withSourceIpPrefix("10.0.0.0/24")
+ .withDestinationIpPrefix("10.0.0.0/24"))
+ .withTtlMatchCondition(new ControlPlaneAclTtlMatchCondition().withTtlValue("1")
+ .withTtlMatchType(ControlPlaneAclTtlMatchType.EQUALS))
+ .withPortCondition(new ControlPlaneAclPortMatchCondition()
+ .withSourcePorts(new ControlPlaneAclPortCondition().withPorts(Arrays.asList("100"))
+ .withPortMatchType(ControlPlaneAclPortMatchType.EQUALS))
+ .withDestinationPorts(new ControlPlaneAclPortCondition().withPorts(Arrays.asList("200"))
+ .withPortMatchType(ControlPlaneAclPortMatchType.EQUALS)))
+ .withFlags(Arrays.asList("established"))
+ .withIcmpConfiguration(
+ new IcmpConfigurationProperties().withIcmpTypes(Arrays.asList("icmp"))))
+ .withAction(new ControlPlaneAclAction().withType(ControlPlaneAclActionType.fromString("Drop"))
+ .withRemarkComment("remark"))))))
.create();
}
@@ -346,9 +468,7 @@ public final class AccessControlListsCreateSamples {
*/
public final class AccessControlListsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * AccessControlLists_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/AccessControlLists_Delete.json
*/
/**
* Sample code: AccessControlLists_Delete_MaximumSet_Gen.
@@ -370,9 +490,7 @@ public final class AccessControlListsDeleteSamples {
*/
public final class AccessControlListsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * AccessControlLists_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/AccessControlLists_Get.json
*/
/**
* Sample code: AccessControlLists_Get_MaximumSet_Gen.
@@ -395,9 +513,7 @@ public final class AccessControlListsGetByResourceGroupSamples {
*/
public final class AccessControlListsListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * AccessControlLists_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/AccessControlLists_ListBySubscription.json
*/
/**
* Sample code: AccessControlLists_ListBySubscription_MaximumSet_Gen.
@@ -419,9 +535,7 @@ public final class AccessControlListsListSamples {
*/
public final class AccessControlListsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * AccessControlLists_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/AccessControlLists_ListByResourceGroup.json
*/
/**
* Sample code: AccessControlLists_ListByResourceGroup_MaximumSet_Gen.
@@ -443,9 +557,7 @@ public final class AccessControlListsListByResourceGroupSamples {
*/
public final class AccessControlListsResyncSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * AccessControlLists_Resync_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/AccessControlLists_Resync.json
*/
/**
* Sample code: AccessControlLists_Resync_MaximumSet_Gen.
@@ -463,24 +575,34 @@ public final class AccessControlListsResyncSamples {
```java
import com.azure.resourcemanager.managednetworkfabric.models.AccessControlList;
-import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListAction;
-import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchCondition;
-import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortCondition;
+import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListActionPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConditionPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListMatchConfigurationPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPortConditionPatch;
import com.azure.resourcemanager.managednetworkfabric.models.AclActionType;
-import com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.AclType;
+import com.azure.resourcemanager.managednetworkfabric.models.BitRate;
+import com.azure.resourcemanager.managednetworkfabric.models.BitRateUnit;
+import com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty;
+import com.azure.resourcemanager.managednetworkfabric.models.BurstSize;
+import com.azure.resourcemanager.managednetworkfabric.models.BurstSizeUnit;
+import com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfigurationPatch;
import com.azure.resourcemanager.managednetworkfabric.models.CommunityActionTypes;
import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationType;
+import com.azure.resourcemanager.managednetworkfabric.models.DeviceRole;
+import com.azure.resourcemanager.managednetworkfabric.models.GlobalAccessControlListActionPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.IcmpConfigurationPatchProperties;
import com.azure.resourcemanager.managednetworkfabric.models.IpAddressType;
-import com.azure.resourcemanager.managednetworkfabric.models.IpGroupProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.IpMatchCondition;
+import com.azure.resourcemanager.managednetworkfabric.models.IpGroupPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.IpMatchConditionPatch;
import com.azure.resourcemanager.managednetworkfabric.models.Layer4Protocol;
-import com.azure.resourcemanager.managednetworkfabric.models.PortGroupProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.PoliceRateConfigurationProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.PortGroupPatchProperties;
import com.azure.resourcemanager.managednetworkfabric.models.PortType;
import com.azure.resourcemanager.managednetworkfabric.models.PrefixType;
import com.azure.resourcemanager.managednetworkfabric.models.SourceDestinationType;
-import com.azure.resourcemanager.managednetworkfabric.models.VlanGroupProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.VlanMatchCondition;
+import com.azure.resourcemanager.managednetworkfabric.models.VlanGroupPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.VlanMatchConditionPatch;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -490,9 +612,7 @@ import java.util.Map;
*/
public final class AccessControlListsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * AccessControlLists_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/AccessControlLists_Update.json
*/
/**
* Sample code: AccessControlLists_Update_MaximumSet_Gen.
@@ -505,45 +625,53 @@ public final class AccessControlListsUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-acl", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
- .withAnnotation("annotation")
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
.withConfigurationType(ConfigurationType.FILE)
.withAclsUrl("https://microsoft.com/a")
.withDefaultAction(CommunityActionTypes.PERMIT)
- .withMatchConfigurations(
- Arrays
- .asList(new AccessControlListMatchConfiguration().withMatchConfigurationName("example-match")
- .withSequenceNumber(123L)
- .withIpAddressType(IpAddressType.IPV4)
- .withMatchConditions(Arrays.asList(new AccessControlListMatchCondition()
- .withProtocolTypes(Arrays.asList("TCP"))
- .withVlanMatchCondition(new VlanMatchCondition().withVlans(Arrays.asList("20-30"))
- .withInnerVlans(Arrays.asList("30"))
- .withVlanGroupNames(Arrays.asList("example-vlanGroup")))
- .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.SOURCE_IP)
- .withPrefixType(PrefixType.PREFIX)
- .withIpPrefixValues(Arrays.asList("10.20.20.20/12"))
- .withIpGroupNames(Arrays.asList("example-ipGroup")))
- .withEtherTypes(Arrays.asList("0x1"))
- .withFragments(Arrays.asList("0xff00-0xffff"))
- .withIpLengths(Arrays.asList("4094-9214"))
- .withTtlValues(Arrays.asList("23"))
- .withDscpMarkings(Arrays.asList("32"))
- .withPortCondition(new AccessControlListPortCondition().withPortType(PortType.SOURCE_PORT)
- .withLayer4Protocol(Layer4Protocol.TCP)
- .withPorts(Arrays.asList("1-20"))
- .withPortGroupNames(Arrays.asList("example-portGroup"))
- .withFlags(Arrays.asList("established")))))
- .withActions(Arrays.asList(new AccessControlListAction().withType(AclActionType.COUNT)
- .withCounterName("example-counter")))))
- .withDynamicMatchConfigurations(Arrays.asList(new CommonDynamicMatchConfiguration()
- .withIpGroups(Arrays.asList(new IpGroupProperties().withName("example-ipGroup")
+ .withMatchConfigurationsForUpdate(
+ Arrays.asList(new AccessControlListMatchConfigurationPatch().withMatchConfigurationName("example-match")
+ .withSequenceNumber(123L)
+ .withIpAddressType(IpAddressType.IPV4)
+ .withMatchConditions(Arrays.asList(new AccessControlListMatchConditionPatch()
+ .withProtocolTypes(Arrays.asList("TCP"))
+ .withVlanMatchCondition(new VlanMatchConditionPatch().withVlans(Arrays.asList("20-30"))
+ .withInnerVlans(Arrays.asList("30"))
+ .withVlanGroupNames(Arrays.asList("example-vlanGroup")))
+ .withIpCondition(new IpMatchConditionPatch().withType(SourceDestinationType.SOURCE_IP)
+ .withPrefixType(PrefixType.PREFIX)
+ .withIpPrefixValues(Arrays.asList("10.20.20.20/12"))
+ .withIpGroupNames(Arrays.asList("example-ipGroup")))
+ .withEtherTypes(Arrays.asList("0x1"))
+ .withFragments(Arrays.asList("0xff00-0xffff"))
+ .withIpLengths(Arrays.asList("4094-9214"))
+ .withTtlValues(Arrays.asList("23"))
+ .withDscpMarkings(Arrays.asList("32"))
+ .withPortCondition(new AccessControlListPortConditionPatch().withPortType(PortType.SOURCE_PORT)
+ .withLayer4Protocol(Layer4Protocol.TCP)
+ .withPorts(Arrays.asList("1-20"))
+ .withPortGroupNames(Arrays.asList("example-portGroup"))
+ .withFlags(Arrays.asList("established")))
+ .withProtocolNeighbors(Arrays.asList("example-neighbor"))
+ .withIcmpConfiguration(
+ new IcmpConfigurationPatchProperties().withIcmpTypes(Arrays.asList("echo")))))
+ .withActions(Arrays.asList(new AccessControlListActionPatch().withType(AclActionType.POLICE_RATE)
+ .withPoliceRateConfiguration(new PoliceRateConfigurationProperties()
+ .withBitRate(new BitRate().withRate(15L).withUnit(BitRateUnit.BPS))
+ .withBurstSize(new BurstSize().withSize(2L).withUnit(BurstSizeUnit.BYTES)))))))
+ .withDynamicMatchConfigurationsForUpdate(Arrays.asList(new CommonDynamicMatchConfigurationPatch()
+ .withIpGroups(Arrays.asList(new IpGroupPatchProperties().withName("example-ipGroup")
.withIpAddressType(IpAddressType.IPV4)
.withIpPrefixes(Arrays.asList("10.20.3.1/20"))))
- .withVlanGroups(Arrays
- .asList(new VlanGroupProperties().withName("example-vlanGroup").withVlans(Arrays.asList("20-30"))))
+ .withVlanGroups(Arrays.asList(
+ new VlanGroupPatchProperties().withName("example-vlanGroup").withVlans(Arrays.asList("20-30"))))
.withPortGroups(Arrays.asList(
- new PortGroupProperties().withName("example-portGroup").withPorts(Arrays.asList("100-200"))))))
+ new PortGroupPatchProperties().withName("example-portGroup").withPorts(Arrays.asList("100-200"))))))
+ .withAclType(AclType.CP)
+ .withDeviceRole(DeviceRole.CE)
+ .withGlobalAccessControlListActions(
+ new GlobalAccessControlListActionPatchProperties().withEnableCount(BooleanEnumProperty.TRUE))
+ .withAnnotation("annotation")
.apply();
}
@@ -573,9 +701,7 @@ import java.util.Arrays;
*/
public final class AccessControlListsUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/AccessControlLists_UpdateAdministrativeState.json
*/
/**
* Sample code: AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen.
@@ -600,9 +726,7 @@ public final class AccessControlListsUpdateAdministrativeStateSamples {
*/
public final class AccessControlListsValidateConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * AccessControlLists_ValidateConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/AccessControlLists_ValidateConfiguration.json
*/
/**
* Sample code: AccessControlLists_ValidateConfiguration_MaximumSet_Gen.
@@ -621,12 +745,21 @@ public final class AccessControlListsValidateConfigurationSamples {
```java
import com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationState;
import com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicy;
+import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkBmpProperties;
import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPropertiesOptionAProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkStaticRouteConfiguration;
import com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicy;
import com.azure.resourcemanager.managednetworkfabric.models.L3OptionBProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitProperties;
import com.azure.resourcemanager.managednetworkfabric.models.PeeringOption;
+import com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitProperties;
import com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation;
+import com.azure.resourcemanager.managednetworkfabric.models.StaticRouteProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.V4OverV6BgpSessionState;
+import com.azure.resourcemanager.managednetworkfabric.models.V6OverV4BgpSessionState;
import java.util.Arrays;
/**
@@ -634,9 +767,7 @@ import java.util.Arrays;
*/
public final class ExternalNetworksCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * ExternalNetworks_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/ExternalNetworks_Create.json
*/
/**
* Sample code: ExternalNetworks_Create_MaximumSet_Gen.
@@ -646,15 +777,26 @@ public final class ExternalNetworksCreateSamples {
public static void externalNetworksCreateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.externalNetworks()
- .define("example-externalnetwork")
- .withExistingL3IsolationDomain("example-rg", "example-l3domain")
+ .define("example-ext")
+ .withExistingL3IsolationDomain("example-rg", "example-externalnetwork")
.withPeeringOption(PeeringOption.OPTIONA)
+ .withAnnotation("annotation")
+ .withNetworkToNetworkInterconnectId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
+ .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
+ .withImportIpv6RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName"))
+ .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
+ .withExportIpv6RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName"))
.withOptionBProperties(new L3OptionBProperties().withImportRouteTargets(Arrays.asList("65046:10039"))
.withExportRouteTargets(Arrays.asList("65046:10039"))
- .withRouteTargets(new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("65046:10039"))
- .withImportIpv6RouteTargets(Arrays.asList("65046:10039"))
- .withExportIpv4RouteTargets(Arrays.asList("65046:10039"))
- .withExportIpv6RouteTargets(Arrays.asList("65046:10039"))))
+ .withRouteTargets(new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withImportIpv6RouteTargets(Arrays.asList("65046:10050"))
+ .withExportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withExportIpv6RouteTargets(Arrays.asList("65046:10050"))))
.withOptionAProperties(new ExternalNetworkPropertiesOptionAProperties().withPrimaryIpv4Prefix("10.1.1.0/30")
.withPrimaryIpv6Prefix("3FFE:FFFF:0:CD30::a0/126")
.withSecondaryIpv4Prefix("10.1.1.4/30")
@@ -662,26 +804,25 @@ public final class ExternalNetworksCreateSamples {
.withMtu(1500)
.withVlanId(1001)
.withPeerAsn(65047L)
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(15))
+ .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
.withIngressAclId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
+ .withBmpConfiguration(
+ new ExternalNetworkBmpProperties().withConfigurationState(BmpConfigurationState.ENABLED))
.withEgressAclId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl"))
- .withNetworkToNetworkInterconnectId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
- .withImportRoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withExportRoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withImportIpv6RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName"))
- .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withExportIpv6RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName"))
- .withAnnotation("annotation")
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
+ .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED)
+ .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED)
+ .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays
+ .asList(new PrefixLimitProperties().withMaximumRoutes(14).withThreshold(17).withIdleTimeExpiry(7))))
+ .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitProperties().withPrefixLimits(Arrays.asList(
+ new PrefixLimitProperties().withMaximumRoutes(14).withThreshold(17).withIdleTimeExpiry(7)))))
+ .withStaticRouteConfiguration(new ExternalNetworkStaticRouteConfiguration()
+ .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
+ .withIpv4Routes(Arrays.asList(
+ new StaticRouteProperties().withPrefix("10.0.0.1/24").withNextHop(Arrays.asList("10.0.0.1"))))
+ .withIpv6Routes(Arrays
+ .asList(new StaticRouteProperties().withPrefix("2fff::/64").withNextHop(Arrays.asList("3ffe::1")))))
.create();
}
}
@@ -695,9 +836,7 @@ public final class ExternalNetworksCreateSamples {
*/
public final class ExternalNetworksDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * ExternalNetworks_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/ExternalNetworks_Delete.json
*/
/**
* Sample code: ExternalNetworks_Delete_MaximumSet_Gen.
@@ -707,7 +846,7 @@ public final class ExternalNetworksDeleteSamples {
public static void externalNetworksDeleteMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.externalNetworks()
- .delete("example-rg", "example-l3domain", "example-externalnetwork", com.azure.core.util.Context.NONE);
+ .delete("example-rg", "example-externalnetwork", "example-ext", com.azure.core.util.Context.NONE);
}
}
```
@@ -720,9 +859,7 @@ public final class ExternalNetworksDeleteSamples {
*/
public final class ExternalNetworksGetSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * ExternalNetworks_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/ExternalNetworks_Get.json
*/
/**
* Sample code: ExternalNetworks_Get_MaximumSet_Gen.
@@ -732,7 +869,7 @@ public final class ExternalNetworksGetSamples {
public static void externalNetworksGetMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.externalNetworks()
- .getWithResponse("rgL3IsolationDomains", "yhtr", "fltpszzikbalrzaqq", com.azure.core.util.Context.NONE);
+ .getWithResponse("example-rg", "example-externalnetwork", "example-ext", com.azure.core.util.Context.NONE);
}
}
```
@@ -745,9 +882,7 @@ public final class ExternalNetworksGetSamples {
*/
public final class ExternalNetworksListByL3IsolationDomainSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/ExternalNetworks_ListByL3IsolationDomain.json
*/
/**
* Sample code: ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen.
@@ -757,7 +892,7 @@ public final class ExternalNetworksListByL3IsolationDomainSamples {
public static void externalNetworksListByL3IsolationDomainMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.externalNetworks()
- .listByL3IsolationDomain("example-rg", "example-l3domain", com.azure.core.util.Context.NONE);
+ .listByL3IsolationDomain("example-rg", "example-externalnetwork", com.azure.core.util.Context.NONE);
}
}
```
@@ -765,14 +900,23 @@ public final class ExternalNetworksListByL3IsolationDomainSamples {
### ExternalNetworks_Update
```java
-import com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicy;
+import com.azure.resourcemanager.managednetworkfabric.models.BfdPatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationState;
+import com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyPatch;
import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetwork;
+import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkBmpPatchProperties;
import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPatchPropertiesOptionAProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicy;
-import com.azure.resourcemanager.managednetworkfabric.models.L3OptionBProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkStaticRoutePatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.L3OptionBPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitPatchProperties;
import com.azure.resourcemanager.managednetworkfabric.models.PeeringOption;
-import com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation;
+import com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.RouteTargetPatchInformation;
+import com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.V4OverV6BgpSessionState;
+import com.azure.resourcemanager.managednetworkfabric.models.V6OverV4BgpSessionState;
import java.util.Arrays;
/**
@@ -780,9 +924,7 @@ import java.util.Arrays;
*/
public final class ExternalNetworksUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * ExternalNetworks_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/ExternalNetworks_Update.json
*/
/**
* Sample code: ExternalNetworks_Update_MaximumSet_Gen.
@@ -792,17 +934,28 @@ public final class ExternalNetworksUpdateSamples {
public static void externalNetworksUpdateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
ExternalNetwork resource = manager.externalNetworks()
- .getWithResponse("example-rg", "example-l3domain", "example-externalnetwork",
- com.azure.core.util.Context.NONE)
+ .getWithResponse("example-rg", "example-externalnetwork", "example-ext", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
+ .withAnnotation("annotation1")
+ .withNetworkToNetworkInterconnectId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
+ .withImportRoutePolicy(new ImportRoutePolicyPatch().withImportIpv4RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
+ .withImportIpv6RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName"))
+ .withExportRoutePolicy(new ExportRoutePolicyPatch().withExportIpv4RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
+ .withExportIpv6RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName"))
.withPeeringOption(PeeringOption.OPTIONA)
- .withOptionBProperties(new L3OptionBProperties().withImportRouteTargets(Arrays.asList("65046:10039"))
+ .withOptionBProperties(new L3OptionBPatchProperties().withImportRouteTargets(Arrays.asList("65046:10039"))
.withExportRouteTargets(Arrays.asList("65046:10039"))
- .withRouteTargets(new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("65046:10039"))
- .withImportIpv6RouteTargets(Arrays.asList("65046:10039"))
- .withExportIpv4RouteTargets(Arrays.asList("65046:10039"))
- .withExportIpv6RouteTargets(Arrays.asList("65046:10039"))))
+ .withRouteTargets(
+ new RouteTargetPatchInformation().withImportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withImportIpv6RouteTargets(Arrays.asList("65046:10050"))
+ .withExportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withExportIpv6RouteTargets(Arrays.asList("65046:10050"))))
.withOptionAProperties(new ExternalNetworkPatchPropertiesOptionAProperties()
.withPrimaryIpv4Prefix("10.1.1.0/30")
.withPrimaryIpv6Prefix("3FFE:FFFF:0:CD30::a0/126")
@@ -811,24 +964,25 @@ public final class ExternalNetworksUpdateSamples {
.withMtu(1500)
.withVlanId(1001)
.withPeerAsn(65047L)
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(15))
+ .withBfdConfiguration(new BfdPatchConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
.withIngressAclId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
.withEgressAclId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl"))
- .withImportRoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withExportRoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withImportIpv6RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName"))
- .withExportRoutePolicy(new ExportRoutePolicy().withExportIpv4RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withExportIpv6RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName"))
- .withAnnotation("annotation1")
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
+ .withBmpConfiguration(
+ new ExternalNetworkBmpPatchProperties().withConfigurationState(BmpConfigurationState.ENABLED))
+ .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED)
+ .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED)
+ .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList(
+ new PrefixLimitPatchProperties().withMaximumRoutes(13).withThreshold(24).withIdleTimeExpiry(8))))
+ .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList(
+ new PrefixLimitPatchProperties().withMaximumRoutes(13).withThreshold(24).withIdleTimeExpiry(8)))))
+ .withStaticRouteConfiguration(new ExternalNetworkStaticRoutePatchConfiguration()
+ .withBfdConfiguration(new BfdPatchConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
+ .withIpv4Routes(Arrays.asList(
+ new StaticRoutePatchProperties().withPrefix("10.0.0.1/14").withNextHop(Arrays.asList("10.0.0.1"))))
+ .withIpv6Routes(Arrays.asList(
+ new StaticRoutePatchProperties().withPrefix("2fff::/64").withNextHop(Arrays.asList("3ffe::1")))))
.apply();
}
}
@@ -846,9 +1000,7 @@ import java.util.Arrays;
*/
public final class ExternalNetworksUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/ExternalNetworks_UpdateAdministrativeState.json
*/
/**
* Sample code: ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen.
@@ -858,13 +1010,43 @@ public final class ExternalNetworksUpdateAdministrativeStateSamples {
public static void externalNetworksUpdateAdministrativeStateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.externalNetworks()
- .updateAdministrativeState("example-rg", "example-l3domain", "example-externalnetwork",
+ .updateAdministrativeState("example-rg", "example-externalnetwork", "example-ext",
new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
com.azure.core.util.Context.NONE);
}
}
```
+### ExternalNetworks_UpdateBfdAdministrativeState
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.BfdAdministrativeState;
+import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkRouteType;
+import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpdateBfdAdministrativeStateRequest;
+
+/**
+ * Samples for ExternalNetworks UpdateBfdAdministrativeState.
+ */
+public final class ExternalNetworksUpdateBfdAdministrativeStateSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/ExternalNetworks_UpdateBfdAdministrativeState.json
+ */
+ /**
+ * Sample code: ExternalNetworks_UpdateBfdAdministrativeState.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void externalNetworksUpdateBfdAdministrativeState(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.externalNetworks()
+ .updateBfdAdministrativeState("example-rg", "example-externalnetwork", "example-ext",
+ new ExternalNetworkUpdateBfdAdministrativeStateRequest().withRouteType(ExternalNetworkRouteType.STATIC)
+ .withAdministrativeState(BfdAdministrativeState.fromString("Enable")),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### ExternalNetworks_UpdateStaticRouteBfdAdministrativeState
```java
@@ -877,16 +1059,14 @@ import java.util.Arrays;
*/
public final class ExternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * ExternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json
*/
/**
- * Sample code: ExternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen.
+ * Sample code: ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void externalNetworksUpdateStaticRouteBfdAdministrativeStateMaximumSetGen(
+ public static void externalNetworksUpdateStaticRouteBfdAdministrativeState(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.externalNetworks()
.updateStaticRouteBfdAdministrativeState("example-rg", "example-l3domain", "example-externalnetwork",
@@ -901,16 +1081,25 @@ public final class ExternalNetworksUpdateStaticRouteBfdAdministrativeStateSample
```java
import com.azure.resourcemanager.managednetworkfabric.models.AllowASOverride;
import com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.BgpConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationState;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicy;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyProperties;
import com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty;
import com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnet;
import com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicy;
import com.azure.resourcemanager.managednetworkfabric.models.Extension;
import com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicy;
-import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkPropertiesBgpConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkPropertiesStaticRouteConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkBmpProperties;
import com.azure.resourcemanager.managednetworkfabric.models.IsMonitoringEnabled;
+import com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitProperties;
import com.azure.resourcemanager.managednetworkfabric.models.NeighborAddress;
+import com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.StaticRouteConfiguration;
import com.azure.resourcemanager.managednetworkfabric.models.StaticRouteProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.V4OverV6BgpSessionState;
+import com.azure.resourcemanager.managednetworkfabric.models.V6OverV4BgpSessionState;
import java.util.Arrays;
/**
@@ -918,9 +1107,7 @@ import java.util.Arrays;
*/
public final class InternalNetworksCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternalNetworks_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternalNetworks_Create.json
*/
/**
* Sample code: InternalNetworks_Create_MaximumSet_Gen.
@@ -931,34 +1118,15 @@ public final class InternalNetworksCreateSamples {
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.internalNetworks()
.define("example-internalnetwork")
- .withExistingL3IsolationDomain("example-rg", "example-l3domain")
+ .withExistingL3IsolationDomain("example-rg", "example-l3isd")
.withVlanId(755)
- .withBgpConfiguration(new InternalNetworkPropertiesBgpConfiguration().withAnnotation("annotation")
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(5))
- .withDefaultRouteOriginate(BooleanEnumProperty.TRUE)
- .withAllowAS(10)
- .withAllowASOverride(AllowASOverride.ENABLE)
- .withPeerAsn(61234L)
- .withIpv4ListenRangePrefixes(Arrays.asList("10.1.0.0/25"))
- .withIpv6ListenRangePrefixes(Arrays.asList("2fff::/66"))
- .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("10.1.0.0")))
- .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("2fff::"))))
- .withStaticRouteConfiguration(new InternalNetworkPropertiesStaticRouteConfiguration()
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(15))
- .withIpv4Routes(Arrays
- .asList(new StaticRouteProperties().withPrefix("jffgck").withNextHop(Arrays.asList("10.0.0.1"))))
- .withIpv6Routes(Arrays
- .asList(new StaticRouteProperties().withPrefix("2fff::/64").withNextHop(Arrays.asList("3ffe::1"))))
- .withExtension(Extension.NO_EXTENSION))
+ .withAnnotation("annotation")
+ .withExtension(Extension.NO_EXTENSION)
.withMtu(1500)
.withConnectedIPv4Subnets(
Arrays.asList(new ConnectedSubnet().withAnnotation("annotation").withPrefix("10.0.0.0/24")))
.withConnectedIPv6Subnets(
Arrays.asList(new ConnectedSubnet().withAnnotation("annotation").withPrefix("3FFE:FFFF:0:CD30::a0/29")))
- .withImportRoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withExportRoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
.withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
.withImportIpv6RoutePolicyId(
@@ -972,8 +1140,34 @@ public final class InternalNetworksCreateSamples {
.withEgressAclId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
.withIsMonitoringEnabled(IsMonitoringEnabled.TRUE)
- .withExtension(Extension.NO_EXTENSION)
- .withAnnotation("annotation")
+ .withBgpConfiguration(new BgpConfiguration().withAnnotation("annotation")
+ .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
+ .withDefaultRouteOriginate(BooleanEnumProperty.TRUE)
+ .withAllowAS(10)
+ .withAllowASOverride(AllowASOverride.ENABLE)
+ .withPeerAsn(61234L)
+ .withIpv4ListenRangePrefixes(Arrays.asList("10.1.0.0/25"))
+ .withIpv6ListenRangePrefixes(Arrays.asList("2fff::/66"))
+ .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("10.1.0.0")))
+ .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("2fff::")))
+ .withBmpConfiguration(
+ new InternalNetworkBmpProperties().withNeighborIpExclusions(Arrays.asList("10.0.0.1"))
+ .withBmpConfigurationState(BmpConfigurationState.ENABLED)
+ .withExportPolicyConfiguration(new BmpExportPolicyProperties()
+ .withExportPolicies(Arrays.asList(BmpExportPolicy.PRE_POLICY))))
+ .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED)
+ .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED))
+ .withStaticRouteConfiguration(new StaticRouteConfiguration()
+ .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
+ .withIpv4Routes(Arrays.asList(
+ new StaticRouteProperties().withPrefix("10.0.0.1/24").withNextHop(Arrays.asList("10.0.0.1"))))
+ .withIpv6Routes(Arrays
+ .asList(new StaticRouteProperties().withPrefix("2fff::/64").withNextHop(Arrays.asList("3ffe::1"))))
+ .withExtension(Extension.NO_EXTENSION))
+ .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitProperties().withPrefixLimits(Arrays
+ .asList(new PrefixLimitProperties().withMaximumRoutes(23).withThreshold(7).withIdleTimeExpiry(28))))
+ .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitProperties().withPrefixLimits(Arrays
+ .asList(new PrefixLimitProperties().withMaximumRoutes(23).withThreshold(7).withIdleTimeExpiry(28))))
.create();
}
}
@@ -987,9 +1181,7 @@ public final class InternalNetworksCreateSamples {
*/
public final class InternalNetworksDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternalNetworks_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternalNetworks_Delete.json
*/
/**
* Sample code: InternalNetworks_Delete_MaximumSet_Gen.
@@ -999,7 +1191,7 @@ public final class InternalNetworksDeleteSamples {
public static void internalNetworksDeleteMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.internalNetworks()
- .delete("example-rg", "example-l3domain", "example-internalnetwork", com.azure.core.util.Context.NONE);
+ .delete("example-rg", "example-l3isd", "example-internalnetwork", com.azure.core.util.Context.NONE);
}
}
```
@@ -1012,9 +1204,7 @@ public final class InternalNetworksDeleteSamples {
*/
public final class InternalNetworksGetSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternalNetworks_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternalNetworks_Get.json
*/
/**
* Sample code: InternalNetworks_Get_MaximumSet_Gen.
@@ -1024,7 +1214,7 @@ public final class InternalNetworksGetSamples {
public static void internalNetworksGetMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.internalNetworks()
- .getWithResponse("example-rg", "example-l3domain", "example-internalnetwork",
+ .getWithResponse("example-rg", "example-l3isd", "example-internalnetwork",
com.azure.core.util.Context.NONE);
}
}
@@ -1038,9 +1228,7 @@ public final class InternalNetworksGetSamples {
*/
public final class InternalNetworksListByL3IsolationDomainSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternalNetworks_ListByL3IsolationDomain.json
*/
/**
* Sample code: InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen.
@@ -1050,7 +1238,7 @@ public final class InternalNetworksListByL3IsolationDomainSamples {
public static void internalNetworksListByL3IsolationDomainMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.internalNetworks()
- .listByL3IsolationDomain("example-rg", "example-l3domain", com.azure.core.util.Context.NONE);
+ .listByL3IsolationDomain("example-rg", "example-l3isd", com.azure.core.util.Context.NONE);
}
}
```
@@ -1059,17 +1247,24 @@ public final class InternalNetworksListByL3IsolationDomainSamples {
```java
import com.azure.resourcemanager.managednetworkfabric.models.AllowASOverride;
-import com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.BgpConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.BfdPatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.BgpPatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationState;
import com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty;
-import com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnet;
+import com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetPatch;
import com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicy;
import com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicy;
import com.azure.resourcemanager.managednetworkfabric.models.InternalNetwork;
+import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkBmpPatchProperties;
import com.azure.resourcemanager.managednetworkfabric.models.IsMonitoringEnabled;
-import com.azure.resourcemanager.managednetworkfabric.models.NeighborAddress;
-import com.azure.resourcemanager.managednetworkfabric.models.StaticRouteConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.StaticRouteProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NativeIpv4PrefixLimitPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NativeIpv6PrefixLimitPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NeighborAddressPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.PrefixLimitPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.V4OverV6BgpSessionState;
+import com.azure.resourcemanager.managednetworkfabric.models.V6OverV4BgpSessionState;
import java.util.Arrays;
/**
@@ -1077,9 +1272,7 @@ import java.util.Arrays;
*/
public final class InternalNetworksUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternalNetworks_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternalNetworks_Update.json
*/
/**
* Sample code: InternalNetworks_Update_MaximumSet_Gen.
@@ -1089,35 +1282,15 @@ public final class InternalNetworksUpdateSamples {
public static void internalNetworksUpdateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
InternalNetwork resource = manager.internalNetworks()
- .getWithResponse("example-rg", "example-l3domain", "example-internalnetwork",
- com.azure.core.util.Context.NONE)
+ .getWithResponse("example-rg", "example-l3isd", "example-internalnetwork", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withBgpConfiguration(new BgpConfiguration().withAnnotation("annotation")
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(5))
- .withDefaultRouteOriginate(BooleanEnumProperty.TRUE)
- .withAllowAS(10)
- .withAllowASOverride(AllowASOverride.ENABLE)
- .withPeerAsn(61234L)
- .withIpv4ListenRangePrefixes(Arrays.asList("10.1.0.0/25"))
- .withIpv6ListenRangePrefixes(Arrays.asList("2fff::/66"))
- .withIpv4NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("10.1.0.0")))
- .withIpv6NeighborAddress(Arrays.asList(new NeighborAddress().withAddress("2fff::"))))
- .withStaticRouteConfiguration(new StaticRouteConfiguration()
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(15))
- .withIpv4Routes(Arrays.asList(
- new StaticRouteProperties().withPrefix("20.20.20.20/25").withNextHop(Arrays.asList("10.0.0.1"))))
- .withIpv6Routes(Arrays
- .asList(new StaticRouteProperties().withPrefix("2fff::/64").withNextHop(Arrays.asList("3ffe::1")))))
+ .withAnnotation("annotation")
.withMtu(1500)
- .withConnectedIPv4Subnets(
- Arrays.asList(new ConnectedSubnet().withAnnotation("annotation").withPrefix("10.0.0.0/24")))
- .withConnectedIPv6Subnets(
- Arrays.asList(new ConnectedSubnet().withAnnotation("annotation").withPrefix("3FFE:FFFF:0:CD30::a0/29")))
- .withImportRoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withExportRoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
+ .withConnectedIPv4SubnetsForUpdate(
+ Arrays.asList(new ConnectedSubnetPatch().withAnnotation("annotation").withPrefix("10.0.0.0/24")))
+ .withConnectedIPv6SubnetsForUpdate(
+ Arrays.asList(new ConnectedSubnetPatch().withAnnotation("annotation").withPrefix("10.0.0.0/24")))
.withImportRoutePolicy(new ImportRoutePolicy().withImportIpv4RoutePolicyId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
.withImportIpv6RoutePolicyId(
@@ -1131,7 +1304,31 @@ public final class InternalNetworksUpdateSamples {
.withEgressAclId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
.withIsMonitoringEnabled(IsMonitoringEnabled.TRUE)
- .withAnnotation("annotation")
+ .withBgpConfiguration(new BgpPatchConfiguration().withAnnotation("annotation")
+ .withBfdConfiguration(new BfdPatchConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
+ .withDefaultRouteOriginate(BooleanEnumProperty.TRUE)
+ .withAllowAS(10)
+ .withAllowASOverride(AllowASOverride.ENABLE)
+ .withPeerAsn(61234L)
+ .withIpv4ListenRangePrefixes(Arrays.asList("10.1.0.0/25"))
+ .withIpv6ListenRangePrefixes(Arrays.asList("2fff::/66"))
+ .withIpv4NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("10.1.0.0")))
+ .withIpv6NeighborAddress(Arrays.asList(new NeighborAddressPatch().withAddress("10.1.0.0")))
+ .withBmpConfiguration(
+ new InternalNetworkBmpPatchProperties().withNeighborIpExclusions(Arrays.asList("10.0.0.10"))
+ .withBmpConfigurationState(BmpConfigurationState.ENABLED))
+ .withV4OverV6BgpSession(V4OverV6BgpSessionState.ENABLED)
+ .withV6OverV4BgpSession(V6OverV4BgpSessionState.ENABLED))
+ .withStaticRouteConfiguration(new StaticRoutePatchConfiguration()
+ .withBfdConfiguration(new BfdPatchConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
+ .withIpv4Routes(Arrays.asList(
+ new StaticRoutePatchProperties().withPrefix("jffgck").withNextHop(Arrays.asList("10.0.0.1"))))
+ .withIpv6Routes(Arrays.asList(
+ new StaticRoutePatchProperties().withPrefix("jffgck").withNextHop(Arrays.asList("10.0.0.1")))))
+ .withNativeIpv4PrefixLimit(new NativeIpv4PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList(
+ new PrefixLimitPatchProperties().withMaximumRoutes(24).withThreshold(6).withIdleTimeExpiry(20))))
+ .withNativeIpv6PrefixLimit(new NativeIpv6PrefixLimitPatchProperties().withPrefixLimits(Arrays.asList(
+ new PrefixLimitPatchProperties().withMaximumRoutes(24).withThreshold(6).withIdleTimeExpiry(20))))
.apply();
}
}
@@ -1149,9 +1346,7 @@ import java.util.Arrays;
*/
public final class InternalNetworksUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateAdministrativeState.json
*/
/**
* Sample code: InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen.
@@ -1161,28 +1356,56 @@ public final class InternalNetworksUpdateAdministrativeStateSamples {
public static void internalNetworksUpdateAdministrativeStateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.internalNetworks()
- .updateAdministrativeState("example-rg", "example-l3domain", "example-internalnetwork",
+ .updateAdministrativeState("example-rg", "example-l3isd", "example-internalnetwork",
new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
com.azure.core.util.Context.NONE);
}
}
```
+### InternalNetworks_UpdateBfdAdministrativeState
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.BfdAdministrativeState;
+import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkRouteType;
+import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBfdAdministrativeStateRequest;
+
+/**
+ * Samples for InternalNetworks UpdateBfdAdministrativeState.
+ */
+public final class InternalNetworksUpdateBfdAdministrativeStateSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateBfdAdministrativeState.json
+ */
+ /**
+ * Sample code: InternalNetworks_UpdateBfdAdministrativeState.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void internalNetworksUpdateBfdAdministrativeState(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.internalNetworks()
+ .updateBfdAdministrativeState("example-rg", "example-l3isd", "example-internalnetwork",
+ new InternalNetworkUpdateBfdAdministrativeStateRequest().withRouteType(InternalNetworkRouteType.STATIC)
+ .withNeighborAddress("10.10.1.10")
+ .withAdministrativeState(BfdAdministrativeState.fromString("Enable")),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### InternalNetworks_UpdateBgpAdministrativeState
```java
-import com.azure.resourcemanager.managednetworkfabric.models.EnableDisableState;
-import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState;
-import java.util.Arrays;
+import com.azure.resourcemanager.managednetworkfabric.models.BgpAdministrativeState;
+import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBgpAdministrativeStateRequest;
/**
* Samples for InternalNetworks UpdateBgpAdministrativeState.
*/
public final class InternalNetworksUpdateBgpAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateBgpAdministrativeState.json
*/
/**
* Sample code: InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen.
@@ -1192,8 +1415,9 @@ public final class InternalNetworksUpdateBgpAdministrativeStateSamples {
public static void internalNetworksUpdateBgpAdministrativeStateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.internalNetworks()
- .updateBgpAdministrativeState("example-rg", "example-l3domain", "example-internalNetwork",
- new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
+ .updateBgpAdministrativeState("example-rg", "example-l3isd", "example-internalnetwork",
+ new InternalNetworkUpdateBgpAdministrativeStateRequest().withNeighborAddress("10.10.10.10")
+ .withAdministrativeState(BgpAdministrativeState.fromString("Enable")),
com.azure.core.util.Context.NONE);
}
}
@@ -1211,16 +1435,14 @@ import java.util.Arrays;
*/
public final class InternalNetworksUpdateStaticRouteBfdAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json
*/
/**
- * Sample code: InternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen.
+ * Sample code: InternalNetworks_UpdateStaticRouteBfdAdministrativeState.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void internalNetworksUpdateStaticRouteBfdAdministrativeStateMaximumSetGen(
+ public static void internalNetworksUpdateStaticRouteBfdAdministrativeState(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.internalNetworks()
.updateStaticRouteBfdAdministrativeState("example-rg", "example-l3domain", "example-internalNetwork",
@@ -1234,6 +1456,8 @@ public final class InternalNetworksUpdateStaticRouteBfdAdministrativeStateSample
```java
import com.azure.resourcemanager.managednetworkfabric.models.Action;
+import com.azure.resourcemanager.managednetworkfabric.models.HeaderAddressProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.RuleCondition;
import com.azure.resourcemanager.managednetworkfabric.models.RuleProperties;
import java.util.Arrays;
import java.util.HashMap;
@@ -1244,9 +1468,7 @@ import java.util.Map;
*/
public final class InternetGatewayRulesCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGatewayRules_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGatewayRules_Create.json
*/
/**
* Sample code: InternetGatewayRules_Create_MaximumSet_Gen.
@@ -1259,9 +1481,14 @@ public final class InternetGatewayRulesCreateSamples {
.define("example-internetGatewayRule")
.withRegion("eastus")
.withExistingResourceGroup("example-rg")
- .withRuleProperties(
- new RuleProperties().withAction(Action.ALLOW).withAddressList(Arrays.asList("10.10.10.10")))
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
+ .withRuleProperties(new RuleProperties().withAction(Action.ALLOW)
+ .withAddressList(Arrays.asList("10.10.10.10"))
+ .withCondition(RuleCondition.OR)
+ .withDestinationAddressList(Arrays.asList("11.11.10.11"))
+ .withSourceAddressList(Arrays.asList("10.10.10.10"))
+ .withHeaderAddressList(Arrays.asList(new HeaderAddressProperties().withHeaderName("abcHeader")
+ .withAddressList(Arrays.asList("10.10.10.10")))))
+ .withTags(mapOf("KeyID", "fakeTokenPlaceholder"))
.withAnnotation("annotationValue")
.create();
}
@@ -1288,9 +1515,7 @@ public final class InternetGatewayRulesCreateSamples {
*/
public final class InternetGatewayRulesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGatewayRules_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGatewayRules_Delete.json
*/
/**
* Sample code: InternetGatewayRules_Delete_MaximumSet_Gen.
@@ -1313,9 +1538,7 @@ public final class InternetGatewayRulesDeleteSamples {
*/
public final class InternetGatewayRulesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGatewayRules_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGatewayRules_Get.json
*/
/**
* Sample code: InternetGatewayRules_Get_MaximumSet_Gen.
@@ -1339,9 +1562,7 @@ public final class InternetGatewayRulesGetByResourceGroupSamples {
*/
public final class InternetGatewayRulesListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGatewayRules_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGatewayRules_ListBySubscription.json
*/
/**
* Sample code: InternetGatewayRules_ListBySubscription_MaximumSet_Gen.
@@ -1363,9 +1584,7 @@ public final class InternetGatewayRulesListSamples {
*/
public final class InternetGatewayRulesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGatewayRules_ListByResourceGroup.json
*/
/**
* Sample code: InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen.
@@ -1392,9 +1611,7 @@ import java.util.Map;
*/
public final class InternetGatewayRulesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGatewayRules_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGatewayRules_Update.json
*/
/**
* Sample code: InternetGatewayRules_Update_MaximumSet_Gen.
@@ -1407,7 +1624,7 @@ public final class InternetGatewayRulesUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-internetGatewayRule",
com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withTags(mapOf("key3311", "fakeTokenPlaceholder")).apply();
+ resource.update().withTags(mapOf("KeyID", "fakeTokenPlaceholder")).apply();
}
// Use "Map.of" if available
@@ -1436,9 +1653,7 @@ import java.util.Map;
*/
public final class InternetGatewaysCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGateways_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGateways_Create.json
*/
/**
* Sample code: InternetGateways_Create_MaximumSet_Gen.
@@ -1451,13 +1666,14 @@ public final class InternetGatewaysCreateSamples {
.define("example-internetGateway")
.withRegion("eastus")
.withExistingResourceGroup("example-rg")
- .withTypePropertiesType(GatewayType.INFRASTRUCTURE)
.withNetworkFabricControllerId(
"/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController")
- .withTags(mapOf("key3540", "fakeTokenPlaceholder"))
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withAnnotation("annotation")
.withInternetGatewayRuleId(
"/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule")
- .withAnnotation("annotation")
+ .withTypePropertiesType(GatewayType.INFRASTRUCTURE)
+ .withInternetGatewayType(GatewayType.INFRASTRUCTURE)
.create();
}
@@ -1483,9 +1699,7 @@ public final class InternetGatewaysCreateSamples {
*/
public final class InternetGatewaysDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGateways_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGateways_Delete.json
*/
/**
* Sample code: InternetGateways_Delete_MaximumSet_Gen.
@@ -1507,9 +1721,7 @@ public final class InternetGatewaysDeleteSamples {
*/
public final class InternetGatewaysGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGateways_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGateways_Get.json
*/
/**
* Sample code: InternetGateways_Get_MaximumSet_Gen.
@@ -1532,9 +1744,7 @@ public final class InternetGatewaysGetByResourceGroupSamples {
*/
public final class InternetGatewaysListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGateways_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGateways_ListBySubscription.json
*/
/**
* Sample code: InternetGateways_ListBySubscription_MaximumSet_Gen.
@@ -1556,9 +1766,7 @@ public final class InternetGatewaysListSamples {
*/
public final class InternetGatewaysListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGateways_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGateways_ListByResourceGroup.json
*/
/**
* Sample code: InternetGateways_ListByResourceGroup_MaximumSet_Gen.
@@ -1584,9 +1792,7 @@ import java.util.Map;
*/
public final class InternetGatewaysUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * InternetGateways_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/InternetGateways_Update.json
*/
/**
* Sample code: InternetGateways_Update_MaximumSet_Gen.
@@ -1599,7 +1805,7 @@ public final class InternetGatewaysUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-internetGateway", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("key81", "fakeTokenPlaceholder"))
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
.withInternetGatewayRuleId(
"/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule")
.apply();
@@ -1634,9 +1840,7 @@ import java.util.Map;
*/
public final class IpCommunitiesCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpCommunities_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpCommunities_Create.json
*/
/**
* Sample code: IpCommunities_Create_MaximumSet_Gen.
@@ -1649,11 +1853,11 @@ public final class IpCommunitiesCreateSamples {
.define("example-ipcommunity")
.withRegion("eastus")
.withExistingResourceGroup("example-rg")
- .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
.withIpCommunityRules(Arrays.asList(new IpCommunityRule().withAction(CommunityActionTypes.PERMIT)
.withSequenceNumber(4155123341L)
.withWellKnownCommunities(Arrays.asList(WellKnownCommunities.INTERNET))
.withCommunityMembers(Arrays.asList("1:1"))))
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
.withAnnotation("annotation")
.create();
}
@@ -1680,9 +1884,7 @@ public final class IpCommunitiesCreateSamples {
*/
public final class IpCommunitiesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpCommunities_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpCommunities_Delete.json
*/
/**
* Sample code: IpCommunities_Delete_MaximumSet_Gen.
@@ -1704,9 +1906,7 @@ public final class IpCommunitiesDeleteSamples {
*/
public final class IpCommunitiesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpCommunities_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpCommunities_Get.json
*/
/**
* Sample code: IpCommunities_Get_MaximumSet_Gen.
@@ -1729,9 +1929,7 @@ public final class IpCommunitiesGetByResourceGroupSamples {
*/
public final class IpCommunitiesListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpCommunities_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpCommunities_ListBySubscription.json
*/
/**
* Sample code: IpCommunities_ListBySubscription_MaximumSet_Gen.
@@ -1753,9 +1951,7 @@ public final class IpCommunitiesListSamples {
*/
public final class IpCommunitiesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpCommunities_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpCommunities_ListByResourceGroup.json
*/
/**
* Sample code: IpCommunities_ListByResourceGroup_MaximumSet_Gen.
@@ -1777,15 +1973,15 @@ import com.azure.resourcemanager.managednetworkfabric.models.IpCommunity;
import com.azure.resourcemanager.managednetworkfabric.models.IpCommunityRule;
import com.azure.resourcemanager.managednetworkfabric.models.WellKnownCommunities;
import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
/**
* Samples for IpCommunities Update.
*/
public final class IpCommunitiesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpCommunities_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpCommunities_Update.json
*/
/**
* Sample code: IpCommunities_Update_MaximumSet_Gen.
@@ -1798,12 +1994,25 @@ public final class IpCommunitiesUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-ipcommunity", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
+ .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
.withIpCommunityRules(Arrays.asList(new IpCommunityRule().withAction(CommunityActionTypes.PERMIT)
.withSequenceNumber(4155123341L)
.withWellKnownCommunities(Arrays.asList(WellKnownCommunities.INTERNET))
.withCommunityMembers(Arrays.asList("1:1"))))
.apply();
}
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
}
```
@@ -1821,9 +2030,7 @@ import java.util.Map;
*/
public final class IpExtendedCommunitiesCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpExtendedCommunities_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Create.json
*/
/**
* Sample code: IpExtendedCommunities_Create_MaximumSet_Gen.
@@ -1840,7 +2047,7 @@ public final class IpExtendedCommunitiesCreateSamples {
Arrays.asList(new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT)
.withSequenceNumber(4155123341L)
.withRouteTargets(Arrays.asList("1234:2345"))))
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
.withAnnotation("annotation")
.create();
}
@@ -1867,9 +2074,7 @@ public final class IpExtendedCommunitiesCreateSamples {
*/
public final class IpExtendedCommunitiesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpExtendedCommunities_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Delete.json
*/
/**
* Sample code: IpExtendedCommunities_Delete_MaximumSet_Gen.
@@ -1892,9 +2097,7 @@ public final class IpExtendedCommunitiesDeleteSamples {
*/
public final class IpExtendedCommunitiesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpExtendedCommunities_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Get.json
*/
/**
* Sample code: IpExtendedCommunities_Get_MaximumSet_Gen.
@@ -1918,9 +2121,7 @@ public final class IpExtendedCommunitiesGetByResourceGroupSamples {
*/
public final class IpExtendedCommunitiesListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpExtendedCommunities_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpExtendedCommunities_ListBySubscription.json
*/
/**
* Sample code: IpExtendedCommunities_ListBySubscription_MaximumSet_Gen.
@@ -1942,9 +2143,7 @@ public final class IpExtendedCommunitiesListSamples {
*/
public final class IpExtendedCommunitiesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpExtendedCommunities_ListByResourceGroup.json
*/
/**
* Sample code: IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen.
@@ -1973,9 +2172,7 @@ import java.util.Map;
*/
public final class IpExtendedCommunitiesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpExtendedCommunities_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpExtendedCommunities_Update.json
*/
/**
* Sample code: IpExtendedCommunities_Update_MaximumSet_Gen.
@@ -1989,7 +2186,8 @@ public final class IpExtendedCommunitiesUpdateSamples {
com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
+ .withAnnotation("annotation")
.withIpExtendedCommunityRules(
Arrays.asList(new IpExtendedCommunityRule().withAction(CommunityActionTypes.PERMIT)
.withSequenceNumber(4155123341L)
@@ -2026,9 +2224,7 @@ import java.util.Map;
*/
public final class IpPrefixesCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpPrefixes_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpPrefixes_Create.json
*/
/**
* Sample code: IpPrefixes_Create_MaximumSet_Gen.
@@ -2041,12 +2237,12 @@ public final class IpPrefixesCreateSamples {
.define("example-ipPrefix")
.withRegion("eastus")
.withExistingResourceGroup("example-rg")
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
.withIpPrefixRules(Arrays.asList(new IpPrefixRule().withAction(CommunityActionTypes.PERMIT)
.withSequenceNumber(4155123341L)
.withNetworkPrefix("10.10.10.10/30")
.withCondition(Condition.GREATER_THAN_OR_EQUAL_TO)
.withSubnetMaskLength("10")))
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
.withAnnotation("annotation")
.create();
}
@@ -2073,9 +2269,7 @@ public final class IpPrefixesCreateSamples {
*/
public final class IpPrefixesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpPrefixes_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpPrefixes_Delete.json
*/
/**
* Sample code: IpPrefixes_Delete_MaximumSet_Gen.
@@ -2097,9 +2291,7 @@ public final class IpPrefixesDeleteSamples {
*/
public final class IpPrefixesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpPrefixes_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpPrefixes_Get.json
*/
/**
* Sample code: IpPrefixes_Get_MaximumSet_Gen.
@@ -2122,9 +2314,7 @@ public final class IpPrefixesGetByResourceGroupSamples {
*/
public final class IpPrefixesListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpPrefixes_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpPrefixes_ListBySubscription.json
*/
/**
* Sample code: IpPrefixes_ListBySubscription_MaximumSet_Gen.
@@ -2146,9 +2336,7 @@ public final class IpPrefixesListSamples {
*/
public final class IpPrefixesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpPrefixes_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpPrefixes_ListByResourceGroup.json
*/
/**
* Sample code: IpPrefixes_ListByResourceGroup_MaximumSet_Gen.
@@ -2178,9 +2366,7 @@ import java.util.Map;
*/
public final class IpPrefixesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * IpPrefixes_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/IpPrefixes_Update.json
*/
/**
* Sample code: IpPrefixes_Update_MaximumSet_Gen.
@@ -2193,13 +2379,13 @@ public final class IpPrefixesUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-ipPrefix", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
+ .withAnnotation("annotation")
.withIpPrefixRules(Arrays.asList(new IpPrefixRule().withAction(CommunityActionTypes.PERMIT)
.withSequenceNumber(4155123341L)
.withNetworkPrefix("10.10.10.10/30")
.withCondition(Condition.GREATER_THAN_OR_EQUAL_TO)
.withSubnetMaskLength("10")))
- .withAnnotation("annotation")
.apply();
}
@@ -2225,9 +2411,7 @@ public final class IpPrefixesUpdateSamples {
*/
public final class L2IsolationDomainsCommitConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L2IsolationDomains_CommitConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L2IsolationDomains_CommitConfiguration.json
*/
/**
* Sample code: L2IsolationDomains_CommitConfiguration_MaximumSet_Gen.
@@ -2245,6 +2429,10 @@ public final class L2IsolationDomainsCommitConfigurationSamples {
### L2IsolationDomains_Create
```java
+import com.azure.resourcemanager.managednetworkfabric.models.ExtendedVlan;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.HashMap;
import java.util.Map;
@@ -2253,9 +2441,7 @@ import java.util.Map;
*/
public final class L2IsolationDomainsCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L2IsolationDomains_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L2IsolationDomains_Create.json
*/
/**
* Sample code: L2IsolationDomains_Create_MaximumSet_Gen.
@@ -2271,8 +2457,13 @@ public final class L2IsolationDomainsCreateSamples {
.withNetworkFabricId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric")
.withVlanId(501)
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key3673", new UserAssignedIdentity())))
.withMtu(1500)
+ .withExtendedVlan(ExtendedVlan.ENABLED)
+ .withNetworkToNetworkInterconnectId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
.withAnnotation("annotation")
.create();
}
@@ -2299,9 +2490,7 @@ public final class L2IsolationDomainsCreateSamples {
*/
public final class L2IsolationDomainsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L2IsolationDomains_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L2IsolationDomains_Delete.json
*/
/**
* Sample code: L2IsolationDomains_Delete_MaximumSet_Gen.
@@ -2310,7 +2499,7 @@ public final class L2IsolationDomainsDeleteSamples {
*/
public static void l2IsolationDomainsDeleteMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.l2IsolationDomains().delete("example-rg", "example-l2Domain", com.azure.core.util.Context.NONE);
+ manager.l2IsolationDomains().delete("example-rg", "example-l2domain", com.azure.core.util.Context.NONE);
}
}
```
@@ -2323,9 +2512,7 @@ public final class L2IsolationDomainsDeleteSamples {
*/
public final class L2IsolationDomainsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L2IsolationDomains_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L2IsolationDomains_Get.json
*/
/**
* Sample code: L2IsolationDomains_Get_MaximumSet_Gen.
@@ -2335,7 +2522,7 @@ public final class L2IsolationDomainsGetByResourceGroupSamples {
public static void l2IsolationDomainsGetMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.l2IsolationDomains()
- .getByResourceGroupWithResponse("example-rg", "example-l2Domain", com.azure.core.util.Context.NONE);
+ .getByResourceGroupWithResponse("example-rg", "example-l2domain", com.azure.core.util.Context.NONE);
}
}
```
@@ -2348,9 +2535,7 @@ public final class L2IsolationDomainsGetByResourceGroupSamples {
*/
public final class L2IsolationDomainsListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L2IsolationDomains_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L2IsolationDomains_ListBySubscription.json
*/
/**
* Sample code: L2IsolationDomains_ListBySubscription_MaximumSet_Gen.
@@ -2372,9 +2557,7 @@ public final class L2IsolationDomainsListSamples {
*/
public final class L2IsolationDomainsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L2IsolationDomains_ListByResourceGroup.json
*/
/**
* Sample code: L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen.
@@ -2392,6 +2575,9 @@ public final class L2IsolationDomainsListByResourceGroupSamples {
```java
import com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomain;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.HashMap;
import java.util.Map;
@@ -2400,9 +2586,7 @@ import java.util.Map;
*/
public final class L2IsolationDomainsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L2IsolationDomains_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L2IsolationDomains_Update.json
*/
/**
* Sample code: L2IsolationDomains_Update_MaximumSet_Gen.
@@ -2412,11 +2596,15 @@ public final class L2IsolationDomainsUpdateSamples {
public static void l2IsolationDomainsUpdateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
L2IsolationDomain resource = manager.l2IsolationDomains()
- .getByResourceGroupWithResponse("example-rg", "example-l2Domain", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("example-rg", "example-l2domain", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key8793", new UserAssignedIdentity())))
.withMtu(6000)
+ .withNetworkToNetworkInterconnectId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
.withAnnotation("annotation1")
.apply();
}
@@ -2447,19 +2635,17 @@ import java.util.Arrays;
*/
public final class L2IsolationDomainsUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L2IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L2IsolationDomains_UpdateAdministrativeState.json
*/
/**
- * Sample code: L2IsolationDomains_updateAdministrativeState_MaximumSet_Gen.
+ * Sample code: L2IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
public static void l2IsolationDomainsUpdateAdministrativeStateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.l2IsolationDomains()
- .updateAdministrativeState("example-rg", "example-l2Domain",
+ .updateAdministrativeState("example-rg", "example-l2domain",
new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
com.azure.core.util.Context.NONE);
}
@@ -2474,9 +2660,7 @@ public final class L2IsolationDomainsUpdateAdministrativeStateSamples {
*/
public final class L2IsolationDomainsValidateConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L2IsolationDomains_ValidateConfiguration.json
*/
/**
* Sample code: L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen.
@@ -2499,9 +2683,7 @@ public final class L2IsolationDomainsValidateConfigurationSamples {
*/
public final class L3IsolationDomainsCommitConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L3IsolationDomains_CommitConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L3IsolationDomains_CommitConfiguration.json
*/
/**
* Sample code: L3IsolationDomains_CommitConfiguration_MaximumSet_Gen.
@@ -2523,8 +2705,14 @@ import com.azure.resourcemanager.managednetworkfabric.models.AggregateRoute;
import com.azure.resourcemanager.managednetworkfabric.models.AggregateRouteConfiguration;
import com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicy;
import com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicy;
+import com.azure.resourcemanager.managednetworkfabric.models.L3UniqueRouteDistinguisherProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.managednetworkfabric.models.RedistributeConnectedSubnets;
import com.azure.resourcemanager.managednetworkfabric.models.RedistributeStaticRoutes;
+import com.azure.resourcemanager.managednetworkfabric.models.RoutePrefixLimitProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicy;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -2534,9 +2722,7 @@ import java.util.Map;
*/
public final class L3IsolationDomainsCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L3IsolationDomains_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L3IsolationDomains_Create.json
*/
/**
* Sample code: L3IsolationDomains_Create_MaximumSet_Gen.
@@ -2551,19 +2737,28 @@ public final class L3IsolationDomainsCreateSamples {
.withExistingResourceGroup("example-rg")
.withNetworkFabricId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric")
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key3673", new UserAssignedIdentity())))
+ .withAnnotation("annotation")
.withRedistributeConnectedSubnets(RedistributeConnectedSubnets.TRUE)
- .withRedistributeStaticRoutes(RedistributeStaticRoutes.FALSE)
+ .withRedistributeStaticRoutes(RedistributeStaticRoutes.TRUE)
.withAggregateRouteConfiguration(new AggregateRouteConfiguration()
.withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("10.0.0.0/24")))
.withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("3FFE:FFFF:0:CD30::a0/29"))))
- .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicy().withExportRoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
+ .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicy()
.withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
.withExportIpv6RoutePolicyId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")))
- .withAnnotation("annotation")
+ .withStaticRouteRoutePolicy(new StaticRouteRoutePolicy().withExportRoutePolicy(new L3ExportRoutePolicy()
+ .withExportIpv4RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
+ .withExportIpv6RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")))
+ .withUniqueRdConfiguration(new L3UniqueRouteDistinguisherProperties())
+ .withV4routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(1000).withThreshold(90))
+ .withV6routePrefixLimit(new RoutePrefixLimitProperties().withHardLimit(1000).withThreshold(90))
.create();
}
@@ -2589,9 +2784,7 @@ public final class L3IsolationDomainsCreateSamples {
*/
public final class L3IsolationDomainsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L3IsolationDomains_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L3IsolationDomains_Delete.json
*/
/**
* Sample code: L3IsolationDomains_Delete_MaximumSet_Gen.
@@ -2613,9 +2806,7 @@ public final class L3IsolationDomainsDeleteSamples {
*/
public final class L3IsolationDomainsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L3IsolationDomains_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L3IsolationDomains_Get.json
*/
/**
* Sample code: L3IsolationDomains_Get_MaximumSet_Gen.
@@ -2638,9 +2829,7 @@ public final class L3IsolationDomainsGetByResourceGroupSamples {
*/
public final class L3IsolationDomainsListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L3IsolationDomains_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L3IsolationDomains_ListBySubscription.json
*/
/**
* Sample code: L3IsolationDomains_ListBySubscription_MaximumSet_Gen.
@@ -2662,9 +2851,7 @@ public final class L3IsolationDomainsListSamples {
*/
public final class L3IsolationDomainsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L3IsolationDomains_ListByResourceGroup.json
*/
/**
* Sample code: L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen.
@@ -2682,12 +2869,19 @@ public final class L3IsolationDomainsListByResourceGroupSamples {
```java
import com.azure.resourcemanager.managednetworkfabric.models.AggregateRoute;
-import com.azure.resourcemanager.managednetworkfabric.models.AggregateRouteConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicy;
-import com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicy;
+import com.azure.resourcemanager.managednetworkfabric.models.AggregateRoutePatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicy;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.ConnectedSubnetRoutePolicyPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.L3ExportRoutePolicyPatch;
import com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomain;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.managednetworkfabric.models.RedistributeConnectedSubnets;
import com.azure.resourcemanager.managednetworkfabric.models.RedistributeStaticRoutes;
+import com.azure.resourcemanager.managednetworkfabric.models.RoutePrefixLimitPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.StaticRouteRoutePolicyPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -2697,9 +2891,7 @@ import java.util.Map;
*/
public final class L3IsolationDomainsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L3IsolationDomains_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L3IsolationDomains_Update.json
*/
/**
* Sample code: L3IsolationDomains_Update_MaximumSet_Gen.
@@ -2712,19 +2904,29 @@ public final class L3IsolationDomainsUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-l3domain", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("key4953", "fakeTokenPlaceholder"))
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key8793", new UserAssignedIdentity())))
+ .withAnnotation("annotation1")
.withRedistributeConnectedSubnets(RedistributeConnectedSubnets.TRUE)
- .withRedistributeStaticRoutes(RedistributeStaticRoutes.FALSE)
- .withAggregateRouteConfiguration(new AggregateRouteConfiguration()
+ .withRedistributeStaticRoutes(RedistributeStaticRoutes.TRUE)
+ .withAggregateRouteConfiguration(new AggregateRoutePatchConfiguration()
.withIpv4Routes(Arrays.asList(new AggregateRoute().withPrefix("10.0.0.0/24")))
.withIpv6Routes(Arrays.asList(new AggregateRoute().withPrefix("3FFE:FFFF:0:CD30::a0/29"))))
- .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicy().withExportRoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName")
- .withExportRoutePolicy(new L3ExportRoutePolicy().withExportIpv4RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy1")
+ .withConnectedSubnetRoutePolicy(new ConnectedSubnetRoutePolicyPatch()
+ .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
.withExportIpv6RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy1")))
- .withAnnotation("annotation1")
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")))
+ .withStaticRouteRoutePolicy(new StaticRouteRoutePolicyPatch()
+ .withExportRoutePolicy(new L3ExportRoutePolicyPatch().withExportIpv4RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
+ .withExportIpv6RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")))
+ .withV4routePrefixLimit(new RoutePrefixLimitPatchProperties().withHardLimit(1000).withThreshold(50))
+ .withV6routePrefixLimit(new RoutePrefixLimitPatchProperties().withHardLimit(1000).withThreshold(50))
+ .withExportPolicyConfiguration(
+ new BmpExportPolicyPatchProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.PRE_POLICY)))
.apply();
}
@@ -2754,12 +2956,10 @@ import java.util.Arrays;
*/
public final class L3IsolationDomainsUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L3IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L3IsolationDomains_UpdateAdministrativeState.json
*/
/**
- * Sample code: L3IsolationDomains_updateAdministrativeState_MaximumSet_Gen.
+ * Sample code: L3IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
@@ -2781,9 +2981,7 @@ public final class L3IsolationDomainsUpdateAdministrativeStateSamples {
*/
public final class L3IsolationDomainsValidateConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/L3IsolationDomains_ValidateConfiguration.json
*/
/**
* Sample code: L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen.
@@ -2801,7 +2999,10 @@ public final class L3IsolationDomainsValidateConfigurationSamples {
### NeighborGroups_Create
```java
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestination;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -2811,9 +3012,7 @@ import java.util.Map;
*/
public final class NeighborGroupsCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NeighborGroups_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NeighborGroups_Create.json
*/
/**
* Sample code: NeighborGroups_Create_MaximumSet_Gen.
@@ -2826,11 +3025,13 @@ public final class NeighborGroupsCreateSamples {
.define("example-neighborGroup")
.withRegion("eastus")
.withExistingResourceGroup("example-rg")
- .withTags(mapOf("key8107", "fakeTokenPlaceholder"))
.withDestination(new NeighborGroupDestination()
.withIpv4Addresses(Arrays.asList("10.10.10.10", "20.10.10.10", "30.10.10.10", "40.10.10.10",
"50.10.10.10", "60.10.10.10", "70.10.10.10", "80.10.10.10", "90.10.10.10"))
.withIpv6Addresses(Arrays.asList("2F::/100")))
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key3673", new UserAssignedIdentity())))
.withAnnotation("annotation")
.create();
}
@@ -2857,9 +3058,7 @@ public final class NeighborGroupsCreateSamples {
*/
public final class NeighborGroupsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NeighborGroups_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NeighborGroups_Delete.json
*/
/**
* Sample code: NeighborGroups_Delete_MaximumSet_Gen.
@@ -2881,9 +3080,7 @@ public final class NeighborGroupsDeleteSamples {
*/
public final class NeighborGroupsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NeighborGroups_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NeighborGroups_Get.json
*/
/**
* Sample code: NeighborGroups_Get_MaximumSet_Gen.
@@ -2906,9 +3103,7 @@ public final class NeighborGroupsGetByResourceGroupSamples {
*/
public final class NeighborGroupsListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NeighborGroups_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NeighborGroups_ListBySubscription.json
*/
/**
* Sample code: NeighborGroups_ListBySubscription_MaximumSet_Gen.
@@ -2930,9 +3125,7 @@ public final class NeighborGroupsListSamples {
*/
public final class NeighborGroupsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NeighborGroups_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NeighborGroups_ListByResourceGroup.json
*/
/**
* Sample code: NeighborGroups_ListByResourceGroup_MaximumSet_Gen.
@@ -2946,11 +3139,36 @@ public final class NeighborGroupsListByResourceGroupSamples {
}
```
+### NeighborGroups_Resync
+
+```java
+/**
+ * Samples for NeighborGroups Resync.
+ */
+public final class NeighborGroupsResyncSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NeighborGroups_Resync.json
+ */
+ /**
+ * Sample code: NeighborGroups_Resync.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void
+ neighborGroupsResync(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.neighborGroups().resync("example-rg", "example-neighborgroup", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### NeighborGroups_Update
```java
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.managednetworkfabric.models.NeighborGroup;
-import com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestination;
+import com.azure.resourcemanager.managednetworkfabric.models.NeighborGroupDestinationPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -2960,9 +3178,7 @@ import java.util.Map;
*/
public final class NeighborGroupsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NeighborGroups_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NeighborGroups_Update.json
*/
/**
* Sample code: NeighborGroups_Update_MaximumSet_Gen.
@@ -2975,12 +3191,14 @@ public final class NeighborGroupsUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-neighborGroup", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("key8107", "fakeTokenPlaceholder"))
- .withDestination(new NeighborGroupDestination()
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key8793", new UserAssignedIdentity())))
+ .withAnnotation("Updating")
+ .withDestination(new NeighborGroupDestinationPatch()
.withIpv4Addresses(Arrays.asList("10.10.10.10", "20.10.10.10", "30.10.10.10", "40.10.10.10",
"50.10.10.10", "60.10.10.10", "70.10.10.10", "80.10.10.10", "90.10.10.10"))
.withIpv6Addresses(Arrays.asList("2F::/100")))
- .withAnnotation("Updating")
.apply();
}
@@ -2998,85 +3216,41 @@ public final class NeighborGroupsUpdateSamples {
}
```
-### NetworkDeviceSkus_Get
-
-```java
-/**
- * Samples for NetworkDeviceSkus Get.
- */
-public final class NetworkDeviceSkusGetSamples {
- /*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDeviceSkus_Get_MaximumSet_Gen.json
- */
- /**
- * Sample code: NetworkDeviceSkus_Get_MaximumSet_Gen.
- *
- * @param manager Entry point to ManagedNetworkFabricManager.
- */
- public static void networkDeviceSkusGetMaximumSetGen(
- com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDeviceSkus().getWithResponse("example-deviceSku", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### NetworkDeviceSkus_List
-
-```java
-/**
- * Samples for NetworkDeviceSkus List.
- */
-public final class NetworkDeviceSkusListSamples {
- /*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen.json
- */
- /**
- * Sample code: NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen.
- *
- * @param manager Entry point to ManagedNetworkFabricManager.
- */
- public static void networkDeviceSkusListBySubscriptionMaximumSetGen(
- com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDeviceSkus().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### NetworkDevices_Create
+### NetworkBootstrapDevices_Create
```java
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.HashMap;
import java.util.Map;
/**
- * Samples for NetworkDevices Create.
+ * Samples for NetworkBootstrapDevices Create.
*/
-public final class NetworkDevicesCreateSamples {
+public final class NetworkBootstrapDevicesCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDevices_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Create.json
*/
/**
- * Sample code: NetworkDevices_Create_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapDevices_Create_MaximumSet - generated by [MaximumSet] rule - generated by
+ * [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkDevicesCreateMaximumSetGen(
+ public static void networkBootstrapDevicesCreateMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDevices()
+ manager.networkBootstrapDevices()
.define("example-device")
.withRegion("eastuseuap")
.withExistingResourceGroup("example-rg")
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
- .withNetworkDeviceSku("DeviceSku")
- .withHostname("NFA-Device")
- .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX")
+ .withTags(mapOf())
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key3673", new UserAssignedIdentity())))
.withAnnotation("annotation")
+ .withHostName("NFA-Device")
+ .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX")
+ .withNetworkDeviceSku("DeviceSku")
.create();
}
@@ -3094,188 +3268,207 @@ public final class NetworkDevicesCreateSamples {
}
```
-### NetworkDevices_Delete
+### NetworkBootstrapDevices_Delete
```java
/**
- * Samples for NetworkDevices Delete.
+ * Samples for NetworkBootstrapDevices Delete.
*/
-public final class NetworkDevicesDeleteSamples {
+public final class NetworkBootstrapDevicesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDevices_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Delete.json
*/
/**
- * Sample code: NetworkDevices_Delete_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapDevices_Delete_MaximumSet - generated by [MaximumSet] rule - generated by
+ * [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkDevicesDeleteMaximumSetGen(
+ public static void networkBootstrapDevicesDeleteMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDevices().delete("example-rg", "example-device", com.azure.core.util.Context.NONE);
+ manager.networkBootstrapDevices().delete("example-rg", "example-device", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkDevices_GetByResourceGroup
+### NetworkBootstrapDevices_GetByResourceGroup
```java
/**
- * Samples for NetworkDevices GetByResourceGroup.
+ * Samples for NetworkBootstrapDevices GetByResourceGroup.
*/
-public final class NetworkDevicesGetByResourceGroupSamples {
+public final class NetworkBootstrapDevicesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDevices_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Get.json
*/
/**
- * Sample code: NetworkDevices_Get_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapDevices_Get_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet]
+ * rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkDevicesGetMaximumSetGen(
+ public static void networkBootstrapDevicesGetMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDevices()
+ manager.networkBootstrapDevices()
.getByResourceGroupWithResponse("example-rg", "example-device", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkDevices_List
+### NetworkBootstrapDevices_List
```java
/**
- * Samples for NetworkDevices List.
+ * Samples for NetworkBootstrapDevices List.
*/
-public final class NetworkDevicesListSamples {
+public final class NetworkBootstrapDevicesListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDevices_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_ListBySubscription.json
*/
/**
- * Sample code: NetworkDevices_ListBySubscription_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapDevices_ListBySubscription.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkDevicesListBySubscriptionMaximumSetGen(
+ public static void networkBootstrapDevicesListBySubscription(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDevices().list(com.azure.core.util.Context.NONE);
+ manager.networkBootstrapDevices().list(com.azure.core.util.Context.NONE);
}
}
```
-### NetworkDevices_ListByResourceGroup
+### NetworkBootstrapDevices_ListByResourceGroup
```java
/**
- * Samples for NetworkDevices ListByResourceGroup.
+ * Samples for NetworkBootstrapDevices ListByResourceGroup.
*/
-public final class NetworkDevicesListByResourceGroupSamples {
+public final class NetworkBootstrapDevicesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDevices_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_ListByResourceGroup.json
*/
/**
- * Sample code: NetworkDevices_ListByResourceGroup_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapDevices_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule - generated
+ * by [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkDevicesListByResourceGroupMaximumSetGen(
- com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDevices().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE);
+ public static void
+ networkBootstrapDevicesListByResourceGroupMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkBootstrapDevices().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkDevices_Reboot
+### NetworkBootstrapDevices_Reboot
```java
-import com.azure.resourcemanager.managednetworkfabric.models.RebootProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.RebootType;
-
/**
- * Samples for NetworkDevices Reboot.
+ * Samples for NetworkBootstrapDevices Reboot.
*/
-public final class NetworkDevicesRebootSamples {
+public final class NetworkBootstrapDevicesRebootSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDevices_Reboot_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Reboot.json
*/
/**
- * Sample code: NetworkDevices_Reboot_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapDevices_Reboot_MaximumSet - generated by [MaximumSet] rule - generated by
+ * [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkDevicesRebootMaximumSetGen(
+ public static void networkBootstrapDevicesRebootMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDevices()
- .reboot("example-rg", "example-device",
- new RebootProperties().withRebootType(RebootType.GRACEFUL_REBOOT_WITH_ZTP),
- com.azure.core.util.Context.NONE);
+ manager.networkBootstrapDevices().reboot("example-rg", "example-device", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkDevices_RefreshConfiguration
+### NetworkBootstrapDevices_RefreshConfiguration
```java
/**
- * Samples for NetworkDevices RefreshConfiguration.
+ * Samples for NetworkBootstrapDevices RefreshConfiguration.
*/
-public final class NetworkDevicesRefreshConfigurationSamples {
+public final class NetworkBootstrapDevicesRefreshConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDevices_RefreshConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_RefreshConfiguration.json
*/
/**
- * Sample code: NetworkDevices_RefreshConfiguration_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapDevices_RefreshConfiguration_MaximumSet - generated by [MaximumSet] rule - generated
+ * by [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkDevicesRefreshConfigurationMaximumSetGen(
- com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDevices().refreshConfiguration("example-rg", "example-device", com.azure.core.util.Context.NONE);
+ public static void
+ networkBootstrapDevicesRefreshConfigurationMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkBootstrapDevices()
+ .refreshConfiguration("example-rg", "example-device", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkDevices_Update
+### NetworkBootstrapDevices_ResyncPasswords
```java
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkDevice;
+/**
+ * Samples for NetworkBootstrapDevices ResyncPasswords.
+ */
+public final class NetworkBootstrapDevicesResyncPasswordsSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_ResyncPasswords.json
+ */
+ /**
+ * Sample code: Resync the latest passwords to the Network Bootstrap Device. - generated by [MaximumSet] rule -
+ * generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void
+ resyncTheLatestPasswordsToTheNetworkBootstrapDeviceGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkBootstrapDevices()
+ .resyncPasswords("example-rg", "example-device", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkBootstrapDevices_Update
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevice;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.HashMap;
import java.util.Map;
/**
- * Samples for NetworkDevices Update.
+ * Samples for NetworkBootstrapDevices Update.
*/
-public final class NetworkDevicesUpdateSamples {
+public final class NetworkBootstrapDevicesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDevices_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Update.json
*/
/**
- * Sample code: NetworkDevices_Update_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapDevices_Update_MaximumSet - generated by [MaximumSet] rule - generated by
+ * [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkDevicesUpdateMaximumSetGen(
+ public static void networkBootstrapDevicesUpdateMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- NetworkDevice resource = manager.networkDevices()
+ NetworkBootstrapDevice resource = manager.networkBootstrapDevices()
.getByResourceGroupWithResponse("example-rg", "example-device", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
- .withHostname("NFA-Device")
- .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX")
+ .withTags(mapOf())
+ .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key8793", new UserAssignedIdentity())))
.withAnnotation("annotation")
+ .withHostName("NFA-Device")
+ .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX")
.apply();
}
@@ -3293,7 +3486,7 @@ public final class NetworkDevicesUpdateSamples {
}
```
-### NetworkDevices_UpdateAdministrativeState
+### NetworkBootstrapDevices_UpdateAdministrativeState
```java
import com.azure.resourcemanager.managednetworkfabric.models.DeviceAdministrativeState;
@@ -3301,408 +3494,306 @@ import com.azure.resourcemanager.managednetworkfabric.models.UpdateDeviceAdminis
import java.util.Arrays;
/**
- * Samples for NetworkDevices UpdateAdministrativeState.
+ * Samples for NetworkBootstrapDevices UpdateAdministrativeState.
*/
-public final class NetworkDevicesUpdateAdministrativeStateSamples {
+public final class NetworkBootstrapDevicesUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_UpdateAdministrativeState.json
*/
/**
- * Sample code: NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapDevices_UpdateAdministrativeState_MaximumSet - generated by [MaximumSet] rule -
+ * generated by [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkDevicesUpdateAdministrativeStateMaximumSetGen(
- com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDevices()
+ public static void
+ networkBootstrapDevicesUpdateAdministrativeStateMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkBootstrapDevices()
.updateAdministrativeState("example-rg", "example-device",
- new UpdateDeviceAdministrativeState().withResourceIds(Arrays.asList(""))
+ new UpdateDeviceAdministrativeState().withResourceIds(Arrays.asList(
+ "/Subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkBootstrapDevices/example-device-1"))
.withState(DeviceAdministrativeState.RMA),
com.azure.core.util.Context.NONE);
}
}
```
-### NetworkDevices_Upgrade
+### NetworkBootstrapDevices_Upgrade
```java
import com.azure.resourcemanager.managednetworkfabric.models.UpdateVersion;
/**
- * Samples for NetworkDevices Upgrade.
+ * Samples for NetworkBootstrapDevices Upgrade.
*/
-public final class NetworkDevicesUpgradeSamples {
+public final class NetworkBootstrapDevicesUpgradeSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkDevices_Upgrade_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapDevices_Upgrade.json
*/
/**
- * Sample code: NetworkDevices_Upgrade_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapDevices_Upgrade_MaximumSet - generated by [MaximumSet] rule - generated by
+ * [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkDevicesUpgradeMaximumSetGen(
+ public static void networkBootstrapDevicesUpgradeMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkDevices()
- .upgrade("example-rg", "example-device", new UpdateVersion().withVersion("1.0.0"),
+ manager.networkBootstrapDevices()
+ .upgrade("example-rg", "example-device", new UpdateVersion().withVersion("1.0"),
com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabricControllers_Create
+### NetworkBootstrapInterfaces_Create
```java
-import com.azure.resourcemanager.managednetworkfabric.models.ExpressRouteConnectionInformation;
-import com.azure.resourcemanager.managednetworkfabric.models.IsWorkloadManagementNetworkEnabled;
-import com.azure.resourcemanager.managednetworkfabric.models.ManagedResourceGroupConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.NfcSku;
-import java.util.Arrays;
-
/**
- * Samples for NetworkFabricControllers Create.
+ * Samples for NetworkBootstrapInterfaces Create.
*/
-public final class NetworkFabricControllersCreateSamples {
+public final class NetworkBootstrapInterfacesCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabricControllers_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Create.json
*/
/**
- * Sample code: NetworkFabricControllers_Create_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapInterfaces_Create_MaximumSet - generated by [MaximumSet] rule - generated by
+ * [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricControllersCreateMaximumSetGen(
+ public static void networkBootstrapInterfacesCreateMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabricControllers()
- .define("example-networkController")
- .withRegion("eastus")
- .withExistingResourceGroup("example-rg")
- .withManagedResourceGroupConfiguration(
- new ManagedResourceGroupConfiguration().withName("managedResourceGroupName").withLocation("eastus"))
- .withIsWorkloadManagementNetworkEnabled(IsWorkloadManagementNetworkEnabled.TRUE)
- .withIpv4AddressSpace("172.253.0.0/19")
- .withIpv6AddressSpace("::/60")
- .withNfcSku(NfcSku.STANDARD)
- .withInfrastructureExpressRouteConnections(Arrays.asList(new ExpressRouteConnectionInformation()
- .withExpressRouteCircuitId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
- .withExpressRouteAuthorizationKey("fakeTokenPlaceholder")))
- .withWorkloadExpressRouteConnections(Arrays.asList(new ExpressRouteConnectionInformation()
- .withExpressRouteCircuitId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
- .withExpressRouteAuthorizationKey("fakeTokenPlaceholder")))
+ manager.networkBootstrapInterfaces()
+ .define("example-interface")
+ .withExistingNetworkBootstrapDevice("example-rg", "example-device")
+ .withAdditionalDescription("additionalDescription")
+ .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX")
.withAnnotation("annotation")
.create();
}
}
```
-### NetworkFabricControllers_Delete
+### NetworkBootstrapInterfaces_Delete
```java
/**
- * Samples for NetworkFabricControllers Delete.
+ * Samples for NetworkBootstrapInterfaces Delete.
*/
-public final class NetworkFabricControllersDeleteSamples {
+public final class NetworkBootstrapInterfacesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabricControllers_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Delete.json
*/
/**
- * Sample code: NetworkFabricControllers_Delete_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapInterfaces_Delete_MaximumSet - generated by [MaximumSet] rule - generated by
+ * [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricControllersDeleteMaximumSetGen(
+ public static void networkBootstrapInterfacesDeleteMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabricControllers()
- .delete("example-rg", "example-networkController", com.azure.core.util.Context.NONE);
+ manager.networkBootstrapInterfaces()
+ .delete("example-rg", "example-device", "example-interface", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabricControllers_GetByResourceGroup
+### NetworkBootstrapInterfaces_Get
```java
/**
- * Samples for NetworkFabricControllers GetByResourceGroup.
+ * Samples for NetworkBootstrapInterfaces Get.
*/
-public final class NetworkFabricControllersGetByResourceGroupSamples {
+public final class NetworkBootstrapInterfacesGetSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabricControllers_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Get.json
*/
/**
- * Sample code: NetworkFabricControllers_Get_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapInterfaces_Get_MaximumSet - generated by [MaximumSet] rule - generated by
+ * [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricControllersGetMaximumSetGen(
+ public static void networkBootstrapInterfacesGetMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabricControllers()
- .getByResourceGroupWithResponse("example-rg", "example-networkController",
- com.azure.core.util.Context.NONE);
+ manager.networkBootstrapInterfaces()
+ .getWithResponse("example-rg", "example-device", "example-interface", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabricControllers_List
+### NetworkBootstrapInterfaces_ListByNetworkBootstrapDevice
```java
/**
- * Samples for NetworkFabricControllers List.
+ * Samples for NetworkBootstrapInterfaces ListByNetworkBootstrapDevice.
*/
-public final class NetworkFabricControllersListSamples {
+public final class NetworkBootstrapInterfacesListByNetworkBootstrapDeviceSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabricControllers_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_ListByNetworkBootstrapDevice.json
*/
/**
- * Sample code: NetworkFabricControllers_ListBySubscription_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapInterfaces_ListByNetworkBootstrapDevice_MaximumSet - generated by [MaximumSet] rule
+ * - generated by [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricControllersListBySubscriptionMaximumSetGen(
- com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabricControllers().list(com.azure.core.util.Context.NONE);
+ public static void
+ networkBootstrapInterfacesListByNetworkBootstrapDeviceMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkBootstrapInterfaces()
+ .listByNetworkBootstrapDevice("example-rg", "example-device", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabricControllers_ListByResourceGroup
+### NetworkBootstrapInterfaces_Update
```java
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapInterface;
+
/**
- * Samples for NetworkFabricControllers ListByResourceGroup.
+ * Samples for NetworkBootstrapInterfaces Update.
*/
-public final class NetworkFabricControllersListByResourceGroupSamples {
+public final class NetworkBootstrapInterfacesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_Update.json
*/
/**
- * Sample code: NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapInterfaces_Update_MaximumSet - generated by [MaximumSet] rule - generated by
+ * [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricControllersListByResourceGroupMaximumSetGen(
+ public static void networkBootstrapInterfacesUpdateMaximumSetGeneratedByMaximumSetRuleGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabricControllers().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE);
+ NetworkBootstrapInterface resource = manager.networkBootstrapInterfaces()
+ .getWithResponse("example-rg", "example-device", "example-interface", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withSerialNumber("Vendor;Model;HardwareRevisionId;SerialNumber")
+ .withAnnotation("annotation")
+ .apply();
}
}
```
-### NetworkFabricControllers_Update
+### NetworkBootstrapInterfaces_UpdateAdministrativeState
```java
-import com.azure.resourcemanager.managednetworkfabric.models.ExpressRouteConnectionInformation;
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricController;
+import com.azure.resourcemanager.managednetworkfabric.models.EnableDisableState;
+import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState;
import java.util.Arrays;
/**
- * Samples for NetworkFabricControllers Update.
- */
-public final class NetworkFabricControllersUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabricControllers_Update_MaximumSet_Gen.json
- */
- /**
- * Sample code: NetworkFabricControllers_Update_MaximumSet_Gen.
- *
- * @param manager Entry point to ManagedNetworkFabricManager.
- */
- public static void networkFabricControllersUpdateMaximumSetGen(
- com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- NetworkFabricController resource = manager.networkFabricControllers()
- .getByResourceGroupWithResponse("example-rg", "example-networkController", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withInfrastructureExpressRouteConnections(Arrays.asList(new ExpressRouteConnectionInformation()
- .withExpressRouteCircuitId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
- .withExpressRouteAuthorizationKey("fakeTokenPlaceholder")))
- .withWorkloadExpressRouteConnections(Arrays.asList(new ExpressRouteConnectionInformation()
- .withExpressRouteCircuitId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
- .withExpressRouteAuthorizationKey("fakeTokenPlaceholder")))
- .apply();
- }
-}
-```
-
-### NetworkFabricSkus_Get
-
-```java
-/**
- * Samples for NetworkFabricSkus Get.
+ * Samples for NetworkBootstrapInterfaces UpdateAdministrativeState.
*/
-public final class NetworkFabricSkusGetSamples {
+public final class NetworkBootstrapInterfacesUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabricSkus_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkBootstrapInterfaces_UpdateAdministrativeState.json
*/
/**
- * Sample code: NetworkFabricSkus_Get_MaximumSet_Gen.
+ * Sample code: NetworkBootstrapInterfaces_UpdateAdministrativeState_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricSkusGetMaximumSetGen(
+ public static void networkBootstrapInterfacesUpdateAdministrativeStateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabricSkus().getWithResponse("example-fabricsku", com.azure.core.util.Context.NONE);
+ manager.networkBootstrapInterfaces()
+ .updateAdministrativeState("example-rg", "example-device", "example-interface",
+ new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
+ com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabricSkus_List
+### NetworkDeviceSkus_Get
```java
/**
- * Samples for NetworkFabricSkus List.
+ * Samples for NetworkDeviceSkus Get.
*/
-public final class NetworkFabricSkusListSamples {
+public final class NetworkDeviceSkusGetSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabricSkus_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDeviceSkus_Get.json
*/
/**
- * Sample code: NetworkFabricSkus_ListBySubscription_MaximumSet_Gen.
+ * Sample code: NetworkDeviceSkus_Get_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricSkusListBySubscriptionMaximumSetGen(
+ public static void networkDeviceSkusGetMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabricSkus().list(com.azure.core.util.Context.NONE);
+ manager.networkDeviceSkus().getWithResponse("example-deviceSku", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_CommitConfiguration
+### NetworkDeviceSkus_List
```java
/**
- * Samples for NetworkFabrics CommitConfiguration.
+ * Samples for NetworkDeviceSkus List.
*/
-public final class NetworkFabricsCommitConfigurationSamples {
+public final class NetworkDeviceSkusListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_CommitConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDeviceSkus_ListBySubscription.json
*/
/**
- * Sample code: NetworkFabrics_CommitConfiguration_MaximumSet_Gen.
+ * Sample code: NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsCommitConfigurationMaximumSetGen(
+ public static void networkDeviceSkusListBySubscriptionMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics().commitConfiguration("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ manager.networkDeviceSkus().list(com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_Create
+### NetworkDevices_Create
```java
-import com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkConfigurationProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.OptionBProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.PeeringOption;
-import com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation;
-import com.azure.resourcemanager.managednetworkfabric.models.TerminalServerConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationPropertiesOptionAProperties;
-import java.util.Arrays;
+import com.azure.resourcemanager.managednetworkfabric.models.IdentitySelector;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.HashMap;
import java.util.Map;
/**
- * Samples for NetworkFabrics Create.
+ * Samples for NetworkDevices Create.
*/
-public final class NetworkFabricsCreateSamples {
+public final class NetworkDevicesCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDevices_Create.json
*/
/**
- * Sample code: NetworkFabrics_Create_MaximumSet_Gen.
+ * Sample code: NetworkDevices_Create_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsCreateMaximumSetGen(
+ public static void networkDevicesCreateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics()
- .define("example-fabric")
+ manager.networkDevices()
+ .define("example-device")
.withRegion("eastuseuap")
.withExistingResourceGroup("example-rg")
- .withNetworkFabricSku("M4-A400-A100-C16-aa")
- .withNetworkFabricControllerId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController")
- .withServerCountPerRack(8)
- .withIpv4Prefix("10.18.0.0/19")
- .withFabricAsn(29249L)
- .withTerminalServerConfiguration(new TerminalServerConfiguration().withUsername("username")
- .withPassword("fakeTokenPlaceholder")
- .withSerialNumber("123456")
- .withPrimaryIpv4Prefix("10.0.0.12/30")
- .withPrimaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
- .withSecondaryIpv4Prefix("20.0.0.13/30")
- .withSecondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127"))
- .withManagementNetworkConfiguration(new ManagementNetworkConfigurationProperties()
- .withInfrastructureVpnConfiguration(new VpnConfigurationProperties().withNetworkToNetworkInterconnectId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
- .withPeeringOption(PeeringOption.OPTIONA)
- .withOptionBProperties(new OptionBProperties().withImportRouteTargets(Arrays.asList("65046:10050"))
- .withExportRouteTargets(Arrays.asList("65046:10050"))
- .withRouteTargets(
- new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("65046:10039"))
- .withImportIpv6RouteTargets(Arrays.asList("65046:10039"))
- .withExportIpv4RouteTargets(Arrays.asList("65046:10039"))
- .withExportIpv6RouteTargets(Arrays.asList("65046:10039"))))
- .withOptionAProperties(new VpnConfigurationPropertiesOptionAProperties().withMtu(1501)
- .withVlanId(3001)
- .withPeerAsn(1235L)
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
- .withPrimaryIpv4Prefix("10.0.0.12/30")
- .withPrimaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
- .withSecondaryIpv4Prefix("20.0.0.13/30")
- .withSecondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127")))
- .withWorkloadVpnConfiguration(new VpnConfigurationProperties().withNetworkToNetworkInterconnectId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
- .withPeeringOption(PeeringOption.OPTIONA)
- .withOptionBProperties(new OptionBProperties().withImportRouteTargets(Arrays.asList("65046:10050"))
- .withExportRouteTargets(Arrays.asList("65046:10050"))
- .withRouteTargets(
- new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("65046:10039"))
- .withImportIpv6RouteTargets(Arrays.asList("65046:10039"))
- .withExportIpv4RouteTargets(Arrays.asList("65046:10039"))
- .withExportIpv6RouteTargets(Arrays.asList("65046:10039"))))
- .withOptionAProperties(new VpnConfigurationPropertiesOptionAProperties().withMtu(1500)
- .withVlanId(3000)
- .withPeerAsn(61234L)
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(5))
- .withPrimaryIpv4Prefix("10.0.0.14/30")
- .withPrimaryIpv6Prefix("2FFE:FFFF:0:CD30::a7/126")
- .withSecondaryIpv4Prefix("10.0.0.15/30")
- .withSecondaryIpv6Prefix("2FFE:FFFF:0:CD30::ac/126"))))
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
- .withFabricVersion("1.x.x")
- .withRackCount(4)
- .withIpv6Prefix("3FFE:FFFF:0:CD40::/59")
+ .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX")
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED)
+ .withUserAssignedIdentities(mapOf(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/example-identity",
+ new UserAssignedIdentity())))
.withAnnotation("annotation")
+ .withHostName("NFA-Device")
+ .withIdentitySelector(new IdentitySelector()
+ .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY)
+ .withUserAssignedIdentityResourceId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/example-identity"))
+ .withNetworkDeviceSku("DeviceSku")
.create();
}
@@ -3720,289 +3811,1420 @@ public final class NetworkFabricsCreateSamples {
}
```
-### NetworkFabrics_Delete
+### NetworkDevices_Delete
```java
/**
- * Samples for NetworkFabrics Delete.
+ * Samples for NetworkDevices Delete.
*/
-public final class NetworkFabricsDeleteSamples {
+public final class NetworkDevicesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDevices_Delete.json
*/
/**
- * Sample code: NetworkFabrics_Delete_MaximumSet_Gen.
+ * Sample code: NetworkDevices_Delete_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsDeleteMaximumSetGen(
+ public static void networkDevicesDeleteMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics().delete("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ manager.networkDevices().delete("example-rg", "example-device", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_Deprovision
+### NetworkDevices_GetByResourceGroup
```java
/**
- * Samples for NetworkFabrics Deprovision.
+ * Samples for NetworkDevices GetByResourceGroup.
*/
-public final class NetworkFabricsDeprovisionSamples {
+public final class NetworkDevicesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_deprovision_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDevices_Get.json
*/
/**
- * Sample code: NetworkFabrics_deprovision_MaximumSet_Gen.
+ * Sample code: NetworkDevices_Get_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsDeprovisionMaximumSetGen(
+ public static void networkDevicesGetMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics().deprovision("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ manager.networkDevices()
+ .getByResourceGroupWithResponse("example-rg", "example-device", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_GetByResourceGroup
+### NetworkDevices_List
```java
/**
- * Samples for NetworkFabrics GetByResourceGroup.
+ * Samples for NetworkDevices List.
*/
-public final class NetworkFabricsGetByResourceGroupSamples {
+public final class NetworkDevicesListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDevices_ListBySubscription.json
*/
/**
- * Sample code: NetworkFabrics_Get_MaximumSet_Gen.
+ * Sample code: NetworkDevices_ListBySubscription_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsGetMaximumSetGen(
+ public static void networkDevicesListBySubscriptionMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics()
- .getByResourceGroupWithResponse("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ manager.networkDevices().list(com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_GetTopology
+### NetworkDevices_ListByResourceGroup
```java
/**
- * Samples for NetworkFabrics GetTopology.
+ * Samples for NetworkDevices ListByResourceGroup.
*/
-public final class NetworkFabricsGetTopologySamples {
+public final class NetworkDevicesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_GetTopology_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDevices_ListByResourceGroup.json
*/
/**
- * Sample code: NetworkFabrics_GetTopology_MaximumSet_Gen.
+ * Sample code: NetworkDevices_ListByResourceGroup_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsGetTopologyMaximumSetGen(
+ public static void networkDevicesListByResourceGroupMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics().getTopology("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ manager.networkDevices().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_List
+### NetworkDevices_Reboot
```java
+import com.azure.resourcemanager.managednetworkfabric.models.RebootProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.RebootType;
+
/**
- * Samples for NetworkFabrics List.
+ * Samples for NetworkDevices Reboot.
*/
-public final class NetworkFabricsListSamples {
+public final class NetworkDevicesRebootSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDevices_Reboot.json
*/
/**
- * Sample code: NetworkFabrics_ListBySubscription_MaximumSet_Gen.
+ * Sample code: NetworkDevices_Reboot_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsListBySubscriptionMaximumSetGen(
+ public static void networkDevicesRebootMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics().list(com.azure.core.util.Context.NONE);
+ manager.networkDevices()
+ .reboot("example-rg", "example-device",
+ new RebootProperties().withRebootType(RebootType.GRACEFUL_REBOOT_WITH_ZTP),
+ com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_ListByResourceGroup
+### NetworkDevices_RefreshConfiguration
```java
/**
- * Samples for NetworkFabrics ListByResourceGroup.
+ * Samples for NetworkDevices RefreshConfiguration.
*/
-public final class NetworkFabricsListByResourceGroupSamples {
+public final class NetworkDevicesRefreshConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDevices_RefreshConfiguration.json
*/
/**
- * Sample code: NetworkFabrics_ListByResourceGroup_MaximumSet_Gen.
+ * Sample code: NetworkDevices_RefreshConfiguration_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsListByResourceGroupMaximumSetGen(
+ public static void networkDevicesRefreshConfigurationMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE);
+ manager.networkDevices().refreshConfiguration("example-rg", "example-device", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_Provision
+### NetworkDevices_ResyncCertificates
```java
/**
- * Samples for NetworkFabrics Provision.
+ * Samples for NetworkDevices ResyncCertificates.
*/
-public final class NetworkFabricsProvisionSamples {
+public final class NetworkDevicesResyncCertificatesSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_provision_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncCertificates.json
*/
/**
- * Sample code: NetworkFabrics_provision_MaximumSet_Gen.
+ * Sample code: Successful certificate resync.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsProvisionMaximumSetGen(
+ public static void successfulCertificateResync(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics().provision("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ manager.networkDevices().resyncCertificates("example-rg", "example-device", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncCertificates_Error.json
+ */
+ /**
+ * Sample code: Error while performing certificate resync.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void errorWhilePerformingCertificateResync(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkDevices().resyncCertificates("example-rg", "example-device", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_RefreshConfiguration
+### NetworkDevices_ResyncPasswords
```java
/**
- * Samples for NetworkFabrics RefreshConfiguration.
+ * Samples for NetworkDevices ResyncPasswords.
*/
-public final class NetworkFabricsRefreshConfigurationSamples {
+public final class NetworkDevicesResyncPasswordsSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_refreshConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncPasswords.json
*/
/**
- * Sample code: NetworkFabrics_refreshConfiguration_MaximumSet_Gen.
+ * Sample code: Successful password resync.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsRefreshConfigurationMaximumSetGen(
+ public static void
+ successfulPasswordResync(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkDevices().resyncPasswords("example-rg", "example-device", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkDevices_ResyncPasswords_Error.json
+ */
+ /**
+ * Sample code: Error while performing password resync.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void errorWhilePerformingPasswordResync(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics().refreshConfiguration("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ manager.networkDevices().resyncPasswords("example-rg", "example-device", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_Update
+### NetworkDevices_RunRoCommand
```java
-import com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkConfigurationPatchableProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabric;
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricPatchablePropertiesTerminalServerConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.OptionBProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.PeeringOption;
-import com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation;
-import com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationPatchableProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationPatchablePropertiesOptionAProperties;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
+import com.azure.resourcemanager.managednetworkfabric.models.DeviceRoCommand;
/**
- * Samples for NetworkFabrics Update.
+ * Samples for NetworkDevices RunRoCommand.
*/
-public final class NetworkFabricsUpdateSamples {
+public final class NetworkDevicesRunRoCommandSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkDevices_RunRoCommand.json
*/
/**
- * Sample code: NetworkFabrics_Update_MaximumSet_Gen.
+ * Sample code: NetworkDevices_RunRoCommand_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsUpdateMaximumSetGen(
+ public static void networkDevicesRunRoCommandMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- NetworkFabric resource = manager.networkFabrics()
- .getByResourceGroupWithResponse("example-rg", "example-fabric", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
- .withRackCount(6)
- .withServerCountPerRack(10)
- .withIpv4Prefix("10.18.0.0/17")
- .withIpv6Prefix("3FFE:FFFF:0:CD40::/60")
- .withFabricAsn(12345L)
- .withTerminalServerConfiguration(
- new NetworkFabricPatchablePropertiesTerminalServerConfiguration().withUsername("username1")
- .withPassword("fakeTokenPlaceholder")
- .withSerialNumber("1234567")
- .withPrimaryIpv4Prefix("10.0.0.12/30")
- .withPrimaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
- .withSecondaryIpv4Prefix("40.0.0.14/30")
- .withSecondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127"))
- .withManagementNetworkConfiguration(new ManagementNetworkConfigurationPatchableProperties()
- .withInfrastructureVpnConfiguration(new VpnConfigurationPatchableProperties()
- .withNetworkToNetworkInterconnectId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
- .withPeeringOption(PeeringOption.OPTIONB)
- .withOptionBProperties(new OptionBProperties().withImportRouteTargets(Arrays.asList("65046:10050"))
- .withExportRouteTargets(Arrays.asList("65046:10050"))
- .withRouteTargets(
- new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("65046:10050"))
- .withImportIpv6RouteTargets(Arrays.asList("65046:10050"))
- .withExportIpv4RouteTargets(Arrays.asList("65046:10050"))
- .withExportIpv6RouteTargets(Arrays.asList("65046:10050"))))
- .withOptionAProperties(new VpnConfigurationPatchablePropertiesOptionAProperties().withMtu(1501)
- .withVlanId(3001)
- .withPeerAsn(1235L)
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
- .withPrimaryIpv4Prefix("10.0.0.12/30")
- .withPrimaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
+ manager.networkDevices()
+ .runRoCommand("example-rg", "example-device", new DeviceRoCommand().withCommand("show version"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkDevices_RunRwCommand
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.DeviceRwCommand;
+
+/**
+ * Samples for NetworkDevices RunRwCommand.
+ */
+public final class NetworkDevicesRunRwCommandSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkDevices_RunRwCommand.json
+ */
+ /**
+ * Sample code: NetworkDevices_RunRwCommand_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkDevicesRunRwCommandMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkDevices()
+ .runRwCommand("example-rg", "example-device",
+ new DeviceRwCommand().withCommand("show running-config")
+ .withCommandUrl("https://example.blob.core.windows.net/commands/config.txt"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkDevices_Update
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.IdentitySelectorPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkDevice;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for NetworkDevices Update.
+ */
+public final class NetworkDevicesUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkDevices_Update.json
+ */
+ /**
+ * Sample code: NetworkDevices_Update_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkDevicesUpdateMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ NetworkDevice resource = manager.networkDevices()
+ .getByResourceGroupWithResponse("example-rg", "example-device", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withTags(mapOf("KeyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.USER_ASSIGNED)
+ .withUserAssignedIdentities(mapOf(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/example-identity",
+ new UserAssignedIdentity())))
+ .withAnnotation("annotation")
+ .withHostName("NFA-Device")
+ .withSerialNumber("Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX")
+ .withIdentitySelector(new IdentitySelectorPatch()
+ .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY)
+ .withUserAssignedIdentityResourceId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/example-identity"))
+ .apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### NetworkDevices_UpdateAdministrativeState
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.DeviceAdministrativeState;
+import com.azure.resourcemanager.managednetworkfabric.models.UpdateDeviceAdministrativeState;
+import java.util.Arrays;
+
+/**
+ * Samples for NetworkDevices UpdateAdministrativeState.
+ */
+public final class NetworkDevicesUpdateAdministrativeStateSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkDevices_UpdateAdministrativeState.json
+ */
+ /**
+ * Sample code: NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkDevicesUpdateAdministrativeStateMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkDevices()
+ .updateAdministrativeState("example-rg", "example-device",
+ new UpdateDeviceAdministrativeState().withResourceIds(Arrays.asList(""))
+ .withState(DeviceAdministrativeState.RMA),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkDevices_Upgrade
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceUpgradeRequest;
+
+/**
+ * Samples for NetworkDevices Upgrade.
+ */
+public final class NetworkDevicesUpgradeSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkDevices_Upgrade.json
+ */
+ /**
+ * Sample code: NetworkDevices_Upgrade_MaximumSet_Gen - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkDevicesUpgradeMaximumSetGenGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkDevices()
+ .upgrade("rgmanagednetworkfabric", "example-device",
+ new NetworkDeviceUpgradeRequest().withVersion("1.0.0").withRwDeviceConfigUrl("https://microsoft.com/a"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabricControllers_Create
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.ExpressRouteConnectionInformation;
+import com.azure.resourcemanager.managednetworkfabric.models.IsWorkloadManagementNetworkEnabled;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedResourceGroupConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.NfcSku;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for NetworkFabricControllers Create.
+ */
+public final class NetworkFabricControllersCreateSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Create.json
+ */
+ /**
+ * Sample code: NetworkFabricControllers_Create_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricControllersCreateMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabricControllers()
+ .define("example-networkController")
+ .withRegion("eastus")
+ .withExistingResourceGroup("example-rg")
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key4876", new UserAssignedIdentity())))
+ .withAnnotation("annotation")
+ .withInfrastructureExpressRouteConnections(Arrays.asList(new ExpressRouteConnectionInformation()
+ .withExpressRouteCircuitId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
+ .withExpressRouteAuthorizationKey("fakeTokenPlaceholder")))
+ .withWorkloadExpressRouteConnections(Arrays.asList(new ExpressRouteConnectionInformation()
+ .withExpressRouteCircuitId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
+ .withExpressRouteAuthorizationKey("fakeTokenPlaceholder")))
+ .withManagedResourceGroupConfiguration(
+ new ManagedResourceGroupConfiguration().withName("managedResourceGroupName").withLocation("eastus"))
+ .withIsWorkloadManagementNetworkEnabled(IsWorkloadManagementNetworkEnabled.TRUE)
+ .withIpv4AddressSpace("172.253.0.0/19")
+ .withIpv6AddressSpace("::/60")
+ .withNfcSku(NfcSku.STANDARD)
+ .create();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### NetworkFabricControllers_Delete
+
+```java
+/**
+ * Samples for NetworkFabricControllers Delete.
+ */
+public final class NetworkFabricControllersDeleteSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Delete.json
+ */
+ /**
+ * Sample code: NetworkFabricControllers_Delete_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricControllersDeleteMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabricControllers()
+ .delete("example-rg", "example-networkController", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabricControllers_GetByResourceGroup
+
+```java
+/**
+ * Samples for NetworkFabricControllers GetByResourceGroup.
+ */
+public final class NetworkFabricControllersGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Get.json
+ */
+ /**
+ * Sample code: NetworkFabricControllers_Get_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricControllersGetMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabricControllers()
+ .getByResourceGroupWithResponse("example-rg", "example-networkController",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabricControllers_List
+
+```java
+/**
+ * Samples for NetworkFabricControllers List.
+ */
+public final class NetworkFabricControllersListSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabricControllers_ListBySubscription.json
+ */
+ /**
+ * Sample code: NetworkFabricControllers_ListBySubscription_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricControllersListBySubscriptionMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabricControllers().list(com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabricControllers_ListByResourceGroup
+
+```java
+/**
+ * Samples for NetworkFabricControllers ListByResourceGroup.
+ */
+public final class NetworkFabricControllersListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabricControllers_ListByResourceGroup.json
+ */
+ /**
+ * Sample code: NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricControllersListByResourceGroupMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabricControllers().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabricControllers_Update
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.ExpressRouteConnectionInformation;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricController;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for NetworkFabricControllers Update.
+ */
+public final class NetworkFabricControllersUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabricControllers_Update.json
+ */
+ /**
+ * Sample code: NetworkFabricControllers_Update_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricControllersUpdateMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ NetworkFabricController resource = manager.networkFabricControllers()
+ .getByResourceGroupWithResponse("example-rg", "example-networkController", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key1402", new UserAssignedIdentity())))
+ .withInfrastructureExpressRouteConnections(Arrays.asList(new ExpressRouteConnectionInformation()
+ .withExpressRouteCircuitId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
+ .withExpressRouteAuthorizationKey("fakeTokenPlaceholder")))
+ .withWorkloadExpressRouteConnections(Arrays.asList(new ExpressRouteConnectionInformation()
+ .withExpressRouteCircuitId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
+ .withExpressRouteAuthorizationKey("fakeTokenPlaceholder")))
+ .apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### NetworkFabricSkus_Get
+
+```java
+/**
+ * Samples for NetworkFabricSkus Get.
+ */
+public final class NetworkFabricSkusGetSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabricSkus_Get.json
+ */
+ /**
+ * Sample code: NetworkFabricSkus_Get_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricSkusGetMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabricSkus().getWithResponse("example-fabricsku", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabricSkus_List
+
+```java
+/**
+ * Samples for NetworkFabricSkus List.
+ */
+public final class NetworkFabricSkusListSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabricSkus_ListBySubscription.json
+ */
+ /**
+ * Sample code: NetworkFabricSkus_ListBySubscription_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricSkusListBySubscriptionMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabricSkus().list(com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_ArmConfigurationDiff
+
+```java
+/**
+ * Samples for NetworkFabrics ArmConfigurationDiff.
+ */
+public final class NetworkFabricsArmConfigurationDiffSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ArmConfigurationDiff.json
+ */
+ /**
+ * Sample code: NetworkFabrics_ArmConfigurationDiff_MaximumSet.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsArmConfigurationDiffMaximumSet(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().armConfigurationDiff("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_CommitBatchStatus
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusRequest;
+
+/**
+ * Samples for NetworkFabrics CommitBatchStatus.
+ */
+public final class NetworkFabricsCommitBatchStatusSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_CommitBatchStatus.json
+ */
+ /**
+ * Sample code: NetworkFabrics_CommitBatchStatus_MaximumSet.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsCommitBatchStatusMaximumSet(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics()
+ .commitBatchStatus("example-rg", "example-fabric",
+ new CommitBatchStatusRequest().withCommitBatchId("batch-id"), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_CommitConfiguration
+
+```java
+
+/**
+ * Samples for NetworkFabrics CommitConfiguration.
+ */
+public final class NetworkFabricsCommitConfigurationSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_CommitConfiguration.json
+ */
+ /**
+ * Sample code: NetworkFabrics_CommitConfiguration_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsCommitConfigurationMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics()
+ .commitConfiguration("example-rg", "example-networkFabric", null, com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_Create
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.AuthorizedTransceiverProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.IdentitySelector;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkConfigurationProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NNIDerivedUniqueRouteDistinguisherConfigurationState;
+import com.azure.resourcemanager.managednetworkfabric.models.PeeringOption;
+import com.azure.resourcemanager.managednetworkfabric.models.RouteTargetInformation;
+import com.azure.resourcemanager.managednetworkfabric.models.StorageAccountConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.TerminalServerConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherConfigurationState;
+import com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.VpnOptionBProperties;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for NetworkFabrics Create.
+ */
+public final class NetworkFabricsCreateSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_Create.json
+ */
+ /**
+ * Sample code: NetworkFabrics_Create_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsCreateMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics()
+ .define("example-fabric")
+ .withRegion("eastuseuap")
+ .withExistingResourceGroup("example-rg")
+ .withNetworkFabricSku("M4-A400-A100-C16-aa")
+ .withNetworkFabricControllerId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController")
+ .withServerCountPerRack(8)
+ .withIpv4Prefix("10.18.0.0/19")
+ .withFabricAsn(29249L)
+ .withTerminalServerConfiguration(new TerminalServerConfiguration().withUsername("username")
+ .withPassword("fakeTokenPlaceholder")
+ .withSerialNumber("123456")
+ .withPrimaryIpv4Prefix("10.0.0.12/30")
+ .withPrimaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
+ .withSecondaryIpv4Prefix("40.0.0.14/30")
+ .withSecondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127"))
+ .withManagementNetworkConfiguration(new ManagementNetworkConfigurationProperties()
+ .withInfrastructureVpnConfiguration(new VpnConfigurationProperties().withNetworkToNetworkInterconnectId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
+ .withPeeringOption(PeeringOption.OPTIONA)
+ .withOptionBProperties(
+ new VpnOptionBProperties().withImportRouteTargets(Arrays.asList("65046:10050"))
+ .withExportRouteTargets(Arrays.asList("65046:10050"))
+ .withRouteTargets(
+ new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withImportIpv6RouteTargets(Arrays.asList("65046:10050"))
+ .withExportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withExportIpv6RouteTargets(Arrays.asList("65046:10050"))))
+ .withOptionAProperties(new VpnOptionAProperties().withPrimaryIpv4Prefix("10.0.0.12/30")
+ .withPrimaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
+ .withSecondaryIpv4Prefix("20.0.0.13/30")
+ .withSecondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127")
+ .withMtu(1501)
+ .withVlanId(3001)
+ .withPeerASN(1235L)
+ .withBfdConfiguration(
+ new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))))
+ .withWorkloadVpnConfiguration(new VpnConfigurationProperties().withNetworkToNetworkInterconnectId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
+ .withPeeringOption(PeeringOption.OPTIONA)
+ .withOptionBProperties(
+ new VpnOptionBProperties().withImportRouteTargets(Arrays.asList("65046:10050"))
+ .withExportRouteTargets(Arrays.asList("65046:10050"))
+ .withRouteTargets(
+ new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withImportIpv6RouteTargets(Arrays.asList("65046:10050"))
+ .withExportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withExportIpv6RouteTargets(Arrays.asList("65046:10050"))))
+ .withOptionAProperties(new VpnOptionAProperties().withPrimaryIpv4Prefix("10.0.0.14/30")
+ .withPrimaryIpv6Prefix("2FFE:FFFF:0:CD30::a7/126")
+ .withSecondaryIpv4Prefix("10.0.0.15/30")
+ .withSecondaryIpv6Prefix("2FFE:FFFF:0:CD30::ac/126")
+ .withMtu(1500)
+ .withVlanId(3000)
+ .withPeerASN(61234L)
+ .withBfdConfiguration(
+ new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(5)))))
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key872", new UserAssignedIdentity())))
+ .withFabricVersion("version1")
+ .withStorageAccountConfiguration(new StorageAccountConfiguration().withStorageAccountId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage")
+ .withStorageAccountIdentity(new IdentitySelector()
+ .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY)
+ .withUserAssignedIdentityResourceId(
+ "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id")))
+ .withRackCount(4)
+ .withIpv6Prefix("3FFE:FFFF:0:CD40::/59")
+ .withHardwareAlertThreshold(74)
+ .withControlPlaneAcls(Arrays.asList(
+ "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl"))
+ .withTrustedIpPrefixes(Arrays.asList(
+ "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix"))
+ .withUniqueRdConfiguration(new UniqueRouteDistinguisherProperties()
+ .withUniqueRdConfigurationState(UniqueRouteDistinguisherConfigurationState.ENABLED)
+ .withNniDerivedUniqueRdConfigurationState(NNIDerivedUniqueRouteDistinguisherConfigurationState.ENABLED))
+ .withStorageArrayCount(1)
+ .withAuthorizedTransceiver(
+ new AuthorizedTransceiverProperties().withVendor("vendorX").withKey("fakeTokenPlaceholder"))
+ .withAnnotation("annotation")
+ .create();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### NetworkFabrics_Delete
+
+```java
+/**
+ * Samples for NetworkFabrics Delete.
+ */
+public final class NetworkFabricsDeleteSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_Delete.json
+ */
+ /**
+ * Sample code: NetworkFabrics_Delete_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsDeleteMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().delete("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_Deprovision
+
+```java
+/**
+ * Samples for NetworkFabrics Deprovision.
+ */
+public final class NetworkFabricsDeprovisionSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_Deprovision.json
+ */
+ /**
+ * Sample code: NetworkFabrics_Deprovision_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsDeprovisionMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().deprovision("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_DiscardCommitBatch
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.DiscardCommitBatchRequest;
+
+/**
+ * Samples for NetworkFabrics DiscardCommitBatch.
+ */
+public final class NetworkFabricsDiscardCommitBatchSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_DiscardCommitBatch.json
+ */
+ /**
+ * Sample code: NetworkFabrics_DiscardCommitBatch.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsDiscardCommitBatch(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics()
+ .discardCommitBatch("example-rg", "example-fabric",
+ new DiscardCommitBatchRequest().withCommitBatchId("batchId1"), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_GetByResourceGroup
+
+```java
+/**
+ * Samples for NetworkFabrics GetByResourceGroup.
+ */
+public final class NetworkFabricsGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_Get.json
+ */
+ /**
+ * Sample code: NetworkFabrics_Get_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsGetMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics()
+ .getByResourceGroupWithResponse("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_GetTopology
+
+```java
+/**
+ * Samples for NetworkFabrics GetTopology.
+ */
+public final class NetworkFabricsGetTopologySamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_GetTopology.json
+ */
+ /**
+ * Sample code: NetworkFabrics_GetTopology_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsGetTopologyMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().getTopology("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_List
+
+```java
+/**
+ * Samples for NetworkFabrics List.
+ */
+public final class NetworkFabricsListSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ListBySubscription.json
+ */
+ /**
+ * Sample code: NetworkFabrics_ListBySubscription_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsListBySubscriptionMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().list(com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_ListByResourceGroup
+
+```java
+/**
+ * Samples for NetworkFabrics ListByResourceGroup.
+ */
+public final class NetworkFabricsListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ListByResourceGroup.json
+ */
+ /**
+ * Sample code: NetworkFabrics_ListByResourceGroup_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsListByResourceGroupMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_LockFabric
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockAction;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockRequest;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricLockType;
+
+/**
+ * Samples for NetworkFabrics LockFabric.
+ */
+public final class NetworkFabricsLockFabricSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_LockFabric.json
+ */
+ /**
+ * Sample code: NetworkFabrics_LockFabric_MaximumSet.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsLockFabricMaximumSet(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics()
+ .lockFabric("example-rg", "example-networkFabric",
+ new NetworkFabricLockRequest().withLockType(NetworkFabricLockType.ADMINISTRATIVE)
+ .withAction(NetworkFabricLockAction.LOCK),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_Provision
+
+```java
+/**
+ * Samples for NetworkFabrics Provision.
+ */
+public final class NetworkFabricsProvisionSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_Provision.json
+ */
+ /**
+ * Sample code: NetworkFabrics_Provision_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsProvisionMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().provision("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_RefreshConfiguration
+
+```java
+/**
+ * Samples for NetworkFabrics RefreshConfiguration.
+ */
+public final class NetworkFabricsRefreshConfigurationSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_RefreshConfiguration.json
+ */
+ /**
+ * Sample code: NetworkFabrics_RefreshConfiguration_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsRefreshConfigurationMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().refreshConfiguration("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_ResyncCertificates
+
+```java
+/**
+ * Samples for NetworkFabrics ResyncCertificates.
+ */
+public final class NetworkFabricsResyncCertificatesSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncCertificates.json
+ */
+ /**
+ * Sample code: Successful certificate resync for all Network Devices.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void successfulCertificateResyncForAllNetworkDevices(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().resyncCertificates("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncCertificates_Error.json
+ */
+ /**
+ * Sample code: Total failure to resync certificates.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void totalFailureToResyncCertificates(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().resyncCertificates("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncCertificates_PartialSuccess.json
+ */
+ /**
+ * Sample code: Partial failure to resync certificates for some devices.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void partialFailureToResyncCertificatesForSomeDevices(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().resyncCertificates("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_ResyncPasswords
+
+```java
+/**
+ * Samples for NetworkFabrics ResyncPasswords.
+ */
+public final class NetworkFabricsResyncPasswordsSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncPasswords_PartialSuccess.json
+ */
+ /**
+ * Sample code: Partial failure to resync passwords for some devices.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void partialFailureToResyncPasswordsForSomeDevices(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().resyncPasswords("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncPasswords_Error.json
+ */
+ /**
+ * Sample code: Total failure to resync passwords.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void totalFailureToResyncPasswords(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().resyncPasswords("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ResyncPasswords.json
+ */
+ /**
+ * Sample code: Successful password resync for the Terminal Server and all Network Devices.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void successfulPasswordResyncForTheTerminalServerAndAllNetworkDevices(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().resyncPasswords("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_RotateCertificates
+
+```java
+/**
+ * Samples for NetworkFabrics RotateCertificates.
+ */
+public final class NetworkFabricsRotateCertificatesSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_RotateCertificates_Error.json
+ */
+ /**
+ * Sample code: Total failure to rotate certificates.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void totalFailureToRotateCertificates(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().rotateCertificates("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_RotateCertificates_PartialSuccess.json
+ */
+ /**
+ * Sample code: Partial failure to rotate certificates for some devices.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void partialFailureToRotateCertificatesForSomeDevices(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().rotateCertificates("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_RotateCertificates.json
+ */
+ /**
+ * Sample code: Successful certificate rotation for all Network Devices.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void successfulCertificateRotationForAllNetworkDevices(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().rotateCertificates("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_RotatePasswords
+
+```java
+/**
+ * Samples for NetworkFabrics RotatePasswords.
+ */
+public final class NetworkFabricsRotatePasswordsSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_RotatePasswords.json
+ */
+ /**
+ * Sample code: Successful password rotation for the Terminal Server and all Network Devices.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void successfulPasswordRotationForTheTerminalServerAndAllNetworkDevices(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().rotatePasswords("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_RotatePasswords_Error.json
+ */
+ /**
+ * Sample code: Total failure to rotate passwords.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void totalFailureToRotatePasswords(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().rotatePasswords("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_RotatePasswords_PartialSuccess.json
+ */
+ /**
+ * Sample code: Partial failure to rotate passwords for some devices.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void partialFailureToRotatePasswordsForSomeDevices(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics().rotatePasswords("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_Update
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.BfdPatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.FeatureFlagProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.IdentitySelectorPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagementNetworkPatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.NNIDerivedUniqueRouteDistinguisherConfigurationState;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabric;
+import com.azure.resourcemanager.managednetworkfabric.models.PeeringOption;
+import com.azure.resourcemanager.managednetworkfabric.models.QosConfigurationState;
+import com.azure.resourcemanager.managednetworkfabric.models.QosPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.RouteTargetPatchInformation;
+import com.azure.resourcemanager.managednetworkfabric.models.StorageAccountPatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.TerminalServerPatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherConfigurationState;
+import com.azure.resourcemanager.managednetworkfabric.models.UniqueRouteDistinguisherPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.VpnConfigurationPatchableProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.VpnOptionAPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.VpnOptionBPatchProperties;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for NetworkFabrics Update.
+ */
+public final class NetworkFabricsUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_Update_QoS.json
+ */
+ /**
+ * Sample code: NetworkFabrics_Update_QoS_Enable.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsUpdateQoSEnable(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ NetworkFabric resource = manager.networkFabrics()
+ .getByResourceGroupWithResponse("example-rg", "example-fabric", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withQosConfiguration(new QosPatchProperties().withQosConfigurationState(QosConfigurationState.ENABLED))
+ .apply();
+ }
+
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_Update.json
+ */
+ /**
+ * Sample code: NetworkFabrics_Update_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsUpdateMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ NetworkFabric resource = manager.networkFabrics()
+ .getByResourceGroupWithResponse("example-rg", "example-fabric", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key872", new UserAssignedIdentity())))
+ .withAnnotation("annotation1")
+ .withRackCount(6)
+ .withServerCountPerRack(10)
+ .withIpv4Prefix("10.18.0.0/17")
+ .withIpv6Prefix("3FFE:FFFF:0:CD40::/60")
+ .withFabricAsn(12345L)
+ .withTerminalServerConfiguration(new TerminalServerPatchConfiguration().withUsername("username1")
+ .withPassword("fakeTokenPlaceholder")
+ .withSerialNumber("1234567")
+ .withPrimaryIpv4Prefix("10.0.0.12/30")
+ .withPrimaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
+ .withSecondaryIpv4Prefix("40.0.0.14/30")
+ .withSecondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127"))
+ .withManagementNetworkConfiguration(new ManagementNetworkPatchConfiguration()
+ .withInfrastructureVpnConfiguration(new VpnConfigurationPatchableProperties()
+ .withNetworkToNetworkInterconnectId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
+ .withPeeringOption(PeeringOption.OPTIONA)
+ .withOptionBProperties(
+ new VpnOptionBPatchProperties().withImportRouteTargets(Arrays.asList("65046:10050"))
+ .withExportRouteTargets(Arrays.asList("65046:10050"))
+ .withRouteTargets(new RouteTargetPatchInformation()
+ .withImportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withImportIpv6RouteTargets(Arrays.asList("65046:10050"))
+ .withExportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withExportIpv6RouteTargets(Arrays.asList("65046:10050"))))
+ .withOptionAProperties(new VpnOptionAPatchProperties().withPrimaryIpv4Prefix("10.0.0.12/30")
+ .withPrimaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
.withSecondaryIpv4Prefix("20.0.0.13/30")
- .withSecondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127")))
+ .withSecondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127")
+ .withMtu(1501)
+ .withVlanId(3001)
+ .withPeerASN(1235L)
+ .withBfdConfiguration(
+ new BfdPatchConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))))
.withWorkloadVpnConfiguration(new VpnConfigurationPatchableProperties()
.withNetworkToNetworkInterconnectId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni")
.withPeeringOption(PeeringOption.OPTIONA)
- .withOptionBProperties(new OptionBProperties().withImportRouteTargets(Arrays.asList("65046:10050"))
- .withExportRouteTargets(Arrays.asList("65046:10050"))
- .withRouteTargets(
- new RouteTargetInformation().withImportIpv4RouteTargets(Arrays.asList("65046:10050"))
+ .withOptionBProperties(
+ new VpnOptionBPatchProperties().withImportRouteTargets(Arrays.asList("65046:10050"))
+ .withExportRouteTargets(Arrays.asList("65046:10050"))
+ .withRouteTargets(new RouteTargetPatchInformation()
+ .withImportIpv4RouteTargets(Arrays.asList("65046:10050"))
.withImportIpv6RouteTargets(Arrays.asList("65046:10050"))
.withExportIpv4RouteTargets(Arrays.asList("65046:10050"))
.withExportIpv6RouteTargets(Arrays.asList("65046:10050"))))
- .withOptionAProperties(new VpnConfigurationPatchablePropertiesOptionAProperties().withMtu(1500)
- .withVlanId(3000)
- .withPeerAsn(61234L)
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(5))
- .withPrimaryIpv4Prefix("10.0.0.14/30")
+ .withOptionAProperties(new VpnOptionAPatchProperties().withPrimaryIpv4Prefix("10.0.0.14/30")
.withPrimaryIpv6Prefix("2FFE:FFFF:0:CD30::a7/126")
.withSecondaryIpv4Prefix("10.0.0.15/30")
- .withSecondaryIpv6Prefix("2FFE:FFFF:0:CD30::ac/126"))))
- .withAnnotation("annotation1")
+ .withSecondaryIpv6Prefix("2FFE:FFFF:0:CD30::ac/126")
+ .withMtu(1500)
+ .withVlanId(3000)
+ .withPeerASN(61234L)
+ .withBfdConfiguration(
+ new BfdPatchConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10)))))
+ .withStorageAccountConfiguration(new StorageAccountPatchConfiguration().withStorageAccountId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage")
+ .withStorageAccountIdentity(new IdentitySelectorPatch()
+ .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY)
+ .withUserAssignedIdentityResourceId(
+ "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id")))
+ .withHardwareAlertThreshold(43)
+ .withControlPlaneAcls(Arrays.asList(
+ "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl"))
+ .withTrustedIpPrefixes(Arrays.asList(
+ "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix"))
+ .withUniqueRdConfiguration(new UniqueRouteDistinguisherPatchProperties()
+ .withUniqueRdConfigurationState(UniqueRouteDistinguisherConfigurationState.ENABLED)
+ .withNniDerivedUniqueRdConfigurationState(NNIDerivedUniqueRouteDistinguisherConfigurationState.ENABLED))
+ .withQosConfiguration(new QosPatchProperties().withQosConfigurationState(QosConfigurationState.ENABLED))
+ .withFeatureFlags(Arrays.asList(new FeatureFlagProperties().withFeatureFlagName("uniqueRdConfiguration")
+ .withFeatureFlagValue("Enabled")))
.apply();
}
@@ -4032,9 +5254,7 @@ import java.util.Arrays;
*/
public final class NetworkFabricsUpdateInfraManagementBfdConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json
*/
/**
* Sample code: NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen.
@@ -4059,221 +5279,488 @@ import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativ
import java.util.Arrays;
/**
- * Samples for NetworkFabrics UpdateWorkloadManagementBfdConfiguration.
+ * Samples for NetworkFabrics UpdateWorkloadManagementBfdConfiguration.
+ */
+public final class NetworkFabricsUpdateWorkloadManagementBfdConfigurationSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json
+ */
+ /**
+ * Sample code: NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsUpdateWorkloadManagementBfdConfigurationMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics()
+ .updateWorkloadManagementBfdConfiguration("example-rg", "example-fabric",
+ new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_Upgrade
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricUpgradeAction;
+import com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabricProperties;
+
+/**
+ * Samples for NetworkFabrics Upgrade.
+ */
+public final class NetworkFabricsUpgradeSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_Upgrade.json
+ */
+ /**
+ * Sample code: NetworkFabrics_Upgrade_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsUpgradeMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics()
+ .upgrade("example-rg", "example-fabric",
+ new UpgradeNetworkFabricProperties().withVersion("3.x.x").withAction(NetworkFabricUpgradeAction.START),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_ValidateConfiguration
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.ValidateAction;
+import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationProperties;
+
+/**
+ * Samples for NetworkFabrics ValidateConfiguration.
+ */
+public final class NetworkFabricsValidateConfigurationSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ValidateConfiguration.json
+ */
+ /**
+ * Sample code: NetworkFabrics_ValidateConfiguration_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsValidateConfigurationMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics()
+ .validateConfiguration("example-rg", "example-fabric",
+ new ValidateConfigurationProperties().withValidateAction(ValidateAction.CABLING),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkFabrics_ViewDeviceConfiguration
+
+```java
+/**
+ * Samples for NetworkFabrics ViewDeviceConfiguration.
+ */
+public final class NetworkFabricsViewDeviceConfigurationSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkFabrics_ViewDeviceConfiguration.json
+ */
+ /**
+ * Sample code: NetworkFabrics_ViewDeviceConfiguration_MaximumSet.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkFabricsViewDeviceConfigurationMaximumSet(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkFabrics()
+ .viewDeviceConfiguration("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkInterfaces_Create
+
+```java
+/**
+ * Samples for NetworkInterfaces Create.
+ */
+public final class NetworkInterfacesCreateSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkInterfaces_Create.json
+ */
+ /**
+ * Sample code: NetworkInterfaces_Create_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkInterfacesCreateMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkInterfaces()
+ .define("example-interface")
+ .withExistingNetworkDevice("example-rg", "example-device")
+ .withAdditionalDescription("device 1")
+ .withAnnotation("annotation")
+ .create();
+ }
+}
+```
+
+### NetworkInterfaces_Delete
+
+```java
+/**
+ * Samples for NetworkInterfaces Delete.
+ */
+public final class NetworkInterfacesDeleteSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkInterfaces_Delete.json
+ */
+ /**
+ * Sample code: NetworkInterfaces_Delete_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkInterfacesDeleteMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkInterfaces()
+ .delete("example-rg", "example-device", "example-interface", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkInterfaces_Get
+
+```java
+/**
+ * Samples for NetworkInterfaces Get.
+ */
+public final class NetworkInterfacesGetSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkInterfaces_Get.json
+ */
+ /**
+ * Sample code: NetworkInterfaces_Get_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkInterfacesGetMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkInterfaces()
+ .getWithResponse("example-rg", "example-device", "example-interface", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkInterfaces_ListByNetworkDevice
+
+```java
+/**
+ * Samples for NetworkInterfaces ListByNetworkDevice.
+ */
+public final class NetworkInterfacesListByNetworkDeviceSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkInterfaces_ListByNetworkDevice.json
+ */
+ /**
+ * Sample code: NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkInterfacesListByNetworkDeviceMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkInterfaces()
+ .listByNetworkDevice("example-rg", "example-device", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkInterfaces_Update
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkInterface;
+
+/**
+ * Samples for NetworkInterfaces Update.
*/
-public final class NetworkFabricsUpdateWorkloadManagementBfdConfigurationSamples {
+public final class NetworkInterfacesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkInterfaces_Update.json
*/
/**
- * Sample code: NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen.
+ * Sample code: NetworkInterfaces_Update_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsUpdateWorkloadManagementBfdConfigurationMaximumSetGen(
+ public static void networkInterfacesUpdateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics()
- .updateWorkloadManagementBfdConfiguration("example-rg", "example-fabric",
- new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
- com.azure.core.util.Context.NONE);
+ NetworkInterface resource = manager.networkInterfaces()
+ .getWithResponse("example-rg", "example-device", "example-interface", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().withAdditionalDescription("device 1").withAnnotation("annotation").apply();
}
}
```
-### NetworkFabrics_Upgrade
+### NetworkInterfaces_UpdateAdministrativeState
```java
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricUpgradeAction;
-import com.azure.resourcemanager.managednetworkfabric.models.UpgradeNetworkFabricProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.EnableDisableState;
+import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState;
+import java.util.Arrays;
/**
- * Samples for NetworkFabrics Upgrade.
+ * Samples for NetworkInterfaces UpdateAdministrativeState.
*/
-public final class NetworkFabricsUpgradeSamples {
+public final class NetworkInterfacesUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_upgrade_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkInterfaces_UpdateAdministrativeState.json
*/
/**
- * Sample code: NetworkFabrics_upgrade_MaximumSet_Gen.
+ * Sample code: NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsUpgradeMaximumSetGen(
+ public static void networkInterfacesUpdateAdministrativeStateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics()
- .upgrade("example-rg", "example-fabric",
- new UpgradeNetworkFabricProperties().withVersion("3.x.x").withAction(NetworkFabricUpgradeAction.START),
+ manager.networkInterfaces()
+ .updateAdministrativeState("example-rg", "example-device", "example-interface",
+ new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
com.azure.core.util.Context.NONE);
}
}
```
-### NetworkFabrics_ValidateConfiguration
+### NetworkMonitors_Create
```java
-import com.azure.resourcemanager.managednetworkfabric.models.ValidateAction;
-import com.azure.resourcemanager.managednetworkfabric.models.ValidateConfigurationProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicy;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpMonitoredAddressFamily;
+import com.azure.resourcemanager.managednetworkfabric.models.StationConfigurationState;
+import com.azure.resourcemanager.managednetworkfabric.models.StationConnectionMode;
+import com.azure.resourcemanager.managednetworkfabric.models.StationConnectionProperties;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
/**
- * Samples for NetworkFabrics ValidateConfiguration.
+ * Samples for NetworkMonitors Create.
*/
-public final class NetworkFabricsValidateConfigurationSamples {
+public final class NetworkMonitorsCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkFabrics_ValidateConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkMonitors_Create.json
*/
/**
- * Sample code: NetworkFabrics_ValidateConfiguration_MaximumSet_Gen.
+ * Sample code: NetworkMonitors_Create.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkFabricsValidateConfigurationMaximumSetGen(
- com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkFabrics()
- .validateConfiguration("example-rg", "example-fabric",
- new ValidateConfigurationProperties().withValidateAction(ValidateAction.CABLING),
- com.azure.core.util.Context.NONE);
+ public static void
+ networkMonitorsCreate(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkMonitors()
+ .define("example-monitor")
+ .withRegion("eastus")
+ .withExistingResourceGroup("example-rg")
+ .withTags(mapOf("key", "fakeTokenPlaceholder"))
+ .withBmpConfiguration(new BmpConfigurationProperties()
+ .withStationConfigurationState(StationConfigurationState.ENABLED)
+ .withScopeResourceId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric")
+ .withStationName("name")
+ .withStationIp("10.0.0.1")
+ .withStationPort(62695)
+ .withStationConnectionMode(StationConnectionMode.ACTIVE)
+ .withStationConnectionProperties(new StationConnectionProperties().withKeepaliveIdleTime(49)
+ .withProbeInterval(3558)
+ .withProbeCount(43))
+ .withStationNetwork(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork")
+ .withMonitoredNetworks(Arrays.asList(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain"))
+ .withExportPolicy(BmpExportPolicy.PRE_POLICY)
+ .withExportPolicyConfiguration(
+ new BmpExportPolicyProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.PRE_POLICY)))
+ .withMonitoredAddressFamilies(Arrays.asList(BmpMonitoredAddressFamily.IPV4UNICAST)))
+ .withAnnotation("annotation")
+ .create();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
}
}
```
-### NetworkInterfaces_Create
+### NetworkMonitors_Delete
```java
/**
- * Samples for NetworkInterfaces Create.
+ * Samples for NetworkMonitors Delete.
*/
-public final class NetworkInterfacesCreateSamples {
+public final class NetworkMonitorsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkInterfaces_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkMonitors_Delete.json
*/
/**
- * Sample code: NetworkInterfaces_Create_MaximumSet_Gen.
+ * Sample code: NetworkMonitors_Delete_MaximumSet.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkInterfacesCreateMaximumSetGen(
+ public static void networkMonitorsDeleteMaximumSet(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkInterfaces()
- .define("example-interface")
- .withExistingNetworkDevice("example-rg", "example-device")
- .withAnnotation("annotation")
- .create();
+ manager.networkMonitors().delete("rgmanagednetworkfabric", "example-monitor", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkInterfaces_Delete
+### NetworkMonitors_GetByResourceGroup
```java
/**
- * Samples for NetworkInterfaces Delete.
+ * Samples for NetworkMonitors GetByResourceGroup.
*/
-public final class NetworkInterfacesDeleteSamples {
+public final class NetworkMonitorsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkInterfaces_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkMonitors_Get.json
*/
/**
- * Sample code: NetworkInterfaces_Delete_MaximumSet_Gen.
+ * Sample code: NetworkMonitors_Get_MaximumSet.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkInterfacesDeleteMaximumSetGen(
+ public static void networkMonitorsGetMaximumSet(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkInterfaces().delete("rgNetworkDevices", "sjzd", "emrgu", com.azure.core.util.Context.NONE);
+ manager.networkMonitors()
+ .getByResourceGroupWithResponse("example-rg", "example-monitor", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkInterfaces_Get
+### NetworkMonitors_List
```java
/**
- * Samples for NetworkInterfaces Get.
+ * Samples for NetworkMonitors List.
*/
-public final class NetworkInterfacesGetSamples {
+public final class NetworkMonitorsListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkInterfaces_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkMonitors_ListBySubscription.json
*/
/**
- * Sample code: NetworkInterfaces_Get_MaximumSet_Gen.
+ * Sample code: NetworkMonitors_ListBySubscription.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkInterfacesGetMaximumSetGen(
+ public static void networkMonitorsListBySubscription(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkInterfaces()
- .getWithResponse("example-rg", "example-device", "example-interface", com.azure.core.util.Context.NONE);
+ manager.networkMonitors().list(com.azure.core.util.Context.NONE);
}
}
```
-### NetworkInterfaces_ListByNetworkDevice
+### NetworkMonitors_ListByResourceGroup
```java
/**
- * Samples for NetworkInterfaces ListByNetworkDevice.
+ * Samples for NetworkMonitors ListByResourceGroup.
*/
-public final class NetworkInterfacesListByNetworkDeviceSamples {
+public final class NetworkMonitorsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkMonitors_ListByResourceGroup.json
*/
/**
- * Sample code: NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen.
+ * Sample code: NetworkMonitors_ListByResourceGroup.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkInterfacesListByNetworkDeviceMaximumSetGen(
+ public static void networkMonitorsListByResourceGroup(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkInterfaces()
- .listByNetworkDevice("example-rg", "example-device", com.azure.core.util.Context.NONE);
+ manager.networkMonitors().listByResourceGroup("example-rg", com.azure.core.util.Context.NONE);
}
}
```
-### NetworkInterfaces_Update
+### NetworkMonitors_Update
```java
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkInterface;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicy;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpExportPolicyPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpMonitoredAddressFamily;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkMonitor;
+import com.azure.resourcemanager.managednetworkfabric.models.StationConfigurationState;
+import com.azure.resourcemanager.managednetworkfabric.models.StationConnectionMode;
+import com.azure.resourcemanager.managednetworkfabric.models.StationConnectionPatchProperties;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
/**
- * Samples for NetworkInterfaces Update.
+ * Samples for NetworkMonitors Update.
*/
-public final class NetworkInterfacesUpdateSamples {
+public final class NetworkMonitorsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkInterfaces_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkMonitors_Update.json
*/
/**
- * Sample code: NetworkInterfaces_Update_MaximumSet_Gen.
+ * Sample code: NetworkMonitors_Update.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkInterfacesUpdateMaximumSetGen(
- com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- NetworkInterface resource = manager.networkInterfaces()
- .getWithResponse("example-rg", "example-device", "example-interface", com.azure.core.util.Context.NONE)
+ public static void
+ networkMonitorsUpdate(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ NetworkMonitor resource = manager.networkMonitors()
+ .getByResourceGroupWithResponse("example-rg", "example-monitor", com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withAnnotation("annotation").apply();
+ resource.update()
+ .withTags(mapOf("key", "fakeTokenPlaceholder"))
+ .withBmpConfiguration(new BmpConfigurationPatchProperties()
+ .withStationConfigurationState(StationConfigurationState.ENABLED)
+ .withScopeResourceId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric")
+ .withStationName("name")
+ .withStationIp("10.0.0.1")
+ .withStationPort(64685)
+ .withStationConnectionMode(StationConnectionMode.ACTIVE)
+ .withStationConnectionProperties(new StationConnectionPatchProperties().withKeepaliveIdleTime(49)
+ .withProbeInterval(3558)
+ .withProbeCount(43))
+ .withStationNetwork(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork")
+ .withMonitoredNetworks(Arrays.asList(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain"))
+ .withExportPolicy(BmpExportPolicy.PRE_POLICY)
+ .withExportPolicyConfiguration(
+ new BmpExportPolicyPatchProperties().withExportPolicies(Arrays.asList(BmpExportPolicy.PRE_POLICY)))
+ .withMonitoredAddressFamilies(Arrays.asList(BmpMonitoredAddressFamily.IPV4UNICAST)))
+ .apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
}
}
```
-### NetworkInterfaces_UpdateAdministrativeState
+### NetworkMonitors_UpdateAdministrativeState
```java
import com.azure.resourcemanager.managednetworkfabric.models.EnableDisableState;
@@ -4281,23 +5768,21 @@ import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativ
import java.util.Arrays;
/**
- * Samples for NetworkInterfaces UpdateAdministrativeState.
+ * Samples for NetworkMonitors UpdateAdministrativeState.
*/
-public final class NetworkInterfacesUpdateAdministrativeStateSamples {
+public final class NetworkMonitorsUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkMonitors_UpdateAdministrativeState.json
*/
/**
- * Sample code: NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen.
+ * Sample code: NetworkMonitors_UpdateAdministrativeState.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkInterfacesUpdateAdministrativeStateMaximumSetGen(
+ public static void networkMonitorsUpdateAdministrativeState(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
- manager.networkInterfaces()
- .updateAdministrativeState("example-rg", "example-device", "example-interface",
+ manager.networkMonitors()
+ .updateAdministrativeState("example-rg", "example-monitor",
new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
com.azure.core.util.Context.NONE);
}
@@ -4307,6 +5792,9 @@ public final class NetworkInterfacesUpdateAdministrativeStateSamples {
### NetworkPacketBrokers_Create
```java
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.HashMap;
import java.util.Map;
@@ -4315,9 +5803,7 @@ import java.util.Map;
*/
public final class NetworkPacketBrokersCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkPacketBrokers_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Create.json
*/
/**
* Sample code: NetworkPacketBrokers_Create_MaximumSet_Gen.
@@ -4332,7 +5818,9 @@ public final class NetworkPacketBrokersCreateSamples {
.withExistingResourceGroup("example-rg")
.withNetworkFabricId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric")
- .withTags(mapOf("key2806", "fakeTokenPlaceholder"))
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key3673", new UserAssignedIdentity())))
.create();
}
@@ -4358,9 +5846,7 @@ public final class NetworkPacketBrokersCreateSamples {
*/
public final class NetworkPacketBrokersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkPacketBrokers_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Delete.json
*/
/**
* Sample code: NetworkPacketBrokers_Delete_MaximumSet_Gen.
@@ -4383,9 +5869,7 @@ public final class NetworkPacketBrokersDeleteSamples {
*/
public final class NetworkPacketBrokersGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkPacketBrokers_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Get.json
*/
/**
* Sample code: NetworkPacketBrokers_Get_MaximumSet_Gen.
@@ -4409,9 +5893,7 @@ public final class NetworkPacketBrokersGetByResourceGroupSamples {
*/
public final class NetworkPacketBrokersListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_ListBySubscription.json
*/
/**
* Sample code: NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen.
@@ -4433,9 +5915,7 @@ public final class NetworkPacketBrokersListSamples {
*/
public final class NetworkPacketBrokersListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_ListByResourceGroup.json
*/
/**
* Sample code: NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen.
@@ -4452,7 +5932,10 @@ public final class NetworkPacketBrokersListByResourceGroupSamples {
### NetworkPacketBrokers_Update
```java
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBroker;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.HashMap;
import java.util.Map;
@@ -4461,9 +5944,7 @@ import java.util.Map;
*/
public final class NetworkPacketBrokersUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkPacketBrokers_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkPacketBrokers_Update.json
*/
/**
* Sample code: NetworkPacketBrokers_Update_MaximumSet_Gen.
@@ -4476,7 +5957,11 @@ public final class NetworkPacketBrokersUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-networkPacketBroker",
com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withTags(mapOf("key8772", "fakeTokenPlaceholder")).apply();
+ resource.update()
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key8793", new UserAssignedIdentity())))
+ .apply();
}
// Use "Map.of" if available
@@ -4505,9 +5990,7 @@ import java.util.Map;
*/
public final class NetworkRacksCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkRacks_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkRacks_Create.json
*/
/**
* Sample code: NetworkRacks_Create_MaximumSet_Gen.
@@ -4522,7 +6005,7 @@ public final class NetworkRacksCreateSamples {
.withExistingResourceGroup("example-rg")
.withNetworkFabricId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric")
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
.withNetworkRackType(NetworkRackType.AGGREGATE)
.withAnnotation("annotation")
.create();
@@ -4550,9 +6033,7 @@ public final class NetworkRacksCreateSamples {
*/
public final class NetworkRacksDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkRacks_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkRacks_Delete.json
*/
/**
* Sample code: NetworkRacks_Delete_MaximumSet_Gen.
@@ -4574,9 +6055,7 @@ public final class NetworkRacksDeleteSamples {
*/
public final class NetworkRacksGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkRacks_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkRacks_Get.json
*/
/**
* Sample code: NetworkRacks_Get_MaximumSet_Gen.
@@ -4599,9 +6078,7 @@ public final class NetworkRacksGetByResourceGroupSamples {
*/
public final class NetworkRacksListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkRacks_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkRacks_ListBySubscription.json
*/
/**
* Sample code: NetworkRacks_ListBySubscription_MaximumSet_Gen.
@@ -4623,9 +6100,7 @@ public final class NetworkRacksListSamples {
*/
public final class NetworkRacksListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkRacks_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkRacks_ListByResourceGroup.json
*/
/**
* Sample code: NetworkRacks_ListByResourceGroup_MaximumSet_Gen.
@@ -4651,9 +6126,7 @@ import java.util.Map;
*/
public final class NetworkRacksUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkRacks_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkRacks_Update.json
*/
/**
* Sample code: NetworkRacks_Update_MaximumSet_Gen.
@@ -4665,7 +6138,7 @@ public final class NetworkRacksUpdateSamples {
NetworkRack resource = manager.networkRacks()
.getByResourceGroupWithResponse("example-rg", "example-rack", com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withTags(mapOf("keyID", "fakeTokenPlaceholder")).apply();
+ resource.update().withTags(mapOf("keyId", "fakeTokenPlaceholder")).apply();
}
// Use "Map.of" if available
@@ -4689,20 +6162,25 @@ import com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty
import com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfiguration;
import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationType;
import com.azure.resourcemanager.managednetworkfabric.models.EncapsulationType;
+import com.azure.resourcemanager.managednetworkfabric.models.GlobalNetworkTapRuleActionProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.IdentitySelector;
import com.azure.resourcemanager.managednetworkfabric.models.IpAddressType;
import com.azure.resourcemanager.managednetworkfabric.models.IpGroupProperties;
import com.azure.resourcemanager.managednetworkfabric.models.IpMatchCondition;
import com.azure.resourcemanager.managednetworkfabric.models.Layer4Protocol;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleAction;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchCondition;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.PollingIntervalInSeconds;
import com.azure.resourcemanager.managednetworkfabric.models.PortCondition;
import com.azure.resourcemanager.managednetworkfabric.models.PortGroupProperties;
import com.azure.resourcemanager.managednetworkfabric.models.PortType;
import com.azure.resourcemanager.managednetworkfabric.models.PrefixType;
import com.azure.resourcemanager.managednetworkfabric.models.SourceDestinationType;
import com.azure.resourcemanager.managednetworkfabric.models.TapRuleActionType;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import com.azure.resourcemanager.managednetworkfabric.models.VlanGroupProperties;
import com.azure.resourcemanager.managednetworkfabric.models.VlanMatchCondition;
import java.util.Arrays;
@@ -4714,9 +6192,7 @@ import java.util.Map;
*/
public final class NetworkTapRulesCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTapRules_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTapRules_Create.json
*/
/**
* Sample code: NetworkTapRules_Create_MaximumSet_Gen.
@@ -4727,12 +6203,18 @@ public final class NetworkTapRulesCreateSamples {
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.networkTapRules()
.define("example-tapRule")
- .withRegion("eastus")
+ .withRegion("eastuseuap")
.withExistingResourceGroup("example-rg")
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
- .withPollingIntervalInSeconds(PollingIntervalInSeconds.THREE_ZERO)
.withConfigurationType(ConfigurationType.FILE)
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED)
+ .withUserAssignedIdentities(mapOf("key872", new UserAssignedIdentity())))
+ .withAnnotation("annotation")
.withTapRulesUrl("https://microsoft.com/a")
+ .withIdentitySelector(new IdentitySelector()
+ .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY)
+ .withUserAssignedIdentityResourceId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/example-identity"))
.withMatchConfigurations(
Arrays
.asList(new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("config1")
@@ -4740,12 +6222,12 @@ public final class NetworkTapRulesCreateSamples {
.withIpAddressType(IpAddressType.IPV4)
.withMatchConditions(Arrays.asList(new NetworkTapRuleMatchCondition()
.withProtocolTypes(Arrays.asList("TCP"))
- .withVlanMatchCondition(new VlanMatchCondition().withVlans(Arrays.asList("10"))
- .withInnerVlans(Arrays.asList("11-20"))
- .withVlanGroupNames(Arrays.asList("exmaple-vlanGroup")))
+ .withVlanMatchCondition(new VlanMatchCondition().withVlans(Arrays.asList("20-30"))
+ .withInnerVlans(Arrays.asList("30"))
+ .withVlanGroupNames(Arrays.asList("example-vlanGroup")))
.withIpCondition(new IpMatchCondition().withType(SourceDestinationType.SOURCE_IP)
.withPrefixType(PrefixType.PREFIX)
- .withIpPrefixValues(Arrays.asList("10.10.10.10/20"))
+ .withIpPrefixValues(Arrays.asList("10.20.20.20/12"))
.withIpGroupNames(Arrays.asList("example-ipGroup")))
.withEncapsulationType(EncapsulationType.NONE)
.withPortCondition(new PortCondition()
@@ -4760,16 +6242,17 @@ public final class NetworkTapRulesCreateSamples {
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup")
.withMatchConfigurationName("match1")))))
.withDynamicMatchConfigurations(Arrays.asList(new CommonDynamicMatchConfiguration()
- .withIpGroups(Arrays.asList(new IpGroupProperties().withName("example-ipGroup1")
+ .withIpGroups(Arrays.asList(new IpGroupProperties().withName("example-ipGroup")
.withIpAddressType(IpAddressType.IPV4)
- .withIpPrefixes(Arrays.asList("10.10.10.10/30"))))
- .withVlanGroups(Arrays.asList(
- new VlanGroupProperties().withName("exmaple-vlanGroup").withVlans(Arrays.asList("10", "100-200"))))
+ .withIpPrefixes(Arrays.asList("10.20.3.1/20"))))
+ .withVlanGroups(Arrays
+ .asList(new VlanGroupProperties().withName("example-vlanGroup").withVlans(Arrays.asList("20-30"))))
.withPortGroups(Arrays.asList(
- new PortGroupProperties().withName("example-portGroup1").withPorts(Arrays.asList("100-200")),
- new PortGroupProperties().withName("example-portGroup2")
- .withPorts(Arrays.asList("900", "1000-2000"))))))
- .withAnnotation("annotation")
+ new PortGroupProperties().withName("example-portGroup").withPorts(Arrays.asList("100-200"))))))
+ .withPollingIntervalInSeconds(30)
+ .withGlobalNetworkTapRuleActions(
+ new GlobalNetworkTapRuleActionProperties().withEnableCount(BooleanEnumProperty.TRUE)
+ .withTruncate("truncate-name"))
.create();
}
@@ -4795,9 +6278,7 @@ public final class NetworkTapRulesCreateSamples {
*/
public final class NetworkTapRulesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTapRules_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTapRules_Delete.json
*/
/**
* Sample code: NetworkTapRules_Delete_MaximumSet_Gen.
@@ -4819,9 +6300,7 @@ public final class NetworkTapRulesDeleteSamples {
*/
public final class NetworkTapRulesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTapRules_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTapRules_Get.json
*/
/**
* Sample code: NetworkTapRules_Get_MaximumSet_Gen.
@@ -4844,9 +6323,7 @@ public final class NetworkTapRulesGetByResourceGroupSamples {
*/
public final class NetworkTapRulesListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTapRules_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTapRules_ListBySubscription.json
*/
/**
* Sample code: NetworkTapRules_ListBySubscription_MaximumSet_Gen.
@@ -4868,9 +6345,7 @@ public final class NetworkTapRulesListSamples {
*/
public final class NetworkTapRulesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTapRules_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTapRules_ListByResourceGroup.json
*/
/**
* Sample code: NetworkTapRules_ListByResourceGroup_MaximumSet_Gen.
@@ -4892,9 +6367,7 @@ public final class NetworkTapRulesListByResourceGroupSamples {
*/
public final class NetworkTapRulesResyncSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTapRules_Resync_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTapRules_Resync.json
*/
/**
* Sample code: NetworkTapRules_Resync_MaximumSet_Gen.
@@ -4912,25 +6385,31 @@ public final class NetworkTapRulesResyncSamples {
```java
import com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty;
-import com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.CommonDynamicMatchConfigurationPatch;
import com.azure.resourcemanager.managednetworkfabric.models.ConfigurationType;
import com.azure.resourcemanager.managednetworkfabric.models.EncapsulationType;
+import com.azure.resourcemanager.managednetworkfabric.models.GlobalNetworkTapRuleActionPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.IdentitySelectorPatch;
import com.azure.resourcemanager.managednetworkfabric.models.IpAddressType;
-import com.azure.resourcemanager.managednetworkfabric.models.IpGroupProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.IpMatchCondition;
+import com.azure.resourcemanager.managednetworkfabric.models.IpGroupPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.IpMatchConditionPatch;
import com.azure.resourcemanager.managednetworkfabric.models.Layer4Protocol;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentitySelectorType;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRule;
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleAction;
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchCondition;
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.PortCondition;
-import com.azure.resourcemanager.managednetworkfabric.models.PortGroupProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleActionPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConditionPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRuleMatchConfigurationPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.PortConditionPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.PortGroupPatchProperties;
import com.azure.resourcemanager.managednetworkfabric.models.PortType;
import com.azure.resourcemanager.managednetworkfabric.models.PrefixType;
import com.azure.resourcemanager.managednetworkfabric.models.SourceDestinationType;
import com.azure.resourcemanager.managednetworkfabric.models.TapRuleActionType;
-import com.azure.resourcemanager.managednetworkfabric.models.VlanGroupProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.VlanMatchCondition;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.VlanGroupPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.VlanMatchConditionPatch;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -4940,9 +6419,7 @@ import java.util.Map;
*/
public final class NetworkTapRulesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTapRules_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTapRules_Update.json
*/
/**
* Sample code: NetworkTapRules_Update_MaximumSet_Gen.
@@ -4955,44 +6432,53 @@ public final class NetworkTapRulesUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-tapRule", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.USER_ASSIGNED)
+ .withUserAssignedIdentities(mapOf("key872", new UserAssignedIdentity())))
+ .withAnnotation("annotation")
.withConfigurationType(ConfigurationType.FILE)
.withTapRulesUrl("https://microsoft.com/amdsdx")
- .withMatchConfigurations(
+ .withMatchConfigurationsForUpdate(
Arrays
- .asList(new NetworkTapRuleMatchConfiguration().withMatchConfigurationName("config1")
+ .asList(new NetworkTapRuleMatchConfigurationPatch().withMatchConfigurationName("config1")
.withSequenceNumber(10L)
.withIpAddressType(IpAddressType.IPV4)
- .withMatchConditions(Arrays.asList(new NetworkTapRuleMatchCondition()
+ .withMatchConditions(Arrays.asList(new NetworkTapRuleMatchConditionPatch()
.withProtocolTypes(Arrays.asList("TCP"))
- .withVlanMatchCondition(new VlanMatchCondition().withVlans(Arrays.asList("10"))
- .withInnerVlans(Arrays.asList("11-20"))
- .withVlanGroupNames(Arrays.asList("exmaple-vlanGroup")))
- .withIpCondition(new IpMatchCondition().withType(SourceDestinationType.SOURCE_IP)
+ .withVlanMatchCondition(new VlanMatchConditionPatch().withVlans(Arrays.asList("20-30"))
+ .withInnerVlans(Arrays.asList("30"))
+ .withVlanGroupNames(Arrays.asList("example-vlanGroup")))
+ .withIpCondition(new IpMatchConditionPatch().withType(SourceDestinationType.SOURCE_IP)
.withPrefixType(PrefixType.PREFIX)
- .withIpPrefixValues(Arrays.asList("10.10.10.10/20"))
+ .withIpPrefixValues(Arrays.asList("10.20.20.20/12"))
.withIpGroupNames(Arrays.asList("example-ipGroup")))
.withEncapsulationType(EncapsulationType.NONE)
- .withPortCondition(new PortCondition()
+ .withPortCondition(new PortConditionPatch()
.withPortType(PortType.SOURCE_PORT)
.withLayer4Protocol(Layer4Protocol.TCP)
.withPorts(Arrays.asList("100"))
.withPortGroupNames(Arrays.asList("example-portGroup1")))))
- .withActions(Arrays.asList(new NetworkTapRuleAction().withType(TapRuleActionType.GOTO)
+ .withActions(Arrays.asList(new NetworkTapRuleActionPatch().withType(TapRuleActionType.DROP)
.withTruncate("100")
.withIsTimestampEnabled(BooleanEnumProperty.TRUE)
.withDestinationId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup")
.withMatchConfigurationName("match1")))))
- .withDynamicMatchConfigurations(Arrays.asList(new CommonDynamicMatchConfiguration()
- .withIpGroups(Arrays.asList(new IpGroupProperties().withName("example-ipGroup1")
+ .withDynamicMatchConfigurationsForUpdate(Arrays.asList(new CommonDynamicMatchConfigurationPatch()
+ .withIpGroups(Arrays.asList(new IpGroupPatchProperties().withName("example-ipGroup")
.withIpAddressType(IpAddressType.IPV4)
- .withIpPrefixes(Arrays.asList("10.10.10.10/30"))))
+ .withIpPrefixes(Arrays.asList("10.20.3.1/20"))))
.withVlanGroups(Arrays.asList(
- new VlanGroupProperties().withName("exmaple-vlanGroup").withVlans(Arrays.asList("10", "100-200"))))
+ new VlanGroupPatchProperties().withName("example-vlanGroup").withVlans(Arrays.asList("20-30"))))
.withPortGroups(Arrays.asList(
- new PortGroupProperties().withName("example-portGroup1").withPorts(Arrays.asList("100-200"))))))
- .withAnnotation("annotation")
+ new PortGroupPatchProperties().withName("example-portGroup").withPorts(Arrays.asList("100-200"))))))
+ .withIdentitySelector(new IdentitySelectorPatch()
+ .withIdentityType(ManagedServiceIdentitySelectorType.USER_ASSIGNED_IDENTITY)
+ .withUserAssignedIdentityResourceId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/example-identity"))
+ .withGlobalNetworkTapRuleActions(
+ new GlobalNetworkTapRuleActionPatchProperties().withEnableCount(BooleanEnumProperty.TRUE)
+ .withTruncate("truncate-name"))
.apply();
}
@@ -5022,9 +6508,7 @@ import java.util.Arrays;
*/
public final class NetworkTapRulesUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTapRules_UpdateAdministrativeState.json
*/
/**
* Sample code: NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen.
@@ -5035,7 +6519,9 @@ public final class NetworkTapRulesUpdateAdministrativeStateSamples {
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.networkTapRules()
.updateAdministrativeState("example-rg", "example-tapRule",
- new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
+ new UpdateAdministrativeState().withResourceIds(Arrays.asList(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule"))
+ .withState(EnableDisableState.ENABLE),
com.azure.core.util.Context.NONE);
}
}
@@ -5049,9 +6535,7 @@ public final class NetworkTapRulesUpdateAdministrativeStateSamples {
*/
public final class NetworkTapRulesValidateConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTapRules_ValidateConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTapRules_ValidateConfiguration.json
*/
/**
* Sample code: NetworkTapRules_ValidateConfiguration_MaximumSet_Gen.
@@ -5069,11 +6553,14 @@ public final class NetworkTapRulesValidateConfigurationSamples {
### NetworkTaps_Create
```java
+import com.azure.resourcemanager.managednetworkfabric.models.DestinationProperties;
import com.azure.resourcemanager.managednetworkfabric.models.DestinationType;
import com.azure.resourcemanager.managednetworkfabric.models.Encapsulation;
import com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapPropertiesDestinationsItem;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.managednetworkfabric.models.PollingType;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -5083,9 +6570,7 @@ import java.util.Map;
*/
public final class NetworkTapsCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTaps_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTaps_Create.json
*/
/**
* Sample code: NetworkTaps_Create_MaximumSet_Gen.
@@ -5100,8 +6585,7 @@ public final class NetworkTapsCreateSamples {
.withExistingResourceGroup("example-rg")
.withNetworkPacketBrokerId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker")
- .withDestinations(Arrays.asList(new NetworkTapPropertiesDestinationsItem()
- .withName("example-destinaionName")
+ .withDestinations(Arrays.asList(new DestinationProperties().withName("example-destinaionName")
.withDestinationType(DestinationType.ISOLATION_DOMAIN)
.withDestinationId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork")
@@ -5110,7 +6594,9 @@ public final class NetworkTapsCreateSamples {
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup")))
.withDestinationTapRuleId(
"/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule")))
- .withTags(mapOf("key6024", "fakeTokenPlaceholder"))
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key3673", new UserAssignedIdentity())))
.withPollingType(PollingType.PULL)
.withAnnotation("annotation")
.create();
@@ -5138,9 +6624,7 @@ public final class NetworkTapsCreateSamples {
*/
public final class NetworkTapsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTaps_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTaps_Delete.json
*/
/**
* Sample code: NetworkTaps_Delete_MaximumSet_Gen.
@@ -5162,9 +6646,7 @@ public final class NetworkTapsDeleteSamples {
*/
public final class NetworkTapsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTaps_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTaps_Get.json
*/
/**
* Sample code: NetworkTaps_Get_MaximumSet_Gen.
@@ -5187,9 +6669,7 @@ public final class NetworkTapsGetByResourceGroupSamples {
*/
public final class NetworkTapsListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTaps_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTaps_ListBySubscription.json
*/
/**
* Sample code: NetworkTaps_ListBySubscription_MaximumSet_Gen.
@@ -5211,9 +6691,7 @@ public final class NetworkTapsListSamples {
*/
public final class NetworkTapsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTaps_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTaps_ListByResourceGroup.json
*/
/**
* Sample code: NetworkTaps_ListByResourceGroup_MaximumSet_Gen.
@@ -5235,9 +6713,7 @@ public final class NetworkTapsListByResourceGroupSamples {
*/
public final class NetworkTapsResyncSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTaps_Resync_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTaps_Resync.json
*/
/**
* Sample code: NetworkTaps_Resync_MaximumSet_Gen.
@@ -5254,12 +6730,15 @@ public final class NetworkTapsResyncSamples {
### NetworkTaps_Update
```java
+import com.azure.resourcemanager.managednetworkfabric.models.DestinationPatchProperties;
import com.azure.resourcemanager.managednetworkfabric.models.DestinationType;
import com.azure.resourcemanager.managednetworkfabric.models.Encapsulation;
-import com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.IsolationDomainPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkTap;
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapPatchableParametersDestinationsItem;
import com.azure.resourcemanager.managednetworkfabric.models.PollingType;
+import com.azure.resourcemanager.managednetworkfabric.models.UserAssignedIdentity;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -5269,9 +6748,7 @@ import java.util.Map;
*/
public final class NetworkTapsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTaps_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTaps_Update.json
*/
/**
* Sample code: NetworkTaps_Update_MaximumSet_Gen.
@@ -5284,14 +6761,16 @@ public final class NetworkTapsUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-networkTap", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("key6024", "fakeTokenPlaceholder"))
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withIdentity(new ManagedServiceIdentityPatch().withType(ManagedServiceIdentityType.NONE)
+ .withUserAssignedIdentities(mapOf("key8793", new UserAssignedIdentity())))
.withPollingType(PollingType.PULL)
- .withDestinationsForUpdate(Arrays.asList(new NetworkTapPatchableParametersDestinationsItem()
- .withName("example-destinaionName")
+ .withDestinationsForUpdate(Arrays.asList(new DestinationPatchProperties().withName("example-destinaionName")
.withDestinationType(DestinationType.ISOLATION_DOMAIN)
.withDestinationId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork")
- .withIsolationDomainProperties(new IsolationDomainProperties().withEncapsulation(Encapsulation.NONE)
+ .withIsolationDomainProperties(new IsolationDomainPatchProperties()
+ .withEncapsulation(Encapsulation.NONE)
.withNeighborGroupIds(Arrays.asList(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup")))
.withDestinationTapRuleId(
@@ -5326,9 +6805,7 @@ import java.util.Arrays;
*/
public final class NetworkTapsUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkTaps_UpdateAdministrativeState.json
*/
/**
* Sample code: NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen.
@@ -5349,14 +6826,20 @@ public final class NetworkTapsUpdateAdministrativeStateSamples {
```java
import com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationState;
import com.azure.resourcemanager.managednetworkfabric.models.BooleanEnumProperty;
+import com.azure.resourcemanager.managednetworkfabric.models.ConditionalDefaultRouteProperties;
import com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformation;
import com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformation;
import com.azure.resourcemanager.managednetworkfabric.models.IsManagementType;
import com.azure.resourcemanager.managednetworkfabric.models.Layer2Configuration;
-import com.azure.resourcemanager.managednetworkfabric.models.NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration;
+import com.azure.resourcemanager.managednetworkfabric.models.MicroBfdState;
+import com.azure.resourcemanager.managednetworkfabric.models.NniBmpProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NniStaticRouteConfiguration;
import com.azure.resourcemanager.managednetworkfabric.models.NniType;
import com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3Configuration;
+import com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3PrefixLimitProperties;
import com.azure.resourcemanager.managednetworkfabric.models.StaticRouteProperties;
import java.util.Arrays;
@@ -5365,9 +6848,7 @@ import java.util.Arrays;
*/
public final class NetworkToNetworkInterconnectsCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkToNetworkInterconnects_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Create.json
*/
/**
* Sample code: NetworkToNetworkInterconnects_Create_MaximumSet_Gen.
@@ -5378,26 +6859,34 @@ public final class NetworkToNetworkInterconnectsCreateSamples {
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.networkToNetworkInterconnects()
.define("example-nni")
- .withExistingNetworkFabric("example-rg", "example-fabric")
+ .withExistingNetworkFabric("example-rg", "example-nf")
.withUseOptionB(BooleanEnumProperty.TRUE)
.withNniType(NniType.CE)
.withIsManagementType(IsManagementType.TRUE)
.withLayer2Configuration(new Layer2Configuration().withMtu(1500)
.withInterfaces(Arrays.asList(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface")))
- .withOptionBLayer3Configuration(new NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration()
- .withPrimaryIpv4Prefix("10.0.0.12/30")
+ .withOptionBLayer3Configuration(new OptionBLayer3Configuration().withPrimaryIpv4Prefix("10.0.0.12/30")
.withPrimaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
.withSecondaryIpv4Prefix("40.0.0.14/30")
.withSecondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127")
.withPeerAsn(61234L)
- .withVlanId(1234))
+ .withVlanId(1234)
+ .withPeLoopbackIpAddress(Arrays.asList("10.0.0.1"))
+ .withBmpConfiguration(new NniBmpProperties().withConfigurationState(BmpConfigurationState.ENABLED))
+ .withPrefixLimits(Arrays.asList(new OptionBLayer3PrefixLimitProperties().withMaximumRoutes(24))))
.withNpbStaticRouteConfiguration(new NpbStaticRouteConfiguration()
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(25))
- .withIpv4Routes(Arrays.asList(
- new StaticRouteProperties().withPrefix("20.0.0.12/30").withNextHop(Arrays.asList("21.20.20.20"))))
- .withIpv6Routes(Arrays.asList(new StaticRouteProperties().withPrefix("3FFE:FFFF:0:CD30::ac/127")
- .withNextHop(Arrays.asList("4FFE:FFFF:0:CD30::ac")))))
+ .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
+ .withIpv4Routes(Arrays
+ .asList(new StaticRouteProperties().withPrefix("jffgck").withNextHop(Arrays.asList("10.0.0.1"))))
+ .withIpv6Routes(Arrays
+ .asList(new StaticRouteProperties().withPrefix("jffgck").withNextHop(Arrays.asList("10.0.0.1")))))
+ .withStaticRouteConfiguration(new NniStaticRouteConfiguration()
+ .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
+ .withIpv4Routes(Arrays
+ .asList(new StaticRouteProperties().withPrefix("jffgck").withNextHop(Arrays.asList("10.0.0.1"))))
+ .withIpv6Routes(Arrays
+ .asList(new StaticRouteProperties().withPrefix("2fff::/64").withNextHop(Arrays.asList("3ffe::1")))))
.withImportRoutePolicy(new ImportRoutePolicyInformation().withImportIpv4RoutePolicyId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
.withImportIpv6RoutePolicyId(
@@ -5410,6 +6899,12 @@ public final class NetworkToNetworkInterconnectsCreateSamples {
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
.withIngressAclId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
+ .withMicroBfdState(MicroBfdState.ENABLED)
+ .withConditionalDefaultRouteConfiguration(new ConditionalDefaultRouteProperties()
+ .withIpv4Routes(Arrays.asList(
+ new StaticRouteProperties().withPrefix("10.0.0.1/24").withNextHop(Arrays.asList("10.0.0.1"))))
+ .withIpv6Routes(Arrays.asList(
+ new StaticRouteProperties().withPrefix("fe08:00/64").withNextHop(Arrays.asList("fe01::1")))))
.create();
}
}
@@ -5423,9 +6918,7 @@ public final class NetworkToNetworkInterconnectsCreateSamples {
*/
public final class NetworkToNetworkInterconnectsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkToNetworkInterconnects_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Delete.json
*/
/**
* Sample code: NetworkToNetworkInterconnects_Delete_MaximumSet_Gen.
@@ -5435,7 +6928,7 @@ public final class NetworkToNetworkInterconnectsDeleteSamples {
public static void networkToNetworkInterconnectsDeleteMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.networkToNetworkInterconnects()
- .delete("example-rg", "example-fabric", "example-nni", com.azure.core.util.Context.NONE);
+ .delete("example-rg", "example-nf", "example-nni", com.azure.core.util.Context.NONE);
}
}
```
@@ -5448,9 +6941,7 @@ public final class NetworkToNetworkInterconnectsDeleteSamples {
*/
public final class NetworkToNetworkInterconnectsGetSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Get.json
*/
/**
* Sample code: NetworkToNetworkInterconnects_Get_MaximumSet_Gen.
@@ -5460,7 +6951,7 @@ public final class NetworkToNetworkInterconnectsGetSamples {
public static void networkToNetworkInterconnectsGetMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.networkToNetworkInterconnects()
- .getWithResponse("example-rg", "example-fabric", "example-nni", com.azure.core.util.Context.NONE);
+ .getWithResponse("example-rg", "example-nf", "example-nni", com.azure.core.util.Context.NONE);
}
}
```
@@ -5473,9 +6964,7 @@ public final class NetworkToNetworkInterconnectsGetSamples {
*/
public final class NetworkToNetworkInterconnectsListByNetworkFabricSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_ListByNetworkFabric.json
*/
/**
* Sample code: NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen.
@@ -5485,7 +6974,7 @@ public final class NetworkToNetworkInterconnectsListByNetworkFabricSamples {
public static void networkToNetworkInterconnectsListByNetworkFabricMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.networkToNetworkInterconnects()
- .listByNetworkFabric("example-rg", "example-fabric", com.azure.core.util.Context.NONE);
+ .listByNetworkFabric("example-rg", "example-nf", com.azure.core.util.Context.NONE);
}
}
```
@@ -5493,14 +6982,19 @@ public final class NetworkToNetworkInterconnectsListByNetworkFabricSamples {
### NetworkToNetworkInterconnects_Update
```java
-import com.azure.resourcemanager.managednetworkfabric.models.BfdConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformation;
-import com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformation;
-import com.azure.resourcemanager.managednetworkfabric.models.Layer2Configuration;
+import com.azure.resourcemanager.managednetworkfabric.models.BfdPatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.BmpConfigurationState;
+import com.azure.resourcemanager.managednetworkfabric.models.ExportRoutePolicyInformationPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ImportRoutePolicyInformationPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.Layer2ConfigurationPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.MicroBfdState;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkToNetworkInterconnect;
-import com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfiguration;
-import com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3Configuration;
-import com.azure.resourcemanager.managednetworkfabric.models.StaticRouteProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NniBmpPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.NniStaticRoutePatchConfiguration;
+import com.azure.resourcemanager.managednetworkfabric.models.NpbStaticRouteConfigurationPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3ConfigurationPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.OptionBLayer3PrefixLimitPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.StaticRoutePatchProperties;
import java.util.Arrays;
/**
@@ -5508,9 +7002,7 @@ import java.util.Arrays;
*/
public final class NetworkToNetworkInterconnectsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkToNetworkInterconnects_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_Update.json
*/
/**
* Sample code: NetworkToNetworkInterconnects_Update_MaximumSet_Gen.
@@ -5520,36 +7012,47 @@ public final class NetworkToNetworkInterconnectsUpdateSamples {
public static void networkToNetworkInterconnectsUpdateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
NetworkToNetworkInterconnect resource = manager.networkToNetworkInterconnects()
- .getWithResponse("example-rg", "example-fabric", "example-nni", com.azure.core.util.Context.NONE)
+ .getWithResponse("example-rg", "example-nf", "example-nni", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withLayer2Configuration(new Layer2Configuration().withMtu(1500)
+ .withLayer2Configuration(new Layer2ConfigurationPatch().withMtu(1500)
.withInterfaces(Arrays.asList(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface")))
- .withOptionBLayer3Configuration(new OptionBLayer3Configuration().withPrimaryIpv4Prefix("20.0.0.12/29")
+ .withOptionBLayer3Configuration(new OptionBLayer3ConfigurationPatchProperties()
+ .withPrimaryIpv4Prefix("20.0.0.12/29")
.withPrimaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
.withSecondaryIpv4Prefix("20.0.0.14/29")
.withSecondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127")
.withPeerAsn(2345L)
- .withVlanId(1235))
- .withNpbStaticRouteConfiguration(new NpbStaticRouteConfiguration()
- .withBfdConfiguration(new BfdConfiguration().withIntervalInMilliSeconds(310).withMultiplier(15))
+ .withVlanId(1235)
+ .withPeLoopbackIpAddress(Arrays.asList("10.0.0.1"))
+ .withBmpConfiguration(new NniBmpPatchProperties().withConfigurationState(BmpConfigurationState.ENABLED))
+ .withPrefixLimits(Arrays.asList(new OptionBLayer3PrefixLimitPatchProperties().withMaximumRoutes(1))))
+ .withNpbStaticRouteConfiguration(new NpbStaticRouteConfigurationPatch()
+ .withBfdConfiguration(new BfdPatchConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
.withIpv4Routes(Arrays.asList(
- new StaticRouteProperties().withPrefix("20.0.0.11/30").withNextHop(Arrays.asList("21.20.20.10"))))
- .withIpv6Routes(Arrays.asList(new StaticRouteProperties().withPrefix("4FFE:FFFF:0:CD30::ac/127")
- .withNextHop(Arrays.asList("5FFE:FFFF:0:CD30::ac")))))
- .withImportRoutePolicy(new ImportRoutePolicyInformation().withImportIpv4RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy1")
+ new StaticRoutePatchProperties().withPrefix("10.0.0.1/24").withNextHop(Arrays.asList("10.0.0.1"))))
+ .withIpv6Routes(Arrays.asList(
+ new StaticRoutePatchProperties().withPrefix("fe80::/64").withNextHop(Arrays.asList("fe80::1")))))
+ .withStaticRouteConfiguration(new NniStaticRoutePatchConfiguration()
+ .withBfdConfiguration(new BfdPatchConfiguration().withIntervalInMilliSeconds(300).withMultiplier(10))
+ .withIpv4Routes(Arrays.asList(
+ new StaticRoutePatchProperties().withPrefix("10.0.0.1").withNextHop(Arrays.asList("10.0.0.1"))))
+ .withIpv6Routes(Arrays.asList(
+ new StaticRoutePatchProperties().withPrefix("2fff::/64").withNextHop(Arrays.asList("3ffe::1")))))
+ .withImportRoutePolicy(new ImportRoutePolicyInformationPatch().withImportIpv4RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
.withImportIpv6RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy1"))
- .withExportRoutePolicy(new ExportRoutePolicyInformation().withExportIpv4RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy1")
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy"))
+ .withExportRoutePolicy(new ExportRoutePolicyInformationPatch().withExportIpv4RoutePolicyId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
.withExportIpv6RoutePolicyId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy1"))
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy"))
.withEgressAclId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
.withIngressAclId(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
+ .withMicroBfdState(MicroBfdState.ENABLED)
.apply();
}
}
@@ -5567,20 +7070,50 @@ import java.util.Arrays;
*/
public final class NetworkToNetworkInterconnectsUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkToNetworkInterconnects_updateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_UpdateAdministrativeState.json
*/
/**
- * Sample code: NetworkToNetworkInterconnects_updateAdministrativeState_MaximumSet_Gen.
+ * Sample code: NetworkToNetworkInterconnects_UpdateAdministrativeState_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
public static void networkToNetworkInterconnectsUpdateAdministrativeStateMaximumSetGen(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.networkToNetworkInterconnects()
- .updateAdministrativeState("example-rg", "example-fabric", "example-nni",
- new UpdateAdministrativeState().withResourceIds(Arrays.asList("")).withState(EnableDisableState.ENABLE),
+ .updateAdministrativeState("example-rg", "example-nf", "example-nni",
+ new UpdateAdministrativeState().withResourceIds(Arrays.asList(
+ "/subscriptions/0000ABCD-0A0B-0000-0000-000000ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-nf/networkToNetworkInterconnects/example-nni"))
+ .withState(EnableDisableState.ENABLE),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NetworkToNetworkInterconnects_UpdateBfdAdministrativeState
+
+```java
+import com.azure.resourcemanager.managednetworkfabric.models.BfdAdministrativeState;
+import com.azure.resourcemanager.managednetworkfabric.models.NniUpdateBfdAdministrativeStateRequest;
+import com.azure.resourcemanager.managednetworkfabric.models.RouteType;
+
+/**
+ * Samples for NetworkToNetworkInterconnects UpdateBfdAdministrativeState.
+ */
+public final class NetworkToNetworkInterconnectsUpdateBfdAdministrativeStateSamples {
+ /*
+ * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json
+ */
+ /**
+ * Sample code: NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.
+ *
+ * @param manager Entry point to ManagedNetworkFabricManager.
+ */
+ public static void networkToNetworkInterconnectsUpdateBfdAdministrativeState(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ manager.networkToNetworkInterconnects()
+ .updateBfdAdministrativeState("example-rg", "example-nf", "example-nni",
+ new NniUpdateBfdAdministrativeStateRequest().withRouteType(RouteType.STATIC)
+ .withAdministrativeState(BfdAdministrativeState.fromString("Enable")),
com.azure.core.util.Context.NONE);
}
}
@@ -5596,18 +7129,16 @@ import java.util.Arrays;
/**
* Samples for NetworkToNetworkInterconnects UpdateNpbStaticRouteBfdAdministrativeState.
*/
-public final class NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeState {
+public final class NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeStSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * NetworkToNetworkInterconnects_updateNpbStaticRouteBfdAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json
*/
/**
- * Sample code: NetworkToNetworkInterconnects_updateNpbStaticRouteBfdAdministrativeState_MaximumSet_Gen.
+ * Sample code: NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void networkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeStateMaximumSetGen(
+ public static void networkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeState(
com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.networkToNetworkInterconnects()
.updateNpbStaticRouteBfdAdministrativeState("example-rg", "example-fabric", "example-nni",
@@ -5625,17 +7156,15 @@ public final class NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministr
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * ListOperations.json
+ * x-ms-original-file: 2025-07-15/Operations_List.json
*/
/**
- * Sample code: ListOperations.
+ * Sample code: Operations_List_MaximumSet_Gen.
*
* @param manager Entry point to ManagedNetworkFabricManager.
*/
- public static void
- listOperations(com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
+ public static void operationsListMaximumSetGen(
+ com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager) {
manager.operations().list(com.azure.core.util.Context.NONE);
}
}
@@ -5649,9 +7178,7 @@ public final class OperationsListSamples {
*/
public final class RoutePoliciesCommitConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * RoutePolicies_CommitConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/RoutePolicies_CommitConfiguration.json
*/
/**
* Sample code: RoutePolicies_CommitConfiguration_MaximumSet_Gen.
@@ -5689,9 +7216,7 @@ import java.util.Map;
*/
public final class RoutePoliciesCreateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * RoutePolicies_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/RoutePolicies_Create.json
*/
/**
* Sample code: RoutePolicies_Create_MaximumSet_Gen.
@@ -5704,20 +7229,15 @@ public final class RoutePoliciesCreateSamples {
.define("example-routePolicy")
.withRegion("eastus")
.withExistingResourceGroup("example-rg")
- .withNetworkFabricId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric")
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
- .withAddressFamilyType(AddressFamilyType.IPV4)
- .withDefaultAction(CommunityActionTypes.DENY)
.withStatements(Arrays.asList(new RoutePolicyStatementProperties().withAnnotation("annotation")
.withSequenceNumber(7L)
.withCondition(new StatementConditionProperties().withIpCommunityIds(Arrays.asList(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"))
+ .withIpExtendedCommunityIds(Arrays.asList(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"))
.withType(RoutePolicyConditionType.OR)
.withIpPrefixId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix")
- .withIpExtendedCommunityIds(Arrays.asList(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")))
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix"))
.withAction(new StatementActionProperties().withLocalPreference(20L)
.withActionType(RoutePolicyActionType.PERMIT)
.withIpCommunityProperties(new ActionIpCommunityProperties()
@@ -5734,7 +7254,12 @@ public final class RoutePoliciesCreateSamples {
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")))
.withSet(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")))))))
+ .withNetworkFabricId(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric")
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
.withAnnotation("annotation")
+ .withDefaultAction(CommunityActionTypes.PERMIT)
+ .withAddressFamilyType(AddressFamilyType.IPV4)
.create();
}
@@ -5760,9 +7285,7 @@ public final class RoutePoliciesCreateSamples {
*/
public final class RoutePoliciesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * RoutePolicies_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/RoutePolicies_Delete.json
*/
/**
* Sample code: RoutePolicies_Delete_MaximumSet_Gen.
@@ -5784,9 +7307,7 @@ public final class RoutePoliciesDeleteSamples {
*/
public final class RoutePoliciesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * RoutePolicies_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/RoutePolicies_Get.json
*/
/**
* Sample code: RoutePolicies_Get_MaximumSet_Gen.
@@ -5809,9 +7330,7 @@ public final class RoutePoliciesGetByResourceGroupSamples {
*/
public final class RoutePoliciesListSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * RoutePolicies_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/RoutePolicies_ListBySubscription.json
*/
/**
* Sample code: RoutePolicies_ListBySubscription_MaximumSet_Gen.
@@ -5833,9 +7352,7 @@ public final class RoutePoliciesListSamples {
*/
public final class RoutePoliciesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * RoutePolicies_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/RoutePolicies_ListByResourceGroup.json
*/
/**
* Sample code: RoutePolicies_ListByResourceGroup_MaximumSet_Gen.
@@ -5852,17 +7369,17 @@ public final class RoutePoliciesListByResourceGroupSamples {
### RoutePolicies_Update
```java
-import com.azure.resourcemanager.managednetworkfabric.models.ActionIpCommunityProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.ActionIpExtendedCommunityProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.ActionIpCommunityPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.ActionIpExtendedCommunityPatchProperties;
import com.azure.resourcemanager.managednetworkfabric.models.CommunityActionTypes;
import com.azure.resourcemanager.managednetworkfabric.models.IpCommunityIdList;
import com.azure.resourcemanager.managednetworkfabric.models.IpExtendedCommunityIdList;
import com.azure.resourcemanager.managednetworkfabric.models.RoutePolicy;
import com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyActionType;
import com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyConditionType;
-import com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.StatementActionProperties;
-import com.azure.resourcemanager.managednetworkfabric.models.StatementConditionProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.RoutePolicyStatementPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.StatementActionPatchProperties;
+import com.azure.resourcemanager.managednetworkfabric.models.StatementConditionPatchProperties;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -5872,9 +7389,7 @@ import java.util.Map;
*/
public final class RoutePoliciesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * RoutePolicies_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/RoutePolicies_Update.json
*/
/**
* Sample code: RoutePolicies_Update_MaximumSet_Gen.
@@ -5887,27 +7402,28 @@ public final class RoutePoliciesUpdateSamples {
.getByResourceGroupWithResponse("example-rg", "example-routePolicy", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("keyID", "fakeTokenPlaceholder"))
- .withDefaultAction(CommunityActionTypes.DENY)
- .withStatements(Arrays.asList(new RoutePolicyStatementProperties().withAnnotation("annotation")
+ .withTags(mapOf("keyId", "fakeTokenPlaceholder"))
+ .withDefaultAction(CommunityActionTypes.PERMIT)
+ .withStatementsForUpdate(Arrays.asList(new RoutePolicyStatementPatchProperties()
+ .withAnnotation("annotation")
.withSequenceNumber(7L)
- .withCondition(new StatementConditionProperties().withIpCommunityIds(Arrays.asList(
+ .withCondition(new StatementConditionPatchProperties().withIpCommunityIds(Arrays.asList(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"))
+ .withIpExtendedCommunityIds(Arrays.asList(
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"))
.withType(RoutePolicyConditionType.OR)
.withIpPrefixId(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix")
- .withIpExtendedCommunityIds(Arrays.asList(
- "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")))
- .withAction(new StatementActionProperties().withLocalPreference(20L)
+ "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix"))
+ .withAction(new StatementActionPatchProperties().withLocalPreference(20L)
.withActionType(RoutePolicyActionType.PERMIT)
- .withIpCommunityProperties(new ActionIpCommunityProperties()
+ .withIpCommunityProperties(new ActionIpCommunityPatchProperties()
.withAdd(new IpCommunityIdList().withIpCommunityIds(Arrays.asList(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity")))
.withDelete(new IpCommunityIdList().withIpCommunityIds(Arrays.asList(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity")))
.withSet(new IpCommunityIdList().withIpCommunityIds(Arrays.asList(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"))))
- .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityProperties()
+ .withIpExtendedCommunityProperties(new ActionIpExtendedCommunityPatchProperties()
.withAdd(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList(
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")))
.withDelete(new IpExtendedCommunityIdList().withIpExtendedCommunityIds(Arrays.asList(
@@ -5943,9 +7459,7 @@ import java.util.Arrays;
*/
public final class RoutePoliciesUpdateAdministrativeStateSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/RoutePolicies_UpdateAdministrativeState.json
*/
/**
* Sample code: RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen.
@@ -5970,9 +7484,7 @@ public final class RoutePoliciesUpdateAdministrativeStateSamples {
*/
public final class RoutePoliciesValidateConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/
- * RoutePolicies_ValidateConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2025-07-15/RoutePolicies_ValidateConfiguration.json
*/
/**
* Sample code: RoutePolicies_ValidateConfiguration_MaximumSet_Gen.
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/pom.xml b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/pom.xml
index 3bde1bcfb91f..26b7c0895022 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/pom.xml
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/pom.xml
@@ -1,9 +1,9 @@
-
+
4.0.0
com.azure
@@ -14,11 +14,11 @@
com.azure.resourcemanager
azure-resourcemanager-managednetworkfabric
- 1.2.0-beta.1
+ 1.2.0
jar
Microsoft Azure SDK for Managed Network Fabric Management
- 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.
+ 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.
https://github.com/Azure/azure-sdk-for-java
@@ -45,8 +45,6 @@
UTF-8
0
0
- false
- true
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/ManagedNetworkFabricManager.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/ManagedNetworkFabricManager.java
index 1967b45ba68b..2011a02ae308 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/ManagedNetworkFabricManager.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/ManagedNetworkFabricManager.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric;
@@ -22,10 +22,10 @@
import com.azure.core.http.policy.UserAgentPolicy;
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.util.Configuration;
+import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.managednetworkfabric.fluent.AzureNetworkFabricManagementServiceApi;
+import com.azure.resourcemanager.managednetworkfabric.fluent.ManagedNetworkFabricManagementClient;
import com.azure.resourcemanager.managednetworkfabric.implementation.AccessControlListsImpl;
-import com.azure.resourcemanager.managednetworkfabric.implementation.AzureNetworkFabricManagementServiceApiBuilder;
import com.azure.resourcemanager.managednetworkfabric.implementation.ExternalNetworksImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.InternalNetworksImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.InternetGatewayRulesImpl;
@@ -35,13 +35,17 @@
import com.azure.resourcemanager.managednetworkfabric.implementation.IpPrefixesImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.L2IsolationDomainsImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.L3IsolationDomainsImpl;
+import com.azure.resourcemanager.managednetworkfabric.implementation.ManagedNetworkFabricManagementClientBuilder;
import com.azure.resourcemanager.managednetworkfabric.implementation.NeighborGroupsImpl;
+import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkBootstrapDevicesImpl;
+import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkBootstrapInterfacesImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkDeviceSkusImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkDevicesImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricControllersImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricSkusImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkFabricsImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkInterfacesImpl;
+import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkMonitorsImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkPacketBrokersImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkRacksImpl;
import com.azure.resourcemanager.managednetworkfabric.implementation.NetworkTapRulesImpl;
@@ -60,12 +64,15 @@
import com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomains;
import com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomains;
import com.azure.resourcemanager.managednetworkfabric.models.NeighborGroups;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapDevices;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkBootstrapInterfaces;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkDeviceSkus;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkDevices;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricControllers;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricSkus;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkFabrics;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkInterfaces;
+import com.azure.resourcemanager.managednetworkfabric.models.NetworkMonitors;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkPacketBrokers;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkRacks;
import com.azure.resourcemanager.managednetworkfabric.models.NetworkTapRules;
@@ -77,6 +84,7 @@
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import java.util.List;
+import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors;
@@ -85,12 +93,14 @@
* Self service experience for Azure Network Fabric API.
*/
public final class ManagedNetworkFabricManager {
- private AccessControlLists accessControlLists;
+ private Operations operations;
- private InternetGateways internetGateways;
+ private AccessControlLists accessControlLists;
private InternetGatewayRules internetGatewayRules;
+ private InternetGateways internetGateways;
+
private IpCommunities ipCommunities;
private IpExtendedCommunities ipExtendedCommunities;
@@ -129,16 +139,20 @@ public final class ManagedNetworkFabricManager {
private NetworkTaps networkTaps;
- private Operations operations;
-
private RoutePolicies routePolicies;
- private final AzureNetworkFabricManagementServiceApi clientObject;
+ private NetworkMonitors networkMonitors;
+
+ private NetworkBootstrapDevices networkBootstrapDevices;
+
+ private NetworkBootstrapInterfaces networkBootstrapInterfaces;
+
+ private final ManagedNetworkFabricManagementClient clientObject;
private ManagedNetworkFabricManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject = new AzureNetworkFabricManagementServiceApiBuilder().pipeline(httpPipeline)
+ this.clientObject = new ManagedNetworkFabricManagementClientBuilder().pipeline(httpPipeline)
.endpoint(profile.getEnvironment().getResourceManagerEndpoint())
.subscriptionId(profile.getSubscriptionId())
.defaultPollInterval(defaultPollInterval)
@@ -185,6 +199,9 @@ public static Configurable configure() {
*/
public static final class Configurable {
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
+ private static final String SDK_VERSION = "version";
+ private static final Map PROPERTIES
+ = CoreUtils.getProperties("azure-resourcemanager-managednetworkfabric.properties");
private HttpClient httpClient;
private HttpLogOptions httpLogOptions;
@@ -292,12 +309,14 @@ public ManagedNetworkFabricManager authenticate(TokenCredential credential, Azur
Objects.requireNonNull(credential, "'credential' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
+ String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion");
+
StringBuilder userAgentBuilder = new StringBuilder();
userAgentBuilder.append("azsdk-java")
.append("-")
.append("com.azure.resourcemanager.managednetworkfabric")
.append("/")
- .append("1.1.0");
+ .append(clientVersion);
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
@@ -344,27 +363,27 @@ public ManagedNetworkFabricManager authenticate(TokenCredential credential, Azur
}
/**
- * Gets the resource collection API of AccessControlLists. It manages AccessControlList.
+ * Gets the resource collection API of Operations.
*
- * @return Resource collection API of AccessControlLists.
+ * @return Resource collection API of Operations.
*/
- public AccessControlLists accessControlLists() {
- if (this.accessControlLists == null) {
- this.accessControlLists = new AccessControlListsImpl(clientObject.getAccessControlLists(), this);
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
- return accessControlLists;
+ return operations;
}
/**
- * Gets the resource collection API of InternetGateways. It manages InternetGateway.
+ * Gets the resource collection API of AccessControlLists. It manages AccessControlList.
*
- * @return Resource collection API of InternetGateways.
+ * @return Resource collection API of AccessControlLists.
*/
- public InternetGateways internetGateways() {
- if (this.internetGateways == null) {
- this.internetGateways = new InternetGatewaysImpl(clientObject.getInternetGateways(), this);
+ public AccessControlLists accessControlLists() {
+ if (this.accessControlLists == null) {
+ this.accessControlLists = new AccessControlListsImpl(clientObject.getAccessControlLists(), this);
}
- return internetGateways;
+ return accessControlLists;
}
/**
@@ -379,6 +398,18 @@ public InternetGatewayRules internetGatewayRules() {
return internetGatewayRules;
}
+ /**
+ * Gets the resource collection API of InternetGateways. It manages InternetGateway.
+ *
+ * @return Resource collection API of InternetGateways.
+ */
+ public InternetGateways internetGateways() {
+ if (this.internetGateways == null) {
+ this.internetGateways = new InternetGatewaysImpl(clientObject.getInternetGateways(), this);
+ }
+ return internetGateways;
+ }
+
/**
* Gets the resource collection API of IpCommunities. It manages IpCommunity.
*
@@ -609,18 +640,6 @@ public NetworkTaps networkTaps() {
return networkTaps;
}
- /**
- * Gets the resource collection API of Operations.
- *
- * @return Resource collection API of Operations.
- */
- public Operations operations() {
- if (this.operations == null) {
- this.operations = new OperationsImpl(clientObject.getOperations(), this);
- }
- return operations;
- }
-
/**
* Gets the resource collection API of RoutePolicies. It manages RoutePolicy.
*
@@ -634,12 +653,50 @@ public RoutePolicies routePolicies() {
}
/**
- * Gets wrapped service client AzureNetworkFabricManagementServiceApi providing direct access to the underlying
+ * Gets the resource collection API of NetworkMonitors. It manages NetworkMonitor.
+ *
+ * @return Resource collection API of NetworkMonitors.
+ */
+ public NetworkMonitors networkMonitors() {
+ if (this.networkMonitors == null) {
+ this.networkMonitors = new NetworkMonitorsImpl(clientObject.getNetworkMonitors(), this);
+ }
+ return networkMonitors;
+ }
+
+ /**
+ * Gets the resource collection API of NetworkBootstrapDevices. It manages NetworkBootstrapDevice.
+ *
+ * @return Resource collection API of NetworkBootstrapDevices.
+ */
+ public NetworkBootstrapDevices networkBootstrapDevices() {
+ if (this.networkBootstrapDevices == null) {
+ this.networkBootstrapDevices
+ = new NetworkBootstrapDevicesImpl(clientObject.getNetworkBootstrapDevices(), this);
+ }
+ return networkBootstrapDevices;
+ }
+
+ /**
+ * Gets the resource collection API of NetworkBootstrapInterfaces. It manages NetworkBootstrapInterface.
+ *
+ * @return Resource collection API of NetworkBootstrapInterfaces.
+ */
+ public NetworkBootstrapInterfaces networkBootstrapInterfaces() {
+ if (this.networkBootstrapInterfaces == null) {
+ this.networkBootstrapInterfaces
+ = new NetworkBootstrapInterfacesImpl(clientObject.getNetworkBootstrapInterfaces(), this);
+ }
+ return networkBootstrapInterfaces;
+ }
+
+ /**
+ * Gets wrapped service client ManagedNetworkFabricManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
*
- * @return Wrapped service client AzureNetworkFabricManagementServiceApi.
+ * @return Wrapped service client ManagedNetworkFabricManagementClient.
*/
- public AzureNetworkFabricManagementServiceApi serviceClient() {
+ public ManagedNetworkFabricManagementClient serviceClient() {
return this.clientObject;
}
}
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/AccessControlListsClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/AccessControlListsClient.java
index 7749316e9357..309d6bbd1773 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/AccessControlListsClient.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/AccessControlListsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric.fluent;
@@ -13,6 +13,7 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.AccessControlListInner;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner;
+import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner;
import com.azure.resourcemanager.managednetworkfabric.models.AccessControlListPatch;
import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState;
@@ -22,43 +23,34 @@
*/
public interface AccessControlListsClient {
/**
- * Creates Access Control List.
- *
- * Implements Access Control List PUT method.
+ * Implements Access Control List GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accessControlListName Name of the Access Control List.
- * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the Access Control List resource definition.
+ * @return the Access Control List resource definition along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AccessControlListInner> beginCreate(String resourceGroupName,
- String accessControlListName, AccessControlListInner body);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String accessControlListName, Context context);
/**
- * Creates Access Control List.
- *
- * Implements Access Control List PUT method.
+ * Implements Access Control List GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accessControlListName Name of the Access Control List.
- * @param body Request payload.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the Access Control List resource definition.
+ * @return the Access Control List resource definition.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AccessControlListInner> beginCreate(String resourceGroupName,
- String accessControlListName, AccessControlListInner body, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AccessControlListInner getByResourceGroup(String resourceGroupName, String accessControlListName);
/**
- * Creates Access Control List.
- *
* Implements Access Control List PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -67,14 +59,13 @@ SyncPoller, AccessControlListInner> beginCrea
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Access Control List resource definition.
+ * @return the {@link SyncPoller} for polling of the Access Control List resource definition.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- AccessControlListInner create(String resourceGroupName, String accessControlListName, AccessControlListInner body);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AccessControlListInner> beginCreate(String resourceGroupName,
+ String accessControlListName, AccessControlListInner body);
/**
- * Creates Access Control List.
- *
* Implements Access Control List PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -84,47 +75,43 @@ SyncPoller, AccessControlListInner> beginCrea
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Access Control List resource definition.
+ * @return the {@link SyncPoller} for polling of the Access Control List resource definition.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- AccessControlListInner create(String resourceGroupName, String accessControlListName, AccessControlListInner body,
- Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AccessControlListInner> beginCreate(String resourceGroupName,
+ String accessControlListName, AccessControlListInner body, Context context);
/**
- * Gets a Access Control List.
- *
- * Implements Access Control List GET method.
+ * Implements Access Control List PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accessControlListName Name of the Access Control List.
- * @param context The context to associate with this operation.
+ * @param body Request payload.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Access Control List resource definition along with {@link Response}.
+ * @return the Access Control List resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName,
- String accessControlListName, Context context);
+ AccessControlListInner create(String resourceGroupName, String accessControlListName, AccessControlListInner body);
/**
- * Gets a Access Control List.
- *
- * Implements Access Control List GET method.
+ * Implements Access Control List PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accessControlListName Name of the Access Control List.
+ * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the Access Control List resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AccessControlListInner getByResourceGroup(String resourceGroupName, String accessControlListName);
+ AccessControlListInner create(String resourceGroupName, String accessControlListName, AccessControlListInner body,
+ Context context);
/**
- * Updates the Access Control List.
- *
* API to update certain properties of the Access Control List resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -140,8 +127,6 @@ SyncPoller, AccessControlListInner> beginUpda
String accessControlListName, AccessControlListPatch body);
/**
- * Updates the Access Control List.
- *
* API to update certain properties of the Access Control List resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -158,8 +143,6 @@ SyncPoller, AccessControlListInner> beginUpda
String accessControlListName, AccessControlListPatch body, Context context);
/**
- * Updates the Access Control List.
- *
* API to update certain properties of the Access Control List resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -174,8 +157,6 @@ SyncPoller, AccessControlListInner> beginUpda
AccessControlListInner update(String resourceGroupName, String accessControlListName, AccessControlListPatch body);
/**
- * Updates the Access Control List.
- *
* API to update certain properties of the Access Control List resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -192,8 +173,6 @@ AccessControlListInner update(String resourceGroupName, String accessControlList
Context context);
/**
- * Deletes a Access Control List.
- *
* Implements Access Control List DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -207,8 +186,6 @@ AccessControlListInner update(String resourceGroupName, String accessControlList
SyncPoller, Void> beginDelete(String resourceGroupName, String accessControlListName);
/**
- * Deletes a Access Control List.
- *
* Implements Access Control List DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -224,8 +201,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
Context context);
/**
- * Deletes a Access Control List.
- *
* Implements Access Control List DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -238,8 +213,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String accessControlListName);
/**
- * Deletes a Access Control List.
- *
* Implements Access Control List DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -253,22 +226,18 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String accessControlListName, Context context);
/**
- * List AccessControlLists by resource group.
- *
* Implements AccessControlLists list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Access Control Lists as paginated response with {@link PagedIterable}.
+ * @return paged collection of AccessControlList items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * List AccessControlLists by resource group.
- *
* Implements AccessControlLists list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -276,40 +245,34 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Access Control Lists as paginated response with {@link PagedIterable}.
+ * @return paged collection of AccessControlList items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * List AccessControlLists by subscription.
- *
* Implements AccessControlLists list by subscription GET method.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Access Control Lists as paginated response with {@link PagedIterable}.
+ * @return paged collection of AccessControlList items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
- * List AccessControlLists by subscription.
- *
* Implements AccessControlLists list by subscription GET method.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Access Control Lists as paginated response with {@link PagedIterable}.
+ * @return paged collection of AccessControlList items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
/**
- * Updates administrative state of Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -318,16 +281,14 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateAdministrativeState(String resourceGroupName, String accessControlListName,
UpdateAdministrativeState body);
/**
- * Updates administrative state of Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -337,16 +298,14 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateAdministrativeState(String resourceGroupName, String accessControlListName,
UpdateAdministrativeState body, Context context);
/**
- * Updates administrative state of Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -355,15 +314,13 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resourceGroupName,
String accessControlListName, UpdateAdministrativeState body);
/**
- * Updates administrative state of Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -373,15 +330,13 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resourceGroupName,
String accessControlListName, UpdateAdministrativeState body, Context context);
/**
- * Resync operation on the Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -389,15 +344,13 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CommonPostActionResponseForStateUpdateInner>
beginResync(String resourceGroupName, String accessControlListName);
/**
- * Resync operation on the Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -406,15 +359,13 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CommonPostActionResponseForStateUpdateInner>
beginResync(String resourceGroupName, String accessControlListName, Context context);
/**
- * Resync operation on the Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -422,14 +373,12 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CommonPostActionResponseForStateUpdateInner resync(String resourceGroupName, String accessControlListName);
/**
- * Resync operation on the Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -438,15 +387,13 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CommonPostActionResponseForStateUpdateInner resync(String resourceGroupName, String accessControlListName,
Context context);
/**
- * Validates the configuration of the Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -454,15 +401,13 @@ CommonPostActionResponseForStateUpdateInner resync(String resourceGroupName, Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the response of the action validate configuration.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ValidateConfigurationResponseInner>
beginValidateConfiguration(String resourceGroupName, String accessControlListName);
/**
- * Validates the configuration of the Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -471,15 +416,13 @@ CommonPostActionResponseForStateUpdateInner resync(String resourceGroupName, Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the response of the action validate configuration.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ValidateConfigurationResponseInner>
beginValidateConfiguration(String resourceGroupName, String accessControlListName, Context context);
/**
- * Validates the configuration of the Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -487,14 +430,12 @@ CommonPostActionResponseForStateUpdateInner resync(String resourceGroupName, Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of the action validate configuration.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String accessControlListName);
/**
- * Validates the configuration of the Access Control Lists.
- *
* Implements the operation to the underlying resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -503,7 +444,7 @@ CommonPostActionResponseForStateUpdateInner resync(String resourceGroupName, Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of the action validate configuration.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String accessControlListName,
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ExternalNetworksClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ExternalNetworksClient.java
index 536ab3d6de1a..0768c435f97b 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ExternalNetworksClient.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/ExternalNetworksClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric.fluent;
@@ -11,9 +11,11 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkInner;
+import com.azure.resourcemanager.managednetworkfabric.fluent.models.ExternalNetworkUpdateBfdAdministrativeStateResponseInner;
+import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner;
import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.ExternalNetworkUpdateBfdAdministrativeStateRequest;
import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState;
/**
@@ -21,45 +23,36 @@
*/
public interface ExternalNetworksClient {
/**
- * Creates ExternalNetwork for Layer3 Isolation Domain for communication of computes with external services
- *
- * Creates ExternalNetwork PUT method.
+ * Implements ExternalNetworks GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
* @param externalNetworkName Name of the External Network.
- * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of defines the External Network resource.
+ * @return defines the External Network resource along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ExternalNetworkInner> beginCreate(String resourceGroupName,
- String l3IsolationDomainName, String externalNetworkName, ExternalNetworkInner body);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String l3IsolationDomainName,
+ String externalNetworkName, Context context);
/**
- * Creates ExternalNetwork for Layer3 Isolation Domain for communication of computes with external services
- *
- * Creates ExternalNetwork PUT method.
+ * Implements ExternalNetworks GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
* @param externalNetworkName Name of the External Network.
- * @param body Request payload.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of defines the External Network resource.
+ * @return defines the External Network resource.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ExternalNetworkInner> beginCreate(String resourceGroupName,
- String l3IsolationDomainName, String externalNetworkName, ExternalNetworkInner body, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalNetworkInner get(String resourceGroupName, String l3IsolationDomainName, String externalNetworkName);
/**
- * Creates ExternalNetwork for Layer3 Isolation Domain for communication of computes with external services
- *
* Creates ExternalNetwork PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -69,15 +62,13 @@ SyncPoller, ExternalNetworkInner> beginCreate(S
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return defines the External Network resource.
+ * @return the {@link SyncPoller} for polling of defines the External Network resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- ExternalNetworkInner create(String resourceGroupName, String l3IsolationDomainName, String externalNetworkName,
- ExternalNetworkInner body);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalNetworkInner> beginCreate(String resourceGroupName,
+ String l3IsolationDomainName, String externalNetworkName, ExternalNetworkInner body);
/**
- * Creates ExternalNetwork for Layer3 Isolation Domain for communication of computes with external services
- *
* Creates ExternalNetwork PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -88,49 +79,46 @@ ExternalNetworkInner create(String resourceGroupName, String l3IsolationDomainNa
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return defines the External Network resource.
+ * @return the {@link SyncPoller} for polling of defines the External Network resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- ExternalNetworkInner create(String resourceGroupName, String l3IsolationDomainName, String externalNetworkName,
- ExternalNetworkInner body, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalNetworkInner> beginCreate(String resourceGroupName,
+ String l3IsolationDomainName, String externalNetworkName, ExternalNetworkInner body, Context context);
/**
- * Retrieves details of ExternalNetwork.
- *
- * Implements ExternalNetworks GET method.
+ * Creates ExternalNetwork PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
* @param externalNetworkName Name of the External Network.
- * @param context The context to associate with this operation.
+ * @param body Request payload.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return defines the External Network resource along with {@link Response}.
+ * @return defines the External Network resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String l3IsolationDomainName,
- String externalNetworkName, Context context);
+ ExternalNetworkInner create(String resourceGroupName, String l3IsolationDomainName, String externalNetworkName,
+ ExternalNetworkInner body);
/**
- * Retrieves details of ExternalNetwork.
- *
- * Implements ExternalNetworks GET method.
+ * Creates ExternalNetwork PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
* @param externalNetworkName Name of the External Network.
+ * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return defines the External Network resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ExternalNetworkInner get(String resourceGroupName, String l3IsolationDomainName, String externalNetworkName);
+ ExternalNetworkInner create(String resourceGroupName, String l3IsolationDomainName, String externalNetworkName,
+ ExternalNetworkInner body, Context context);
/**
- * Updates a External Networks.
- *
* API to update certain properties of the ExternalNetworks resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -147,8 +135,6 @@ SyncPoller, ExternalNetworkInner> beginUpdate(S
String l3IsolationDomainName, String externalNetworkName, ExternalNetworkPatch body);
/**
- * Updates a External Networks.
- *
* API to update certain properties of the ExternalNetworks resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -166,8 +152,6 @@ SyncPoller, ExternalNetworkInner> beginUpdate(S
String l3IsolationDomainName, String externalNetworkName, ExternalNetworkPatch body, Context context);
/**
- * Updates a External Networks.
- *
* API to update certain properties of the ExternalNetworks resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -184,8 +168,6 @@ ExternalNetworkInner update(String resourceGroupName, String l3IsolationDomainNa
ExternalNetworkPatch body);
/**
- * Updates a External Networks.
- *
* API to update certain properties of the ExternalNetworks resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -203,8 +185,6 @@ ExternalNetworkInner update(String resourceGroupName, String l3IsolationDomainNa
ExternalNetworkPatch body, Context context);
/**
- * Deletes a ExternalNetworks.
- *
* Implements ExternalNetworks DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -220,8 +200,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String externalNetworkName);
/**
- * Deletes a ExternalNetworks.
- *
* Implements ExternalNetworks DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -238,8 +216,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String externalNetworkName, Context context);
/**
- * Deletes a ExternalNetworks.
- *
* Implements ExternalNetworks DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -253,8 +229,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String l3IsolationDomainName, String externalNetworkName);
/**
- * Deletes a ExternalNetworks.
- *
* Implements ExternalNetworks DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -269,8 +243,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String l3IsolationDomainName, String externalNetworkName, Context context);
/**
- * Executes list operation to display External Networks within an isolation domain.
- *
* Implements External Networks list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -278,14 +250,12 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of External Networks as paginated response with {@link PagedIterable}.
+ * @return paged collection of ExternalNetwork items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByL3IsolationDomain(String resourceGroupName, String l3IsolationDomainName);
/**
- * Executes list operation to display External Networks within an isolation domain.
- *
* Implements External Networks list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -294,15 +264,13 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of External Networks as paginated response with {@link PagedIterable}.
+ * @return paged collection of ExternalNetwork items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByL3IsolationDomain(String resourceGroupName, String l3IsolationDomainName,
Context context);
/**
- * Implements the operation to the underlying resources.
- *
* Executes update operation to enable or disable administrative State for externalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -312,16 +280,14 @@ PagedIterable listByL3IsolationDomain(String resourceGroup
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
String externalNetworkName, UpdateAdministrativeState body);
/**
- * Implements the operation to the underlying resources.
- *
* Executes update operation to enable or disable administrative State for externalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -332,16 +298,14 @@ PagedIterable listByL3IsolationDomain(String resourceGroup
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
String externalNetworkName, UpdateAdministrativeState body, Context context);
/**
- * Implements the operation to the underlying resources.
- *
* Executes update operation to enable or disable administrative State for externalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -351,15 +315,13 @@ PagedIterable listByL3IsolationDomain(String resourceGroup
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resourceGroupName,
String l3IsolationDomainName, String externalNetworkName, UpdateAdministrativeState body);
/**
- * Implements the operation to the underlying resources.
- *
* Executes update operation to enable or disable administrative State for externalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -370,15 +332,13 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resourceGroupName,
String l3IsolationDomainName, String externalNetworkName, UpdateAdministrativeState body, Context context);
/**
- * Executes Static Route BFD state update operation to the underlying resources.
- *
* Update Static Route BFD for external Network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -388,16 +348,14 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateStaticRouteBfdAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
String externalNetworkName, UpdateAdministrativeState body);
/**
- * Executes Static Route BFD state update operation to the underlying resources.
- *
* Update Static Route BFD for external Network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -408,16 +366,14 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateStaticRouteBfdAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
String externalNetworkName, UpdateAdministrativeState body, Context context);
/**
- * Executes Static Route BFD state update operation to the underlying resources.
- *
* Update Static Route BFD for external Network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -427,15 +383,13 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateStaticRouteBfdAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateStaticRouteBfdAdministrativeState(String resourceGroupName,
String l3IsolationDomainName, String externalNetworkName, UpdateAdministrativeState body);
/**
- * Executes Static Route BFD state update operation to the underlying resources.
- *
* Update Static Route BFD for external Network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -446,9 +400,79 @@ CommonPostActionResponseForStateUpdateInner updateStaticRouteBfdAdministrativeSt
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateStaticRouteBfdAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateStaticRouteBfdAdministrativeState(String resourceGroupName,
String l3IsolationDomainName, String externalNetworkName, UpdateAdministrativeState body, Context context);
+
+ /**
+ * BFD administrative state for either static or bgp for internalNetwork.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l3IsolationDomainName Name of the L3 Isolation Domain.
+ * @param externalNetworkName Name of the External Network.
+ * @param body Request payload.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalNetworkUpdateBfdAdministrativeStateResponseInner>
+ beginUpdateBfdAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
+ String externalNetworkName, ExternalNetworkUpdateBfdAdministrativeStateRequest body);
+
+ /**
+ * BFD administrative state for either static or bgp for internalNetwork.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l3IsolationDomainName Name of the L3 Isolation Domain.
+ * @param externalNetworkName Name of the External Network.
+ * @param body Request payload.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalNetworkUpdateBfdAdministrativeStateResponseInner>
+ beginUpdateBfdAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
+ String externalNetworkName, ExternalNetworkUpdateBfdAdministrativeStateRequest body, Context context);
+
+ /**
+ * BFD administrative state for either static or bgp for internalNetwork.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l3IsolationDomainName Name of the L3 Isolation Domain.
+ * @param externalNetworkName Name of the External Network.
+ * @param body Request payload.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalNetworkUpdateBfdAdministrativeStateResponseInner updateBfdAdministrativeState(String resourceGroupName,
+ String l3IsolationDomainName, String externalNetworkName,
+ ExternalNetworkUpdateBfdAdministrativeStateRequest body);
+
+ /**
+ * BFD administrative state for either static or bgp for internalNetwork.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l3IsolationDomainName Name of the L3 Isolation Domain.
+ * @param externalNetworkName Name of the External Network.
+ * @param body Request payload.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalNetworkUpdateBfdAdministrativeStateResponseInner updateBfdAdministrativeState(String resourceGroupName,
+ String l3IsolationDomainName, String externalNetworkName,
+ ExternalNetworkUpdateBfdAdministrativeStateRequest body, Context context);
}
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternalNetworksClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternalNetworksClient.java
index 0b934b226256..47bb23c00fb9 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternalNetworksClient.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternalNetworksClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric.fluent;
@@ -11,9 +11,13 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkInner;
+import com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkUpdateBfdAdministrativeStateResponseInner;
+import com.azure.resourcemanager.managednetworkfabric.fluent.models.InternalNetworkUpdateBgpAdministrativeStateResponseInner;
+import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner;
import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkPatch;
+import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBfdAdministrativeStateRequest;
+import com.azure.resourcemanager.managednetworkfabric.models.InternalNetworkUpdateBgpAdministrativeStateRequest;
import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState;
/**
@@ -21,45 +25,36 @@
*/
public interface InternalNetworksClient {
/**
- * Creates InternalNetwork for Layer3 Isolation Domain for communication of compute within and across racks.
- *
- * Creates InternalNetwork PUT method.
+ * Gets a InternalNetworks.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
* @param internalNetworkName Name of the Internal Network.
- * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of defines the Internal Network resource.
+ * @return a InternalNetworks along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, InternalNetworkInner> beginCreate(String resourceGroupName,
- String l3IsolationDomainName, String internalNetworkName, InternalNetworkInner body);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String l3IsolationDomainName,
+ String internalNetworkName, Context context);
/**
- * Creates InternalNetwork for Layer3 Isolation Domain for communication of compute within and across racks.
- *
- * Creates InternalNetwork PUT method.
+ * Gets a InternalNetworks.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
* @param internalNetworkName Name of the Internal Network.
- * @param body Request payload.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of defines the Internal Network resource.
+ * @return a InternalNetworks.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, InternalNetworkInner> beginCreate(String resourceGroupName,
- String l3IsolationDomainName, String internalNetworkName, InternalNetworkInner body, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ InternalNetworkInner get(String resourceGroupName, String l3IsolationDomainName, String internalNetworkName);
/**
- * Creates InternalNetwork for Layer3 Isolation Domain for communication of compute within and across racks.
- *
* Creates InternalNetwork PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -69,15 +64,13 @@ SyncPoller, InternalNetworkInner> beginCreate(S
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return defines the Internal Network resource.
+ * @return the {@link SyncPoller} for polling of defines the Internal Network resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- InternalNetworkInner create(String resourceGroupName, String l3IsolationDomainName, String internalNetworkName,
- InternalNetworkInner body);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, InternalNetworkInner> beginCreate(String resourceGroupName,
+ String l3IsolationDomainName, String internalNetworkName, InternalNetworkInner body);
/**
- * Creates InternalNetwork for Layer3 Isolation Domain for communication of compute within and across racks.
- *
* Creates InternalNetwork PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -88,49 +81,46 @@ InternalNetworkInner create(String resourceGroupName, String l3IsolationDomainNa
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return defines the Internal Network resource.
+ * @return the {@link SyncPoller} for polling of defines the Internal Network resource.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- InternalNetworkInner create(String resourceGroupName, String l3IsolationDomainName, String internalNetworkName,
- InternalNetworkInner body, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, InternalNetworkInner> beginCreate(String resourceGroupName,
+ String l3IsolationDomainName, String internalNetworkName, InternalNetworkInner body, Context context);
/**
- * Retrieves details of InternalNetworks using GET method.
- *
- * Gets a InternalNetworks.
+ * Creates InternalNetwork PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
* @param internalNetworkName Name of the Internal Network.
- * @param context The context to associate with this operation.
+ * @param body Request payload.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a InternalNetworks along with {@link Response}.
+ * @return defines the Internal Network resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String l3IsolationDomainName,
- String internalNetworkName, Context context);
+ InternalNetworkInner create(String resourceGroupName, String l3IsolationDomainName, String internalNetworkName,
+ InternalNetworkInner body);
/**
- * Retrieves details of InternalNetworks using GET method.
- *
- * Gets a InternalNetworks.
+ * Creates InternalNetwork PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
* @param internalNetworkName Name of the Internal Network.
+ * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a InternalNetworks.
+ * @return defines the Internal Network resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- InternalNetworkInner get(String resourceGroupName, String l3IsolationDomainName, String internalNetworkName);
+ InternalNetworkInner create(String resourceGroupName, String l3IsolationDomainName, String internalNetworkName,
+ InternalNetworkInner body, Context context);
/**
- * API to update certain properties of the InternalNetworks resources.
- *
* Updates a InternalNetworks.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -147,8 +137,6 @@ SyncPoller, InternalNetworkInner> beginUpdate(S
String l3IsolationDomainName, String internalNetworkName, InternalNetworkPatch body);
/**
- * API to update certain properties of the InternalNetworks resources.
- *
* Updates a InternalNetworks.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -166,8 +154,6 @@ SyncPoller, InternalNetworkInner> beginUpdate(S
String l3IsolationDomainName, String internalNetworkName, InternalNetworkPatch body, Context context);
/**
- * API to update certain properties of the InternalNetworks resources.
- *
* Updates a InternalNetworks.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -184,8 +170,6 @@ InternalNetworkInner update(String resourceGroupName, String l3IsolationDomainNa
InternalNetworkPatch body);
/**
- * API to update certain properties of the InternalNetworks resources.
- *
* Updates a InternalNetworks.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -203,8 +187,6 @@ InternalNetworkInner update(String resourceGroupName, String l3IsolationDomainNa
InternalNetworkPatch body, Context context);
/**
- * Deletes a InternalNetworks.
- *
* Implements InternalNetworks DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -220,8 +202,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String internalNetworkName);
/**
- * Deletes a InternalNetworks.
- *
* Implements InternalNetworks DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -238,8 +218,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
String internalNetworkName, Context context);
/**
- * Deletes a InternalNetworks.
- *
* Implements InternalNetworks DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -253,8 +231,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String l3IsolationDomainName, String internalNetworkName);
/**
- * Deletes a InternalNetworks.
- *
* Implements InternalNetworks DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -269,8 +245,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String l3IsolationDomainName, String internalNetworkName, Context context);
/**
- * Executes list operation to display list of all internal networks
- *
* Displays InternalNetworks list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -278,14 +252,12 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Internal Networks as paginated response with {@link PagedIterable}.
+ * @return paged collection of InternalNetwork items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByL3IsolationDomain(String resourceGroupName, String l3IsolationDomainName);
/**
- * Executes list operation to display list of all internal networks
- *
* Displays InternalNetworks list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -294,16 +266,14 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Internal Networks as paginated response with {@link PagedIterable}.
+ * @return paged collection of InternalNetwork items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByL3IsolationDomain(String resourceGroupName, String l3IsolationDomainName,
Context context);
/**
- * Executes the operation to the underlying resources.
- *
- * Update Administrative state of InternalNetworks on resources referred by their resource ids.
+ * Executes update operation to enable or disable administrative State for InternalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
@@ -312,17 +282,15 @@ PagedIterable listByL3IsolationDomain(String resourceGroup
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
String internalNetworkName, UpdateAdministrativeState body);
/**
- * Executes the operation to the underlying resources.
- *
- * Update Administrative state of InternalNetworks on resources referred by their resource ids.
+ * Executes update operation to enable or disable administrative State for InternalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
@@ -332,17 +300,15 @@ PagedIterable listByL3IsolationDomain(String resourceGroup
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
String internalNetworkName, UpdateAdministrativeState body, Context context);
/**
- * Executes the operation to the underlying resources.
- *
- * Update Administrative state of InternalNetworks on resources referred by their resource ids.
+ * Executes update operation to enable or disable administrative State for InternalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
@@ -351,16 +317,14 @@ PagedIterable listByL3IsolationDomain(String resourceGroup
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resourceGroupName,
String l3IsolationDomainName, String internalNetworkName, UpdateAdministrativeState body);
/**
- * Executes the operation to the underlying resources.
- *
- * Update Administrative state of InternalNetworks on resources referred by their resource ids.
+ * Executes update operation to enable or disable administrative State for InternalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param l3IsolationDomainName Name of the L3 Isolation Domain.
@@ -370,15 +334,13 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resourceGroupName,
String l3IsolationDomainName, String internalNetworkName, UpdateAdministrativeState body, Context context);
/**
- * Executes the operation to the underlying resources for updating BGP state on edge devices.
- *
* Update BGP state for internalNetwork. Allowed only on edge devices.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -388,16 +350,14 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, InternalNetworkUpdateBgpAdministrativeStateResponseInner>
beginUpdateBgpAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
- String internalNetworkName, UpdateAdministrativeState body);
+ String internalNetworkName, InternalNetworkUpdateBgpAdministrativeStateRequest body);
/**
- * Executes the operation to the underlying resources for updating BGP state on edge devices.
- *
* Update BGP state for internalNetwork. Allowed only on edge devices.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -408,16 +368,14 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, InternalNetworkUpdateBgpAdministrativeStateResponseInner>
beginUpdateBgpAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
- String internalNetworkName, UpdateAdministrativeState body, Context context);
+ String internalNetworkName, InternalNetworkUpdateBgpAdministrativeStateRequest body, Context context);
/**
- * Executes the operation to the underlying resources for updating BGP state on edge devices.
- *
* Update BGP state for internalNetwork. Allowed only on edge devices.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -427,15 +385,14 @@ CommonPostActionResponseForStateUpdateInner updateAdministrativeState(String res
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateBgpAdministrativeState(String resourceGroupName,
- String l3IsolationDomainName, String internalNetworkName, UpdateAdministrativeState body);
+ InternalNetworkUpdateBgpAdministrativeStateResponseInner updateBgpAdministrativeState(String resourceGroupName,
+ String l3IsolationDomainName, String internalNetworkName,
+ InternalNetworkUpdateBgpAdministrativeStateRequest body);
/**
- * Executes the operation to the underlying resources for updating BGP state on edge devices.
- *
* Update BGP state for internalNetwork. Allowed only on edge devices.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -446,15 +403,14 @@ CommonPostActionResponseForStateUpdateInner updateBgpAdministrativeState(String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateBgpAdministrativeState(String resourceGroupName,
- String l3IsolationDomainName, String internalNetworkName, UpdateAdministrativeState body, Context context);
+ InternalNetworkUpdateBgpAdministrativeStateResponseInner updateBgpAdministrativeState(String resourceGroupName,
+ String l3IsolationDomainName, String internalNetworkName,
+ InternalNetworkUpdateBgpAdministrativeStateRequest body, Context context);
/**
- * Implements the operation to the underlying resources.
- *
* Update Static Route BFD administrative state for internalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -464,16 +420,14 @@ CommonPostActionResponseForStateUpdateInner updateBgpAdministrativeState(String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateStaticRouteBfdAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
String internalNetworkName, UpdateAdministrativeState body);
/**
- * Implements the operation to the underlying resources.
- *
* Update Static Route BFD administrative state for internalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -484,16 +438,14 @@ CommonPostActionResponseForStateUpdateInner updateBgpAdministrativeState(String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForStateUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateStaticRouteBfdAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
String internalNetworkName, UpdateAdministrativeState body, Context context);
/**
- * Implements the operation to the underlying resources.
- *
* Update Static Route BFD administrative state for internalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -503,15 +455,13 @@ CommonPostActionResponseForStateUpdateInner updateBgpAdministrativeState(String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateStaticRouteBfdAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateStaticRouteBfdAdministrativeState(String resourceGroupName,
String l3IsolationDomainName, String internalNetworkName, UpdateAdministrativeState body);
/**
- * Implements the operation to the underlying resources.
- *
* Update Static Route BFD administrative state for internalNetwork.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -522,9 +472,79 @@ CommonPostActionResponseForStateUpdateInner updateStaticRouteBfdAdministrativeSt
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForStateUpdateInner updateStaticRouteBfdAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateStaticRouteBfdAdministrativeState(String resourceGroupName,
String l3IsolationDomainName, String internalNetworkName, UpdateAdministrativeState body, Context context);
+
+ /**
+ * BFD administrative state for either static or bgp for internalNetwork.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l3IsolationDomainName Name of the L3 Isolation Domain.
+ * @param internalNetworkName Name of the Internal Network.
+ * @param body Request payload.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, InternalNetworkUpdateBfdAdministrativeStateResponseInner>
+ beginUpdateBfdAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
+ String internalNetworkName, InternalNetworkUpdateBfdAdministrativeStateRequest body);
+
+ /**
+ * BFD administrative state for either static or bgp for internalNetwork.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l3IsolationDomainName Name of the L3 Isolation Domain.
+ * @param internalNetworkName Name of the Internal Network.
+ * @param body Request payload.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, InternalNetworkUpdateBfdAdministrativeStateResponseInner>
+ beginUpdateBfdAdministrativeState(String resourceGroupName, String l3IsolationDomainName,
+ String internalNetworkName, InternalNetworkUpdateBfdAdministrativeStateRequest body, Context context);
+
+ /**
+ * BFD administrative state for either static or bgp for internalNetwork.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l3IsolationDomainName Name of the L3 Isolation Domain.
+ * @param internalNetworkName Name of the Internal Network.
+ * @param body Request payload.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ InternalNetworkUpdateBfdAdministrativeStateResponseInner updateBfdAdministrativeState(String resourceGroupName,
+ String l3IsolationDomainName, String internalNetworkName,
+ InternalNetworkUpdateBfdAdministrativeStateRequest body);
+
+ /**
+ * BFD administrative state for either static or bgp for internalNetwork.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l3IsolationDomainName Name of the L3 Isolation Domain.
+ * @param internalNetworkName Name of the Internal Network.
+ * @param body Request payload.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ InternalNetworkUpdateBfdAdministrativeStateResponseInner updateBfdAdministrativeState(String resourceGroupName,
+ String l3IsolationDomainName, String internalNetworkName,
+ InternalNetworkUpdateBfdAdministrativeStateRequest body, Context context);
}
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewayRulesClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewayRulesClient.java
index 86aea9efb00d..d2607cc227de 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewayRulesClient.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewayRulesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric.fluent;
@@ -19,8 +19,34 @@
*/
public interface InternetGatewayRulesClient {
/**
- * Creates an Internet Gateway rule.
+ * Gets an Internet Gateway Rule resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param internetGatewayRuleName Name of the Internet Gateway rule.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Internet Gateway Rule resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String internetGatewayRuleName, Context context);
+
+ /**
+ * Gets an Internet Gateway Rule resource.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param internetGatewayRuleName Name of the Internet Gateway rule.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Internet Gateway Rule resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ InternetGatewayRuleInner getByResourceGroup(String resourceGroupName, String internetGatewayRuleName);
+
+ /**
* Creates an Internet Gateway rule resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -36,8 +62,6 @@ SyncPoller, InternetGatewayRuleInner> begin
String internetGatewayRuleName, InternetGatewayRuleInner body);
/**
- * Creates an Internet Gateway rule.
- *
* Creates an Internet Gateway rule resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -54,8 +78,6 @@ SyncPoller, InternetGatewayRuleInner> begin
String internetGatewayRuleName, InternetGatewayRuleInner body, Context context);
/**
- * Creates an Internet Gateway rule.
- *
* Creates an Internet Gateway rule resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -71,8 +93,6 @@ InternetGatewayRuleInner create(String resourceGroupName, String internetGateway
InternetGatewayRuleInner body);
/**
- * Creates an Internet Gateway rule.
- *
* Creates an Internet Gateway rule resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -89,40 +109,6 @@ InternetGatewayRuleInner create(String resourceGroupName, String internetGateway
InternetGatewayRuleInner body, Context context);
/**
- * Gets an Internet Gateway Rule.
- *
- * Gets an Internet Gateway Rule resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param internetGatewayRuleName Name of the Internet Gateway rule.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Internet Gateway Rule resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName,
- String internetGatewayRuleName, Context context);
-
- /**
- * Gets an Internet Gateway Rule.
- *
- * Gets an Internet Gateway Rule resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param internetGatewayRuleName Name of the Internet Gateway rule.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Internet Gateway Rule resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- InternetGatewayRuleInner getByResourceGroup(String resourceGroupName, String internetGatewayRuleName);
-
- /**
- * Updates an Internet Gateway Rule.
- *
* API to update certain properties of the Internet Gateway Rule resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -138,8 +124,6 @@ SyncPoller, InternetGatewayRuleInner> begin
String internetGatewayRuleName, InternetGatewayRulePatch body);
/**
- * Updates an Internet Gateway Rule.
- *
* API to update certain properties of the Internet Gateway Rule resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -156,8 +140,6 @@ SyncPoller, InternetGatewayRuleInner> begin
String internetGatewayRuleName, InternetGatewayRulePatch body, Context context);
/**
- * Updates an Internet Gateway Rule.
- *
* API to update certain properties of the Internet Gateway Rule resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -173,8 +155,6 @@ InternetGatewayRuleInner update(String resourceGroupName, String internetGateway
InternetGatewayRulePatch body);
/**
- * Updates an Internet Gateway Rule.
- *
* API to update certain properties of the Internet Gateway Rule resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -191,8 +171,6 @@ InternetGatewayRuleInner update(String resourceGroupName, String internetGateway
InternetGatewayRulePatch body, Context context);
/**
- * Deletes an Internet Gateway Rule.
- *
* Implements Internet Gateway Rules DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -206,8 +184,6 @@ InternetGatewayRuleInner update(String resourceGroupName, String internetGateway
SyncPoller, Void> beginDelete(String resourceGroupName, String internetGatewayRuleName);
/**
- * Deletes an Internet Gateway Rule.
- *
* Implements Internet Gateway Rules DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -223,8 +199,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
Context context);
/**
- * Deletes an Internet Gateway Rule.
- *
* Implements Internet Gateway Rules DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -237,8 +211,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String internetGatewayRuleName);
/**
- * Deletes an Internet Gateway Rule.
- *
* Implements Internet Gateway Rules DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -252,22 +224,18 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String internetGatewayRuleName, Context context);
/**
- * List Internet Gateway Rules by resource group.
- *
* Implements Internet Gateway Rules list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Internet Gateway Rules as paginated response with {@link PagedIterable}.
+ * @return paged collection of InternetGatewayRule items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * List Internet Gateway Rules by resource group.
- *
* Implements Internet Gateway Rules list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -275,33 +243,29 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Internet Gateway Rules as paginated response with {@link PagedIterable}.
+ * @return paged collection of InternetGatewayRule items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * List Internet Gateway Rules by subscription.
- *
* List all Internet Gateway rules in the given subscription.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Internet Gateway Rules as paginated response with {@link PagedIterable}.
+ * @return paged collection of InternetGatewayRule items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
- * List Internet Gateway Rules by subscription.
- *
* List all Internet Gateway rules in the given subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of Internet Gateway Rules as paginated response with {@link PagedIterable}.
+ * @return paged collection of InternetGatewayRule items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewaysClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewaysClient.java
index 0ab5ac5879d5..65abb1138168 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewaysClient.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/InternetGatewaysClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric.fluent;
@@ -19,43 +19,34 @@
*/
public interface InternetGatewaysClient {
/**
- * Create a Network Fabric Service Internet Gateway.
- *
- * Creates a Network Fabric Service Internet Gateway resource instance.
+ * Implements Gateway GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param internetGatewayName Name of the Internet Gateway.
- * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the Internet Gateway resource definition.
+ * @return the Internet Gateway resource definition along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, InternetGatewayInner> beginCreate(String resourceGroupName,
- String internetGatewayName, InternetGatewayInner body);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String internetGatewayName,
+ Context context);
/**
- * Create a Network Fabric Service Internet Gateway.
- *
- * Creates a Network Fabric Service Internet Gateway resource instance.
+ * Implements Gateway GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param internetGatewayName Name of the Internet Gateway.
- * @param body Request payload.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the Internet Gateway resource definition.
+ * @return the Internet Gateway resource definition.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, InternetGatewayInner> beginCreate(String resourceGroupName,
- String internetGatewayName, InternetGatewayInner body, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ InternetGatewayInner getByResourceGroup(String resourceGroupName, String internetGatewayName);
/**
- * Create a Network Fabric Service Internet Gateway.
- *
* Creates a Network Fabric Service Internet Gateway resource instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -64,14 +55,13 @@ SyncPoller, InternetGatewayInner> beginCreate(S
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Internet Gateway resource definition.
+ * @return the {@link SyncPoller} for polling of the Internet Gateway resource definition.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- InternetGatewayInner create(String resourceGroupName, String internetGatewayName, InternetGatewayInner body);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, InternetGatewayInner> beginCreate(String resourceGroupName,
+ String internetGatewayName, InternetGatewayInner body);
/**
- * Create a Network Fabric Service Internet Gateway.
- *
* Creates a Network Fabric Service Internet Gateway resource instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -81,52 +71,48 @@ SyncPoller, InternetGatewayInner> beginCreate(S
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Internet Gateway resource definition.
+ * @return the {@link SyncPoller} for polling of the Internet Gateway resource definition.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- InternetGatewayInner create(String resourceGroupName, String internetGatewayName, InternetGatewayInner body,
- Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, InternetGatewayInner> beginCreate(String resourceGroupName,
+ String internetGatewayName, InternetGatewayInner body, Context context);
/**
- * Retrieves details of Network Fabric Service Internet Gateway.
- *
- * Implements Gateway GET method.
+ * Creates a Network Fabric Service Internet Gateway resource instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param internetGatewayName Name of the Internet Gateway.
- * @param context The context to associate with this operation.
+ * @param body Request payload.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Internet Gateway resource definition along with {@link Response}.
+ * @return the Internet Gateway resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String internetGatewayName,
- Context context);
+ InternetGatewayInner create(String resourceGroupName, String internetGatewayName, InternetGatewayInner body);
/**
- * Retrieves details of Network Fabric Service Internet Gateway.
- *
- * Implements Gateway GET method.
+ * Creates a Network Fabric Service Internet Gateway resource instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param internetGatewayName Name of the Internet Gateway.
+ * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the Internet Gateway resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- InternetGatewayInner getByResourceGroup(String resourceGroupName, String internetGatewayName);
+ InternetGatewayInner create(String resourceGroupName, String internetGatewayName, InternetGatewayInner body,
+ Context context);
/**
- * Updates a Network Fabric Service Internet Gateway.
- *
* Execute patch on Network Fabric Service Internet Gateway.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param internetGatewayName Name of the Internet Gateway.
- * @param body API to update certain properties of the L2 Isolation Domain resource..
+ * @param body API to update certain properties of the InternetGateway resource..
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -137,13 +123,11 @@ SyncPoller, InternetGatewayInner> beginUpdate(S
String internetGatewayName, InternetGatewayPatch body);
/**
- * Updates a Network Fabric Service Internet Gateway.
- *
* Execute patch on Network Fabric Service Internet Gateway.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param internetGatewayName Name of the Internet Gateway.
- * @param body API to update certain properties of the L2 Isolation Domain resource..
+ * @param body API to update certain properties of the InternetGateway resource..
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -155,13 +139,11 @@ SyncPoller, InternetGatewayInner> beginUpdate(S
String internetGatewayName, InternetGatewayPatch body, Context context);
/**
- * Updates a Network Fabric Service Internet Gateway.
- *
* Execute patch on Network Fabric Service Internet Gateway.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param internetGatewayName Name of the Internet Gateway.
- * @param body API to update certain properties of the L2 Isolation Domain resource..
+ * @param body API to update certain properties of the InternetGateway resource..
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -171,13 +153,11 @@ SyncPoller, InternetGatewayInner> beginUpdate(S
InternetGatewayInner update(String resourceGroupName, String internetGatewayName, InternetGatewayPatch body);
/**
- * Updates a Network Fabric Service Internet Gateway.
- *
* Execute patch on Network Fabric Service Internet Gateway.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param internetGatewayName Name of the Internet Gateway.
- * @param body API to update certain properties of the L2 Isolation Domain resource..
+ * @param body API to update certain properties of the InternetGateway resource..
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -189,8 +169,6 @@ InternetGatewayInner update(String resourceGroupName, String internetGatewayName
Context context);
/**
- * Deletes a Network Fabric Service Internet Gateway.
- *
* Execute a delete on Network Fabric Service Internet Gateway.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -204,8 +182,6 @@ InternetGatewayInner update(String resourceGroupName, String internetGatewayName
SyncPoller, Void> beginDelete(String resourceGroupName, String internetGatewayName);
/**
- * Deletes a Network Fabric Service Internet Gateway.
- *
* Execute a delete on Network Fabric Service Internet Gateway.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -221,8 +197,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
Context context);
/**
- * Deletes a Network Fabric Service Internet Gateway.
- *
* Execute a delete on Network Fabric Service Internet Gateway.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -235,8 +209,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String internetGatewayName);
/**
- * Deletes a Network Fabric Service Internet Gateway.
- *
* Execute a delete on Network Fabric Service Internet Gateway.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -250,22 +222,18 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String internetGatewayName, Context context);
/**
- * List Internet Gateways by resource group.
- *
* Displays Internet Gateways list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of InternetGateways as paginated response with {@link PagedIterable}.
+ * @return paged collection of InternetGateway items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * List Internet Gateways by resource group.
- *
* Displays Internet Gateways list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -273,33 +241,29 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of InternetGateways as paginated response with {@link PagedIterable}.
+ * @return paged collection of InternetGateway items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * List Internet Gateways by subscription.
- *
* Displays Internet Gateways list by subscription GET method.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of InternetGateways as paginated response with {@link PagedIterable}.
+ * @return paged collection of InternetGateway items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
- * List Internet Gateways by subscription.
- *
* Displays Internet Gateways list by subscription GET method.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of InternetGateways as paginated response with {@link PagedIterable}.
+ * @return paged collection of InternetGateway items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpCommunitiesClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpCommunitiesClient.java
index 882f59571d41..370a929561fc 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpCommunitiesClient.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpCommunitiesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric.fluent;
@@ -19,43 +19,34 @@
*/
public interface IpCommunitiesClient {
/**
- * Create an IP Community.
- *
- * Implements an IP Community PUT method.
+ * Implements an IP Community GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param ipCommunityName Name of the IP Community.
- * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the IP Community resource definition.
+ * @return the IP Community resource definition along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, IpCommunityInner> beginCreate(String resourceGroupName,
- String ipCommunityName, IpCommunityInner body);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String ipCommunityName,
+ Context context);
/**
- * Create an IP Community.
- *
- * Implements an IP Community PUT method.
+ * Implements an IP Community GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param ipCommunityName Name of the IP Community.
- * @param body Request payload.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the IP Community resource definition.
+ * @return the IP Community resource definition.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, IpCommunityInner> beginCreate(String resourceGroupName,
- String ipCommunityName, IpCommunityInner body, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ IpCommunityInner getByResourceGroup(String resourceGroupName, String ipCommunityName);
/**
- * Create an IP Community.
- *
* Implements an IP Community PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -64,14 +55,13 @@ SyncPoller, IpCommunityInner> beginCreate(String re
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IP Community resource definition.
+ * @return the {@link SyncPoller} for polling of the IP Community resource definition.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- IpCommunityInner create(String resourceGroupName, String ipCommunityName, IpCommunityInner body);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, IpCommunityInner> beginCreate(String resourceGroupName,
+ String ipCommunityName, IpCommunityInner body);
/**
- * Create an IP Community.
- *
* Implements an IP Community PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -81,46 +71,42 @@ SyncPoller, IpCommunityInner> beginCreate(String re
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IP Community resource definition.
+ * @return the {@link SyncPoller} for polling of the IP Community resource definition.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- IpCommunityInner create(String resourceGroupName, String ipCommunityName, IpCommunityInner body, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, IpCommunityInner> beginCreate(String resourceGroupName,
+ String ipCommunityName, IpCommunityInner body, Context context);
/**
- * Gets an IP Community.
- *
- * Implements an IP Community GET method.
+ * Implements an IP Community PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param ipCommunityName Name of the IP Community.
- * @param context The context to associate with this operation.
+ * @param body Request payload.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IP Community resource definition along with {@link Response}.
+ * @return the IP Community resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String ipCommunityName,
- Context context);
+ IpCommunityInner create(String resourceGroupName, String ipCommunityName, IpCommunityInner body);
/**
- * Gets an IP Community.
- *
- * Implements an IP Community GET method.
+ * Implements an IP Community PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param ipCommunityName Name of the IP Community.
+ * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the IP Community resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- IpCommunityInner getByResourceGroup(String resourceGroupName, String ipCommunityName);
+ IpCommunityInner create(String resourceGroupName, String ipCommunityName, IpCommunityInner body, Context context);
/**
- * Updates an IP Community.
- *
* API to update certain properties of the IP Community resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -136,8 +122,6 @@ SyncPoller, IpCommunityInner> beginUpdate(String re
String ipCommunityName, IpCommunityPatch body);
/**
- * Updates an IP Community.
- *
* API to update certain properties of the IP Community resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -154,8 +138,6 @@ SyncPoller, IpCommunityInner> beginUpdate(String re
String ipCommunityName, IpCommunityPatch body, Context context);
/**
- * Updates an IP Community.
- *
* API to update certain properties of the IP Community resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -170,8 +152,6 @@ SyncPoller, IpCommunityInner> beginUpdate(String re
IpCommunityInner update(String resourceGroupName, String ipCommunityName, IpCommunityPatch body);
/**
- * Updates an IP Community.
- *
* API to update certain properties of the IP Community resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -187,8 +167,6 @@ SyncPoller, IpCommunityInner> beginUpdate(String re
IpCommunityInner update(String resourceGroupName, String ipCommunityName, IpCommunityPatch body, Context context);
/**
- * Deletes an IP Community.
- *
* Implements IP Community DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -202,8 +180,6 @@ SyncPoller, IpCommunityInner> beginUpdate(String re
SyncPoller, Void> beginDelete(String resourceGroupName, String ipCommunityName);
/**
- * Deletes an IP Community.
- *
* Implements IP Community DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -218,8 +194,6 @@ SyncPoller, IpCommunityInner> beginUpdate(String re
SyncPoller, Void> beginDelete(String resourceGroupName, String ipCommunityName, Context context);
/**
- * Deletes an IP Community.
- *
* Implements IP Community DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -232,8 +206,6 @@ SyncPoller, IpCommunityInner> beginUpdate(String re
void delete(String resourceGroupName, String ipCommunityName);
/**
- * Deletes an IP Community.
- *
* Implements IP Community DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -247,22 +219,18 @@ SyncPoller, IpCommunityInner> beginUpdate(String re
void delete(String resourceGroupName, String ipCommunityName, Context context);
/**
- * List IP Communities by resource group.
- *
* Implements IP Communities list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Communities as paginated response with {@link PagedIterable}.
+ * @return paged collection of IpCommunity items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * List IP Communities by resource group.
- *
* Implements IP Communities list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -270,33 +238,29 @@ SyncPoller, IpCommunityInner> beginUpdate(String re
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Communities as paginated response with {@link PagedIterable}.
+ * @return paged collection of IpCommunity items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * List IP Communities by subscription.
- *
* Implements IP Communities list by subscription GET method.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Communities as paginated response with {@link PagedIterable}.
+ * @return paged collection of IpCommunity items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
- * List IP Communities by subscription.
- *
* Implements IP Communities list by subscription GET method.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Communities as paginated response with {@link PagedIterable}.
+ * @return paged collection of IpCommunity items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpExtendedCommunitiesClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpExtendedCommunitiesClient.java
index 5be8bb4fb566..7e4a9200145e 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpExtendedCommunitiesClient.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpExtendedCommunitiesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric.fluent;
@@ -19,8 +19,34 @@
*/
public interface IpExtendedCommunitiesClient {
/**
- * Create an IP Extended Community.
+ * Implements IP Extended Community GET method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ipExtendedCommunityName Name of the IP Extended Community.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the IP Extended Community resource definition along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String ipExtendedCommunityName, Context context);
+
+ /**
+ * Implements IP Extended Community GET method.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param ipExtendedCommunityName Name of the IP Extended Community.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the IP Extended Community resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ IpExtendedCommunityInner getByResourceGroup(String resourceGroupName, String ipExtendedCommunityName);
+
+ /**
* Implements IP Extended Community PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -36,8 +62,6 @@ SyncPoller, IpExtendedCommunityInner> begin
String ipExtendedCommunityName, IpExtendedCommunityInner body);
/**
- * Create an IP Extended Community.
- *
* Implements IP Extended Community PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -54,8 +78,6 @@ SyncPoller, IpExtendedCommunityInner> begin
String ipExtendedCommunityName, IpExtendedCommunityInner body, Context context);
/**
- * Create an IP Extended Community.
- *
* Implements IP Extended Community PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -71,8 +93,6 @@ IpExtendedCommunityInner create(String resourceGroupName, String ipExtendedCommu
IpExtendedCommunityInner body);
/**
- * Create an IP Extended Community.
- *
* Implements IP Extended Community PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -89,40 +109,6 @@ IpExtendedCommunityInner create(String resourceGroupName, String ipExtendedCommu
IpExtendedCommunityInner body, Context context);
/**
- * Gets an IP Extended Community.
- *
- * Implements IP Extended Community GET method.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param ipExtendedCommunityName Name of the IP Extended Community.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IP Extended Community resource definition along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName,
- String ipExtendedCommunityName, Context context);
-
- /**
- * Gets an IP Extended Community.
- *
- * Implements IP Extended Community GET method.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param ipExtendedCommunityName Name of the IP Extended Community.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IP Extended Community resource definition.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IpExtendedCommunityInner getByResourceGroup(String resourceGroupName, String ipExtendedCommunityName);
-
- /**
- * Updates the IP Extended Community.
- *
* API to update certain properties of the IP Extended Community resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -138,8 +124,6 @@ SyncPoller, IpExtendedCommunityInner> begin
String ipExtendedCommunityName, IpExtendedCommunityPatch body);
/**
- * Updates the IP Extended Community.
- *
* API to update certain properties of the IP Extended Community resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -156,8 +140,6 @@ SyncPoller, IpExtendedCommunityInner> begin
String ipExtendedCommunityName, IpExtendedCommunityPatch body, Context context);
/**
- * Updates the IP Extended Community.
- *
* API to update certain properties of the IP Extended Community resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -173,8 +155,6 @@ IpExtendedCommunityInner update(String resourceGroupName, String ipExtendedCommu
IpExtendedCommunityPatch body);
/**
- * Updates the IP Extended Community.
- *
* API to update certain properties of the IP Extended Community resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -191,8 +171,6 @@ IpExtendedCommunityInner update(String resourceGroupName, String ipExtendedCommu
IpExtendedCommunityPatch body, Context context);
/**
- * Deletes the IP Extended Community.
- *
* Implements IP Extended Community DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -206,8 +184,6 @@ IpExtendedCommunityInner update(String resourceGroupName, String ipExtendedCommu
SyncPoller, Void> beginDelete(String resourceGroupName, String ipExtendedCommunityName);
/**
- * Deletes the IP Extended Community.
- *
* Implements IP Extended Community DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -223,8 +199,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
Context context);
/**
- * Deletes the IP Extended Community.
- *
* Implements IP Extended Community DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -237,8 +211,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String ipExtendedCommunityName);
/**
- * Deletes the IP Extended Community.
- *
* Implements IP Extended Community DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -252,22 +224,18 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String ipExtendedCommunityName, Context context);
/**
- * List IpExtendedCommunities by resource group.
- *
* Implements IpExtendedCommunities list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Extended Communities as paginated response with {@link PagedIterable}.
+ * @return the response of a IpExtendedCommunity list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * List IpExtendedCommunities by resource group.
- *
* Implements IpExtendedCommunities list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -275,33 +243,29 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Extended Communities as paginated response with {@link PagedIterable}.
+ * @return the response of a IpExtendedCommunity list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * List IpExtendedCommunities by subscription.
- *
* Implements IpExtendedCommunities list by subscription GET method.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Extended Communities as paginated response with {@link PagedIterable}.
+ * @return the response of a IpExtendedCommunity list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
- * List IpExtendedCommunities by subscription.
- *
* Implements IpExtendedCommunities list by subscription GET method.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Extended Communities as paginated response with {@link PagedIterable}.
+ * @return the response of a IpExtendedCommunity list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpPrefixesClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpPrefixesClient.java
index fde7a73f7612..f02098ee3e6c 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpPrefixesClient.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/IpPrefixesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric.fluent;
@@ -19,43 +19,34 @@
*/
public interface IpPrefixesClient {
/**
- * Create an IP Prefix.
- *
- * Implements IP Prefix PUT method.
+ * Implements IP Prefix GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param ipPrefixName Name of the IP Prefix.
- * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the IP Prefix resource definition.
+ * @return the IP Prefix resource definition along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, IpPrefixInner> beginCreate(String resourceGroupName, String ipPrefixName,
- IpPrefixInner body);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String ipPrefixName,
+ Context context);
/**
- * Create an IP Prefix.
- *
- * Implements IP Prefix PUT method.
+ * Implements IP Prefix GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param ipPrefixName Name of the IP Prefix.
- * @param body Request payload.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the IP Prefix resource definition.
+ * @return the IP Prefix resource definition.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, IpPrefixInner> beginCreate(String resourceGroupName, String ipPrefixName,
- IpPrefixInner body, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ IpPrefixInner getByResourceGroup(String resourceGroupName, String ipPrefixName);
/**
- * Create an IP Prefix.
- *
* Implements IP Prefix PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -64,14 +55,13 @@ SyncPoller, IpPrefixInner> beginCreate(String resource
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IP Prefix resource definition.
+ * @return the {@link SyncPoller} for polling of the IP Prefix resource definition.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- IpPrefixInner create(String resourceGroupName, String ipPrefixName, IpPrefixInner body);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, IpPrefixInner> beginCreate(String resourceGroupName, String ipPrefixName,
+ IpPrefixInner body);
/**
- * Create an IP Prefix.
- *
* Implements IP Prefix PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -81,46 +71,42 @@ SyncPoller, IpPrefixInner> beginCreate(String resource
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IP Prefix resource definition.
+ * @return the {@link SyncPoller} for polling of the IP Prefix resource definition.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- IpPrefixInner create(String resourceGroupName, String ipPrefixName, IpPrefixInner body, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, IpPrefixInner> beginCreate(String resourceGroupName, String ipPrefixName,
+ IpPrefixInner body, Context context);
/**
- * Gets an IP Prefix.
- *
- * Implements IP Prefix GET method.
+ * Implements IP Prefix PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param ipPrefixName Name of the IP Prefix.
- * @param context The context to associate with this operation.
+ * @param body Request payload.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the IP Prefix resource definition along with {@link Response}.
+ * @return the IP Prefix resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String ipPrefixName,
- Context context);
+ IpPrefixInner create(String resourceGroupName, String ipPrefixName, IpPrefixInner body);
/**
- * Gets an IP Prefix.
- *
- * Implements IP Prefix GET method.
+ * Implements IP Prefix PUT method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param ipPrefixName Name of the IP Prefix.
+ * @param body Request payload.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the IP Prefix resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- IpPrefixInner getByResourceGroup(String resourceGroupName, String ipPrefixName);
+ IpPrefixInner create(String resourceGroupName, String ipPrefixName, IpPrefixInner body, Context context);
/**
- * Updates the IP Prefix.
- *
* API to update certain properties of the IP Prefix resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -136,8 +122,6 @@ SyncPoller, IpPrefixInner> beginUpdate(String resource
IpPrefixPatch body);
/**
- * Updates the IP Prefix.
- *
* API to update certain properties of the IP Prefix resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -154,8 +138,6 @@ SyncPoller, IpPrefixInner> beginUpdate(String resource
IpPrefixPatch body, Context context);
/**
- * Updates the IP Prefix.
- *
* API to update certain properties of the IP Prefix resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -170,8 +152,6 @@ SyncPoller, IpPrefixInner> beginUpdate(String resource
IpPrefixInner update(String resourceGroupName, String ipPrefixName, IpPrefixPatch body);
/**
- * Updates the IP Prefix.
- *
* API to update certain properties of the IP Prefix resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -187,8 +167,6 @@ SyncPoller, IpPrefixInner> beginUpdate(String resource
IpPrefixInner update(String resourceGroupName, String ipPrefixName, IpPrefixPatch body, Context context);
/**
- * Deletes the IP Prefix.
- *
* Implements IP Prefix DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -202,8 +180,6 @@ SyncPoller, IpPrefixInner> beginUpdate(String resource
SyncPoller, Void> beginDelete(String resourceGroupName, String ipPrefixName);
/**
- * Deletes the IP Prefix.
- *
* Implements IP Prefix DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -218,8 +194,6 @@ SyncPoller, IpPrefixInner> beginUpdate(String resource
SyncPoller, Void> beginDelete(String resourceGroupName, String ipPrefixName, Context context);
/**
- * Deletes the IP Prefix.
- *
* Implements IP Prefix DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -232,8 +206,6 @@ SyncPoller, IpPrefixInner> beginUpdate(String resource
void delete(String resourceGroupName, String ipPrefixName);
/**
- * Deletes the IP Prefix.
- *
* Implements IP Prefix DELETE method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -247,22 +219,18 @@ SyncPoller, IpPrefixInner> beginUpdate(String resource
void delete(String resourceGroupName, String ipPrefixName, Context context);
/**
- * List IpPrefixes by resource group.
- *
* Implements IpPrefixes list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Prefixes as paginated response with {@link PagedIterable}.
+ * @return paged collection of IpPrefix items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * List IpPrefixes by resource group.
- *
* Implements IpPrefixes list by resource group GET method.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -270,33 +238,29 @@ SyncPoller, IpPrefixInner> beginUpdate(String resource
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Prefixes as paginated response with {@link PagedIterable}.
+ * @return paged collection of IpPrefix items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * List IpPrefixes by subscription.
- *
* Implements IpPrefixes list by subscription GET method.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Prefixes as paginated response with {@link PagedIterable}.
+ * @return paged collection of IpPrefix items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
- * List IpPrefixes by subscription.
- *
* Implements IpPrefixes list by subscription GET method.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of IP Prefixes as paginated response with {@link PagedIterable}.
+ * @return paged collection of IpPrefix items as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L2IsolationDomainsClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L2IsolationDomainsClient.java
index ac85ee1f8539..1cee6a3d3d70 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L2IsolationDomainsClient.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L2IsolationDomainsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric.fluent;
@@ -11,9 +11,9 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForDeviceUpdateInner;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.L2IsolationDomainInner;
+import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner;
import com.azure.resourcemanager.managednetworkfabric.models.L2IsolationDomainPatch;
import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState;
@@ -23,8 +23,34 @@
*/
public interface L2IsolationDomainsClient {
/**
- * Create L2 Isolation Domain.
+ * Implements L2 Isolation Domain GET method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l2IsolationDomainName Name of the L2 Isolation Domain.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the L2 Isolation Domain resource definition along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String l2IsolationDomainName, Context context);
+
+ /**
+ * Implements L2 Isolation Domain GET method.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l2IsolationDomainName Name of the L2 Isolation Domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the L2 Isolation Domain resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ L2IsolationDomainInner getByResourceGroup(String resourceGroupName, String l2IsolationDomainName);
+
+ /**
* Creates layer 2 network connectivity between compute nodes within a rack and across racks.The configuration is
* applied on the devices only after the isolation domain is enabled.
*
@@ -41,8 +67,6 @@ SyncPoller, L2IsolationDomainInner> beginCrea
String l2IsolationDomainName, L2IsolationDomainInner body);
/**
- * Create L2 Isolation Domain.
- *
* Creates layer 2 network connectivity between compute nodes within a rack and across racks.The configuration is
* applied on the devices only after the isolation domain is enabled.
*
@@ -60,8 +84,6 @@ SyncPoller, L2IsolationDomainInner> beginCrea
String l2IsolationDomainName, L2IsolationDomainInner body, Context context);
/**
- * Create L2 Isolation Domain.
- *
* Creates layer 2 network connectivity between compute nodes within a rack and across racks.The configuration is
* applied on the devices only after the isolation domain is enabled.
*
@@ -77,8 +99,6 @@ SyncPoller, L2IsolationDomainInner> beginCrea
L2IsolationDomainInner create(String resourceGroupName, String l2IsolationDomainName, L2IsolationDomainInner body);
/**
- * Create L2 Isolation Domain.
- *
* Creates layer 2 network connectivity between compute nodes within a rack and across racks.The configuration is
* applied on the devices only after the isolation domain is enabled.
*
@@ -96,40 +116,6 @@ L2IsolationDomainInner create(String resourceGroupName, String l2IsolationDomain
Context context);
/**
- * Retrieves details of this L2 Isolation Domain.
- *
- * Implements L2 Isolation Domain GET method.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param l2IsolationDomainName Name of the L2 Isolation Domain.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the L2 Isolation Domain resource definition along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName,
- String l2IsolationDomainName, Context context);
-
- /**
- * Retrieves details of this L2 Isolation Domain.
- *
- * Implements L2 Isolation Domain GET method.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param l2IsolationDomainName Name of the L2 Isolation Domain.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the L2 Isolation Domain resource definition.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- L2IsolationDomainInner getByResourceGroup(String resourceGroupName, String l2IsolationDomainName);
-
- /**
- * Updates the L2 Isolation Domain.
- *
* API to update certain properties of the L2 Isolation Domain resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -145,8 +131,6 @@ SyncPoller, L2IsolationDomainInner> beginUpda
String l2IsolationDomainName, L2IsolationDomainPatch body);
/**
- * Updates the L2 Isolation Domain.
- *
* API to update certain properties of the L2 Isolation Domain resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -163,8 +147,6 @@ SyncPoller, L2IsolationDomainInner> beginUpda
String l2IsolationDomainName, L2IsolationDomainPatch body, Context context);
/**
- * Updates the L2 Isolation Domain.
- *
* API to update certain properties of the L2 Isolation Domain resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -179,8 +161,6 @@ SyncPoller, L2IsolationDomainInner> beginUpda
L2IsolationDomainInner update(String resourceGroupName, String l2IsolationDomainName, L2IsolationDomainPatch body);
/**
- * Updates the L2 Isolation Domain.
- *
* API to update certain properties of the L2 Isolation Domain resource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -197,8 +177,6 @@ L2IsolationDomainInner update(String resourceGroupName, String l2IsolationDomain
Context context);
/**
- * Deletes the L2 Isolation Domain.
- *
* Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -212,8 +190,6 @@ L2IsolationDomainInner update(String resourceGroupName, String l2IsolationDomain
SyncPoller, Void> beginDelete(String resourceGroupName, String l2IsolationDomainName);
/**
- * Deletes the L2 Isolation Domain.
- *
* Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -229,8 +205,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
Context context);
/**
- * Deletes the L2 Isolation Domain.
- *
* Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -243,8 +217,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String l2IsolationDomainName);
/**
- * Deletes the L2 Isolation Domain.
- *
* Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -258,8 +230,53 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
void delete(String resourceGroupName, String l2IsolationDomainName, Context context);
/**
- * Implements the operation to the underlying resources.
+ * Displays L2IsolationDomains list by resource group GET method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return paged collection of L2IsolationDomain items as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Displays L2IsolationDomains list by resource group GET method.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return paged collection of L2IsolationDomain items as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Displays L2IsolationDomains list by subscription GET method.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return paged collection of L2IsolationDomain items as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Displays L2IsolationDomains list by subscription GET method.
*
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return paged collection of L2IsolationDomain items as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
* Enables isolation domain across the fabric or on specified racks.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -268,16 +285,14 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for device updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForDeviceUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateAdministrativeState(String resourceGroupName, String l2IsolationDomainName,
UpdateAdministrativeState body);
/**
- * Implements the operation to the underlying resources.
- *
* Enables isolation domain across the fabric or on specified racks.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -287,16 +302,14 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for device updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CommonPostActionResponseForDeviceUpdateInner>
+ SyncPoller, UpdateAdministrativeStateResponseInner>
beginUpdateAdministrativeState(String resourceGroupName, String l2IsolationDomainName,
UpdateAdministrativeState body, Context context);
/**
- * Implements the operation to the underlying resources.
- *
* Enables isolation domain across the fabric or on specified racks.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -305,15 +318,13 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for device updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resourceGroupName,
String l2IsolationDomainName, UpdateAdministrativeState body);
/**
- * Implements the operation to the underlying resources.
- *
* Enables isolation domain across the fabric or on specified racks.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -323,10 +334,10 @@ CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String re
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for device updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String resourceGroupName,
+ UpdateAdministrativeStateResponseInner updateAdministrativeState(String resourceGroupName,
String l2IsolationDomainName, UpdateAdministrativeState body, Context context);
/**
@@ -337,7 +348,7 @@ CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String re
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the response of the action validate configuration.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ValidateConfigurationResponseInner>
@@ -352,7 +363,7 @@ CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String re
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the response of the action validate configuration.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, ValidateConfigurationResponseInner>
@@ -366,7 +377,7 @@ CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String re
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of the action validate configuration.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String l2IsolationDomainName);
@@ -380,15 +391,13 @@ CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String re
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of the action validate configuration.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String l2IsolationDomainName,
Context context);
/**
- * Execute the commit on the resources.
- *
* Commits the configuration of the given resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -396,15 +405,13 @@ ValidateConfigurationResponseInner validateConfiguration(String resourceGroupNam
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CommonPostActionResponseForStateUpdateInner>
beginCommitConfiguration(String resourceGroupName, String l2IsolationDomainName);
/**
- * Execute the commit on the resources.
- *
* Commits the configuration of the given resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -413,15 +420,13 @@ ValidateConfigurationResponseInner validateConfiguration(String resourceGroupNam
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of common response for the state updates.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CommonPostActionResponseForStateUpdateInner>
beginCommitConfiguration(String resourceGroupName, String l2IsolationDomainName, Context context);
/**
- * Execute the commit on the resources.
- *
* Commits the configuration of the given resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -429,15 +434,13 @@ ValidateConfigurationResponseInner validateConfiguration(String resourceGroupNam
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CommonPostActionResponseForStateUpdateInner commitConfiguration(String resourceGroupName,
String l2IsolationDomainName);
/**
- * Execute the commit on the resources.
- *
* Commits the configuration of the given resources.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -446,64 +449,9 @@ CommonPostActionResponseForStateUpdateInner commitConfiguration(String resourceG
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return common response for the state updates.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CommonPostActionResponseForStateUpdateInner commitConfiguration(String resourceGroupName,
String l2IsolationDomainName, Context context);
-
- /**
- * List L2IsolationDomains by resource group.
- *
- * Displays L2IsolationDomains list by resource group GET method.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of L2 Isolation Domains as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * List L2IsolationDomains by resource group.
- *
- * Displays L2IsolationDomains list by resource group GET method.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of L2 Isolation Domains as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * List L2IsolationDomains by subscription.
- *
- * Displays L2IsolationDomains list by subscription GET method.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of L2 Isolation Domains as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * List L2IsolationDomains by subscription.
- *
- * Displays L2IsolationDomains list by subscription GET method.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of L2 Isolation Domains as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
}
diff --git a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L3IsolationDomainsClient.java b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L3IsolationDomainsClient.java
index bdb3981c39ce..01d2275bed3a 100644
--- a/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L3IsolationDomainsClient.java
+++ b/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/src/main/java/com/azure/resourcemanager/managednetworkfabric/fluent/L3IsolationDomainsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.managednetworkfabric.fluent;
@@ -11,9 +11,9 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForDeviceUpdateInner;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.CommonPostActionResponseForStateUpdateInner;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.L3IsolationDomainInner;
+import com.azure.resourcemanager.managednetworkfabric.fluent.models.UpdateAdministrativeStateResponseInner;
import com.azure.resourcemanager.managednetworkfabric.fluent.models.ValidateConfigurationResponseInner;
import com.azure.resourcemanager.managednetworkfabric.models.L3IsolationDomainPatch;
import com.azure.resourcemanager.managednetworkfabric.models.UpdateAdministrativeState;
@@ -23,8 +23,34 @@
*/
public interface L3IsolationDomainsClient {
/**
- * Create L3 Isolation Domain.
+ * Retrieves details of this L3 Isolation Domain.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l3IsolationDomainName Name of the L3 Isolation Domain.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the L3 Isolation Domain resource definition along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String l3IsolationDomainName, Context context);
+
+ /**
+ * Retrieves details of this L3 Isolation Domain.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param l3IsolationDomainName Name of the L3 Isolation Domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the L3 Isolation Domain resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ L3IsolationDomainInner getByResourceGroup(String resourceGroupName, String l3IsolationDomainName);
+
+ /**
* Create isolation domain resources for layer 3 connectivity between compute nodes and for communication with
* external services .This configuration is applied on the devices only after the creation of networks is completed
* and isolation domain is enabled.
@@ -42,8 +68,6 @@ SyncPoller, L3IsolationDomainInner> beginCrea
String l3IsolationDomainName, L3IsolationDomainInner body);
/**
- * Create L3 Isolation Domain.
- *
* Create isolation domain resources for layer 3 connectivity between compute nodes and for communication with
* external services .This configuration is applied on the devices only after the creation of networks is completed
* and isolation domain is enabled.
@@ -62,8 +86,6 @@ SyncPoller, L3IsolationDomainInner> beginCrea
String l3IsolationDomainName, L3IsolationDomainInner body, Context context);
/**
- * Create L3 Isolation Domain.
- *
* Create isolation domain resources for layer 3 connectivity between compute nodes and for communication with
* external services .This configuration is applied on the devices only after the creation of networks is completed
* and isolation domain is enabled.
@@ -80,8 +102,6 @@ SyncPoller, L3IsolationDomainInner> beginCrea
L3IsolationDomainInner create(String resourceGroupName, String l3IsolationDomainName, L3IsolationDomainInner body);
/**
- * Create L3 Isolation Domain.
- *
* Create isolation domain resources for layer 3 connectivity between compute nodes and for communication with
* external services .This configuration is applied on the devices only after the creation of networks is completed
* and isolation domain is enabled.
@@ -100,40 +120,6 @@ L3IsolationDomainInner create(String resourceGroupName, String l3IsolationDomain
Context context);
/**
- * Gets a L3 Isolation Domain.
- *
- * Retrieves details of this L3 Isolation Domain.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param l3IsolationDomainName Name of the L3 Isolation Domain.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the L3 Isolation Domain resource definition along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response